:root {
    --base-font-size: 14px;
    --heading-font-size: 24px;
    --section-title-size: 52px;
    --accent-color: rgb(194 8 126);
    --karasumi-color: #141414;
    --text-color: #333;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: var(--base-font-size);
    color: var(--text-color);
    background-color: #fcfcfc;
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h1,
h2,
h3,
.font-serif {
    font-family: 'Zen Old Mincho', serif;
    font-weight: 400;
}

.font-roboto {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: var(--section-title-size);
    line-height: 1.1;
}

.heading-text {
    font-size: var(--heading-font-size);
}

.section-padding {
    padding: 100px 0;
}

.container-custom {
    max-width: 1152px;
    /* 6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    /* px-6 */
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .container-custom {
        padding-left: 3rem;
        /* px-12 */
        padding-right: 3rem;
    }
}

.img-container {
    overflow: hidden;
    background-color: #eee;
    position: relative;
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nav Animation */
#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Gallery Slider */
.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    position: relative;
    /* スライドアニメーションのためにabsoluteを外す */
}

.thumb-active {
    outline: 1px solid var(--accent-color);
    outline-offset: 4px;
}

/* Instagram Square Buttons */
.insta-btn-square-black,
.insta-btn-square-white {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

.insta-btn-square-black {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
}

.insta-btn-square-black:hover {
    background-color: transparent;
    color: #000;
}

.insta-btn-square-white {
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
}

.insta-btn-square-white:hover {
    background-color: transparent;
    color: #fff;
}

/* Button 15 Custom Style */
.button-15 a {
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    font-weight: 400;
    border-top: solid 1px var(--accent-color);
    border-bottom: solid 1px var(--accent-color);
    display: block;
    position: relative;
    rotate: -6deg;
    transform: skewX(-6deg);
    box-sizing: border-box;
    max-width: 260px;
    text-align: center;
    padding: 16px;
    margin: 40px auto 24px;
    /* テキストとの間隔を40pxに調整 */
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.button-15 a::before {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 20px;
    border-left: solid 1px var(--accent-color);
    top: 0;
    left: 0;
    transition: all 0.3s;
}

.button-15 a::after {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 20px;
    border-right: solid 1px var(--accent-color);
    top: 0;
    right: 0;
    transition: all 0.3s;
}

.button-15 a:hover {
    color: #fff;
    background: var(--accent-color);
    transition: all 0.3s;
}

/* Purple Monochrome Filter for Gallery */
.purple-mono img {
    filter: none;
    transition: filter 0.3s ease;
}

.purple-mono .thumb-active img {
    filter: grayscale(100%) sepia(100%) hue-rotate(225deg) saturate(0.5) brightness(0.9) contrast(1.1);
    /* 選択されたサムネイルだけモノクロ */
}

/* Old FV Styles */
.fv {
    position: relative;
    width: 100%;
    height: clamp(500px, 80vh, 1080px);
    /* 100vhだとスマホでスクロールが発生するため調整 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv__image-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fv__image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fv__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.fv__nav {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 50;
    text-align: right;
}

.fv__nav li {
    margin-bottom: 10px;
}

.fv__nav a {
    color: #000;
    font-size: 18px;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.fv__reserve {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 50;
    width: clamp(160px, 20vw, 280px);
    /* さらに大型化 */
    transition: opacity 0.3s;
}

.fv__reserve:hover {
    opacity: 0.8;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    animation: scroll-anim 2s infinite;
}

.scroll-down::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 50%;
    width: 1px;
    height: 40px;
    background: #fff;
}

@keyframes scroll-anim {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .fv__nav {
        top: 20px;
        right: 20px;
    }

    .fv__nav a {
        font-size: 14px;
    }

    .fv__reserve {
        left: 20px;
        transform: none;
        bottom: 30px;
    }

    .scroll-down {
        display: none;
    }
}

/* Top Button */
#top-button {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 50;
}

@media (max-width: 767px) {
    #top-button {
        bottom: 30px;
    }
}



/* Slant Lines */
.slant-line,
.slant-line-rev {
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    margin: 140px 0;
}

/* 傾斜とアニメーションの競合を解消 */
.slant-line.reveal {
    transform: rotate(-8deg) translateY(30px);
}

.slant-line.reveal.active {
    transform: rotate(-8deg) translateY(0);
}

.slant-line-rev.reveal {
    transform: rotate(8deg) translateY(30px);
}

.slant-line-rev.reveal.active {
    transform: rotate(8deg) translateY(0);
}

/* Custom Reserve Button Styles for Dark Section */
.reserve-btn-phone {
    border: 1px solid #fff;
    color: #fff;
    transition: all 0.3s ease;
}

.reserve-btn-phone:hover {
    background-color: #fff;
    color: var(--karasumi-color);
}

/* Scroll Animations (Default Snap) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* FV Specific Slow Animations */
.fv .reveal {
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fv .reveal-delay-2 {
    transition-delay: 0.8s;
}

.fv .reveal-delay-3 {
    transition-delay: 1.6s;
}
