:root {
    --base-font-size: 14px;
    --heading-font-size: 24px;
    --section-title-size: 52px;
    --accent-color: #586A78;
    --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,
.insta-btn-square-gradient {
    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;
}

.insta-btn-square-gradient {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    border: none;
}

.insta-btn-square-gradient:hover {
    opacity: 0.8;
    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);
    /* 選択されたサムネイルだけモノクロ */
}

/* Hero Split Section */
.hero-split {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.split-left, .split-right {
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    transform: scale(1.08); /* Initial state */
}

.hero-slide.is-animating .split-left,
.hero-slide.is-animating .split-right {
    animation: fvZoomOut 6.5s ease-out forwards;
}

@keyframes fvZoomOut {
    0% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-container {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box-wrap {
    text-align: center;
    color: white;
    margin: 0 auto;
}

.fv-badge {
    background-color: #d4af37;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 14px;
    font-weight: bold;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.custom-logo {
    margin-bottom: 2.5rem;
}

.logo-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-char {
    font-family: 'Zen Old Mincho', serif;
    font-size: 4rem;
    line-height: 1;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.kko-wrap {
    display: flex;
    gap: 0.2rem;
}

.char-xtu, .char-ko {
    font-size: 3rem;
}

.slogan-txt {
    font-size: 1.25rem;
    line-height: 1.8;
    letter-spacing: 0.15em;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
    .logo-char { font-size: 3rem; }
    .char-xtu, .char-ko { font-size: 2.25rem; }
    .slogan-txt { font-size: 1rem; }
    
    .hero-slide {
        flex-direction: column;
    }
    
    .split-left, .split-right {
        width: 100%;
        height: 50%;
    }
}

/* 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;
}

/* Logo Marquee Slider */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
}

.marquee-content {
    display: flex;
    animation: marquee 80s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

.marquee-content span {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 0.1em;
    padding: 0 15px;
    color: var(--text-color);
    flex-shrink: 0;
    display: inline-block;
}

@media (min-width: 768px) {
    .marquee-content span {
        font-size: 28px;
        padding: 0 25px;
    }
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Diagonal Strikethrough */
.strike-diagonal {
    position: relative;
    display: inline-block;
}

.strike-diagonal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -5%;
    width: 110%;
    height: 2px;
    background-color: #9ca3af; /* Tailwind gray-400 */
    transform: translateY(-50%) rotate(-15deg);
}
