@charset "UTF-8"; /* CSS Document */ //ブレイクポイントを指定------ここから $xl: 1399px; $lg: 1199px; $md: 991px; $sm: 767px; $xs: 575px; @mixin xl { @media screen and (max-width: ($xl)) { @content; } } @mixin lg { @media screen and (max-width: ($lg)) { @content; } } @mixin md { @media screen and (max-width: ($md)) { @content; } } @mixin sm { @media screen and (max-width: ($sm)) { @content; } } @mixin xs { @media screen and (max-width: ($xs)) { @content; } } //ブレイクポイントを指定------ここまで body { width: 100%; } #wrapper{ box-sizing: border-box; width: 100%; position: relative; overflow: hidden; } //無効化--------------------------------ここまで .clip-me{ clip-path: url(#clipshape); @include sm { clip-path: url(#clipshape4); } } .header-box{ position: fixed; z-index: 99; width: 100%; &::before{ content: ''; background: url(../img/header-logo.png); background-position: center; background-repeat: no-repeat; background-size: contain; width: 200px; height: 200px; position: absolute; z-index: 99; top: 15%; left: 15%; @include lg { top: 10%; left: 10%; } @include md { width: 180px; height: 180px; top: 8%; left: 5%; } @include sm { width: 120px; height: 120px; top: 20%; } @include xs { width: 110px; height: 110px; top: 8%; } } } //header--------------------------------ここまで .hamburgerbox-header{ background: rgb(200,246,237); background: linear-gradient(90deg, rgba(200,246,237,1) 0%, rgba(187,241,250,1) 100%); min-height: 240px; @include sm { min-height: 130px; } table{ margin-top: 1rem; max-height: 100px; color: #3C3C3C; @include md { margin-top: 0rem; } @include sm { display: none; } th{ vertical-align:initial; font-weight: normal; &::before{ content: '●'; color: #51C2D5; } } td{ padding-left: 1em; } } } .hamburgerbox-sitename { display: flex; justify-content: flex-end; @include sm { justify-content: flex-start; } h1{ font-size: 12px; font-size: 1.2rem; margin-top: 1.5rem; margin-right: 3rem; @include lg { margin-right: 6rem; } @include md { margin-top: 1rem; } @include sm { font-size: 11px; font-size: 1.1rem; margin-right: 0rem; } @include xs { display: none; } } } .hamburger-menubox *{ font-size: 16px; } .input-hidden{ display: none; } .hamburger-switch{ cursor: pointer; position: fixed; right: 2%; top: 0.5%; z-index: 9999; width: 4em; height: 4em; @include xs { right: 4%; } &::after{ content: "MENU"; color: #51C2D5; display: block; position: absolute; bottom: -30%; left: 14%; margin: auto; } } #hamburger1:checked ~ .hamburger-switch{ position: fixed; } .hamburger-switch-line1, .hamburger-switch-line1:before, .hamburger-switch-line1:after{ width: 60px; height: 2px; background: #51C2D5; position: absolute; top: 50%; left: 50%; transition: .3s; content: ""; } .hamburger-switch-line1{ transform: translate(-50%, -50%); } .hamburger-switch-line1:before{ transform: translate(-50%, -800%); } .hamburger-switch-line1:after{ transform: translate(-50%, 700%); } #hamburger1:checked ~ .hamburger-switch .hamburger-switch-line1{ width: 0; } #hamburger1:checked ~ .hamburger-switch .hamburger-switch-line1:before{ transform: rotate(45deg) translate(-35%, 1000%); } #hamburger1:checked ~ .hamburger-switch .hamburger-switch-line1:after{ transform: rotate(-45deg) translate(-35%, -1000%); } .hamburger-menuwrap{ position: fixed; height: 100%; background: #fafafa; padding: 5em 3% 2em; z-index: 9998; transition: .3s; overflow-y: scroll; top: 0; left: 100%; width: 70%; @include xs { padding: 5em 7% 2em; } } .hamburger-menulist{ margin-right: 3%; padding-left: 0; list-style: none; margin-top: 1em; } .hamburger-menubox li{ margin-bottom: 2rem; border-bottom: 1px solid #51C2D5; a{ text-decoration: none; color: #3C3C3C; display: block; padding: .5em 0; font-size: 20px; font-size: 2rem; transition: 0.3s; &:hover{ transform: translateX(20px); color: #51C2D5; } span{ display: block; font-size: 14px; font-size: 1.4rem; line-height: 1.5rem; } } } .hamburger-menubox li:nth-child(5), .hamburger-menubox li:nth-child(6){ border-bottom: none; a{ background: #989898; padding: 1rem 1rem 1rem 2rem; @include xs { padding: 1rem; } &:hover{ background: #51C2D5; } img{ width: 20%; @include md { width: 30%; } @include sm { width: 50%; } @include xs { width: 70%; } } } } .hamburger-menubox li:nth-child(7){ border-bottom: none; a{ background: white; padding: 1rem 1rem 1rem 2rem; @include xs { padding: 1rem; } &:hover{ filter: drop-shadow(5px 5px 5px rgba(45, 175, 148, 0.3)); } img{ width: 20%; @include md { width: 30%; } @include sm { width: 50%; } @include xs { width: 70%; } } } } #hamburger1:checked ~ .hamburger-menuwrap{ left: 80%; @include md { left: 70%; } @include sm { left: 60%; } @include xs { left: 50%; } } #hamburger1:checked ~ .hamburger-cover{ position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: 9997; background: rgba(3,3,3,.5); display: block; } //ハンバーガー---------------------------ここまで //共通パーツ-----------------------------ここまで footer{ #page-top{ position: relative; right: 0; z-index: 1; a{ position: absolute; width: 120px; height: 120px; background: #4BE4C5; border-radius: 50%; right: 5%; top: 35px; text-align: center; color: white; font-size: 2.5rem; font-size: 25px; filter: drop-shadow(5px 5px 5px rgba(45, 175, 148, 0.3)); transition: 0.5s; @include sm { font-size: 2rem; font-size: 20px; width: 100px; height: 100px; line-height: 2.5rem; top: -90px; } @include xs { top: -210px; } &:hover{ transform: translateY(30px); } span{ position: absolute; display: inline-block; left: 0; top: 45%; -webkit-transform: translateY(-50%); transform: translateY(-50%); width :120px; text-align:center; @include sm { width: 100px; } } } } .footer-box{ position: relative; height: 590px; @include md { max-height: 545px; } @include sm { max-height: 720px; } } .clip-me2{ clip-path: url(#clipshape2); background: #c8f6ed; background: linear-gradient(90deg, #c8f6ed 0%, #bbf1fa 100%); padding: 10rem 0 1rem; bottom: 0; position: absolute; width: 100%; @include md { padding: 7rem 0 1rem; } @include sm { clip-path: url(#clipshape3); } ul li:first-child{ margin-right: 1rem; @include xs { margin-right: 1rem; width: 50%; } a{ background: white; border-radius: 1rem; padding: 1rem; display: flex; align-items: center; transition: 0.3s; &:hover{ filter: drop-shadow(5px 5px 5px rgba(45,175,148,0.5)); } } } ul li:last-child{ a{ background: #51C2D5; color: white; padding: 2.3rem; font-size: 25px; border-radius: 1rem; display: flex; transition: 0.3s; @include xs { padding: 2rem 2.5rem; font-size: 20px; border-radius: 1rem; align-items: center; } &:hover{ filter: drop-shadow(5px 5px 5px rgba(45,175,148,0.5)); background: white; color: #51C2D5; } i{ padding-right: 1rem; } } } ul + p{ margin-top: 2rem; @include sm { text-align: center; } a{ font-size: 40px; font-size: 4rem; color: #3C3C3C; font-weight: bold; i{ color: #51C2D5; padding-right: 1rem; } } } .footer-right{ table{ margin-top: 4rem; max-height: 100px; color: #828282; @include sm { margin-top: 2rem; text-align: left; } @include xs { font-size: 1.5rem; font-size: 15px; } th{ vertical-align:initial; font-weight: normal; &::before{ content: '●'; color: #51C2D5; } } td{ padding-left: 1em; } } p{ display: inline-block; font-size: 1.5rem; font-size: 15px; color: white; background: #51C2D5; border-radius: 5rem; padding: 0 2rem; margin-top: 2rem; } } .footer-left{ margin-right: 5rem; @include md { margin-right: 2rem; } img{ width: 80%; } p{ margin-top: 2rem; color: #828282; i{ padding-right: 1rem; } } } div + .d-flex{ justify-content: center; align-items: flex-end; margin-top: 5rem; @include md { margin-top: 2rem; } @include sm { margin-top: 5rem; flex-wrap: wrap; text-align: center; } } .copyright{ border-top: 1px solid #51C2D5; margin-top: 3rem; padding-top: 2rem; p{ font-size: 12px; font-size: 1.2rem; color: #51C2D5; } } } }