@charset "UTF-8";

/* ==========================================================================
   Base & Reset
   ========================================================================== */
:root {
    /* Colors - Botanical & Premium Palette (Updated) */
    --color-bg: #FDFEFD;
    /* ほんのり緑がかった白 */
    --color-text: #2F3538;
    --color-text-light: #6B7280;
    --color-primary: #769ccb;
    /* 画像に合わせた淡いブルー */
    --color-primary-dark: #5a7aa5;
    --color-secondary: #9dc6c4;
    /* 淡いグリーン */
    --color-accent: #eaddcf;
    /* 優しいベージュ */
    --color-white: #ffffff;
    --color-glass: rgba(255, 255, 255, 0.9);

    /* Typography */
    --font-main: 'Noto Serif JP', serif;
    --font-size-base: 16px;
    --line-height-base: 2.0;
    --letter-spacing-base: 0.08em;

    /* Spacing */
    --spacing-section-pc: 140px;
    --spacing-section-sp: 90px;
    --spacing-container: 4vw;

    /* Effects */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --radius-lg: 12px;
}

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

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    letter-spacing: var(--letter-spacing-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* ドラッグ選択を禁止 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

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

ul {
    list-style: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.u-mb-lg {
    margin-bottom: 60px;
}

.u-mb-md {
    margin-bottom: 40px;
}

.u-mb-sm {
    margin-bottom: 24px;
}

/* Section Title Style */
.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.section-title img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
}

/* Button Standard */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 24px;
    background-color: #5EA790;
    color: var(--color-white);
    font-size: 1rem;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(94, 167, 144, 0.3);
    margin-top: 0;
    position: relative;
    z-index: 2;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    max-width: 320px;
    /* Aligned to longest button */
    margin-left: auto;
    margin-right: auto;
}

.btn:hover {
    background-color: #4b8c75;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 140, 117, 0.4);
}

.u-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    justify-content: center;
}

.u-btn-group.u-center {
    justify-content: center;
}

/* ==========================================================================
   Header
   ========================================================================== */
/* ==========================================================================
   Header
   ========================================================================== */
/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #98AEAA;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    z-index: 1001;
}

.header__logo a {
    color: #fff;
}

.header__right {
    display: none;
}

@media screen and (min-width: 769px) {
    .header__right {
        display: flex;
        align-items: center;
        gap: 20px;
        /* Space between Nav and Button */
    }
}

.header__nav-pc {
    display: none;
}

.header__cta-btn {
    display: none;
    margin-top: 0;
}

@media screen and (min-width: 769px) {
    .header__nav-pc {
        display: block;
    }

    .header__cta-btn {
        display: flex;
        width: auto;
        max-width: none;
        min-width: 0;
        height: 38px;
        background-color: #fff;
        color: #98AEAA;
        padding: 0 20px;
        font-size: 0.85rem;
        box-shadow: none;
        margin-top: 0;
        justify-content: center;
        align-items: center;
    }

    .header__cta-btn:hover {
        background-color: #f0f0f0;
        color: #7a918d;
        transform: translateY(-1px);
    }
}






/* Hamburger Menu (SP) */
.hamburger {
    display: block;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary-dark);
    transition: all 0.4s;
}

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

.hamburger span:nth-of-type(2) {
    top: 11px;
}

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

.hamburger.active span:nth-of-type(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

.hamburger.active span:nth-of-type(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.sp-nav.active {
    opacity: 1;
    visibility: visible;
}

.sp-nav__list li {
    margin-bottom: 24px;
    text-align: center;
}

.sp-nav__close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 2rem;
    color: var(--color-primary-dark);
}

.sp-nav__list a {
    font-size: 1.25rem;
    color: var(--color-text);
}

/* ==========================================================================
   First View (FV)
   ========================================================================== */
.fv {
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 80px;
    /* Header Height (SP) */
    overflow: hidden;
}

.fv .swiper {
    width: 100%;
    height: 100%;
}

.fv .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    vertical-align: top;
}

/* 出し分け */
/* Responsive Utilities */
.u-pc-only {
    display: none !important;
}

.u-sp-only {
    display: block !important;
}

@media screen and (min-width: 769px) {
    .u-pc-only {
        display: block !important;
    }

    .u-sp-only {
        display: none !important;
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--color-white);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-down::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: #fff;
    margin: 10px auto 0;
}

@keyframes bounce {

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

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* ==========================================================================
   Sections General
   ========================================================================== */
section {
    padding: var(--spacing-section-sp) 0;
}

/* Asymmetry & Broken Grid Helper */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* ==========================================================================
   Each Section
   ========================================================================== */
/* Intro (TV) */
.tv-text {
    padding: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    border-radius: 8px;
}

.tv-text ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 1.5em;
}

.tv-text ul li::before {
    content: "✔";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    top: 0;
}

/* About - Broken Grid */
#about {
    background-image: url('../img/about_bg.jpg');
    background-size: cover;
    background-position: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-img {
    width: 100%;
}

.about-text {
    z-index: 2;
}

/* Gallery - Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.6s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Service */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-item {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.service-item h3 {
    color: var(--color-primary);
    margin-bottom: 16px;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 8px;
    display: inline-block;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    /* Optional: adds nice touch matching other elements */
}

/* Menu / Recommend */
/* Menu / Recommend */
#recommend {
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('../img/menu_bg.jpg');
    /* Overlay for 40% opacity feel (technically 60% white overlay makes image look 40% opacity) */
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--color-text);
    /* Text needs to be visible on light bg */
    padding: 100px 0;
}

#recommend::before {
    display: none;
    /* Removed dark overlay */
}

#recommend .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.recommend-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    /* SP: Left align */
}

.recommend-glass .section-title img {
    max-width: 400px;
    margin: 0;
}

@media screen and (min-width: 769px) {
    .recommend-glass {
        text-align: center;
        /* PC: Center align */
    }

    .recommend-glass .section-title img {
        margin: 0 auto;
    }

    .recommend-glass .u-btn-group {
        justify-content: center;
    }
}

/* Voice & Staff - Card */
.voice-grid {
    display: flex;
    justify-content: center;
}

.staff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.staff-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: #ffffff;
    /* Pure white background */
    overflow: hidden;
    position: relative;
    border: none;
    /* Removed border to keep it clean */
}

.staff-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flow */
/* Flow Redesign */
/* Flow Redesign */
#flow {
    background-image: url('../img/flow_bg.jpg');
    background-size: cover;
    /* or contain/repeat depending on pattern nature, cover ensures full coverage */
    background-position: center;
    padding: 60px 0;
    /* Ensure spacing */
}

.flow-list {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    /* SP vertical gap between boxes */
    justify-content: center;
    width: 100%;
}

.flow-step {
    position: relative;
    width: 100%;
    max-width: 320px;
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    box-shadow: var(--shadow-soft);
}

.flow-step::after {
    content: '∨';
    /* Downward arrowhead for SP */
    position: absolute;
    bottom: -40px;
    /* Center of 80px vertical gap */
    left: 50%;
    transform: translate(-50%, 50%);
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 900;
    pointer-events: none;
    line-height: 1;
    z-index: 5;
}

.flow-step:last-child::after {
    display: none;
}

.flow-img {
    width: 100%;
    height: 180px;
    background-color: #f0f0f0;
    margin-bottom: 25px;
    /* Increased for number overlap */
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

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

.flow-num {
    background-color: var(--color-primary);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: var(--font-main);

    /* Absolute Positioning for overlap */
    position: absolute;
    top: calc(180px + 10px);
    /* Lowered 10px below the line */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.flow-title {
    font-size: 1.1rem;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
    font-weight: bold;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 5px;
    display: inline-block;
    margin-top: 30px;
    /* Increased Space for number */
}

@media screen and (min-width: 769px) {
    .flow-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 60px 80px;
        /* Vertical gap 60px, Horizontal gap 80px */
    }

    .flow-step {
        max-width: none;
        height: 100%;
        /* Make all boxes same height in row */
        display: flex;
        flex-direction: column;
    }

    .flow-step::after {
        content: '>';
        /* Rightward arrow for PC */
        bottom: auto;
        right: -40px;
        /* Center of 80px horizontal gap */
        top: 50%;
        /* Vertical center of the whole box to avoid photo overlap */
        transform: translate(50%, -50%) scaleY(1.5);
        font-family: sans-serif;
        font-weight: 900;
        display: block;
        z-index: 5;
    }

    .flow-step:nth-child(3n)::after {
        display: none;
    }

    .flow-step:last-child::after {
        display: none;
    }
}

/* Contact/Access */
.access-info {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    margin-bottom: 30px;
}

/* Access Icons */
.access-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.access-social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #98aeaa;
    color: white;
    font-size: 14px;
    transition: opacity 0.3s;
}

.access-social-link:hover {
    opacity: 0.8;
}

.access-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}



/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: #fff;
    padding: 40px 0;
    padding-bottom: 80px;
    /* SP時の固定CTAとの重なりを防ぐ */
    text-align: center;
    font-size: 0.8rem;
}

.footer__nav {
    margin-bottom: 30px;
}

.footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    list-style: none;
}

.footer__nav a {
    color: #fff;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer__nav a:hover {
    opacity: 0.7;
}

@media screen and (min-width: 769px) {
    .footer {
        padding-bottom: 40px;
        /* PC時は通常のpadding */
    }
}

/* ==========================================================================
   Responsive (PC)
   ========================================================================== */
@media screen and (min-width: 769px) {
    .u-pc-only {
        display: block !important;
    }

    .u-sp-only {
        display: none !important;
    }

    /* Layout tweaks */
    section {
        padding: var(--spacing-section-pc) 0;
    }

    /* Header PC */
    .header {
        padding: 0 50px;
        /* Symmetric padding Logo-Left and Button-Right */
        height: 90px;
    }

    .fv {
        padding-top: 90px;
        /* Header Height (PC) - ヘッダーと密着 */
    }

    .hamburger {
        display: none;
    }

    .header__nav-pc {
        display: block;
    }

    .header__nav-pc ul {
        display: flex;
        gap: 24px;
        /* Space between menu items */
    }



    /* Grid layouts */
    .grid-2col {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 80px;
    }

    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .about-text {
        padding: 40px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: var(--shadow-soft);
        margin-left: -50px;
        /* Overlap effect */
        border-radius: 4px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .staff-grid,
    .voice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
/* Scroll Top */
#page-top {
    position: fixed;
    bottom: 70px;
    /* Approx 20px above Sticky CTA */
    right: 20px;
    z-index: 900;
    opacity: 0;
    transition: opacity 0.5s;
    cursor: pointer;
}

#page-top.show {
    opacity: 1;
}

#page-top a {
    display: block;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
}

/* Sticky CTA (SP Only) */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    z-index: 2000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s;
}

@media screen and (min-width: 769px) {
    .sticky-cta {
        display: none;
    }
}

.sticky-cta.show {
    transform: translateY(0);
}

.sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    /* Slimmer */
    font-weight: bold;
    font-size: 0.85rem;
}

.sticky-cta__tel {
    background: #C99154;
    color: #fff;
}

.sticky-cta__web {
    background: #5EA790;
    color: #fff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: #bbb;
}

.modal-content {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}