/* ================================================
   INDEX PAGE — Hero, Story, Gallery, Services
   ================================================
   構成（上から順）
   1. Hero セクション（タイトル・バッジ）
   2. Hero Stats（フルボディ施工 / 施工日数 / お見積りリンク）
   3. Promo Badge（右下固定バナー）
   4. Studio セクション
   5. Story セクション（3つのコンテンツブロック）
   6. Services Intro（PPF / カーラッピング カード）
   7. Gallery Showcase
   8. Services Showcase（画像+テキストオーバーレイ）
   9. Home Reservation CTA
   ================================================ */

/* --- Hero --- */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}
.hero-overlay-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000000;
}
.hero-background {
    position: absolute;
    inset: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.55) 0%,
            rgba(0,0,0,0.22) 35%,
            rgba(0,0,0,0.12) 65%,
            rgba(0,0,0,0.45) 100%
        );
    display: flex;
    align-items: center;
}
.hero-overlay .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 24px;
}
.hero-title .highlight {
    display: block;
}
.hero-title .highlight-main {
    display: inline-block;
    background: linear-gradient(110deg, rgba(170,145,92,0.72) 0%, rgba(216,191,132,0.74) 34%, rgba(238,223,183,0.78) 50%, rgba(214,187,126,0.74) 66%, rgba(166,140,90,0.7) 100%);
    background-size: 190% 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
}
.hero-title .highlight-sub {
    display: inline-block;
    color: rgba(240, 240, 236, 0.78);
    font-weight: 700;
    text-shadow: 0 4px 18px rgba(0,0,0,0.24);
}
.hero-subtitle {
    font-size: clamp(1.05rem, 1.9vw, 1.3rem);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.03em;
    max-width: 560px;
    margin-bottom: 28px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(216, 191, 132, 0.4);
    border-radius: 20px;
    color: rgba(216, 191, 132, 0.85);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    background: rgba(216, 191, 132, 0.07);
}
.hero-badge i { font-size: 0.72rem; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Hero Stats --- */
.hero-stats {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}
.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
}
.hero-stat-item:first-child { padding-left: 0; }
.hero-stat-item:last-child  { padding-right: 0; }
.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.52);
    letter-spacing: 0.06em;
    margin-bottom: 5px;
    white-space: nowrap;
}
.stat-value {
    display: flex;
    align-items: baseline;
    gap: 3px;
    line-height: 1;
}
.stat-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.stat-unit {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}
.stat-prefix {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.58);
    align-self: center;
    margin-right: 1px;
}
.hero-stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}
.hero-stat-cta {
    padding: 0 0 0 20px;
}
.hero-estimate-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 8px 16px;
    border-radius: 2px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.hero-estimate-link i { font-size: 0.7rem; }
.hero-estimate-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.65);
}

/* --- Promo Badge (fixed bottom-right) --- */
.promo-badge {
    position: fixed;
    bottom: 0;
    right: 28px;
    z-index: 999;
    background: linear-gradient(145deg, #1c3f6e 0%, #0f2a4d 55%, #091e38 100%);
    border: 1px solid rgba(80, 140, 220, 0.28);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    padding: 14px 20px 22px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.45);
    min-width: 200px;
    cursor: default;
}
.promo-period {
    display: inline-block;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 2px 8px;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.promo-body { display: flex; flex-direction: column; }
.promo-service {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.promo-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.promo-price {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}
.promo-from {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}
.promo-tagline {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.02em;
    line-height: 1.5;
    margin-bottom: 7px;
}
.promo-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 7px 0 2px;
    font-size: 0.74rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.05em;
    transition: color 0.2s;
}
.promo-cta:hover { color: var(--gold); }
.promo-cta i { font-size: 0.65rem; }

/* --- Studio Section --- */
.studio-section {
    padding: 80px 0;
    background: var(--dark);
    border-top: 1px solid var(--dark-border);
}
.studio-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 56px;
    align-items: center;
}
.studio-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
}
.studio-text h3 {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}
.studio-text p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.85;
    margin-bottom: 12px;
}
.studio-carousel-wrap {
    position: relative;
}
.studio-carousel {
    overflow: hidden;
    border-radius: 10px;
    height: 220px;
}
.studio-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.studio-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background: #111;
}
.studio-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.studio-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.45);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
    z-index: 2;
}
.studio-btn:hover {
    background: rgba(0,0,0,0.7);
    border-color: rgba(255,255,255,0.5);
}
.studio-prev { left: 12px; }
.studio-next { right: 12px; }
.studio-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.studio-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.studio-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

/* --- Story Section --- */
.professional-story {
    padding: 80px 0;
    background: var(--dark);
    border-top: 1px solid var(--dark-border);
}
.professional-story > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 48px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin-top: 10px;
    border-radius: 2px;
}
.story-section {
    display: flex;
    min-height: 40vh;
    align-items: center;
    max-height: 420px;
    margin-bottom: 48px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
}
.story-image {
    flex: 0 0 45%;
    overflow: hidden;
    max-height: 420px;
}
.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}
.story-section:hover .story-image img { transform: scale(1.04); }
.story-content {
    flex: 1;
    padding: 40px 48px;
}
.layout-text-image .story-content { order: 1; }
.layout-text-image .story-image  { order: 2; }
.layout-image-text .story-image  { order: 1; }
.layout-image-text .story-content { order: 2; }
.story-section-spaced {
    padding: 32px 0;
}
.story-section-spaced .story-image {
    padding: 32px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.story-section-spaced .story-image img {
    width: calc(100% - 48px);
    height: calc(100% - 64px);
    display: block;
    object-fit: cover;
    object-position: center;
    box-shadow: inset 0 16px 24px rgba(0, 0, 0, 0.18),
                inset 0 -16px 24px rgba(0, 0, 0, 0.18);
}
.story-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}
.story-content h3 {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 500;
}
.story-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.85;
    margin-bottom: 12px;
}

/* --- Services Intro Section --- */
.services-intro {
    padding: 96px 0;
    background: var(--dark);
    border-top: 1px solid var(--dark-border);
}
.services-intro-header {
    text-align: center;
    margin-bottom: 56px;
}
.services-intro-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.services-intro-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}
.services-intro-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto 0;
    border-radius: 2px;
}
.services-intro-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    margin-top: 16px;
    line-height: 1.8;
}
.services-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.services-intro-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.services-intro-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.services-intro-card--ppf:hover {
    border-color: rgba(200,168,75,0.3);
}
.services-intro-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}
.services-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}
.services-intro-card:hover .services-intro-img img {
    transform: scale(1.05);
}
.services-intro-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}
.services-intro-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 5px 14px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--white);
    text-transform: uppercase;
}
.services-intro-badge--gold {
    background: rgba(200,168,75,0.55);
    border-color: rgba(200,168,75,0.85);
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* CAR WRAPPING カード: バッジを右上、キャプションを左下に配置（PPFカードは左上・右下のまま） */
.services-intro-card:not(.services-intro-card--ppf) .services-intro-badge {
    left: auto;
    right: 18px;
}
.services-intro-card:not(.services-intro-card--ppf) .services-intro-img-caption {
    right: auto;
    left: 14px;
}

.services-intro-img-caption {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.services-intro-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.services-intro-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 14px;
}
.services-intro-body > p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.85;
    margin-bottom: 20px;
}
.services-intro-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    flex: 1;
}
.services-intro-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
}
.services-intro-points li i {
    color: var(--gold);
    font-size: 0.75rem;
    flex-shrink: 0;
}
.services-intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
    align-self: flex-start;
}
.services-intro-btn:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.4);
    transform: translateX(4px);
}
.services-intro-btn--gold {
    background: var(--gold-dim);
    border-color: rgba(200,168,75,0.35);
    color: var(--gold-light);
}
.services-intro-btn--gold:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* --- Craftsman Section --- */
.craftsman-section {
    padding: 80px 0;
    background: var(--dark);
    border-top: 1px solid var(--dark-border);
}
.craftsman-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--white);
    margin-bottom: 32px;
}
.craftsman-eyebrow-en {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    opacity: 0.8;
}
.craftsman-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.craftsman-card:hover {
    border-color: rgba(200,168,75,0.2);
    box-shadow: var(--shadow-lg);
}
.craftsman-photo-wrap {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}
.craftsman-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}
.craftsman-card:hover .craftsman-photo-wrap img { transform: scale(1.04); }
.craftsman-exp-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(200,168,75,0.4);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.06em;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 2px;
}
.craftsman-exp-badge span {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin: 0 3px;
}
.craftsman-info {
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.craftsman-role {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.craftsman-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1;
}
.craftsman-name-en {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.18em;
    margin-left: 10px;
    vertical-align: middle;
}
.craftsman-bio {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.92;
    margin-bottom: 28px;
}
.craftsman-quote {
    margin: 20px 0 0;
    padding: 14px 18px;
    border-left: 2px solid rgba(200,168,75,0.45);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
    font-style: italic;
    letter-spacing: 0.02em;
}

.craftsman-footer-note {
    margin-top: 20px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.craftsman-footer-note i {
    color: var(--gold);
    font-size: 0.75rem;
    opacity: 0.7;
}

.craftsman-philosophy {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.85;
    letter-spacing: 0.02em;
}

.craftsman-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.craftsman-tag {
    padding: 6px 16px;
    border: 1px solid rgba(200,168,75,0.35);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(200,168,75,0.8);
    background: rgba(200,168,75,0.06);
}

/* --- Gallery Showcase --- */
.additional-gallery {
    padding: 80px 0;
    background: var(--black);
    border-top: 1px solid var(--dark-border);
}
.gallery-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}
.gallery-subtitle::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin-top: 10px;
    border-radius: 2px;
}
.gallery-showcase {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    box-shadow: var(--shadow);
}
.gallery-showcase-content {
    flex: 1;
    padding: 48px;
}
.gallery-description {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.85;
    margin-bottom: 32px;
}
.gallery-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gold);
    color: var(--black);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(200,168,75,0.25);
}
.gallery-more-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,168,75,0.35);
}
.gallery-showcase-image {
    flex: 0 0 50%;
    height: 420px;
    overflow: hidden;
}
.gallery-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}
.gallery-showcase:hover .gallery-showcase-image img { transform: scale(1.04); }

/* --- Services Showcase --- */
.services-showcase {
    background: var(--dark);
    border-top: 1px solid var(--dark-border);
    padding: 0;
}
.service-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 64px 24px;
}
.service-visual {
    position: relative;
    width: min(100%, 1140px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}
.service-visual .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.18) 34%, rgba(0,0,0,0.78) 100%);
    padding: 0;
}
.service-content {
    position: absolute;
    inset: clamp(24px, 4vw, 40px);
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(300px, 1fr);
    grid-template-rows: auto 1fr auto;
    column-gap: clamp(24px, 4vw, 54px);
    row-gap: 12px;
    align-items: end;
}
.service-content h2 {
    grid-column: 1 / 3;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.045em;
    color: transparent;
    background: linear-gradient(90deg, #D7B33E 0%, #E9CB71 52%, #F4D786 100%);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 0;
    line-height: 1;
    max-width: 760px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.12);
}
.service-meta {
    display: contents;
}
.service-highlights {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    gap: 24px;
    margin-top: 0;
    align-items: flex-start;
}
.service-copy {
    grid-column: 2;
    grid-row: 3;
    width: 100%;
    max-width: 560px;
    justify-self: stretch;
    align-self: end;
    transform: translateY(2px);
    padding-top: 0;
}
.service-copy p {
    font-size: clamp(0.84rem, 0.72vw, 0.91rem);
    color: rgba(255,255,255,0.79);
    line-height: 1.66;
    margin-bottom: 0;
    max-width: 560px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.32);
}
.highlight { text-align: left; }
.highlight .number {
    font-family: var(--font-display);
    font-size: 2.02rem;
    font-weight: 900;
    color: rgba(214,177,67,0.86);
    line-height: 1;
    display: block;
}
.highlight .label {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.48);
    margin-top: 9px;
    letter-spacing: 0.02em;
    display: block;
}

/* --- Home Reservation CTA --- */
.home-reservation-cta { padding-top: 90px; padding-bottom: 90px; }

/* ================================================
   RESPONSIVE BREAKPOINTS
   ================================================
   ≥769px         デスクトップ / iPad Air 4 (820px) / iPad Pro 11 (834px) 以上
   769 ~ 920px    中型タブレット縦向き（iPad Air / Pro 11 / Galaxy Tab S7 ~800px）
                  → 左の統計バーと右のコンテンツブロックが重複する範囲を補正
   ≤1360px        サービスショーケース グリッド列幅を縮小
   ≤1240px        サービスショーケース コピーテキスト微調整
   ≤900px         スタジオカルーセル 1カラム化
   ≤768px         iPad mini (744px) / 大画面スマートフォン
   ≤480px         小型スマートフォン（iPhone SE 等）
   ================================================ */

/* シャンパンゴールドの光彩アニメーション — highlight-main に適用 */
@keyframes champagne-glint {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- デスクトップ / iPad Air 4·Pro 11 以上（≥769px） --- */
@media (min-width: 769px) {
    .hero-overlay { display: block; }
    .hero-overlay .container {
        position: relative;
        height: 100%;
        min-height: calc(100vh - 72px); /* ヘッダー高さ(72px)を除いた最小高 */
        max-width: 1200px;
        padding: 0 24px;
    }
    .hero-top-content {
        position: absolute;
        bottom: 72px; /* hero-stats(bottom:48px)よりも上に来るよう余裕を持たせた値 */
        right: 48px;
        left: auto;
        top: auto;
        max-width: 360px;
        text-align: left;
    }
    .hero-subtitle {
        margin: 0 0 14px;
        text-align: left;
        font-size: clamp(0.82rem, 1.45vw, 0.98rem);
    }
    .hero-title {
        position: absolute;
        top: 150px; /* ヘッダー高さ(72px) + 余白 = タイトルの縦位置 */
        left: 48px;
        bottom: auto;
        right: auto;
        margin: 0;
        text-align: left;
        font-size: clamp(2.25rem, 5.3vw, 2.95rem);
    }
    .hero-title .highlight {
        display: block;
        text-align: left;
    }
    .hero-title .highlight-main {
        background: linear-gradient(110deg, rgba(170,145,92,0.72) 0%, rgba(216,191,132,0.74) 34%, rgba(238,223,183,0.78) 50%, rgba(214,187,126,0.74) 66%, rgba(166,140,90,0.7) 100%);
        background-size: 190% 100%;
        color: transparent;
        -webkit-background-clip: text;
        background-clip: text;
        mix-blend-mode: normal;
        opacity: 0.82; /* グラデーション文字の明度を抑えてゴールドを自然に見せる */
        animation: champagne-glint 14s ease-in-out infinite;
    }
    .hero-stats {
        bottom: 48px; /* ビューポート下端からの統計バー配置位置 */
        left: 48px;
        right: auto;
        top: auto;
        padding: 16px 24px;
    }
}

/* --- 中型タブレット縦向き（769px ~ 920px）: iPad Air / Pro 11 / Galaxy Tab S7 ---
   769px時点で hero-stats の右端が約 400px に達し、
   hero-top-content の左端と重なるため、このレンジで専用調整を行う。
   stats の padding を削減して全幅を ~310px に抑え、
   top-content の max-width を絞ることで重複を解消。                      --- */
@media (min-width: 769px) and (max-width: 920px) {
    .hero-title {
        top: 170px; /* 769px幅でタイトルをやや下げてレイアウトを整える */
        left: 32px;
        font-size: clamp(2.8rem, 5.6vw, 3.4rem);
    }
    .hero-stats {
        left: 32px;
        bottom: 44px;
        padding: 0; /* パディングをゼロにして統計バーの横幅を最小化 */
    }
    .hero-stat-item { padding: 0 10px; }
    .stat-num { font-size: 1.9rem; }
    .stat-unit { font-size: 0.88rem; }
    .stat-prefix { font-size: 0.82rem; }
    .hero-stat-divider { height: 34px; }
    .hero-estimate-link { padding: 7px 13px; font-size: 0.78rem; }
    .hero-top-content {
        right: 28px;
        bottom: 56px;
        max-width: 280px; /* 右ブロック幅を絞り、左の統計バーとの重複を防ぐ */
    }
    .hero-subtitle { font-size: 0.8rem; line-height: 1.7; }
    .hero-badge { white-space: nowrap; } /* 「ソフト99オートサービス認定施工店」を1行に収める */
}

/* --- サービスショーケース グリッド調整（≤1360px） --- */
@media (max-width: 1360px) {
    .service-content {
        grid-template-columns: minmax(210px, 320px) minmax(280px, 1fr);
        column-gap: clamp(18px, 3vw, 36px);
    }
    .service-copy {
        max-width: 500px;
        transform: translateY(4px);
    }
    .service-copy p {
        font-size: 0.84rem;
        line-height: 1.62;
    }
}

/* --- サービスショーケース コピーテキスト微調整（≤1240px） --- */
@media (max-width: 1240px) {
    .service-copy {
        max-width: 520px;
        justify-self: start;
        margin-left: -16px;
    }
    .service-copy p {
        font-size: 0.81rem;
        line-height: 1.58;
    }
}

/* --- スタジオセクション 1カラム化（≤900px） --- */
@media (max-width: 900px) {
    .studio-layout {
        grid-template-columns: 1fr; /* 2カラム→1カラムに切り替え */
        gap: 32px;
    }
    .studio-carousel { height: 190px; }
}

/* --- iPad mini (744px) / 大画面スマートフォン（≤768px） --- */
@media (max-width: 768px) {
    /* Hero */
    .hero { min-height: auto; }
    .hero-overlay-container { height: auto; min-height: 100vh; }
    .hero-background {
        top: 0;
        height: 100%;
        object-position: center 48%;
    }
    .hero-overlay { display: block; }
    .hero-overlay .container {
        position: relative;
        height: 100%;
        min-height: 100vh;
        padding: 0 24px;
    }
    .hero-title {
        position: absolute;
        top: 150px; /* ヘッダー高さ(72px) + 余白 = タイトルの縦位置 */
        left: 15px;
        bottom: auto;
        right: auto;
        margin: 0;
        text-align: left;
        font-size: clamp(2rem, 7.5vw, 2.6rem);
    }
    .hero-title .highlight-main { opacity: 0.82; } /* デスクトップと同じゴールド明度を維持 */
    .hero-top-content {
        position: absolute;
        bottom: 20px; /* hero-stats(bottom:120px)より下、画面最下部に配置 */
        left: 24px;
        right: 24px;
        top: auto;
        max-width: none;
        text-align: left;
    }
    .hero-subtitle {
        margin: 0 0 12px;
        font-size: 0.92rem;
        line-height: 1.75;
        text-align: left;
    }
    .hero-buttons { gap: 12px; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    /* Hero Stats */
    .hero-stats {
        top: auto;
        bottom: 120px; /* hero-top-content(bottom:20px + 高さ~100px)の上に重ならないよう配置 */
        left: 24px;
        right: auto;
        padding: 0;
    }
    .hero-stat-item { padding: 0 10px; }
    .hero-stat-item:first-child { padding-left: 0; }
    .hero-stat-item:last-child  { padding-right: 0; }
    .stat-num { font-size: 1.35rem; }
    .stat-label { font-size: 0.62rem; margin-bottom: 3px; }
    .stat-unit { font-size: 0.72rem; }
    .hero-stat-divider { height: 28px; }
    .hero-estimate-link { font-size: 0.88rem; padding: 9px 16px; }

    /* Promo Badge */
    .promo-badge {
        bottom: 0;
        right: 16px;
        padding: 10px 14px 18px;
        min-width: 150px;
        border-radius: 10px 10px 0 0;
        border-bottom: none;
    }
    .promo-price { font-size: 1.4rem; }

    /* Story */
    .section-title,
    .gallery-subtitle { line-height: 1.2; }
    .story-section { flex-direction: column; max-height: none; }
    .story-image { flex: none; width: 100%; height: 240px; max-height: none; }
    .story-section-spaced .story-image img.gt33-mobile-focus {
        object-position: center 56% !important;
        transform: scale(1.00) !important;
    }
    .story-image.story-image--gt33 {
        height: 360px !important;
        padding: 10px !important;
    }
    .story-image.story-image--gt33 img {
        width: 100% !important;
        height: 100% !important;
    }
    .story-content { padding: 28px 24px; }

    /* Services Intro */
    .services-intro { padding: 72px 0; }
    .services-intro-header { margin-bottom: 40px; }
    .services-intro-grid { grid-template-columns: 1fr; gap: 20px; }
    .services-intro-img { height: 220px; }
    .services-intro-body { padding: 24px; }

    /* Gallery */
    .gallery-showcase { flex-direction: column; }
    .gallery-showcase-image { flex: none; width: 100%; height: 240px; }
    .gallery-showcase-image img {
        object-position: center 25%;
        transform: scale(1.08);
        transform-origin: center center;
    }
    .gallery-showcase-content { padding: 28px 24px; }

    /* Services Showcase */
    .service-hero {
        min-height: auto;
        padding: 34px 16px;
    }
    .service-visual {
        width: 100%;
        aspect-ratio: 4 / 5; /* 縦長レイアウトに切り替えてモバイルに最適化 */
        border-radius: 18px;
    }
    .service-visual .service-image { object-position: center 45%; }
    .service-overlay {
        padding: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.14) 0%, rgba(0,0,0,0.28) 38%, rgba(0,0,0,0.88) 100%);
    }
    .service-content {
        inset: 18px;
        grid-template-columns: 1fr; /* デスクトップの2カラムから1カラムに変更 */
        grid-template-rows: auto auto auto;
        row-gap: 12px;
        column-gap: 0;
        align-items: end;
    }
    .service-content h2 {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0;
        max-width: calc(100% - 148px); /* 右端の highlights(148px幅)と同じ行に並べる */
        letter-spacing: 0.02em;
        line-height: 1.14;
        font-size: clamp(1.55rem, 6.2vw, 1.95rem);
        color: transparent;
        background: linear-gradient(90deg, #D7B33E 0%, #E9CB71 52%, #F4D786 100%);
        -webkit-background-clip: text; /* Safari/WebKitでグラデーションテキストを確実に表示 */
        background-clip: text;
    }
    .service-content h2 br:last-of-type { display: none; }
    .service-meta { display: contents; }
    .service-highlights {
        grid-column: 1;
        grid-row: 1;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 2px;
        padding-bottom: 0;
        justify-self: end;
        align-self: start;
        max-width: 148px; /* h2 の max-width 計算値と対になる幅 */
    }
    .highlight {
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: none;
        backdrop-filter: none;
    }
    .highlight .number { font-size: 1.7rem; }
    .highlight .label {
        font-size: 0.72rem;
        margin-top: 6px;
        color: rgba(255,255,255,0.62);
    }
    .service-copy {
        grid-column: 1;
        grid-row: 3;
        max-width: 100%;
        margin-left: 0;
        transform: none;
        padding-top: 0;
        justify-self: start;
    }
    .service-copy p {
        max-width: 100%;
        line-height: 1.68;
        margin-bottom: 0;
        font-size: 0.9rem;
        background: rgba(0,0,0,0.42);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 10px;
        padding: 12px;
        backdrop-filter: blur(4px);
    }
    .service-title-nowrap {
        white-space: nowrap;
        display: inline-block;
    }

    /* Craftsman */
    .craftsman-card { grid-template-columns: 1fr; }
    .craftsman-photo-wrap { min-height: 320px; }
    .craftsman-info { padding: 36px 28px; }

    /* Misc */
    .additional-gallery,
    .professional-story,
    .craftsman-section { padding: 64px 0; }
    .home-reservation-cta { padding-top: 72px; padding-bottom: 72px; }
}

/* --- 小型スマートフォン（≤480px）: iPhone SE / 標準 iPhone 等 --- */
@media (max-width: 480px) {
    /* Hero */
    .hero-background { top: 0; height: 100%; object-position: center 48%; }
    .hero-title {
        top: 72px; /* 小画面はヘッダー高さ分だけ下げる（≤768px の 150px より上に配置） */
        left: 5px;
        bottom: auto;
        right: auto;
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        text-align: left;
    }
    .hero-top-content {
        bottom: 20px; /* hero-stats(bottom:138px)より下に配置 */
        left: 20px;
        right: 20px;
        top: auto;
        max-width: none;
        text-align: left;
    }
    .hero-subtitle {
        font-size: 0.88rem;
        line-height: 1.7;
        text-align: left;
    }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }

    /* Hero Stats */
    .hero-stats {
        top: auto;
        bottom: 113px; /* hero-top-content(bottom:36px + 高さ~102px)の上に重ならないよう配置 */
        left: 20px;
        right: auto;
        padding: 0;
    }
    .hero-stat-item { padding: 0 8px; }
    .stat-num { font-size: 1.2rem; }
    .stat-label { font-size: 0.58rem; }
    .stat-unit { font-size: 0.68rem; }
    .hero-stat-divider { height: 26px; }
    .hero-estimate-link { font-size: 1.05rem; }

    /* Promo Badge — 小画面では固定バナーを非表示 */
    .promo-badge { display: none; }

    /* Studio */
    .studio-carousel { height: 160px; }

    /* Story */
    .story-image { height: 220px; }
    .story-section-spaced .story-image {
        padding: 0;
        height: 220px;
    }
    .story-section-spaced .story-image img {
        width: 100%;
        height: 100%;
        object-position: center 93%;
        transform: scale(1.12);
        transform-origin: center center;
    }
    .story-section-spaced .story-image img.gt33-mobile-focus {
        object-position: center 35% !important;
        transform: scale(1.00) !important;
    }

    /* Services Intro */
    .services-intro { padding: 56px 0; }
    .services-intro-img { height: 200px; }
    .services-intro-body { padding: 20px; }
    .services-intro-btn { width: 100%; justify-content: center; }

    /* Gallery */
    .gallery-showcase-image { height: 220px; }

    /* Services Showcase */
    .service-visual {
        aspect-ratio: 3 / 4; /* さらに縦長に調整して小画面に対応 */
        border-radius: 16px;
    }
    .service-visual .service-image { object-position: 64% 48%; }
    .service-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.2) 2%, rgba(0,0,0,0.36) 44%, rgba(0,0,0,0.9) 100%);
    }
    .service-content { inset: 14px; row-gap: 10px; }
    .service-content h2 {
        max-width: calc(100% - 124px); /* highlights幅が124pxに縮小したため合わせて調整 */
        font-size: clamp(1.46rem, 7.2vw, 1.82rem);
        line-height: 1.16;
        letter-spacing: 0.018em;
    }
    .service-highlights {
        grid-row: 1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
        justify-self: end;
        align-self: start;
        max-width: 124px; /* h2 の max-width 計算値と対になる幅 */
    }
    .service-copy {
        padding: 0;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
    }
    .service-copy p {
        font-size: 0.85rem;
        line-height: 1.62;
        margin-bottom: 0;
        padding: 10px;
    }
    .highlight { padding: 7px 9px; }
    .highlight .number { font-size: 1.55rem; }
    .highlight .label { font-size: 0.67rem; margin-top: 5px; }

    /* Craftsman */
    .craftsman-section { padding: 56px 0; }
    .craftsman-photo-wrap { min-height: 280px; }
    .craftsman-info { padding: 28px 20px; }
    .craftsman-name { font-size: 1.9rem; }

    /* Misc */
    .home-reservation-cta { padding-top: 58px; padding-bottom: 58px; }
}

/* ================================================
   対応エリアセクション
   ================================================ */
.area-section {
    padding: 96px 0;
    background: var(--dark);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.area-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.area-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.area-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.35;
    margin-bottom: 24px;
}

.area-desc {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.95;
}

.area-desc strong {
    color: var(--gold);
    font-weight: 600;
}

.area-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.area-chip {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.area-chip:hover {
    border-color: rgba(200,168,75,0.25);
    background: var(--dark-hover);
}

.area-chip-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
}

.area-chip-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

.area-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 13px 28px;
    background: transparent;
    border: 1px solid rgba(200,168,75,0.4);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    transition: var(--transition);
}

.area-map-btn:hover {
    background: var(--gold-dim);
    border-color: var(--gold);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .area-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .area-section { padding: 64px 0; }
    .area-chips { grid-template-columns: 1fr; }
}
