@charset "UTF-8";
@import "common.css";

/* ==========================================================================
   LP1: Cleaning Specialization (Bright Blue & White)
   ========================================================================== */

:root {
    --primary-color: #00A3E0;
    /* Bright Blue */
    --secondary-color: #E6F7FF;
    /* Light Blue BG */
    --accent-color: #FF8C00;
    /* Orange for CTA */
    --text-color: #333;
    --white: #fff;
}

body {
    background-color: var(--white);
    color: var(--text-color);
}

.section-title h2 {
    color: var(--primary-color);
}

/* ==========================================================================
   Typography Utilities for Japanese
   ========================================================================== */
.ib {
    display: inline-block;
}

.nowrap {
    white-space: nowrap;
}

/* SP Optimization */
@media (max-width: 768px) {

    h1,
    h2,
    h3,
    h4,
    .section-title span {
        word-break: keep-all;
        overflow-wrap: break-word;
        line-break: strict;
    }

    p {
        line-break: strict;
        text-align: justify;
        /* Optional: aligns text nicely */
    }

    .price-value {
        white-space: nowrap;
        font-weight: bold;
    }
}

/* ==========================================================================
   FV (First View) - Full Screen Slider
   ========================================================================== */
.fv {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full Height */
    overflow: hidden;
    margin-top: 0;
}

.fv__slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.fv__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fv__slide.active {
    opacity: 1;
}

/* SP/PC Image switching is handled via background-image in HTML/JS style or separate divs */
/* Here we assume the JS will toggle 'active' class on img elements or divs */

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

/* ==========================================================================
   TV (Third View) - Intro
   ========================================================================== */
.tv {
    background-image: url('../img/tv_bg.jpg');
    /* Or copy master_1-1.jpg */
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    padding: 100px 0;
}

.tv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 70, 150, 0.7);
    /* Blue overlay */
}

.tv .container {
    position: relative;
    z-index: 2;
}

.tv__content {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

.tv h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
    background-color: var(--white);
}

.about__row {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.about__image-area {
    flex: 1.3;
    position: relative;
    z-index: 1;
}

.about__img-wrapper {
    width: 100%;
    height: 500px;
    /* Rectangular shape */
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about__img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about__lead {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95) 0%, rgba(0, 51, 102, 0.8) 100%);
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.about__lead h3 {
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.about__lead-sub {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
}

.about__content-area {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    z-index: 3;
    margin-left: -50px;
    /* Overlap effect on PC */
}

.about__content-area .section-title h2 {
    color: var(--primary-color);
}

.about__content-area p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.about__content-area p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .about__row {
        flex-direction: column;
        align-items: center;
    }

    .about__image-area {
        width: 100%;
        margin-bottom: -40px;
        /* Overlap on mobile too */
    }

    .about__img-wrapper {
        height: 350px;
        /* Adjusted rectangular height for mobile */
    }

    .about__lead {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .about__lead h3 {
        font-size: 1.4rem;
    }

    .about__lead-sub {
        font-size: 0.95rem;
    }

    .about__content-area {
        width: 90%;
        margin-left: 0;
        padding: 30px 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .about__content-area .section-title {
        text-align: center !important;
    }

    .about__content-area .section-title span {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* ==========================================================================
   Service (Cleaning Highlights)
   ========================================================================== */
.service {
    background-color: var(--secondary-color);
}

.service__box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #ddd;
    height: 100%;
}

.service__box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service__icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .service__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Menu / Price / Recommend
   ========================================================================== */
.menu-section {
    background-image: url('../img/master_16-9.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.menu-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.menu-section .container {
    position: relative;
    z-index: 2;
}

.price-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    color: #333;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

.price-table th,
.price-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.price-table th {
    background: var(--primary-color);
    color: #fff;
    width: 40%;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #007bb5);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn.tel {
    background-color: #28a745;
}

.cta-btn.line {
    background-color: #06c755;
}

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

.cta-btn:hover {
    transform: scale(1.05);
}

.cta-btn i {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Fixed CTA for SP */
.fixed-cta {
    display: none;
    /* Hidden on PC */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    height: 60px;
}

@media (max-width: 768px) {
    .fixed-cta {
        display: flex;
        /* Show on SP */
        flex-wrap: nowrap;
    }
}

.fixed-cta a {
    flex: 1;
    width: 33.33%;
    /* Equal width */
    text-align: center;
    padding: 0 5px;
    font-size: 0.8rem;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
    /* Force single line */
}

.fixed-cta a i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.fixed-cta a.tel {
    background: #E6F7FF;
    color: #0066cc;
}

.fixed-cta a.line {
    background: #06c755;
    color: #fff;
}

.fixed-cta a.web {
    background: var(--accent-color);
    color: #fff;
}

/* ==========================================================================
   Flow Section (Usage Flow)
   ========================================================================== */
.flow {
    background-color: var(--white);
}

.flow__steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    margin-top: 40px;
}

/* Connective line for PC */
.flow__steps::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    height: 4px;
    background: #e0e0e0;
    z-index: 0;
}

.flow__step {
    flex: 1;
    min-width: 250px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.flow__icon-box {
    width: 100px;
    height: 100px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.flow__number {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.flow__step h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.flow__step p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .flow__steps {
        flex-direction: column;
        gap: 40px;
    }

    .flow__steps::before {
        display: none;
        /* Hide horizontal line on SP */
    }

    .flow__steps::after {
        /* Vertical line for SP */
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 4px;
        background: #e0e0e0;
        transform: translateX(-50%);
        z-index: 0;
    }

    .flow__step {
        width: 100%;
        /* Full width cards */
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .flow__steps {
        flex-direction: column;
        gap: 40px;
    }

    .flow__steps::before {
        display: none;
        /* Hide horizontal line on SP */
    }

    .flow__steps::after {
        /* Vertical line for SP */
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 4px;
        background: #e0e0e0;
        transform: translateX(-50%);
        z-index: 0;
    }

    .flow__step {
        width: 100%;
        /* Full width cards */
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   Relief Section (Anxiety Relief)
   ========================================================================== */
.relief {
    background-color: var(--secondary-color);
    /* Light blue background for comfort */
}

.relief-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.relief-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

.relief-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    min-width: 50px;
    text-align: center;
}

.relief-text h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.relief-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    .relief-grid {
        grid-template-columns: 1fr;
    }

    .relief-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-left: none;
        border-top: 5px solid var(--primary-color);
    }

    .relief-icon {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .relief-grid {
        grid-template-columns: 1fr;
    }

    .relief-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-left: none;
        border-top: 5px solid var(--primary-color);
    }

    .relief-icon {
        margin-bottom: 10px;
    }
}

/* ==========================================================================
   Last Push Section
   ========================================================================== */
.last-push {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.last-push h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.last-push p {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    max-width: 700px;
    margin: 0 auto 20px;
}

.last-push strong {
    color: var(--accent-color);
    /* Orange gentle emphasis */
    background: linear-gradient(transparent 60%, #fffacd 60%);
    /* yellow marker look */
}

/* ==========================================================================
   Voice Slider
   ========================================================================== */
.voice {
    background-color: #fff;
}

.voice-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
}

.voice-card {
    min-width: 300px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

/* ==========================================================================
   Gallery Modal
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-item img:hover {
    opacity: 0.8;
}

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

.modal img {
    max-width: 90%;
    max-height: 90%;
}

.modal.active {
    display: flex;
}