﻿/* ==========================================================================
   Base & Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-color: #B7FF2A;
    --brand-text: #222222;
    --brand-dark: #9ee61c;
    --brand-soft: #F4FFE8;
    --primary-blue: #0369a1;
}

html {
    scroll-behavior: smooth;
    /* スマホの下部固定ボタンにコンテンツが隠れないように余白を設定 */
    padding-bottom: 70px;
}

@media (min-width: 769px) {
    html { padding-bottom: 0; }
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #222222;
    background-color: #ffffff;
    line-height: 1.6;
}

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

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.text-lg { font-size: 1.125rem; }
.text-sm, .text-small { font-size: 0.875rem; }
.font-bold { font-weight: bold; }

/* Colors */
.bg-light { background-color: #f8fafc; }
.bg-primary { background-color: var(--brand-color); color: var(--brand-text); }
.text-primary { color: var(--primary-blue); }
.text-accent { color: var(--brand-color); background: var(--brand-text); padding: 0.1em 0.4em; border-radius: 4px; }
.text-white { color: #ffffff; }

/* Display Utilities */
@media (max-width: 768px) {
    .hidden-sp { display: none !important; }
}
@media (min-width: 769px) {
    .hidden-pc { display: none !important; }
}

/* ==========================================================================
   Buttons (CV) 
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    border: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-large {
    font-size: 1.125rem;
    padding: 1.25rem 2rem;
    width: 100%;
    max-width: 350px;
}

.btn-block {
    width: 100%;
}

.btn-line {
    background-color: #06C755;
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(183, 255, 42, 0.22), 0 8px 18px rgba(6, 199, 85, 0.26);
}

.btn-line:hover {
    background-color: #05A344;
    transform: translateY(-2px);
}

.btn-phone {
    background-color: #EF4444; /* 目立つ赤系で電話を強調 */
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(183, 255, 42, 0.18), 0 8px 18px rgba(239, 68, 68, 0.24);
}

.btn-phone:hover {
    background-color: #DC2626;
    transform: translateY(-2px);
}

.row-centered {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 769px) {
    .row-centered {
        flex-direction: row;
        justify-content: center;
    }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.18rem;
    min-width: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    line-height: 1.1;
}

.logo-main {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-size: 1.38rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.28rem;
}

.logo-main::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.28rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-color) 0%, #d8ff86 100%);
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.01em;
    white-space: nowrap;
    margin-top: 0.02rem;
}

.header-info p {
    font-size: 0.8rem;
    text-align: right;
    line-height: 1.2;
}

.tel-number {
    font-size: 1.25rem;
    font-weight: bold;
    color: #EF4444;
}

/* Global Navigation (PC) */
.gnav {
    flex: 1;
    margin: 0 2rem;
}

.gnav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
}

.gnav li a {
    text-decoration: none;
    color: #475569;
    font-size: 0.95rem;
    font-weight: bold;
    transition: color 0.2s;
    white-space: nowrap;
}

.gnav li a:hover {
    color: #0369a1;
}

/* ==========================================================================
   Top Page Reconstruction Styles (Vertical Stack)
   ========================================================================== */

/* 1. Slideshow Block (Pure Images) */
.top-main-visual {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 520px !important; /* PC height */
    overflow: hidden !important;
    background-color: #f1f5f9;
}

@media (max-width: 768px) {
    .top-main-visual {
        height: 340px !important; /* SP height */
    }
}

.top-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.top-slide.is-active {
    opacity: 1;
    z-index: 2;
}

.top-slide-brand::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 44%, rgba(15, 23, 42, 0.08) 100%);
    z-index: 1;
}

.top-slide-brand {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 28%),
        radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 24%),
        linear-gradient(180deg, #bfeeff 0%, #9fe3ff 52%, #bdefff 100%);
}

.hero-clean-icons {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-placeholder-visual {
    position: absolute;
    right: clamp(1.25rem, 4vw, 3.2rem);
    bottom: clamp(1rem, 3.2vw, 2.1rem);
    z-index: 2;
    width: min(26vw, 220px);
    min-width: 160px;
    pointer-events: none;
}

.hero-placeholder-badge {
    position: absolute;
    top: -0.7rem;
    right: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.24rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(18, 52, 90, 0.12);
    color: #12345a;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.hero-placeholder-frame {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 255, 232, 0.98) 100%);
    border: 2px solid rgba(18, 52, 90, 0.12);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.hero-placeholder-header {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    padding: 0.75rem 0.85rem 0.55rem;
    background: linear-gradient(180deg, rgba(183, 255, 42, 0.34) 0%, rgba(183, 255, 42, 0.1) 100%);
}

.hero-placeholder-dot {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 50%;
    background: rgba(18, 52, 90, 0.22);
}

.hero-placeholder-body {
    padding: 0.9rem 0.95rem 0.95rem;
}

.hero-placeholder-main-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 0.7rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(183, 255, 42, 0.9) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: inset 0 0 0 1px rgba(18, 52, 90, 0.08);
    font-size: 1.9rem;
}

.hero-placeholder-mini-icons {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 0.72rem;
    font-size: 1rem;
    opacity: 0.95;
}

.hero-placeholder-lines {
    display: grid;
    gap: 0.42rem;
}

.hero-placeholder-lines span {
    display: block;
    height: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(18, 52, 90, 0.12) 0%, rgba(18, 52, 90, 0.05) 100%);
}

.hero-placeholder-lines span:nth-child(1) {
    width: 100%;
}

.hero-placeholder-lines span:nth-child(2) {
    width: 82%;
}

.hero-placeholder-lines span:nth-child(3) {
    width: 64%;
}

.hero-clean-icon {
    position: absolute;
    font-size: clamp(1rem, 1.55vw, 1.4rem);
    line-height: 1;
    opacity: 0.74;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.28));
    animation: heroIconFloat 5.5s ease-in-out infinite;
}

.icon-broom { top: 14%; left: 13%; animation-delay: 0s; }
.icon-sponge { top: 18%; right: 13%; animation-delay: 0.4s; }
.icon-bucket { bottom: 16%; left: 16%; animation-delay: 0.8s; }
.icon-spray { top: 28%; right: 22%; animation-delay: 1.2s; }
.icon-bubbles { bottom: 26%; right: 14%; animation-delay: 1.6s; }
.icon-aircon { top: 36%; left: 10%; animation-delay: 2s; }
.icon-cloth { bottom: 18%; right: 26%; animation-delay: 2.4s; }
.icon-sparkle { top: 13%; left: 28%; animation-delay: 2.8s; }

.hero-brand-mark {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.28rem;
    width: min(94vw, 940px);
    max-width: 940px;
    pointer-events: none;
    text-align: center;
    padding: 0.95rem 1.15rem 0.75rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(10, 18, 32, 0.16) 0%, rgba(10, 18, 32, 0.08) 62%, rgba(10, 18, 32, 0.04) 100%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(3px);
}

.hero-brand-arc {
    position: relative;
    width: min(88vw, 700px);
    height: clamp(220px, 28vw, 290px);
}

.hero-brand-word-group {
    position: absolute;
    left: 50%;
}

.hero-brand-raku-group {
    top: 20%;
    width: min(34vw, 270px);
    height: 70px;
    transform: translateX(-50%);
}

.hero-brand-clean-group {
    top: 42%;
    width: min(35vw, 276px);
    height: 74px;
    transform: translateX(-50%);
}

.hero-brand-service-group {
    top: 66%;
    width: min(34vw, 270px);
    height: 70px;
    transform: translateX(-50%);
}

.hero-brand-char {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1em;
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 5.1vw, 4.4rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: 0;
    color: #B7FF2A;
    -webkit-text-stroke: 3.2px #0f2340;
    text-shadow:
        0 0 20px rgba(183, 255, 42, 0.22),
        0 14px 28px rgba(15, 23, 42, 0.32),
        0 6px 0 rgba(15, 35, 64, 0.42);
    opacity: 0;
    transform: translate(-50%, -50%) translateX(var(--char-x)) rotate(var(--char-rotate)) translateY(var(--char-lift)) rotate(var(--char-tilt, 0deg)) scale(0.84);
    animation: heroBrandCharPop 0.86s cubic-bezier(0.22, 0.8, 0.24, 1) forwards;
    animation-delay: var(--char-delay);
    will-change: transform, opacity;
    filter: saturate(1.12);
}

@keyframes heroBrandCharPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateX(var(--char-x)) rotate(var(--char-rotate)) translateY(calc(var(--char-lift) + 10px)) rotate(var(--char-tilt, 0deg)) scale(0.84);
    }
    40% {
        opacity: 1;
        transform: translate(-50%, -50%) translateX(var(--char-x)) rotate(var(--char-rotate)) translateY(var(--char-lift)) rotate(var(--char-tilt, 0deg)) scale(1.18);
    }
    68% {
        opacity: 1;
        transform: translate(-50%, -50%) translateX(var(--char-x)) rotate(var(--char-rotate)) translateY(var(--char-lift)) rotate(var(--char-tilt, 0deg)) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateX(var(--char-x)) rotate(var(--char-rotate)) translateY(var(--char-lift)) rotate(var(--char-tilt, 0deg)) scale(1);
    }
}

@keyframes heroIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(4deg);
    }
}

.hero-cleaner-team {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(0.3rem, 0.95vw, 0.8rem);
    width: min(90vw, 700px);
    margin-top: -0.2rem;
}

.hero-ranger-copy {
    width: min(88vw, 680px);
    text-align: center;
    color: #12345a;
    margin-top: -0.15rem;
}

.hero-ranger-title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.05rem, 1.65vw, 1.45rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #0f2340;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.35);
}

.hero-ranger-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.38rem 0.48rem;
    margin-bottom: 0.5rem;
}

.ranger-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 2px solid rgba(15, 35, 64, 0.12);
    font-size: clamp(0.66rem, 0.9vw, 0.86rem);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
}

.ranger-red { color: #d92d20; }
.ranger-blue { color: #1d4ed8; }
.ranger-yellow { color: #a16207; }
.ranger-green { color: #15803d; }
.ranger-white { color: #475569; }

.hero-ranger-desc {
    margin: 0;
    font-size: clamp(0.76rem, 1.05vw, 0.98rem);
    line-height: 1.55;
    color: #16304d;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.28);
}

.hero-cleaner-member {
    position: relative;
    width: clamp(100px, 10.5vw, 136px);
    min-height: clamp(134px, 14vw, 166px);
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pixel-cleaner {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
    shape-rendering: crispEdges;
    image-rendering: pixelated;
    filter: drop-shadow(0 7px 12px rgba(15, 23, 42, 0.16));
}

.pixel-cleaner rect {
    stroke: #12345a;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.hero-cleaner-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.8em;
    margin-top: 0.3rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(18, 52, 90, 0.2);
    color: #12345a;
    font-size: clamp(0.64rem, 0.94vw, 0.84rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
}

.hero-cleaner-member:nth-child(2),
.hero-cleaner-member:nth-child(4) {
    transform: translateY(4px);
}

.hero-cleaner-member:nth-child(3) {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .hero-clean-icon {
        font-size: 1rem;
        opacity: 0.72;
    }

    .icon-broom { top: 12%; left: 7%; }
    .icon-sponge { top: 15%; right: 8%; }
    .icon-bucket { bottom: 15%; left: 8%; }
    .icon-spray { top: 30%; right: 15%; }
    .icon-bubbles { bottom: 30%; right: 8%; }
    .icon-aircon { top: 40%; left: 6%; }
    .icon-cloth { bottom: 18%; right: 20%; }
    .icon-sparkle { top: 10%; left: 24%; }

    .hero-placeholder-visual {
        right: 0.6rem;
        bottom: 0.55rem;
        width: min(34vw, 128px);
        min-width: 104px;
    }

    .hero-placeholder-badge {
        top: -0.48rem;
        right: 0.45rem;
        padding: 0.18rem 0.4rem;
        font-size: 0.52rem;
    }

    .hero-placeholder-frame {
        border-radius: 16px;
    }

    .hero-placeholder-header {
        gap: 0.22rem;
        padding: 0.45rem 0.5rem 0.34rem;
    }

    .hero-placeholder-dot {
        width: 0.34rem;
        height: 0.34rem;
    }

    .hero-placeholder-body {
        padding: 0.55rem 0.52rem 0.6rem;
    }

    .hero-placeholder-main-icon {
        width: 2.15rem;
        height: 2.15rem;
        margin-bottom: 0.38rem;
        border-radius: 12px;
        font-size: 1.18rem;
    }

    .hero-placeholder-mini-icons {
        gap: 0.28rem;
        margin-bottom: 0.42rem;
        font-size: 0.72rem;
    }

    .hero-placeholder-lines {
        gap: 0.24rem;
    }

    .hero-placeholder-lines span {
        height: 0.25rem;
    }

    .hero-brand-mark {
        left: 50%;
        right: auto;
        top: 48%;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: min(95vw, 392px);
        gap: 0.12rem;
        padding: 0.62rem 0.45rem 0.42rem;
        border-radius: 22px;
    }

    .hero-brand-arc {
        width: min(92vw, 300px);
        height: 162px;
    }

    .hero-brand-raku-group {
        top: 18%;
        width: 136px;
        height: 48px;
        transform: translateX(-50%);
    }

    .hero-brand-clean-group {
        top: 41%;
        width: 140px;
        height: 52px;
        transform: translateX(-50%);
    }

    .hero-brand-service-group {
        top: 66%;
        width: 136px;
        height: 48px;
        transform: translateX(-50%);
    }

    .hero-brand-char {
        font-size: clamp(1.38rem, 5.55vw, 2rem);
        -webkit-text-stroke: 2.2px #0f2340;
    }

    .hero-cleaner-team {
        gap: 0.08rem;
        width: min(94vw, 354px);
        margin-top: -0.1rem;
    }

    .hero-ranger-copy {
        width: min(92vw, 320px);
        margin-top: 0.05rem;
    }

    .hero-ranger-title {
        margin-bottom: 0.35rem;
        font-size: 0.9rem;
        letter-spacing: 0.04em;
    }

    .hero-ranger-names {
        gap: 0.24rem 0.28rem;
        margin-bottom: 0.38rem;
    }

    .ranger-name {
        padding: 0.18rem 0.42rem;
        font-size: 0.54rem;
        border-width: 1.5px;
    }

    .hero-ranger-desc {
        font-size: 0.65rem;
        line-height: 1.45;
    }

    .hero-cleaner-member {
        width: 68px;
        min-height: 94px;
    }

    .hero-cleaner-label {
        min-width: 4.4em;
        padding: 0.18rem 0.35rem;
        font-size: 0.56rem;
        border-width: 1.5px;
    }
}

/* 2. Intro Block (Text/Catchphrase below images) */
.top-intro-section {
    position: static !important; /* 絶対に重ならないよう、ドキュメントフローに従わせる */
    display: block !important;
    clear: both;
    padding: 3rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f4ffe8 100%);
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.top-intro-section .container {
    max-width: 900px;
}

.top-badge {
    display: inline-block;
    background: var(--brand-soft);
    color: var(--brand-text);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    border: 1px solid var(--brand-color);
    box-shadow: 0 8px 18px rgba(183, 255, 42, 0.16);
}

.top-main-title {
    font-size: 1.75rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #0f172a;
    font-weight: 900;
}

.top-main-title .seo-p {
    font-size: 1.125rem;
    color: #64748b;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.top-highlight {
    color: var(--brand-text);
    font-size: 2.25rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-color) 0%, #d4ff7d 100%);
    padding: 0 0.3rem; 
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(183, 255, 42, 0.22);
}

.info-summary-grid,
.trust-grid,
.faq-list {
    display: grid;
    gap: 1rem;
}

.info-summary-grid,
.trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-summary-card,
.trust-card,
.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.info-summary-card h3,
.trust-card h3,
.faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
    color: #0f2340;
}

.info-summary-card p,
.trust-card p,
.faq-item p {
    color: #475569;
    line-height: 1.8;
}

.info-summary-actions,
.faq-cta {
    margin-top: 1.5rem;
}

.faq-list {
    grid-template-columns: 1fr;
}

.faq-item {
    border-left: 6px solid var(--brand-color);
}

.top-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #475569;
    line-height: 1.8;
}

.top-cta-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

.top-cta-msg {
    font-weight: bold;
    color: var(--brand-text);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-role-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.contact-role-list-top {
    align-items: stretch;
}

.contact-role-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid rgba(183, 255, 42, 0.9);
    color: #222222;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.6;
    box-shadow: 0 8px 18px rgba(183, 255, 42, 0.14);
}

/* 3. Speed Section (New Benefits Section) */
.top-speed-section {
    padding: 3rem 0;
    background-color: var(--brand-soft);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.speed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 980px;
    margin: 0 auto;
}

.speed-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 22px rgba(183, 255, 42, 0.12);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    border: 1px solid rgba(183, 255, 42, 0.42);
}

.speed-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--brand-color) 0%, #d4ff7d 100%);
    color: var(--brand-text);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.speed-text h4 {
    font-size: 1.1rem;
    color: #0369a1;
    margin-bottom: 0.25rem;
}

.speed-text p {
    font-size: 0.9rem;
    color: #64748b;
}

/* 4. Navigation Section (Entry buttons) */
.top-nav-section {
    padding: 4rem 0;
}

@media (min-width: 769px) {
    html {
        scroll-padding-top: 120px;
    }

    body {
        padding-top: 0;
    }

    .header-container {
        min-height: 98px;
        gap: 1.5rem;
        padding: 0.85rem 0;
    }

    .logo {
        flex: 0 0 320px;
        max-width: 320px;
    }

    .logo-text {
        width: 100%;
    }

    .logo-main {
        font-size: 1.72rem;
    }

    .logo-sub {
        font-size: 0.78rem;
    }

    .gnav {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 1.75rem;
    }

    .gnav ul {
        gap: 1.1rem;
    }

    .gnav li a {
        font-size: 0.9rem;
    }

    .header-info {
        flex: 0 0 235px;
        display: flex;
        justify-content: flex-end;
    }

    .header-info p {
        white-space: nowrap;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .tel-number {
        display: inline-block;
        margin-top: 0.15rem;
    }

    .top-intro-section {
        padding: 4rem 0 4.5rem;
    }

    .top-main-title { font-size: 2.5rem; }
    .top-highlight { font-size: 3.25rem; }
    .top-cta-area {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 2rem;
        max-width: 980px;
        margin: 1.5rem auto 0;
    }

    .top-cta-area .cta-msg-box {
        flex: 1 1 360px;
        max-width: 420px;
    }

    .top-cta-area .row-centered {
        flex: 1 1 520px;
        justify-content: flex-start;
        gap: 1.25rem;
        flex-wrap: wrap;
    }

    .top-cta-area .btn-large {
        max-width: 250px;
    }

    .top-speed-section {
        padding-top: 3.5rem;
    }

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

@media (max-width: 768px) {
    .logo {
        max-width: 235px;
    }

    .logo-main {
        font-size: 1.12rem;
    }

    .logo-sub {
        font-size: 0.63rem;
        line-height: 1.3;
    }

    .info-summary-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .info-summary-card,
    .trust-card,
    .faq-item {
        padding: 1rem;
        border-radius: 18px;
    }

    .info-summary-card h3,
    .trust-card h3,
    .faq-item h3 {
        font-size: 0.98rem;
    }

    .info-summary-card p,
    .trust-card p,
    .faq-item p {
        font-size: 0.92rem;
        line-height: 1.75;
    }
}



/* ==========================================================================
   Sections General
   ========================================================================== */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #0369a1;
    line-height: 1.4;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 6px;
    margin: 0.9rem auto 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-color) 0%, #d4ff7d 100%);
}

.section-title span {
    font-size: 2.5rem;
    color: var(--brand-color);
    background: var(--brand-text);
    padding: 0 0.5rem;
    border-radius: 8px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
}

/* ==========================================================================
   Main Selection Buttons (2系統の入り口)
   ========================================================================== */
.main-selection {
    padding: 3rem 0;
    background-color: #ffffff;
}

.selection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 769px) {
    .selection-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.selection-card {
    display: block;
    text-decoration: none;
    background: linear-gradient(180deg, var(--brand-soft) 0%, #ffffff 22%);
    border: 3px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.selection-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 14px;
    background: linear-gradient(90deg, var(--brand-color) 0%, #d4ff7d 100%);
}

.selection-card:hover {
    border-color: var(--brand-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(223, 255, 0, 0.2);
    background: #ffffff;
}

.selection-card::after {
    content: "CLICK";
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: #0369a1;
    color: #fff;
    padding: 0.25rem 3rem;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.3s;
}

.selection-card:hover::after {
    opacity: 1;
    right: -1rem;
}

.selection-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    width: 5.25rem;
    height: 5.25rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-color) 0%, #d4ff7d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 22px rgba(183, 255, 42, 0.18);
}

.selection-card h3 {
    font-size: 1.75rem;
    color: #0f172a;
    margin-bottom: 1rem;
    font-weight: 900;
}

.selection-card p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .selection-card {
        padding: 2.5rem 1.35rem;
    }

    .selection-card h3 {
        font-size: 1.4rem;
    }

    .selection-card p {
        font-size: 0.92rem;
    }
}

/* 施工事例リンクボタン */
.works-link-section {
    padding: 2rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-soft) 100%);
    border-top: 1px solid #e2e8f0;
}

.btn-works-portal {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: min(100%, 520px);
    padding: 1.35rem 1.25rem;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--brand-color) 0%, #d9ff8b 100%);
    color: #222222;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(183, 255, 42, 0.2);
    border: 1px solid rgba(34, 34, 34, 0.08);
}

.btn-works-portal span {
    font-size: 1.15rem;
    line-height: 1.3;
}

.btn-works-portal small {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(34, 34, 34, 0.78);
}

.btn-works-portal:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(183, 255, 42, 0.24);
}



/* ==========================================================================
   Works Page Layout (施工事例ページ用追加)
   ========================================================================== */
.works-page-header {
    background: #f8fafc;
    padding: 4rem 0 2rem;
    text-align: center;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid var(--brand-color);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #e0f2fe;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

@media (min-width: 769px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Services
   ========================================================================== */
.service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: var(--brand-color);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(183, 255, 42, 0.14);
}

.service-icon {
    font-size: 2rem;
    line-height: 1;
}

.service-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
    font-weight: 700;
}

.service-text p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    background: var(--brand-color);
    color: var(--brand-text);
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.detail-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(220, 38, 38, 0.3);
    filter: brightness(1.1);
}

.service-highlight {
    background-color: #f7fee7;
    border-color: var(--brand-color);
}

@media (min-width: 769px) {
    .service-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .service-list { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 2rem;
    }
}

/* ==========================================================================
   Mid CTA
   ========================================================================== */
.mid-cta {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--brand-soft) 0%, #eaffc6 100%);
    color: var(--brand-text);
}

.mid-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/bathroom_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.12; /* 背景に薄く写真を敷く */
    z-index: 0;
}

.mid-cta .container {
    position: relative;
    z-index: 1;
}
.mid-cta-title {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--brand-text);
}
.mid-cta-desc {
    color: #475569;
}

/* ==========================================================================
   Price Table
   ========================================================================== */
.price-table-wrapper {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

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

.price-table th {
    background-color: #f8fafc;
    width: 45%;
    font-weight: bold;
    color: #0369a1;
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 0.45rem;
    padding: 0.16rem 0.55rem;
    border-radius: 999px;
    background: var(--brand-color);
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 800;
    vertical-align: middle;
}

.stack-price {
    display: block;
    color: #0f172a;
    font-weight: 900;
    line-height: 1.7;
}

.price-emphasis-row th,
.price-emphasis-row td {
    background: #fbfff0;
}

.price-category-row th {
    width: auto;
    background: #0f172a;
    color: #dfff00;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 1rem;
}

.price-amount {
    font-weight: 900;
    font-size: 1.08rem;
    color: #0f172a;
}

.highlight-row th, .highlight-row td {
    background-color: #f7fee7;
}

.price-notes {
    padding: 1rem 1.2rem 1.3rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.price-notes p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    margin-top: 0.45rem;
}

.price-notes p:first-child {
    margin-top: 0;
}

.set-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.set-plan-card {
    background: #ffffff;
    border: 1px solid rgba(183, 255, 42, 0.45);
    border-radius: 22px;
    padding: 1.2rem;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.set-plan-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.set-plan-head h4 {
    font-size: 1rem;
    color: #0f172a;
}

.set-plan-price-block {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #dbe4ee;
}

.set-plan-price-block:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.set-plan-label {
    color: #475569;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.set-plan-price {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.7;
}

.set-plan-highlight {
    color: #0369a1;
}

.set-plan-desc {
    margin-top: 0.7rem;
    color: #475569;
    line-height: 1.75;
}

.set-plan-note {
    margin-top: 1rem;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.7;
}

.price-accordion {
    display: grid;
    gap: 1rem;
}

.price-accordion-item {
    background: #ffffff;
    border: 1px solid rgba(183, 255, 42, 0.55);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(183, 255, 42, 0.12);
}

.price-accordion-button {
    width: 100%;
    background: linear-gradient(180deg, var(--brand-soft) 0%, #ffffff 100%);
    border: none;
    padding: 1.15rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
}

.price-accordion-button:hover {
    background: linear-gradient(180deg, #edfdd0 0%, #ffffff 100%);
}

.price-accordion-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.price-accordion-subtitle {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.83rem;
    color: #64748b;
    font-weight: 500;
}

.price-accordion-arrow {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--brand-color);
    color: var(--brand-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.price-accordion-button[aria-expanded="true"] .price-accordion-arrow {
    transform: rotate(180deg);
}

.price-accordion-panel {
    padding: 0 1rem 1rem;
}

.price-accordion-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #e2e8f0;
}

.price-accordion-table th,
.price-accordion-table td {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px dashed #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.price-accordion-table tr:last-child th,
.price-accordion-table tr:last-child td {
    border-bottom: none;
}

.price-accordion-table th {
    width: 55%;
    color: #1e293b;
    font-weight: 700;
}

.price-accordion-table td {
    color: #0369a1;
    font-weight: 900;
}

.price-unknown {
    color: #94a3b8 !important;
}

.price-accordion-note {
    margin-top: 0.9rem;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.7;
}

.plan-detail-box {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfff4 100%);
    border: 1px solid #e2e8f0;
}

.plan-detail-box h3 {
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 0.55rem;
}

.plan-subcopy {
    font-weight: 800;
    color: #0f172a !important;
    margin-bottom: 0.45rem;
}

.plan-detail-box p {
    color: #222222;
    line-height: 1.8;
}

.plan-charge-box {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.plan-period-box {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.plan-charge-box h4 {
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 0.45rem;
}

.plan-charge-box h4 + .plan-charge-list {
    margin-bottom: 0.9rem;
}

.plan-charge-list {
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.plan-charge-list li {
    position: relative;
    padding-left: 1rem;
    color: #1e293b;
    line-height: 1.7;
}

.plan-charge-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #0f172a;
    font-weight: 900;
}

.plan-feature-list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin: 0.9rem 0 0.4rem;
}

.plan-feature-list li {
    position: relative;
    padding-left: 1.15rem;
    color: #1e293b;
    line-height: 1.7;
}

.plan-feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #0f172a;
    font-weight: 900;
}

.plan-cta-copy {
    margin-top: 1rem;
    font-weight: 800;
    color: #0f172a !important;
}

.price-accordion-note {
    color: #475569;
}

.plan-cta-actions {
    margin-top: 1rem;
}

.plan-frequency-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.plan-frequency-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.95rem 1rem;
}

.plan-frequency-card h4 {
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 0.3rem;
}

.plan-frequency-price {
    color: #0369a1 !important;
    font-weight: 900;
    line-height: 1.7;
}

.plan-form-btn {
    background: linear-gradient(135deg, #f4ffe8 0%, #dfffab 100%);
    color: #0f172a;
    box-shadow: 0 0 0 5px rgba(183, 255, 42, 0.15), 0 8px 18px rgba(15, 23, 42, 0.08);
}

.plan-form-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ebffd1 0%, #d2ff76 100%);
}

@media (max-width: 768px) {
    .price-table th,
    .price-table td {
        padding: 1rem 0.85rem;
    }

    .price-category-row th {
        padding: 0.9rem 0.85rem;
        font-size: 0.95rem;
    }

    .price-amount {
        display: inline-block;
        margin-bottom: 0.15rem;
    }

    .price-notes {
        padding: 0.9rem 1rem 1.1rem;
    }

    .set-plan-grid {
        grid-template-columns: 1fr;
    }

    .set-plan-card {
        padding: 1rem;
        border-radius: 18px;
    }
}

/* ==========================================================================
   Works Grid / Before & After Section
   ========================================================================== */
.works-section {
    padding-top: 4rem;
}

/* スマホではトップページの施工事例セクションを非表示 */
@media (max-width: 768px) {
    .works-section {
        display: none;
    }
}
.works-block {
    margin-top: 3rem;
    padding-top: 1rem;
}
.works-service-title {
    font-size: 1.5rem;
    color: #0369a1;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0f2fe;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 769px) {
    .works-grid { grid-template-columns: repeat(3, 1fr); }
}
.work-card {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* 影をつけてカード風に */
}
.works-grid-single {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-inline: auto;
}
.work-images {
    display: flex;
    width: 100%;
}
.img-wrapper {
    position: relative;
    flex: 1;
    border-right: 2px solid #fff;
    background-color: #f1f5f9;
}
.img-wrapper:last-child {
    border-right: none;
}
.label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    z-index: 10;
    border-bottom-right-radius: 0.5rem;
}
.img-wrapper.before .label { background: #64748b; }
.img-wrapper.after .label { background: var(--brand-color); color: var(--brand-text); }
.dummy-img {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.9rem;
    background-color: #f1f5f9;
}
.img-wrapper.after .dummy-img { 
    background-color: #e0f2fe; 
    color: #38bdf8;
}
/* 実際の画像の差し替え用 */
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.work-photo-card img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: #ffffff;
}
.work-info {
    padding: 1.25rem;
}
.work-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #0f172a;
}
.work-info p {
    font-size: 0.9rem;
    color: #475569;
}

/* サービス項目のリンク化・ホバーエフェクト */
a.service-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
a.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    border-color: #bae6fd;
}

/* ==========================================================================
   Contact Cards
   ========================================================================== */
.contact-section {
    background-color: var(--brand-soft);
}
.contact-desc {
    margin-bottom: 3rem;
}
.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(183, 255, 42, 0.12);
}

.border-line { border: 2px solid rgba(183, 255, 42, 0.95); }
.border-phone { border: 2px solid rgba(183, 255, 42, 0.7); }

.contact-card-header {
    padding: 1.5rem;
    position: relative;
}
.bg-line { background: linear-gradient(135deg, #b7ff2a 0%, #8fe000 100%); color: #222222; }
.bg-phone { background: linear-gradient(135deg, #f4ffe8 0%, #dfffab 100%); color: #222222; }

.badge-accent {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #222222;
    color: #ffffff;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(5deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.contact-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbfff4 100%);
}

.qr-code {
    width: 150px;
    height: 150px;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.tel-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: #EF4444;
    text-decoration: none;
    margin-top: 1rem;
    line-height: 1;
}

@media (min-width: 769px) {
    .contact-cards { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Floating Bottom Menu (Mobile)
   ========================================================================== */
.floating-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    z-index: 1000;
}

.btn-float {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 1rem 0;
    font-size: 1rem;
}

.btn-float-phone {
    background-color: #EF4444;
}

.btn-float-line {
    background-color: #06C755;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 3rem 0;
}

.footer-logo {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-meta {
    max-width: 760px;
    margin: 0.4rem auto 0;
    line-height: 1.8;
}

.footer-contact-links {
    margin-top: 0.9rem;
}

.footer-contact-links a {
    color: #dfff00;
    text-decoration: none;
    font-weight: 700;
    margin: 0 0.5rem;
}

.footer-contact-links a:hover {
    text-decoration: underline;
}

.footer-reassurance {
    background: var(--brand-soft);
    border-top: 1px solid #e2e8f0;
    padding: 1.75rem 0;
}

.footer-reassurance p {
    color: #475569;
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 700;
}

.site-qr-card {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.site-qr-card-inner {
    width: min(100%, 620px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fff0 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.site-qr-image {
    width: 112px;
    height: 112px;
    flex: 0 0 auto;
    display: block;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.35rem;
}

.site-qr-copy {
    text-align: left;
    color: #1e293b;
}

.site-qr-copy h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f2340;
}

.site-qr-copy p {
    margin: 0 0 0.65rem;
    font-size: 0.94rem;
    line-height: 1.65;
    color: #475569;
}

@media (max-width: 768px) {
    .site-qr-card-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.85rem;
        padding: 0.95rem 0.9rem;
        border-radius: 18px;
    }

    .site-qr-image {
        width: 104px;
        height: 104px;
    }

    .site-qr-copy {
        text-align: center;
    }
}

.copyright {
    margin-top: 1.5rem;
    font-size: 0.75rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

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

/* ==========================================================================
   Review Preview (トップページ 口コミプレビュー)
   ========================================================================== */
.review-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 769px) {
    .review-preview-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-preview-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.review-preview-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.rp-stars {
    font-size: 1.1rem;
    color: #EAB308;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05rem;
}

.rp-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.rp-body {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.rp-meta {
    font-size: 0.78rem;
    color: #94a3b8;
}

/* 口コミ一覧へ飛ぶボタン */
.btn-reviews {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.875rem 2rem;
    background: #ffffff;
    color: #0369a1;
    border: 2px solid #0369a1;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-reviews:hover {
    background: #0369a1;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(3,105,161,0.2);
}



/* ==========================================================================
   2026-04 service refresh
   ========================================================================== */
.top-main-visual.is-slider {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 450px !important;
    overflow: hidden !important;
    background-color: #f1f5f9;
    padding: 0;
}

.top-main-visual.is-slider .top-slide {
    display: block !important;
}

.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.9rem 1.4rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #dfff00 0%, #b8f20e 100%);
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(173, 255, 47, 0.28);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.detail-btn:hover,
.detail-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(173, 255, 47, 0.38);
    filter: brightness(1.03);
}

.detail-btn:active {
    transform: translateY(0);
}

.service-item-highlight {
    border: 2px solid rgba(183, 255, 42, 0.55);
    border-radius: 20px;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fdf2 100%);
}

.service-mini-note {
    margin-top: 0.55rem;
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .top-main-visual.is-slider {
        height: 280px !important;
    }

    .detail-btn {
        width: 100%;
        min-height: 56px;
        padding: 1rem 1.25rem;
        border-radius: 16px;
    }
}

/* ==========================================================================
   2026-05 additional growth sections
   ========================================================================== */
.portal-grid,
.seasonal-grid,
.area-guide-grid,
.process-grid,
.compare-grid,
.reassure-grid,
.photo-trust-grid {
    display: grid;
    gap: 1rem;
}

.portal-grid,
.seasonal-grid,
.area-guide-grid,
.compare-grid,
.reassure-grid,
.photo-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-card,
.seasonal-card,
.area-guide-card,
.process-card,
.compare-card,
.reassure-card,
.photo-trust-card,
.contact-form-card,
.review-cta-card,
.works-note-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.portal-card {
    position: relative;
    overflow: hidden;
}

.portal-card::before,
.seasonal-card::before,
.area-guide-card::before,
.review-cta-card::before,
.contact-form-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--brand-color) 0%, #dfff86 100%);
}

.portal-card h3,
.seasonal-card h3,
.area-guide-card h3,
.process-card h3,
.compare-card h3,
.reassure-card h3,
.photo-trust-card h3,
.contact-form-card h3,
.review-cta-card h3,
.works-note-card h3 {
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 0.55rem;
}

.portal-card p,
.seasonal-card p,
.area-guide-card p,
.process-card p,
.compare-card p,
.reassure-card p,
.photo-trust-card p,
.contact-form-card p,
.review-cta-card p,
.works-note-card p {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.8;
}

.portal-links,
.micro-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.text-link-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.9rem;
    background: var(--brand-soft);
    color: #0f172a;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.text-link-chip:hover {
    background: var(--brand-color);
}

.process-card {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f9fdf2 100%);
}

.process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: var(--brand-color);
    color: #0f172a;
    font-weight: 900;
    margin-bottom: 0.7rem;
}

.portal-section,
.seasonal-section,
.area-guide-section,
.compare-section,
.reassure-section,
.photo-trust-section {
    background: #ffffff;
}

.review-cta-card,
.contact-form-card,
.works-note-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.works-anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.works-anchor-nav a {
    text-decoration: none;
}

.review-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.contact-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: 1.25rem;
    align-items: start;
}

.contact-form-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.contact-form-panel h3 {
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 0.85rem;
}

.contact-form-panel p,
.contact-form-panel li,
.contact-form-note {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.8;
}

.contact-form-list {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.contact-form-list li::before {
    content: "•";
    color: var(--primary-blue);
    font-weight: 900;
    margin-right: 0.5rem;
}

.netlify-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 0.45rem;
}

.form-row label {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.92rem;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font: inherit;
    color: #0f172a;
    background: #ffffff;
}

.form-row textarea {
    min-height: 180px;
    resize: vertical;
}

.form-check {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #475569;
}

.form-check input {
    margin-top: 0.25rem;
}

.required-mark {
    display: inline-flex;
    align-items: center;
    margin-left: 0.45rem;
    padding: 0.08rem 0.45rem;
    border-radius: 999px;
    background: #fff1f2;
    color: #e11d48;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.form-helper {
    font-size: 0.82rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .portal-grid,
    .seasonal-grid,
    .area-guide-grid,
    .process-grid,
    .compare-grid,
    .reassure-grid,
    .photo-trust-grid,
    .review-action-grid,
    .contact-form-layout {
        grid-template-columns: 1fr;
    }

    .portal-card,
    .seasonal-card,
    .area-guide-card,
    .process-card,
    .compare-card,
    .reassure-card,
    .photo-trust-card,
    .contact-form-card,
    .review-cta-card,
    .works-note-card,
    .contact-form-panel {
        padding: 1rem;
        border-radius: 18px;
    }

    .works-anchor-nav,
    .portal-links,
    .micro-cta-row {
        gap: 0.55rem;
    }

    .text-link-chip {
        font-size: 0.78rem;
        padding: 0.5rem 0.75rem;
    }
}




