@charset "utf-8";

/* 定義 */
:root {
    --bgcolor: #EFE9DD;
    --olive: #798B6C;
    --d-olive: #616B55;
    --offwhite: #F8F6F1;
    --beige: #b2986fE6;
    --fs-sm: clamp(0.75rem, 0.5156rem + 0.75vw, 0.9375rem);
    --fs-md: clamp(18px, 2vw, 20px);
}


/* 基本ページ　ここから */
html,
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    /* 横スクロールを防ぐ */
}

html {
    scroll-padding-top: 88px;
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    padding-right: 0;
    margin: 0;
    background-color: var(--bgcolor);
    color: var(--d-olive);
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.06em;
    line-height: 1.7;
}

body.scrollbar-active {
    padding-right: 17px;
}

.blur {
    transition: all 2s;
    filter: blur(10px);

    &.scrollin {
        filter: blur(0);
    }
}

.fadein {
    opacity: 0;
    transform: translate(0, 0);
    transition: all 2s;

    &.fadein-left {
        transform: translate(-30px, 0);
    }

    &.fadein-right {
        transform: translate(30px, 0);
    }

    &.fadein-up {
        transform: translate(0, -30px);
    }

    &.fadein-bottom {
        transform: translate(0, 30px);
    }

    &.scrollin {
        opacity: 1 !important;
        transform: translate(0, 0) !important;
    }
}

.y {
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.y.scrollin {
    opacity: 1;
    transform: translateY(0);
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
ul {
    margin: 0;
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    padding: 0;
    list-style: none;
}

h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    letter-spacing: 0.08em;
}

h2::after {
    display: block;
    content: '';
    width: 160px;
    height: 0;
    border-top: 2px solid var(--beige);
    margin-bottom: 36px;
}

p,li {
    font-size: var(--fs-sm);
}

p {
    padding-bottom: 20px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

a {
    color: #616B55;
    text-decoration: none;
}

button {
    border: none;
    box-shadow: none;
    display: block;
    height: 44px;
    border-radius: 10px;
    background-color: var(--olive);
    text-align: center;
    padding: 12px 36px;
    color: var(--offwhite);
    transition: 0.5s;
}

button:hover {
    background-color: var(--beige);
    cursor: pointer;
    transition: 0.5s;
}

/* 横幅と左右の余白 */
.w-c {
    width: min(85%, 960px);
    margin: 0 auto;
}

.main {
    margin-bottom: 100px;
}

/* ヘッダー */
.header {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 15px;
    padding-bottom: 15px;
    position: fixed;
    top: 0;
    z-index: 9999;
    background-color: var(--bgcolor);
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    margin-right: auto;
    width: 130px;
}

@media (min-width: 768px) {
    .header {
        padding: 0;
        justify-content: center;
        background-color: #EFE9DDaa;
    }

    .logo {
        margin: 10px 0;
        width: 150px;
    }
}

/* ナビボタン */
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after,
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: var(--d-olive);
}

.navbtn {
    padding: 0;
    outline: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: var(--d-olive);
    font-size: 38px;
}

.open .navbtn {
    z-index: 90;
    color: #ffffff;
}

.reserve-button {
    background: var(--olive);
    color: var(--offwhite);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.5s;
}

.reserve-button:hover {
    background-color: var(--beige);
    transition: 0.5s;
}

@media (min-width: 768px) {
    .navbtn {
        display: none;
    }
}

/* ナビゲーションメニュー：モバイル */
@media (max-width: 767px) {

    .nav {
        position: fixed;
        top: 88px;
        left: 0;
        width: 100%;
        height: 0;
        z-index: 90;
        background-color: var(--beige);
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition:
            height 0.5s ease,
            opacity 0.5s ease;
    }

    .nav ul li a {
        font-size: 20px;
        color: var(--offwhite);
    }

    .open .nav {
        height: calc(100dvh - 88px);
        opacity: 1;
        pointer-events: auto;
    }

    /* ▼ li 基本状態 */
    .nav ul li {
        display: flex;
        margin: 50px;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        opacity: 0;
        transform: translateY(20px);
        transition:
            opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav ul li:first-child {
        margin-top: 70px;
    }

    /* ▼ 開いたとき */
    .open .nav li {
        opacity: 1;
        transform: translateY(0);
    }

    /* ▼ 順番表示 */
    .open .nav li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .open .nav li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .open .nav li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .open .nav li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .open .nav li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-reserve {
        margin-right: 30px;
    }

    .hamburger:hover {
        background-color: transparent;
    }

    .navbtn {
        padding: 0;
        outline: none;
        border: none;
        background-color: transparent;
        cursor: pointer;
        color: var(--d-olive);
        font-size: 38px;
        z-index: 100;
        /* メニューより手前に表示 */
    }

    body.open {
        overflow: hidden;
        /* メニュー開いている間にスクロールを防止 */
    }
}

/* ナビゲーションメニュー：PC */
@media (min-width: 768px) {
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-main {
        display: flex;
        list-style: none;
        margin: 0 auto;
        padding: 0;
    }

    .nav-main li {
        margin: 0 20px;
    }

    .nav-main a {
        text-decoration: none;
        color: var(--d-olive);
        font-size: 15px;
        font-weight: 500;
    }

    body#b_menu nav ul li#n_menu a,
    body#b_stylist nav ul li#n_stylist a,
    body#b_shop nav ul li#n_shop a,
    body#b_info nav ul li#n_info a,
    .nav-main a:hover {
        border-bottom: solid 2px var(--beige);
    }

    #n_home a {
        display: none;
    }

    .nav-reserve {
        margin-left: 20px;
    }
}

@media (max-width: 820px) {
    .nav-main li {
        margin: 0 15px;
    }

    .nav-main a {
        text-decoration: none;
        color: var(--d-olive);
        font-size: 13px;
        font-weight: 500;
    }
}

/* トップ画像 */
.top {
    margin-top: 88px;
    margin-bottom: 36px;
    height: 100px;
    background-image: url(../img/flower.jpg);
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.bottom {
    margin: 0;
    height: 150px;
    background-image: url(../img/flower.jpg);
    background-position: center bottom;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .top {
        margin-top: -88px;
        position: relative;
        z-index: -1;
        height: 288px;
    }
}

@media (max-width: 767px) {

    .top,
    .bottom {
        background-attachment: scroll;
    }
}

/* フッター */
.footer {
    padding: 60px 0;
    background-color: var(--olive);
    color: var(--offwhite);
}

footer a {
    color: var(--offwhite);
}

.footer-container {
    display: grid;
    gap: 20px;
    flex-direction: row;
    justify-items: center;
    align-items: center;
}

.sns {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-bottom: 30px;
}

.sns li {
    font-size: 47px;
    padding-bottom: 0;
}

/* フッターPC*/
@media (min-width:768px) {
    .footer {
        padding: 15px 0;
    }

    .footer-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .sns {
        padding-bottom: 0;
    }

    .info {
        flex-direction: row;
    }

}

h3 {
    font-weight: 500;
    padding: 10px;
    font-size: var(--fs-md);
}

/* 基本ページここまで */

/* トップページ　ここから */
/* ヒーロー */
.hero {
    margin-top: 88px;
    position: relative;
    aspect-ratio: 1 / 1;
    z-index: 1;
}

.heroimg {
    position: absolute;
    opacity: 0;
    inset: 0;
    aspect-ratio: 1 / 1;
    background-position: center top;
    background-size: cover;
    z-index: -1;
    transition: opacity 1s ease-in-out,
        transform 6s cubic-bezier(0.4, 0.0, 0.2, 1);

}

.heroimg--next {
    opacity: 0;
}

/* 表示中 */
.heroimg.is-active {
    opacity: 1;
}

.herotext {
    padding: 100px 0;
}

.herotext h1 {
    margin-bottom: 30px;
    font-size: 35px;
    text-align: center;
}

.herotext p {
    text-align: center;
    font-size: clamp(12px, 12px + 0.941vw, 20px);
}

/* ヒーローPC */
@media (min-width: 768px) {
    .hero {
        aspect-ratio: 3 / 2;
        margin-top: -88px;
        /* ヘッダー分引き上げる */
        padding-top: 0;
        /* 中身は隠さない */
    }
        .heroimg {
        aspect-ratio: 3 / 2;
    }
}

/* コンセプト  アクセス*/
.concept, .access {
    margin-bottom: 100px;
}

.tel {
    margin-top: 36px;
    display: flex;
    gap: 22px;
    align-items: center;
    font-size: 20px;
}



.img {
    margin-top: 60px;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
}

/* コンセプト　アクセス　PC */
@media (min-width:768px) {

    .concept,
    .access {
        margin-bottom: 100px;
        display: flex;
        gap: 60px;
    }

    .text {
        flex: 4;
    }

    .img {
        flex: 5;
    }

    .concept {
        flex-direction: row-reverse;
    }
}

/* トップページここまで */


/* スタイリストページ　ここから */

.staff {
    gap: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 70px;
}

.staff h3 {
    line-height: 1.8;
}

.staff:last-child {
    margin-bottom: 100px;
}


.staff_img {
    min-width: 200px;
    flex: 1;
}

.staff_text {
    flex: 1;
}

.staff p {
    padding: 0;
}

@media (min-width:768px) {

    .stylist {
        display: flex;
        justify-content: space-between;
        gap: 60px;
        max-width: 100%;
    }

    .staff {
        flex-direction: column;
        flex: 1;
        gap: 30px;
    }

    .staff_img {
        max-width: 300px;
        align-items: center;
    }

    .staff_text {
        height: 200px;
    }

    .staff:last-child {
        margin-bottom: 0;
    }
}


/* スタイリストページ　ここまで */

/* メニューページ　ここから */
.list {
    height: 300px;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.list.scrollin {
    opacity: 1;
    transform: translateY(0);
}


.list:last-child {
    margin: 0;
}

.list ul {
    flex: 1;
}

.list:nth-child(n + 4) {
    margin-bottom: 0;
}

h3.name {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--d-olive);
    border-top: 1px solid var(--d-olive);
}

p.note {
    padding: 0 20px;
}

li.row {
    padding: 0 20px;
    padding-bottom: 0;
    display: flex;
    justify-content: space-between;
}

li.row:last-child {
    margin-bottom: 20px;
}

.price {
    text-align: right;
    font-weight: lighter;
}

/* メニューページ　PC */
@media (min-width:768px) {
    .list {
        margin: 0;
    }

    .menulist {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 60px 30px;
    }
}

@media (max-width:900px) {
    .menulist {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* メニューページ　ここまで */

/* オンラインショップページ ここから*/
.itemlist {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 初期は2列 */
    gap: 50px 30px;
}

.item {
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 2vw, 20px);
    justify-content: space-between;
    align-items: center;
}

.item figure img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 正方形の画像を維持 */
    object-fit: cover;
    /* 画像が枠にフィットするように調整 */
}

.item p {
    padding: 0;
}

p.item_np {
    font-size: clamp(20px, 2vw, 15px);
    text-align: center;
    
}

span.jpn {
    font-size: clamp(10px, 1.5vw, 12px);;
}

p.item_d {
    margin-top: clamp(15px, 3vw + 10px, 20px);
    margin-bottom: clamp(15px, 3vw + 10px, 20px);
}

button.cta a {
    color: var(--offwhite);
}

button.cta a::after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: transparent;
}

.cart-icon {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--beige);
    border-radius: 50%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cart-icon.c-act {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
}

.cart-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: var(--fff);
    font-size: 24px;
    position: relative;
    color: var(--offwhite);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--d-olive);
    color: var(--offwhite);
    font-size: 11px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

@media (max-width: 768px) {
    .item {
        width: clamp(150px, 40vw, 250px);
        /* モバイル用にアイテム幅を調整 */
    }
}

@media (min-width: 768px) {
    .itemlist {
        grid-template-columns: repeat(3, 1fr);
        /* 3列 */
        gap: 70px 30px;
    }
}

@media (min-width: 900px) {
    .itemlist {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px 40px;
        /* 幅を広げて間隔も調整 */
    }
}


/* オンラインショップページ ここまで*/

/* 商品詳細ページここから */
.goods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}



.goods_text {
    display: flex;
    flex-direction: column;
}

.goods_text p {
    padding-bottom: 10px;
}

.min {
    padding: 15px 0;
    font-size: 12px;
}

p.use {
    font-size: clamp(18px, 2vw + 1rem, 1rem);
}

h2.g_name {
    padding-bottom: 0;
}

h2.g_name::after {
    content: none;
}

h4.dt {
    margin: 20px 0;
}

details {
    margin: 15px 20px 0 20px;
    border: 1px solid var(--d-olive);
    padding: 20px;
    position: relative;
}


details[open] summary i {
    transform: rotate(45deg);
    /* 開いたときに45度回転 */
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    cursor: pointer;
}

.goods_text h3 {
    padding: 0;
}

.quantity {
    display: flex;
    padding: 0;
    margin: 20px 0;
    align-items: center;
}

.quantity p {
    padding: 0;
    margin-right: 26px;
}

.qty {
    width: 100px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--d-olive);
    /* ← ボーダー色 */
    background-color: var(--bgcolor);
    overflow: hidden;
}

.qty button {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: var(--d-olive);
    margin: 0;
    padding: 0;
}


.qty input {
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    color: var(--d-olive);
    background: transparent;
    pointer-events: none;
    /* 直接入力させない場合 */
}

/* hover */
.qty button:hover {
    border-radius: 0;
    background-color: var(--beige);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

@media (min-width: 768px) {
    .goods {
        flex-direction: row;
        gap: 60px;
        justify-content: space-between;
    }

    p.back {
        order: 0;
    }

    .goods_img {
        flex: 1;
    }

    .goods_text {
        flex: 1;
    }
}

/* 商品詳細ページここまで */


/* 予約フォーム */
.reserve {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.r_c {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.calHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

table {
    max-width: 70%;
    border-collapse: collapse;
    text-align: center;
    border: 1px solid var(--d-olive);
}

th,
td {
    padding: 10px;
    border: 0;
    width: 14.28%;
    height: 14.28%;
    /* 7日分のカラム幅 */
}

th {
    border-bottom: 1px dotted var(--d-olive);
    height: 10px;
    background-color: var(--bgcolor);
    font-weight: normal;
}

td {
    height: 30px;
}


td.open:hover {
    background-color: var(--beige);
    cursor: pointer;
}

caption {
    font-size: 18px;
    padding: 10px;
}

#n_btn,
#p_btn {
    width: 40px;
    height: 40px;
    height: auto;
    padding: 8px;
    font-size: 20px;
    background-color: transparent;
    color: var(--d-olive);
    border-radius: 50%;
}

#n_btn:hover,
#p_btn:hover {
    background-color: var(--beige);
}

.today {
    background-color: var(--olive);
    color: var(--offwhite);
    font-weight: bold;
}

.past {
    color: #aaa;
}

.form {
    display: flex;
    flex-direction: column;
}

label {
    display: block;
    margin-bottom: 8px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea,
input[type="date"],
input[type="time"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid var(--d-olive);
    box-sizing: border-box;
    background-color: var(--bgcolor);
}

.form-group {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .reserve {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 50px;
    }

    .r_c {
        flex: 1;
    }

    .form {
        flex: 1;
    }
}

/* 予約ページここまで */

/* インフォページここから */
.infolist {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 60px;
}

.faq h4 {
    font-size: clamp(14px, 0.875rem + 0.4vi, 16px);
}

.u_border {
    border-bottom: 1px solid var(--d-olive);
}

.faq details[open] p {
    padding-top: 10px;
}

/* インフォページここまで */

/* カートページここから */

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid var(--d-olive);
}
.cart-item:first-child{
    border-top: 1px solid var(--d-olive);
}

.cart-img {
    width: 180px;
    padding: 30px 0;
}
.cart-img img{
    width: clamp(150px, 20vw, 180px);
    min-width: 100px;
}
.cart-info {
    display: flex;
    align-items: center;
}

.cart-name {
    letter-spacing: 0.01em;
    font-size: clamp(14px, 2vw, 16px);
}

.cart-jpn {
    font-size: clamp(10px, 1.5vw, 12px);
}

.cart-price {
    font-size: clamp(20px, 3vw, 25px);
}


.cart-remove {
    background-color: transparent;
    color: var(--d-olive);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 0;
}


.c-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.summary-row {
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.summary-sum {
    margin-bottom: 30px;
    font-size: 25px;
    display: flex;
    justify-content: space-between;
}

.summary-note {
    padding-bottom: 30PX;
}
.btn{
    margin: 0 5% 15px 5%;
    display: block;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--olive);
    color: var(--offwhite);
}
.btn-back{
    margin: 0 5%;
    display: block;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--d-olive);
    color: var(--d-olive);

}
@media (min-width: 900px) {
.cart-list{
    display: flex;
    justify-content: space-between;
    gap: 10%;
}
.cart-item{
    height: 240px;
    flex: 1.5;
}
.cart-summary{
    position: sticky;
    flex: 1;
}
}
