ß
- this div area is contact area!
+
+
+
+ お問い合わせ
+
CONTACT
+
+
+ 以下のボタンよりお問い合わせフォームの入力をお願いします。
+
+
+
+ お問い合わせフォーム
+
)
diff --git a/src/components/organisms/styles/Contact.module.scss b/src/components/organisms/styles/Contact.module.scss
index 777237a..787b610 100644
--- a/src/components/organisms/styles/Contact.module.scss
+++ b/src/components/organisms/styles/Contact.module.scss
@@ -1,32 +1,66 @@
-.titleBox {
+.contact {
+ width: 100%;
+ height: 550px;
+ padding: 100px 0;
+ box-sizing: border-box;
+ .container {
+ width: 80%;
+ margin: 0 auto;
+ text-align: center;
+ .titleBox {
+ margin-bottom: 60px;
+ text-align: center;
+ .jaTitle {
+ color: var(--main-red-color);
+ font-size: 16px;
+ font-weight: 700;
+ display: block;
+ }
+ .enTitle {
+ font-size: 70px;
+ line-height: 46px;
+ margin-top: 30px;
+ font-weight: 700;
+ color: var(--main-black-color);
+ }
+ }
+ .mainText {
+ display: block;
+ font-size: 18px;
+ line-height: 34px;
+ margin-bottom: 80px;
+ color: var(--main-black-color);
+ }
+ .contactButton {
+ width: 300px;
+ margin: 0 auto;
+ display: flex;
+ align-items: center;
+ text-align: center;
+ padding: 20px 40px;
+ box-sizing: border-box;
+ border-radius: 20px;
+ border: 1px solid var(--main-gray-color);
+ cursor: pointer;
+ .icon {
+ width: 30px;
+ height: 30px;
+ margin-right: 20px;
+ }
+ &:hover {
+ background-color: var(--main-red-color);
+ color: var(--main-white-color);
+ border: 1px solid var(--main-red-color);
+ transition: all 0.3s ease-in-out;
+ }
+ }
+ }
}
-// props
-// ja
-.ja-small {
- font-size: 20px;
-}
-.ja-medium {
- font-size: 30px;
-}
-.ja-large {
- font-size: 40px;
-}
-.ja-light {
- font-weight: 300;
-}
-.ja-medium {
- font-weight: 500;
-}
-.ja-bold {
- font-weight: 800;
-}
-.ja-white {
- color: var(--main-white-color);
-}
-.ja-black {
- color: var(--main-black-color);
-}
-.ja-red {
- color: var(--main-red-color);
+@media screen and (max-width: 1024px) {
+ .contact {
+ .container {
+
+ }
+ }
}
\ No newline at end of file
diff --git a/src/components/organisms/styles/Footer.module.scss b/src/components/organisms/styles/Footer.module.scss
index e69de29..883bd48 100644
--- a/src/components/organisms/styles/Footer.module.scss
+++ b/src/components/organisms/styles/Footer.module.scss
@@ -0,0 +1,7 @@
+.footer {
+ width: 100%;
+ height: 400px;
+ background-color: var(--main-gray-color);
+ .container {
+ }
+}
\ No newline at end of file
diff --git a/src/components/templates/MainLayout.tsx b/src/components/templates/MainLayout.tsx
new file mode 100644
index 0000000..6709485
--- /dev/null
+++ b/src/components/templates/MainLayout.tsx
@@ -0,0 +1,36 @@
+import React from 'react'
+
+
+// scss import
+import styles from './styles/MainLayout.module.scss'
+
+
+// components import
+import Header from '../organisms/Header'
+import Contact from '../organisms/Contact'
+import Footer from '../organisms/Footer'
+
+// type
+export type MainLayoutProps = {
+ id: number
+ children: React.ReactNode
+}
+
+
+const MainLayout = ({
+ id,
+ children
+}: MainLayoutProps) => {
+ return (
+
+ )
+}
+
+export default MainLayout
\ No newline at end of file
diff --git a/src/components/templates/SubPageContent.tsx b/src/components/templates/SubPageContent.tsx
new file mode 100644
index 0000000..dd6a645
--- /dev/null
+++ b/src/components/templates/SubPageContent.tsx
@@ -0,0 +1,27 @@
+import React from 'react'
+
+
+// scss import
+import styles from './styles/SubPageContent.module.scss'
+
+// components import
+
+// type
+export type SubPageContentProps = {
+ id: number,
+ children: React.ReactNode
+}
+
+
+const SubPageContent = ({
+ id,
+ children
+}: SubPageContentProps) => {
+ return (
+
+ {children}
+
+ )
+}
+
+export default SubPageContent
\ No newline at end of file
diff --git a/src/components/templates/SubPageHero.tsx b/src/components/templates/SubPageHero.tsx
index 5456654..1500ad4 100644
--- a/src/components/templates/SubPageHero.tsx
+++ b/src/components/templates/SubPageHero.tsx
@@ -5,7 +5,6 @@ import Image from 'next/image'
import styles from './styles/SubPageHero.module.scss'
// components import
-import Header from '../organisms/Header'
import Link from 'next/link'
@@ -26,11 +25,9 @@ const SubPageHero = ({
title,
subTitle,
pageName,
- children
}: SubPageHeroProps ) => {
return (
<>
-
{/* TODO: HERO内に画像を背景画像として差し込みたかった */}
@@ -57,7 +54,6 @@ const SubPageHero = ({
{pageName}
- {children}
>
diff --git a/src/components/templates/styles/MainLayout.module.scss b/src/components/templates/styles/MainLayout.module.scss
new file mode 100644
index 0000000..419d3d4
--- /dev/null
+++ b/src/components/templates/styles/MainLayout.module.scss
@@ -0,0 +1,4 @@
+.main {
+ width: 100%;
+ margin: 0 auto;
+}
\ No newline at end of file
diff --git a/src/components/templates/styles/SubPageContent.module.scss b/src/components/templates/styles/SubPageContent.module.scss
new file mode 100644
index 0000000..3e8321e
--- /dev/null
+++ b/src/components/templates/styles/SubPageContent.module.scss
@@ -0,0 +1,11 @@
+.content {
+ width: 60%;
+ max-width: 1900px;
+ margin: 0 auto;
+}
+
+@media screen and (max-width: 1024px) {
+ .contetn {
+ width: 95%;
+ }
+}
diff --git a/src/components/templates/styles/SubPageHero.module.scss b/src/components/templates/styles/SubPageHero.module.scss
index 653353e..30c25f1 100644
--- a/src/components/templates/styles/SubPageHero.module.scss
+++ b/src/components/templates/styles/SubPageHero.module.scss
@@ -17,7 +17,7 @@
display: block;
font-size: 40px;
font-weight: bold;
- line-height: 50px;
+ line-height: 70px;
margin-top: 250px;
color: var(--main-white-color);
}
@@ -66,9 +66,74 @@
-@media screen and (max-width: 1280px) {
-
+@media screen and (max-width: 1024px) {
+ .hero {
+ width: 100%;
+ height: 400px;
+ padding: 20px 0px;
+ box-sizing: border-box;
+ // background-color: antiquewhite;
+ .titleBox {
+ width: 95%;
+ height: 300px;
+ border-radius: 40px;
+ padding: 0px 10px;
+ box-sizing: border-box;
+ margin: 0 auto;
+ background-color: var(--main-red-color);
+ overflow: hidden;
+ .title {
+ display: block;
+ font-size: 30px;
+ font-weight: bold;
+ line-height: 50px;
+ margin-top: 180px;
+ color: var(--main-white-color);
+ }
+ .desc {
+ display: block;
+ font-size: 11px;
+ line-height: 12px;
+ color: var(--main-white-color);
+ }
+ }
+ .pageLinkBox {
+ width: 90%;
+ height: 50px;
+ margin: 0 auto;
+ display: flex;
+ align-items: center;
+ .pageLinkHome {
+ display: block;
+ font-size: 15px;
+ margin-right: 30px;
+ color: var(--main-red-color);
+ text-decoration: none;
+ &:hover {
+ opacity: 0.5;
+ transition: all .3s ease-in-out;
+ }
+ }
+ .pageLinkRod {
+ display: block;
+ content: ' ';
+ width: 50px;
+ height: 2px;
+ background-color: var(--main-black-color);
+ margin-right: 30px;
+ }
+ .pageLinkNow {
+ display: block;
+ margin-right: 30px;
+ font-size: 15px;
+ color: var(--main-black-color);
+ text-decoration: none;
+ }
+ }
+ .childrenContainer {
+ width: 90%;
+ max-width: 1900px;
+ margin: 0 auto;
+ }
+ }
}
-@media screen and (max-width: 768px) {
-
-}
\ No newline at end of file
diff --git a/src/styles/globals.css b/src/styles/globals.css
index b855128..c1e80e4 100644
--- a/src/styles/globals.css
+++ b/src/styles/globals.css
@@ -4,6 +4,7 @@
--main-red-color: #ff0211;
--main-black-color: #333333;
--main-white-color: #ffffff;
+ --main-gray-color: #373737;
/* fontSize */
--small-font: 12px;