@charset "UTF-8";

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    --color-primary: #B89C72;
    --color-primary-dark: #8C7355;
    --color-text: #333333;
    --color-bg: #FAF8F5;
    --color-bg-light: #FFFFFF;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Noto Serif JP', serif;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 2;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Disable text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.section-padding {
    padding: 100px 0;
}

.pb-0 {
    padding-bottom: 0 !important;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    p, .section-text, .service__text, .menu__text, .tv__message, .voice__text, .message__text, .tv__list li {
        font-size: 14px !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
    color: var(--color-primary-dark);
    position: relative;
    padding-top: 30px;
}

.section-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background-color: var(--color-primary);
}

.section-title.text-left {
    text-align: left;
}

.section-title.text-left::before {
    left: 0;
    transform: none;
}

.title-en {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.title-ja {
    display: block;
    font-size: inherit;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
}

.bg-light {
    background-color: var(--color-bg-light);
}

/* 動くグラデーション（見出しなどのテキスト背面用） */
.bg-gradient {
    background: linear-gradient(270deg, #fdfbf7, #eaddc5, #fdfbf7);
    background-size: 600% 600%;
    animation: gradientMove 10s ease infinite;
    color: var(--color-text);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

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

    100% {
        background-position: 0% 50%;
    }
}

.text-center {
    text-align: center;
}

.sp-only, .mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only, .mobile-only {
        display: block;
    }
}

/* ==========================================================================
   Layout: Strict 40% / 60% Split
   ========================================================================== */
.split-layout {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 50vh;
}

@media (min-width: 769px) {
    .split-layout--reverse {
        flex-direction: row-reverse;
    }
}

.split-layout__text {
    width: 40%;
    padding: 60px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-layout__image {
    width: 60%;
    position: relative;
    overflow: hidden;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-layout__image img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    transition: transform 1.5s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.split-layout:hover .split-layout__image img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
        min-height: auto;
    }

    .split-layout__text {
        width: 100%;
        padding: 50px 20px;
        order: 2;
    }

    .split-layout__image {
        width: 100%;
        height: 50vh;
        order: 1;
        position: relative;
    }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header__inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__menu {
    display: flex;
    gap: 20px;
}

.header__menu a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
}

.header__menu a:hover {
    color: var(--color-primary);
}

.btn-tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-primary-dark);
    color: #fff;
    padding: 12px 25px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(140, 115, 85, 0.3);
    transition: all 0.4s ease;
}

.btn-tel:hover {
    background-color: var(--color-text);
    box-shadow: 0 6px 20px rgba(51, 51, 51, 0.4);
    transform: translateY(-2px);
}

/* Hamburger Menu (SP) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000;
    /* SP時のアイコンは必ず黒色ベタ塗り */
    transition: var(--transition);
    left: 0;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 1024px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }

    .header__nav.is-active {
        right: 0;
    }

    .header__menu {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }

    .header__menu a {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }
}

/* ==========================================================================
   Sections & Floating Cards
   ========================================================================== */
main>section:not(.fv):not(.cta) {
    margin: 80px auto;
    max-width: 1300px;
    width: calc(100% - 60px);
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(140, 115, 85, 0.08), 0 5px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    main>section:not(.fv):not(.cta) {
        margin: 40px auto;
        width: calc(100% - 30px);
        border-radius: 25px;
        box-shadow: 0 15px 30px rgba(140, 115, 85, 0.08);
    }
}

main > section.service,
main > section.voice {
    border: 1px solid var(--color-primary);
}

/* FV */
.fv {
    padding-top: var(--header-height);
}

.fv .split-layout {
    min-height: calc(100vh - var(--header-height));
}

.fv__sub {
    font-size: 1rem;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.fv__title {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: 900;
}

.fv__points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fv__points li {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(184, 156, 114, 0.3);
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.05em;
}

/* Swiper styling for FV */
.fv .split-layout__image {
    padding: 0;
}

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

.fv-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    position: absolute;
}

@media (max-width: 768px) {
    .fv__title {
        font-size: 1.8rem;
    }
}

/* ABOUT Adjustments */
.about .section-title {
    font-size: 2rem;
}

@media (max-width: 768px) {
    .about .section-title {
        font-size: 1.4rem;
    }
}

.about .section-text {
    font-size: 1.05rem;
    line-height: 2.2;
    color: #444;
}

.about .split-layout__image img {
    max-height: 550px;
    /* Allow the about image to be slightly taller to balance the long text */
}

/* CTA */
.cta {
    padding: 60px 20px;
    text-align: center;
    width: 100%;
}

.cta__title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
}

.cta__title .title-en {
    font-size: 1rem;
    margin-bottom: 5px;
}

.cta__tel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    background-color: var(--color-primary-dark);
    margin: 10px auto 20px;
    padding: 12px 40px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(140, 115, 85, 0.3);
    transition: all 0.4s ease;
    text-decoration: none;
}

.cta__tel::before {
    content: "📞";
    font-size: 1.4rem;
}

.cta__tel:hover {
    background-color: var(--color-text);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(51, 51, 51, 0.3);
}

@media (max-width: 768px) {
    .cta {
        padding: 40px 20px;
    }

    .cta__tel {
        font-size: 1.2rem;
        padding: 10px 20px;
        width: 100%;
        max-width: 280px;
    }

    .cta__tel::before {
        font-size: 1.1rem;
    }
}

/* TV (こんな方におすすめ) */
.tv {
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../img/bg2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.tv__box {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.tv__list {
    margin-bottom: 30px;
}

.tv__list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.tv__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.tv__message {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

@media (max-width: 768px) {
    .tv__box {
        padding: 30px 20px;
    }

    .tv__list li {
        font-size: 1rem;
    }
}

/* Service */
.service__item {
    margin-bottom: 50px;
}

.service__item:last-child {
    margin-bottom: 0;
}

.service__title {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    display: inline-block;
}

@media (max-width: 768px) {
    .service__title {
        font-size: 1.3rem;
    }
}

/* Menu */
.menu__price {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.menu__text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.menu__tel {
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
    border: 2px solid var(--color-text);
    padding: 12px 40px;
    border-radius: 50px;
    transition: all 0.4s ease;
    background-color: transparent;
}

.menu__tel:hover {
    background-color: var(--color-text);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .menu__price {
        font-size: 2rem;
    }

    .menu__tel {
        font-size: 1.2rem;
        padding: 10px 25px;
    }
}

/* Voice */
.voice__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.voice__card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    border: 1px solid var(--color-primary);
}

.voice__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.voice__stars {
    color: #f5b301;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.voice__text {
    margin-bottom: 20px;
    font-style: italic;
}

.voice__name {
    text-align: right;
    font-weight: bold;
    color: var(--color-primary-dark);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-dark);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(140, 115, 85, 0.3);
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--color-text);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(51, 51, 51, 0.3);
}

@media (max-width: 768px) {
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Message */
.message__box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.message__box .section-title {
    font-size: 1.8rem;
}

.message__text {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .message__box .section-title {
        font-size: 1.2rem;
    }
    .message__text {
        text-align: left;
    }
}

/* Access */
.access__info dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.access__info dt,
.access__info dd {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.05rem;
}

.access__info dt {
    width: 30%;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.access__info dd {
    width: 70%;
}

.access__info dd a {
    color: var(--color-primary-dark);
    font-weight: bold;
    text-decoration: underline;
}

.access .split-layout__image iframe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 768px) {
    .access .split-layout__text {
        order: 1;
    }
    .access .split-layout__image {
        order: 2;
    }
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: #fff;
    padding: 60px 0 30px;
    text-align: center;
}

.footer__logo {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer__info p {
    margin-bottom: 10px;
}

.footer__tel a {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer__tel a:hover {
    color: var(--color-primary);
}

.footer__copyright {
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ==========================================================================
   Animations (Intersection Observer)
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Fixed Footer & Page Top
   ========================================================================== */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.page-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary-dark);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.15);
}

.fixed-footer.is-visible {
    transform: translateY(0);
}

.fixed-footer__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    padding: 10px;
}

.fixed-footer__tel .tel-icon {
    font-size: 1.5rem;
}

.fixed-footer__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.fixed-footer__text .small {
    font-size: 0.8rem;
}

.fixed-footer__text .number {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .page-top {
        bottom: 80px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    .footer {
        padding-bottom: 80px;
    }
}

/* ==========================================================================
   Gallery & Lightbox
   ========================================================================== */
.gallery {
    overflow: hidden;
    background-color: var(--color-bg);
}

.gallery-swiper {
    padding-bottom: 40px;
}

.gallery-swiper .swiper-slide {
    width: 280px;
    transition: transform 0.4s ease;
}

@media (min-width: 769px) {
    .gallery-swiper .swiper-slide {
        width: 350px;
    }
}

.gallery-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(140, 115, 85, 0.2);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(25, 25, 25, 0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.lightbox.is-open {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.lightbox__content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.is-open .lightbox__content {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
    line-height: 1;
}

.lightbox__close:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}