@charset "UTF-8";

/* ==========================================================================
   Design System & Tokens
   ========================================================================== */
:root {
    --primary: #1F3A5F;
    --accent: #6FAED9;
    --base: #FFFFFF;
    --text-color: #333333;
    --bg-light: #F8FAFC;
    --font-jp: 'Noto Sans JP', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-jp);
    color: var(--text-color);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Fix for anchor links being covered by fixed header */
[id] {
    scroll-margin-top: 80px;
}

@media (min-width: 1024px) {
    [id] {
        scroll-margin-top: 96px;
    }
}

/* ==========================================================================
   Common Layout
   ========================================================================== */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Margins (User Requested) */
section {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    section {
        margin-bottom: 0;
    }
}

/* Section Headings - Clean & Minimal */
.section-heading-wrapper {
    max-width: 80%;
    margin: 0 auto 60px;
    text-align: center;
    position: relative;
}

.section-heading-wrapper img {
    display: none;
    /* Hide background image as requested */
}

.section-heading-text {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 15px;
}

.section-heading-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

@media (max-width: 768px) {
    .section-heading-text {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
    transition: background-color 0.3s, box-shadow 0.3s;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#hamburger-menu-overlay {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ==========================================================================
   Swiper Custom
   ========================================================================== */
.fv-swiper {
    width: 100%;
    height: auto;
    position: relative;
    line-height: 0;
    padding-top: 80px;
    /* SP header height offset */
}

@media (min-width: 1024px) {
    .fv-swiper {
        padding-top: 96px;
        /* PC header height offset */
    }
}

.fv-swiper .swiper-slide img {
    width: 100%;
    height: auto !important;
    display: block;
}

/* Scroll Down Indicator (Visual cue as requested) */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: white;
    margin-left: -2px;
    border-radius: 50%;
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* ==========================================================================
   UI Parts
   ========================================================================== */
.btn-primary {
    background-color: var(--primary);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    line-height: 1.2;
}

.btn-primary:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 58, 95, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.btn-mail {
    background-color: #4a5568;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    line-height: 1.2;
}

.btn-mail:hover {
    background-color: #2D3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Utility
   ========================================================================== */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
        /* Mobile parallax performance fix */
    }
}

/* Floating Items */
#pagetop-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 50;
    background: var(--primary);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

#pagetop-btn:hover {
    transform: scale(1.1);
}

/* SP Follow CTA */
.sp-follow-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 100;
}

.sp-follow-cta a {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex; /* Changed from block to flex */
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.cta-tel {
    background-color: #4a5568;
}

.cta-web {
    background-color: var(--primary);
}

.cta-mail {
    background-color: #2D3748;
}

/* Section Specific Backgrounds & Styles */
#tv {
    background-color: #F8FAFC;
}

#about {
    background-color: #ffffff;
}

#service {
    background-color: #F0F7FF;
}

#menu {
    background-color: #ffffff;
}

#price {
    background-color: #F8FAFC;
}

#gallery {
    background-color: #ffffff;
}

#voice {
    background-color: #F0F7FF;
    text-align: left;
}

.voice-text {
    text-align: left;
}

.read-more-btn {
    text-align: left;
    display: block;
}

#message {
    background-color: #ffffff;
    border: 2px solid var(--primary);
    margin: 40px auto;
    padding: 40px 20px;
    max-width: 80%;
}

@media (max-width: 768px) {
    #message {
        margin: 10px auto;
        padding: 20px 10px;
        max-width: calc(100% - 20px);
    }
}

/* Voice Swiper Navigation Customization */
.voice-swiper {
    padding: 0 !important;
}

@media (min-width: 1024px) {
    .voice-swiper {
        padding: 0 50px !important;
    }
}

.voice-swiper .swiper-button-prev,
.voice-swiper .swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    color: var(--primary) !important;
    transition: all 0.3s;
}

.voice-swiper .swiper-button-prev:hover,
.voice-swiper .swiper-button-next:hover {
    color: var(--accent) !important;
    transform: translateY(-50%) scale(1.1);
}

.voice-swiper .swiper-button-prev::after,
.voice-swiper .swiper-button-next::after {
    font-size: 32px !important;
    font-weight: bold;
}

.voice-swiper .swiper-button-prev {
    left: 0;
}

.voice-swiper .swiper-button-next {
    right: 0;
}


.message-img {
    width: 400px;
    height: 490px;
    object-fit: cover;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#faq {
    background-color: #F8FAFC;
}

#contact {
    background-color: #ffffff;
}

.access-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.access-table tr {
    border-bottom: 1px solid rgba(31, 58, 95, 0.1);
}

.access-table tr:last-child {
    border-bottom: none;
}

.access-table th,
.access-table td {
    padding: 24px 0;
    text-align: left;
    vertical-align: top;
}

.access-table th {
    width: 140px;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    white-space: nowrap;
}

.access-table td {
    color: #4a5568;
    padding-left: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .access-table {
        font-size: 1rem;
    }

    .access-table th,
    .access-table td {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .access-table th {
        padding-bottom: 4px;
        border-bottom: none;
    }

    .access-table td {
        padding-left: 0;
        padding-bottom: 20px;
    }

    .access-table tr {
        padding-bottom: 10px;
    }
}

.cta-section {
    background: linear-gradient(rgba(31, 58, 95, 0.8), rgba(31, 58, 95, 0.8)), url('../img/ctabg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 100px 0 !important;
}

@media (max-width: 768px) {
    .cta-section {
        background-attachment: scroll;
    }
}

.sv-section {
    padding: 60px 0;
    margin-bottom: 0;
}

.sv-banner-container-custom {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.sv-banner {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
}

.sv-banner:hover {
    transform: translateY(-10px);
}

/* User Protection */
body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Restore selection for inputs */
input,
textarea {
    user-select: text;
}