/*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− 全ページ共通 −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ html { font-size: 62.5%; scroll-behavior: smooth; } body { font-family: "Zen Kaku Gothic New", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"; font-size: 1.6rem; color: #333; letter-spacing: 2px; line-height: 1.8; } body::before { position: fixed; top: 0; left: 0; content: ""; display: block; width: 100%; height: 100dvh; background: url("../images/sea.jpg") no-repeat center bottom; background-size: cover; z-index: -1; } @media screen and (max-width: 520px) { body { font-size: 1.4rem; } } *:hover, *::before, *::after { transition: 0.2s; } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− 文字 −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ p { margin: 20px 0; letter-spacing: 1px; text-align: justify; } a { color: inherit; } /* ホバー時の設定 */ @media (hover: hover) { a:not([class], [id]):hover { background-color: rgba(189, 226, 228, 0.2); } } /*−−−−−−−−−− 見出し −−−−−−−−−−*/ h1, h2, h3, h4, h5 { font-family: "Rock Salt", "Zen Kaku Gothic New", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"; font-weight: normal; letter-spacing: 8px; line-height: 1.2; word-break: break-all; } /* スマホ */ @media screen and (max-width: 520px) { h1, h2, h3, h4, h5 { letter-spacing: 4px; } } /*−−−−−−−−−− 大見出し −−−−−−−−−−*/ .headingL { font-size: 8rem; color: #fff; margin: 80px 0; z-index: 1; filter: drop-shadow(0px 0px 6px rgba(107, 211, 224, 0.5)); -webkit-filter: drop-shadow(0px 0px 6px rgba(107, 211, 224, 0.5)); } /* タブレット */ @media screen and (max-width: 1180px) { .headingL { font-size: 4rem; margin: -100px 0 100px; } } /*−−−−−−−−−− 中見出し −−−−−−−−−−*/ .headingM { position: absolute; top: -10px; right: -10px; font-size: clamp(2.4rem, 2.28rem + 0.6vw, 3rem); padding: 10px 60px; background-color: rgba(107, 211, 224, 0.6); color: #fff; z-index: 1; transform: rotate(10deg); -webkit-transform: rotate(10deg); -moz-transform: rotate(10deg); -ms-transform: rotate(10deg); -o-transform: rotate(10deg); } /* スマホ */ @media screen and (max-width: 520px) { .headingM { padding: 10px 40px; } } /*−−−−−−−−−− 小見出し −−−−−−−−−−*/ .headingS { font-size: clamp(2rem, 1.96rem + 0.2vw, 2.2rem); margin: clamp(2rem, 1.8rem + 1vw, 3rem) 0; padding-bottom: 10px; color: #6BD3E0; border-bottom: 1px dashed #6BD3E0; } /*−−−−−−−−−− 最小見出し −−−−−−−−−−*/ .headingSS { font-size: clamp(1.8rem, 1.76rem + 0.2vw, 2rem); margin: 20px 0; } /*−−−−−−−−−− 文字装飾 −−−−−−−−−−*/ .right { text-align: right; } .center { text-align: center; } .marker { background: linear-gradient(transparent 60%, rgba(107, 211, 224, 0.6) 60%); } .label { display: block; margin: 20px 0; padding: 2px 10px; background-color: rgba(189, 226, 228, 0.2); width: -moz-fit-content; width: fit-content; } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− アイコン等 −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ .la, .las { font-size: 1.2em; color: #6BD3E0; position: relative; top: 2px; } /* 矢印 */ .arrow { width: 20px; height: 20px; border: 2px solid #6BD3E0; border-bottom: 0; border-left: 0; transform: rotate(45deg); -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− 入力フォーム、ボタン −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ /* 入力フォーム */ input, textarea { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding: 10px 20px 8px 20px; border: none; border-bottom: 1px dashed #6BD3E0; margin: 10px 0; } textarea { background-color: rgba(189, 226, 228, 0.2); border: none; } /* ボタン */ .btn { display: block; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: rgba(189, 226, 228, 0.2); color: #333; text-align: center; text-decoration: none; padding: 3px 10px; border: 1px solid #6BD3E0; transition: 0.2s; -webkit-transition: 0.2s; -moz-transition: 0.2s; -ms-transition: 0.2s; -moz-transition: 0.2s; } .btn:hover { cursor: pointer; background-color: #6BD3E0; color: #fff; } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− リスト −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ .list, .list-number { margin: 20px 0; } .list li { position: relative; margin-left: 16px; } .list li::before { position: absolute; top: calc(50% - 4px); left: -16px; content: ""; display: block; width: 8px; height: 8px; background-color: #6BD3E0; border-radius: 50%; -webkit-border-radius: 50%; -moz-border-radius: 50%; -ms-border-radius: 50%; -o-border-radius: 50%; } /*−−−−−−−−−− 数字付きリスト −−−−−−−−−−*/ .list-number { list-style-type: decimal-leading-zero; list-style-position: inside; } .list-number li { text-indent: -2.8rem; padding-left: 3.6rem; } .list-number li > :not(:first-child) { text-indent: 0; } /*−−−−−−−−−− 表リスト −−−−−−−−−−*/ .gridlist { display: grid; grid-template-columns: auto 1fr; gap: 10px 0px; } .gridlist .gridlist__label, .gridlist .gridlist__text { padding: 6px 20px 4px; border-bottom: 1px dashed #6BD3E0; } .gridlist .gridlist__label { display: flex; align-items: center; color: #6BD3E0; } /* スマホ */ @media screen and (max-width: 520px) { .gridlist { grid-template-columns: 1fr; } } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− 枠組み −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ .box { padding: 40px; border: 1px dashed #6BD3E0; border-left: none; border-right: none; } .box > :first-child { margin-top: 0; } .box > :last-child { margin-bottom: 0; } /* スマホ */ @media screen and (max-width: 520px) { .box { padding: 20px; } } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− SNSアイコンリスト −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ .snslist .snslist__item a { width: 36px; height: 36px; display: flex; justify-content: center; align-items: center; color: #fff; text-decoration: none; background-color: #BDE2E4; border-radius: 50%; transition: 0.2s; -webkit-transition: 0.2s; -moz-transition: 0.2s; -ms-transition: 0.2s; -moz-transition: 0.2s; } .snslist .snslist__item a:hover { color: #fff; } .snslist .snslist__item.twitter:hover a { background-color: #1DA1F2; } .snslist .snslist__item.instagram:hover a { background-color: #CF2E92; } .snslist .snslist__item.facebook:hover a { background-color: #4267b2; } .snslist .snslist__item.youtube:hover a { background-color: #DA1725; } .snslist .snslist__item .lab { margin: 6px 1px 3px 3px; font-size: 2rem; } @media screen and (max-width: 520px) { .snslist { justify-content: center; } } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− レイアウト −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ /*−−−−−−−−−− 横並び −−−−−−−−−−*/ .flex { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; } .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 表示サイズを変えたい場合は200pxの部分を変更 */ gap: 20px; justify-content: center; align-items: center; } /*−−−−−−−−−− 2カラム表示 −−−−−−−−−−*/ .--2column { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; } /* タブレット、スマホでは1カラム */ @media screen and (max-width: 768px) { .--2column { grid-template-columns: 1fr; } } /*−−−−−−−−−− 左右反対 −−−−−−−−−−*/ .reverse { flex-direction: row-reverse; } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− 全体のレイアウト −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ /*−−−−−−−−−− ヘッダー −−−−−−−−−−*/ .header .sitename { font-size: clamp(4rem, 3.8rem + 1vw, 5rem); color: #fff; letter-spacing: 8px; filter: drop-shadow(0px 0px 10px rgba(107, 211, 224, 0.5)); } .header .sitename a { text-decoration: none; } /* スマホ */ @media screen and (max-width: 1180px) { .header .sitename { padding: 80px 10px 0; margin-bottom: 180px; } } /* PC */ @media screen and (min-width: 1181px), print { .header { position: fixed; left: calc(12vw + min(1200px, 70vw)); bottom: 20px; z-index: 998; } .header .sitename { position: fixed; top: 0; right: 20px; height: 100dvh; letter-spacing: 12px; text-align: center; writing-mode: vertical-lr; -webkit-writing-mode: vertical-lr; -ms-writing-mode: vertical-lr; -webkit-filter: drop-shadow(0px 0px 6px rgba(107, 211, 224, 0.5)); transform: rotate(180deg); -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); } .header .sitename a { display: block; } } /*−−−−−−−−−− コンテンツ全体の横幅、余白 −−−−−−−−−−*/ .mainwrapper { position: relative; padding: 20px; background-color: rgba(255, 255, 255, 0.6); } /* PC */ @media screen and (min-width: 1181px), print { .mainwrapper, footer { width: min(1200px, 70vw); margin-left: 12vw; padding: 80px 20px 80px; } } /*−−−−−−−−−− セクション −−−−−−−−−−*/ section { position: relative; padding: 60px 20px 30px; background-color: #fff; margin-bottom: 80px; } section > :first-child { margin-top: 0; } section > :last-child { margin-bottom: 0; } section section { padding: 0; } /* PC */ @media screen and (min-width: 1181px), print { section { padding: 80px 40px 40px; } } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− メニューボタン −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ .hamburger { position: fixed; top: 0; right: 0; display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; background: none; border: none; cursor: pointer; z-index: 999; } .hamburger .hamburger__line { position: absolute; width: 25px; height: 2px; background-color: #6BD3E0; } .hamburger .hamburger__line::before, .hamburger .hamburger__line::after { position: absolute; content: ""; display: block; width: 25px; height: 2px; background-color: #6BD3E0; } .hamburger .hamburger__line::before { top: -8px; } .hamburger .hamburger__line::after { bottom: -8px; } /*閉じる*/ .hamburger._active .hamburger__line { background: transparent; } .hamburger._active .hamburger__line::before { top: 0; transform: rotate(45deg); } .hamburger._active .hamburger__line::after { bottom: 0; transform: rotate(-45deg); } /* PCで非表示 */ @media screen and (min-width: 1181px), print { .hamburger { display: none; } } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− メニュー −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ .globalnav__main .globalnav__item { position: relative; font-family: "Rock Salt", "Zen Kaku Gothic New", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"; margin-bottom: 10px; } .globalnav__main .globalnav__item a { display: block; text-decoration: none; padding: 8px 20px 8px; text-align: center; word-break: break-all; transition: 0.2s; -webkit-transition: 0.2s; -moz-transition: 0.2s; -ms-transition: 0.2s; -moz-transition: 0.2s; background-color: rgba(255, 255, 255, 0.6); border-radius: 0 10px 10px 0; -webkit-border-radius: 0 10px 10px 0; -moz-border-radius: 0 10px 10px 0; -ms-border-radius: 0 10px 10px 0; -o-border-radius: 0 10px 10px 0; } .globalnav__main .globalnav__item a:hover, .globalnav__main .globalnav__item a.now, .globalnav__main .globalnav__item a:has(+ .globalnav__child:hover) { color: #fff; background-color: rgba(107, 211, 224, 0.6); } .globalnav__main .globalnav__item._has-child:hover .globalnav__child { visibility: visible; opacity: 1; transition: 0.4s; -webkit-transition: 0.4s; -moz-transition: 0.4s; -ms-transition: 0.4s; -moz-transition: 0.2s; -o-transition: 0.4s; } .globalnav__main .globalnav__child { position: absolute; top: 0; right: 100%; width: -moz-max-content; width: max-content; background-color: #fff; visibility: hidden; opacity: 0; transition: 0.2s; -webkit-transition: 0.2s; -moz-transition: 0.2s; -ms-transition: 0.2s; -moz-transition: 0.2s; } .globalnav__main .globalnav__child a { border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; } .globalnav__main .globalnav__child a:hover { background-color: rgba(189, 226, 228, 0.2); color: #333; } /* タブレット、スマホでの表示 */ @media screen and (max-width: 1180px) { .globalnav { position: fixed; top: 0; left: 0; z-index: 998; width: 100%; height: 100dvh; display: flex; align-items: center; background-color: #BDE2E4; padding: 20px; opacity: 0; transform: translateX(100%); transition: 0.4s; -webkit-transition: 0.4s; -moz-transition: 0.4s; -ms-transition: 0.4s; -moz-transition: 0.2s; } .globalnav._active { opacity: 1; transform: translateX(0); -webkit-transform: translateX(0); -moz-transform: translateX(0); -ms-transform: translateX(0); -o-transform: translateX(0); transition: 0.4s; -webkit-transition: 0.4s; -moz-transition: 0.4s; -ms-transition: 0.4s; -moz-transition: 0.2s; -o-transition: 0.4s; } .globalnav__main { width: 100%; } .globalnav__main .globalnav__item a { text-align: left; color: #fff; background: none; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; } .globalnav__main .globalnav__child { top: 100%; left: 0%; right: auto; background-color: #fff; width: 100%; max-width: calc(100vw - 40px); z-index: 1; visibility: visible; /*JSで制御するため一旦表示*/ opacity: 1; /*JSで制御するため一旦表示*/ display: none; /*JSのtoggleで表示させるため非表示に*/ } .globalnav__main .globalnav__child.active { display: block; } .globalnav__main .globalnav__child a { color: #6BD3E0; } } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− サブメニュー −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ .submenu { background: #fff; } /* 親項目のスタイル */ .submenu__item { position: relative; overflow-wrap: break-word; } .submenu__item a { display: inline-block; padding: 8px 20px 8px 30px; text-align: center; text-decoration: none; transition: 0.2s; -webkit-transition: 0.2s; -moz-transition: 0.2s; -ms-transition: 0.2s; -moz-transition: 0.2s; } .submenu__item a:hover, .submenu__item a:active { background: rgba(189, 226, 228, 0.2); } /* 親項目の矢印 */ .submenu__item._has-child::before { content: ""; position: absolute; left: 10px; top: 18px; width: 6px; height: 6px; border-top: 1px solid #6BD3E0; border-right: 1px solid #6BD3E0; transform: rotate(135deg); } /* 子項目のスタイル */ .submenu__item._has-child .submenu__child { position: absolute; right: 0; min-width: 100%; z-index: 9; visibility: hidden; opacity: 0; transition: 0.4s; -webkit-transition: 0.4s; -moz-transition: 0.4s; -ms-transition: 0.4s; } .submenu__item._has-child .submenu__child li a { display: block; color: #000; border-bottom: solid 1px #BDE2E4; } .submenu__item._has-child .submenu__child li a:hover, .submenu__item._has-child .submenu__child li a:active { background: rgba(189, 226, 228, 0.2); } /* 子項目の矢印 */ .submenu__child ._has-child { position: relative; } .submenu__child ._has-child::before { content: ""; position: absolute; left: 10px; top: 20px; width: 6px; height: 6px; border-top: 1px solid #6BD3E0; border-right: 1px solid #6BD3E0; transform: rotate(45deg); -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); } .submenu__child ._has-child:hover::before { left: 20px; } /* 親項目ホバー時に子項目を表示 */ .submenu__item._has-child:hover .submenu__child { background-color: #fff; visibility: visible; opacity: 1; } /* 孫項目のスタイル */ .submenu__item._has-child .submenu__child li._has-child .submenu__grandchild { position: absolute; top: 0; left: 100%; width: -moz-max-content; width: max-content; visibility: hidden; opacity: 0; transition: 0.4s; -webkit-transition: 0.4s; -moz-transition: 0.4s; -ms-transition: 0.4s; } .submenu__item._has-child .submenu__child li._has-child .submenu__grandchild a { text-align: left; } /* 子項目ホバー時に表示 */ .submenu__item._has-child .submenu__child li._has-child:hover .submenu__grandchild { background-color: #fff; visibility: visible; opacity: 1; } /* スマホ、タブレット */ @media screen and (max-width: 768px) { .submenu__main { display: block; } /* 子、孫メニューの左に余白 */ /* 親メニューのスタイル */ .submenu__item a { text-align: left; } .submenu__item._has-child .submenu__child { width: auto; } .submenu__item._has-child .submenu__child li._has-child .submenu__grandchild { max-width: 100%; } /* 子項目の矢印 */ .submenu__child ._has-child::before { content: ""; transform: rotate(135deg); -webkit-transform: rotate(135deg); -moz-transform: rotate(135deg); -ms-transform: rotate(135deg); -o-transform: rotate(135deg); } .submenu__child ._has-child:hover::before { left: 10px; } /* タップで表示 */ .submenu__item._has-child .submenu__child, .submenu__item._has-child .submenu__child li._has-child .submenu__grandchild { position: relative; left: 0; top: 0; visibility: visible; /*JSで制御するため一旦表示*/ opacity: 1; /*JSで制御するため一旦表示*/ display: none; /*JSのslidetoggleで表示させるため非表示に*/ /*JSで制御するためCSSのアニメーションを切る*/ } .submenu__item._has-child .submenu__child.active, .submenu__item._has-child .submenu__child li._has-child .submenu__grandchild.active { display: block; } } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− ページUP −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ .pageup { position: fixed; right: 2vw; bottom: 2vw; display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; background-color: #BDE2E4; border-radius: 50%; -webkit-border-radius: 50%; -moz-border-radius: 50%; -ms-border-radius: 50%; -o-border-radius: 50%; transition: 0.2s; -webkit-transition: 0.2s; -moz-transition: 0.2s; -ms-transition: 0.2s; -moz-transition: 0.2s; opacity: 0; z-index: 99; } .pageup .arrow { border-color: #fff; margin-top: 10px; transform: rotate(-45deg); -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); } @media (hover: hover) { .pageup:hover { background-color: #6BD3E0; } } /* PC */ @media screen and (min-width: 1181px), print { .pageup { bottom: 2vh; right: auto; left: calc(7vw + min(1200px, 70vw)); } } /*−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− フッター −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−*/ footer { font-size: 1rem; padding: 10px; background-color: rgba(255, 255, 255, 0.6); }