:root {
    --width: 1 / 393 * 510px;
}

@media (max-width: 393px) {
    :root {
        --width: 1 / 393 * 100vw;
    }
}

.pc {
    display: block;
}

.sp {
    display: none;
}

@media (max-width: 780px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

header,
main,
footer {
    max-width: 750px;
    margin: 0 auto;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

.about {
    width: calc(263 * var(--width));
}

.hoverOpacity {
    transition-property: opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    transition-delay: 0s
}

@media(hover: none) {
    .hoverOpacity:active {
        opacity: .8
    }
}

@media(hover: hover) {
    .hoverOpacity:hover {
        opacity: .8
    }
}

:where(svg):where(:not([fill])) {
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round
}

.pcWrap .pcBack {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr min(85%, 510px) 1fr;
    background: linear-gradient(120deg, #fbe1e4, #ffefed, #e0f5ff, #bfeaff, #bfeaff, #fff0c9, #ffc0ad, #ffc0ad, #fbfae1, #fff09b);
    background-size: 1800% 1800%;
    animation: bgGradAnimate 40s ease infinite
}

.fadein {
    opacity: 0;
    transition-property: opacity, translate;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
    transition-delay: 0s
}

.fadein.scrollin {
    opacity: 1
}

.fadein.slideT {
    translate: 0 2rem
}

.fadein.slideT.scrollin {
    translate: 0 0
}

.fadein.slideTL {
    translate: -1.5rem 2rem
}

.fadein.slideTL.scrollin {
    translate: 0 0
}

.fadein.slideL {
    translate: 2rem 0
}

.fadein.slideL.scrollin {
    left: 0;
    translate: 0 0
}

.c-commonBtn {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    align-items: center;
    -moz-column-gap: .8em;
    column-gap: .8em;
    border-radius: 1.75em;
    padding: 1.1em;
    width: 260px;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: .1em;
    color: #fff;
    background: linear-gradient(99.25deg, #FAB736 -2.56%, #FFE2A9 15.15%, #BE7E00 54.12%);
    text-decoration: none;
    font-family: "Zen Maru Gothic", sans-serif;
}

@media(max-width: 767.98px) {
    .c-commonBtn {
        font-size: calc(100vw*(16 / 375))
    }
}

.c-commonBtn:visited,
.c-commonBtn:focus,
.c-commonBtn:active {
    color: #333
}

@media(max-width: 767.98px) {
    .c-commonBtn {
        width: calc(100vw*(260 / 375))
    }
}


@keyframes bgGradAnimate {
    0% {
        background-position: 0% 33%
    }

    50% {
        background-position: 100% 68%
    }

    100% {
        background-position: 0% 33%
    }
}

@media(max-width: 834px) {
    .pcWrap .pcBack {
        display: none
    }
}

.pcWrap .pcBack .pcSide {
    grid-column: -2/-1;
    display: grid;
    align-content: center;
    justify-items: center
}

@media(max-width: 1080px) {
    .pcWrap .pcBack .pcSide {
        display: none
    }
}

.pcWrap .pcBack .pcSide .c-commonBtn {
    margin-top: 40px
}

@media(max-width: 767.98px) {
    .pcWrap .pcBack .pcSide .c-commonBtn {
        margin-top: calc(100vw*(40 / 375))
    }
}

.pcWrap .spContent {
    z-index: 1;
    position: relative;
    margin-inline: auto;
    width: min(85%, 510px);
    background: #ebe4c6;
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, .25);
    min-height: calc(5000 * var(--width));
}

@media(max-width: 767.98px) {
    .pcWrap .spContent {
        width: min(100%, 510px)
    }
}

section {
    position: relative;
    z-index: 1;
}

.fv-slider {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 0;
}

.fv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.fv.fv1 {
    animation: fv1Fade 6s ease-in-out infinite;
    z-index: 1;
}

.fv.fv2 {
    animation: fv2Fade 6s ease-in-out infinite;
    z-index: 2;
}

.fv-logo {
    position: absolute;
    top: calc(20 * var(--width));
    left: calc(20 * var(--width));
    width: calc(150 * var(--width));
    height: auto;
    z-index: 10;
    opacity: 0;
    animation: logoFadeIn 6s ease-in-out infinite;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    55% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fv1Fade {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fv2Fade {
    0% {
        opacity: 0;
    }

    40% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.bg00 {
    position: absolute;
    top: calc(450 * var(--width));
    left: 0;
    width: 100%;
    height: calc(420 * var(--width));
    object-fit: cover;
    object-position: center;
}

.bg01 {
    position: absolute;
    top: calc(500 * var(--width));
    left: 0;
    width: 100%;
}

.bg01.bg01-02 {
    top: calc(1640 * var(--width));
}

.bg01.bg01-03 {
    top: calc(2540 * var(--width));
}

.bg01.bg01-04 {
    top: calc(3480 * var(--width));
}

.bg01.bg01-05 {
    top: calc(4300 * var(--width));
}

.full-style-bg {
    position: absolute;
    left: 0;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.full-style-bg.full-style-bg-01 {
    top: calc(2765 * var(--width));
    height: calc(800 * var(--width));
}

.full-style-bg.full-style-bg-02 {
    top: calc(3586 * var(--width));
    height: calc(500 * var(--width));
}

.full-style-bg.full-style-bg-03 {
    top: calc(4270 * var(--width));
    height: calc(460 * var(--width));
    transform: scaleX(-1);
}

.kv {
    padding-top: calc(350 * var(--width));
    position: relative;
    z-index: 10;
}

.fv-title {
    width: 100%;
    position: relative;
    z-index: 10;
}

.kv-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: calc(40 * var(--width));
}

.title01 {
    width: calc(250 * var(--width));
}

.kv-bottom-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: calc(20 * var(--width));
}

.sub-title01 {
    width: calc(156 * var(--width));
}

.kv-bottom-text p {
    font-size: calc(14 * var(--width));
    line-height: 1.6;
    text-align: center;
    font-family: "Zen Maru Gothic", sans-serif;
}

.sub-title01-icon01 {
    position: absolute;
    top: calc(62 * var(--width));
    right: calc(20 * var(--width));
    width: calc(37 * var(--width));
    height: auto;
}

.sub-title01-icon02 {
    position: absolute;
    bottom: calc(10 * var(--width));
    left: calc(10 * var(--width));
    width: calc(37 * var(--width));
    height: auto;
}

.img01-box {
    padding-bottom: calc(30 * var(--width));
}

.img01-icon {
    position: absolute;
    right: calc(40 * var(--width));
    bottom: calc(10 * var(--width));
    width: calc(117 * var(--width));
    height: auto;

}

.img03-box {
    padding-top: calc(20 * var(--width));
}

.full-style {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: calc(50 * var(--width));
}

.sub-title02 {
    width: calc(146 * var(--width));
}

.img05-box {
    padding-top: calc(20 * var(--width));
}

.img05-icon {
    position: absolute;
    right: calc(33 * var(--width));
    top: calc(26 * var(--width));
    width: calc(36 * var(--width));
    height: auto;
}

.img06-box {
    padding-top: calc(20 * var(--width));
}

.img06-icon {
    position: absolute;
    left: calc(68 * var(--width));
    top: calc(-7 * var(--width));
    width: calc(50 * var(--width));
    height: auto;
}

.img07-icon {
    position: absolute;
    right: calc(40 * var(--width));
    top: calc(-34 * var(--width));
    width: calc(113 * var(--width));
    height: auto;
}

.contents {
    width: 100%;
    padding-bottom: calc(20 * var(--width));
}

.bg02 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

.contents-link {
    position: absolute;
    top: calc(357 * var(--width));
    left: calc(40 * var(--width));
    width: calc(315 * var(--width));
    height: calc(50 * var(--width));
}

/* Store Information Styles */
.store-info {
    position: relative;
    z-index: 2;
    padding: calc(20 * var(--width)) calc(20 * var(--width)) calc(40 * var(--width));
    color: #333;
    text-align: center;
}

.store-title {
    color: #222;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 133.3%;
    /* 37.324px */
    letter-spacing: 2.24px;
}

.store-title span {
    font-weight: 300;
    display: block;
}

.store-access {
    background-color: #254D70;
    padding: calc(20 * var(--width));
    text-align: center;
    border-radius: calc(8 * var(--width)) calc(8 * var(--width)) 0 0;
    margin-top: 24px;
}

/* Odd number store-box accent style */
.store-box:nth-of-type(even) .store-access {
    background-color: #8C704C;
    /* Accent color */
}

.access-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(8 * var(--width));
    margin-bottom: calc(10 * var(--width));
}

.access-image {
    width: calc(80 * var(--width));
    height: auto;
    display: block;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.access-line {
    height: 1px;
    background-color: #fff;
    flex: 1;
    border-radius: 1px;
}

.access-text {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: calc(12 * var(--width));
    line-height: 1.6;
    color: #fff;
    text-align: left;
}

.store-details {
    padding: calc(25 * var(--width)) 0;
    background-color: #FBF3D1;
    border-radius: 0 0 calc(8 * var(--width)) calc(8 * var(--width));
}

.store-name {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: calc(20 * var(--width));
    font-weight: 500;
    margin-bottom: calc(15 * var(--width));
    color: #111;
    width: calc(320 * var(--width));
    margin-left: auto;
    margin-right: auto;
}

.store-info-details {
    margin-bottom: calc(20 * var(--width));
    margin-left: 32px;
    margin-right: 32px;
}

.store-info-details p {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: calc(14 * var(--width));
    margin-bottom: calc(8 * var(--width));
    color: #333;
    text-align: left;
}

.reservation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 48px);
    height: 52px;
    margin: 0 24px;
    flex-shrink: 0;
    border-radius: 600px;
    background: var(--Linear, linear-gradient(90deg, #FFDFA0 0%, #FFA900 100%));
    box-shadow: 4px 4px 0 0 #4A3100;
    color: #333;
    padding: 0;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    text-align: center;
    line-height: 1;
}

.reservation-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(255, 140, 0, 0.4);
    background: linear-gradient(180deg, #FFE55C 0%, #FFB347 50%, #FFA900 100%);
}

.store-notice {
    padding: calc(15 * var(--width));
    margin-top: 24px;
    background-color: #fff;
    border-radius: calc(8 * var(--width));
}

.store-notice p {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: calc(11 * var(--width));
    line-height: 1.5;
    color: #666;
    margin-bottom: calc(5 * var(--width));
    text-align: left;
}

.contents-box .c-commonBtn {
    margin-left: auto;
    margin-right: auto;
    width: 320px;
}

#wrap footer {
    background-color: #ebe4c6;
    text-align: center;
    margin-top: 0;
    padding: 0;
}

/* -------------------------------------------
   Mode Gakuen Collab Section
------------------------------------------- */
.mode-collab-section {
    background-color: #ebe4c6;
    position: relative;
    overflow: hidden;
}

/* 背景パターンがあれば適用。なければbg02を流用または削除 */
.mode-collab-section .bg02 {
    z-index: 0;
}

.mode-collab-back-texture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.mode-collab-content {
    position: relative;
    z-index: 1;
    padding: calc(32 * var(--width)) calc(16 * var(--width));
}

.mode-header {
    text-align: center;
    margin-bottom: calc(50 * var(--width));
}

.mode-collab-logo {
    width: calc(360 * var(--width));
    margin: 0 auto calc(20 * var(--width));
}

.mode-catch {
    font-size: calc(20 * var(--width));
    line-height: 1.6;
    letter-spacing: 0.05em;
    color: #4a3c28;
    margin: auto auto calc(16 * var(--width));
    font-weight: 600;
    display: block;
    width: calc(350 * var(--width));
}

.mode-catch-line1, .mode-catch-line2 {
    font-family: "Noto Serif JP", serif;
}

.mode-catch-line1 {
    display: block;
    text-align: left;
}

.mode-catch-line2 {
    display: block;
    text-align: right;
}

.mode-desc {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: calc(13 * var(--width));
    line-height: 1.9;
    color: #333;
    text-align: justify;
}

.mode-group-img {
    width: 100%;
    margin-bottom: calc(60 * var(--width));
}

/* Design Item Style */
.design-item {
    margin-bottom: calc(40 * var(--width));
}

.design-layout-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(15 * var(--width));
}

.design-text-area {
    width: 35%;
    display: flex;
    flex-direction: column;
}

.design-number {
    font-family: "Noto Serif JP", serif;
    font-style: italic;
    font-size: calc(28 * var(--width));
    color: #4a3c28;
    line-height: 1;
}

.design-desc {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: calc(12 * var(--width));
    color: #333;
    line-height: 1.8;
    margin: calc(8 * var(--width)) 0;
}

.design-sketch {
    margin-top: auto;
}

.design-main-img {
    width: 62%;
}

.design-gallery {
    display: flex;
    gap: calc(16 * var(--width));
    justify-content: flex-start;
    flex-wrap: wrap;
}

.design-gallery img {
    height: auto;
    object-fit: cover;
}

/* Width utility for gallery */
.gallery-w-half {
    width: calc(48.5% - 4px);
}

.gallery-w-third {
    width: calc(32% - 4px);
}

.gallery-w-lg {
    width: calc(42% - 8px);
}

.gallery-w-sm {
    width: calc(27% - 8px);
}

.gallery-w-full {
    width: 100%;
}

/* Even item: reverse layout */
.design-item:nth-child(odd) .design-layout-top {
    flex-direction: row-reverse;
}

/* Exhibition Notice */
.exhibition-notice {
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-size: calc(16 * var(--width));
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: calc(30 * var(--width));
    color: #333;
    margin-top: calc(20 * var(--width));
}

/* Premium Salon customization */
.premium-salon-area {
    margin-top: calc(40 * var(--width));
}

.premium-salon-area .store-access {
    background-color: #baa887;
    /* Slightly different tone */
}

.premium-salon-area .store-details {
    background-color: #fdf5d7;
}