@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; } } //ブレイクポイントを指定------ここまで //カラー指定 $color-green: #00a395; $color-red: #d9383a; $color-black: #333333; //共通 .inner { width: 75%; margin: 0 auto; @include xl { width: 85%; } @include lg { width: 90%; } @include sm { width: 100%; } @include xs { width: 95%; } } html { scroll-padding-top: 50px; } main { padding-top: 85px; } ::-moz-selection { color: #fff; background-color: rgba(#00a395, 0.5); } ::selection { color: #fff; background-color: rgba($color-green, 0.5); } //header .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; background-color: #fff; display: flex; align-items: center; justify-content: space-between; .header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; @include lg { padding: 1.5rem 4rem 1.5rem 1.5rem; } @include xs { padding: 1rem; padding-right: 3rem; } .header-logo { display: flex; align-items: center; padding-left: 4rem; @include lg { padding-left: 2rem; } @include sm { flex-wrap: wrap; padding-top: 0.5rem; } @include xs { padding: 0; padding-right: 3rem; } h1 { font-size: 11px; font-size: 1.1rem; font-weight: 500; line-height: normal; margin-left: 2rem; @include xs { font-size: 9.5px; font-size: 0.95rem; margin: 0rem; padding-top: 0.5px; } } } } nav.pc-nav { @include lg { display: none; } ul { list-style: none; display: flex; align-items: center; justify-content: space-between; margin: 0; li { a { color: $color-black; font-size: 14px; font-size: 1.4rem; font-weight: 500; display: block; padding: 3rem 1.5rem; transition: 0.3s; &:hover { color: $color-green; } } &:nth-child(2) { a { padding: 3rem; } } &:nth-child(3) { a { color: #fff; background: $color-red; padding: 3rem 2rem; &:hover { background: $color-green; } } } &:nth-child(4) { a { color: #fff; background: $color-black; padding: 3rem 2rem; &:hover { background: $color-green; } } } } } } } .drawer__button { display: none; @include lg { display: block; width: 40px; height: 40px; position: relative; background: none; border: none; cursor: pointer; z-index: 10001; } span { position: absolute; left: 0; width: 100%; height: 2px; background: $color-black; transition: 0.3s; &:nth-child(1) { top: 10px; } &:nth-child(2) { top: 19px; } &:nth-child(3) { top: 28px; } } &.active { span:nth-child(1) { background: #fff; transform: rotate(45deg); top: 19px; } span:nth-child(2) { opacity: 0; } span:nth-child(3) { background: #fff; transform: rotate(-45deg); top: 19px; } } } .drawer__nav { display: none; @include lg { display: block; position: fixed; top: 0; right: -100%; width: 200px; height: 100vh; background: $color-green; padding: 9rem 0; transition: 0.4s; z-index: 10000; } &.active { right: 0; } ul { list-style: none; padding: 0; margin: 0; } li + li { } a { color: #fff; text-decoration: none; font-size: 1.8rem; padding: 2rem 3rem; display: block; transition: 0.3s; &:hover { color: $color-black; background: #fff; } } } //footer .site-footer { background-image: url("../img/footer-bg.jpg"); background-size: cover; padding: 5rem 0 2rem; position: relative; cursor: none; a, button { cursor: pointer; } .custom-cursor { position: fixed; top: 0; left: 0; width: 75px; height: 75px; background: url("../img/top-page.png") center center / contain no-repeat; pointer-events: none; z-index: 9999; opacity: 0; transform: translate(-50%, -50%) scale(1); transition: opacity 0.3s ease, transform 0.03s linear; will-change: transform; } .custom-cursor.is-active { opacity: 1; } .custom-cursor.is-hidden { opacity: 0; transform: translate(-50%, -50%) scale(0.8); } div.d-flex { justify-content: space-between; @include xs { justify-content: center; flex-wrap: wrap; } div { p { margin-top: 2rem; color: #fff; @include xs { text-align: center; } a { color: #fff; } } } & + p { font-size: 12px; font-size: 1.2rem; color: #fff; text-align: center; margin: 6rem 0 0; @include xs { margin: 3rem 0 0; } } } nav { ul { list-style: none; padding: 0; li { text-align: right; @include xs { text-align: center; } a { color: #fff; transition: 0.3s; &:hover { color: $color-green; } i { font-size: 33px; font-size: 3.3rem; margin-top: 2rem; } } } } } } //footer-contact #footer-contact { h2 { text-align: center; & + p { text-align: center; margin: 3rem 0; @include xs { text-align: justify; } } } .tel-text { text-align: center; font-size: 16px; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: 4rem 0 0; line-height: normal; @include xs { margin: 3rem 0 0; } span { font-family: "Montserrat", sans-serif; font-weight: 600; padding-right: 1rem; } a { color: $color-black; font-size: 28px; font-size: 2.8rem; font-family: "Montserrat", sans-serif; font-weight: 600; } & + p { text-align: center; font-size: 14px; font-size: 1.4rem; } } } //ul-header #ul-header { padding-top: 6rem; h1 { font-family: "Montserrat", sans-serif; font-size: 70px; font-size: 7rem; font-weight: bold; letter-spacing: 0.03em; &::first-letter { color: $color-green; } span { font-size: 18px; font-size: 1.8rem; font-weight: bold; @include xs { display: block; font-size: 16px; font-size: 1.6rem; } } @include md { font-size: 73px; font-size: 7.3rem; } @include sm { font-size: 63px; font-size: 6.3rem; } @include xs { font-size: 55px; font-size: 5.5rem; margin-bottom: 1.5rem; } } .ul-img { width: 96%; height: 300px; overflow: hidden; margin: 0 0 0 auto; @include md { width: 95%; height: 260px; } @include sm { height: 220px; } @include xs { width: 100%; height: 180px; } img { width: 100%; height: 100%; object-fit: cover; object-position: center center; } } } /* 見出し */ h2.title-black { font-size: 52px; font-size: 5.2rem; color: $color-black; font-family: "Montserrat", sans-serif; margin: 0; line-height: normal; font-weight: bold; @include xs { font-size: 45px; font-size: 4.5rem; } span { display: block; font-size: 16px; font-size: 1.6rem; font-weight: 500; font-family: "Noto Sans JP", sans-serif; } } h2.title-white { font-size: 52px; font-size: 5.2rem; color: #fff; font-family: "Montserrat", sans-serif; margin: 0; line-height: normal; font-weight: bold; @include xs { font-size: 45px; font-size: 4.5rem; } span { display: block; font-size: 16px; font-size: 1.6rem; font-weight: 500; font-family: "Noto Sans JP", sans-serif; } } /* 余白 */ section { padding: 7rem 0; @include xs { padding: 4rem 0; } } /* リンクボタン */ .link-button { display: flex; justify-content: center; a { font-size: 1.6rem; font-size: 16px; font-family: "Montserrat", sans-serif; font-weight: bold; position: relative; display: flex; align-items: center; width: 220px; padding: 1rem 2rem; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-transition: all 0.2s; vertical-align: middle; text-decoration: none; letter-spacing: 0.1em; overflow: hidden; color: #fff; background: $color-black; position: relative; span { position: relative; } &::after { content: ""; display: block; width: 20px; height: 17px; background-image: url("../img/link-arrow.svg"); background-repeat: no-repeat; position: absolute; right: 20px; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } &:hover::after { right: 15px; } &::before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; content: ""; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; -webkit-transform: translateX(-100%); transform: translateX(-100%); background: $color-green; } &:hover::before { -webkit-transform: translateX(0%); transform: translateX(0%); } } }