@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; } } //ブレイクポイントを指定------ここまで #headnav{ display: none; @include sm{display: block;} } .all-back{ position: relative; overflow-x: hidden; .top-container{ min-height: 100vh; display: flex; background-image: url("../img/headback.png"); background-repeat: no-repeat; background-size: cover; background-position: center -70px; mix-blend-mode: multiply; @include sm{ flex-direction: column; background-position: center -5%; min-height: inherit; } .left-container{ min-width: 230px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; @include md{ min-width: 200px; } @include sm{ width: 100%; } .sp-logo{ margin: 0 auto; padding-top: 4rem; margin-bottom: 5rem; width: 40%; @include xs{ width: 55%; } } } .right-container{ flex: 1; display: flex; flex-direction: column; min-height: 100vh; @include sm{ width: 100%; min-height: inherit; } .tel-area{ height: 75px; text-align: end; display: grid; padding-right: 2rem; @include sm{display: none;} .tel-number{ align-content: center; a{ color: #a30b5e; letter-spacing: 0.2rem; padding-bottom: 0.5rem; transition: 0.3s; &:hover { color: #a30b5e; border-bottom: 1px solid #a30b5e; } span{ font-size: 21px; font-size: 2.1rem; font-weight: bold; padding-left: 1rem; } } } } #topimg{ flex: 1; min-height: 400px; position: relative; .unagi-pop{ position: absolute; right: 2rem; bottom: 2rem; width: 200px; height: 200px; z-index: 999; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1)); transition: .2s ease-in; &:hover{ opacity: 0.7; } @include sm{ bottom: -7rem; } } .swiper-container{ position: relative; height: 100%; h1 { position: absolute; bottom: 4rem; left: 5rem; font-size: 20px; font-size: 2rem; letter-spacing: 0.5rem; line-height: 4rem; z-index: 2; @include sm{ left: 3rem; top: 3rem; } @include xs{ font-size: 16px; font-size: 1.6rem; line-height: 3.5rem; } } h1 span { display: inline; background: #fff; padding: 5px 8px; /* 両サイドに帯を見せる */ -webkit-box-decoration-break: clone; box-decoration-break: clone; } .swiper-wrapper{ height: 100%; @include sm{height: 60vh;} .swiper-slide{ background-image: url("../img/top-slide-new-1.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center center; height:100%; width: 100% !important; min-height: 400px; } .swiper-slide:nth-child(2){ background-image: url("../img/top-slide-new-2.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center center; height:100%; } .swiper-slide:nth-child(3){ background-image: url("../img/top-slide-new-3.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center center; height:100%; } .swiper-slide:nth-child(4){ background-image: url("../img/top-slide-new-4.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center center; height:100%; } } } } } } .pc-menu{ display: flex; flex-direction: column; justify-content: space-between; gap: 4rem; position: absolute; bottom: 1rem; left: 5rem; height: 100vh; @include sm{ display: inline; position: inherit; height: auto; left: 3rem; } .pc-logo{ width: 140px; padding-top: 4rem; translate: -10px; @include md{ width: 125px; translate: -5px; } } .pc-menu-bottom{ .menu-list{ list-style: none; padding-inline-start: 0; margin-bottom: 5rem; @include sm{display: none;} li{ letter-spacing: 0.35rem; font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"; text-decoration: none; transition: 0.3s; margin-bottom: 0.5rem; &:hover{ translate: 10px; } a{ transition: 0.3s; color: #333; &:hover{opacity: 0.6;} } } .menu-strong{ font-size: 35px; font-size: 3.5rem; font-weight: 600; margin-bottom: 2rem; position: relative; a{color: #a30b5e;} &::before{ position: absolute; content: ""; width: 80px; height: 1px; background-color: #a30b5e; left: -90px; top: 15px; } } } .menu-other{ .sns-banner{ display: flex; gap: 15px; margin-bottom: 1rem; .icon{ width: 30px; height: 30px; a{ img{transition: 0.3s;} &:hover{ img{opacity: 0.6;} } } } } #copyright{ font-size: 14px; font-size: 1.4rem; } } } } }