@charset "utf-8";

:root {
    /* サンリーノ既存サイト準拠カラー（UFB青系） */
    --green-soft: #6fa3c7;
    --green-pale: #b3cee0;
    --green-mint: #d8e7f0;
    --beige: #f5f0e8;
    --beige-light: #faf8f4;
    --brown-soft: #9b8b7e;
    --pink-pale: #fdf5f5;
    
    /* アクセント（UFB表現用） */
    --aqua-soft: #a8d5d8;
    --aqua-pale: #e8f5f6;
    
    /* ベース */
    --white: #ffffff;
    --text-dark: #5a5550;
    --text-light: #8b8378;
    --border-soft: #e8e2d8;
    
    /* タイポグラフィ */
    --font-serif: 'YakuHanJP_Noto','Noto Sans JP',sans-serif;
    --font-sans: 'YakuHanJP_Noto','Noto Sans JP',sans-serif;
}

/* UFB Page Specific Styles */
body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.9;
    overflow-x: hidden;
    background: var(--beige-light);
    font-weight: 400;
    position: relative;
}

#header {
    background: #fff;
    position: relative;
    z-index: 1;
}

#container {
    position: relative;
    z-index: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 10;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* All content elements above canvas */
body * {
    position: relative;
    z-index: 0;
}

/* #heroCanvas,
.hero-canvas {
    z-index: -1 !important;
} */

/* Section elements */
.section,
.section *,
.effect-card, .scene-card, .feature-item,
.faq-item, .value-box, .value-card,
.room-label,
img, video, h1, h2, h3, h4, h5, h6, p, span, div {
    position: relative;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 245, 246, 0.95) 0%, rgba(250, 248, 244, 0.95) 100());
    clip-path: polygon(0 0, 60% 0, 45% 100%, 0 100%);
    z-index: 10;
}

.hero-green {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(111, 163, 199, 0.95) 0%, rgba(179, 206, 224, 0.9) 100%);
    clip-path: polygon(0 0, 45% 0, 30% 100%, 0 100%);
    z-index: 20;
}

.hero-content {
    position: relative;
    z-index: 100;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-text {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    position: relative;
    z-index: 100;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    z-index: 100;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 100;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-english {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--green-soft);
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    color: var(--green-soft);
    line-height: 1.5;
    margin-bottom: 25px;
    letter-spacing: 0.03em;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 2;
    font-weight: 400;
}

.hero-value-highlight {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--green-soft), var(--green-pale));
    color: var(--white);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(111, 163, 199, 0.4);
    transition: all 0.3s;
}

.hero-value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(111, 163, 199, 0.5);
}

.hero-value-item i {
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 50px;
    align-items: center;
}

.btn {
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
    border: 3px solid transparent;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.1em;
    min-width: 280px;
    text-align: center;
}

.btn-primary {
    background: var(--green-soft);
    color: var(--white);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--green-pale);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(111, 163, 199, 0.4);
}

.btn-outline {
    background: var(--white);
    color: var(--green-soft);
    border-color: var(--green-soft);
    border-width: 3px;
}

.btn-outline:hover {
    background: var(--green-soft);
    color: var(--white);
    border-color: var(--green-soft);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(111, 163, 199, 0.4);
}

.hero-status {
    display: none;
}

.status-bar {
    background: var(--green-soft);
    color: var(--white);
    padding: 20px 40px;
    font-size: 13px;
    font-weight: 400;
}

.status-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-item i {
    color: var(--aqua-pale);
}

.price-bar {
    background: var(--brown-soft);
    color: var(--white);
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

/* Section Common */
.section {
    padding: 120px 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
    position: relative;
    z-index: 1;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.section-english {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--green-soft);
    font-weight: 300;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 500;
    color: var(--green-soft);
    margin-bottom: 25px;
    line-height: 1.7;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 2;
}

/* UFB Intro Section */
.ufb-intro {
    background: var(--white);
}

.video-container {
    max-width: 900px;
    margin: 50px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: #000;
    position: relative;
    z-index: 10;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 10;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.intro-text {
    position: relative;
    z-index: 10;
}

.intro-text h3 {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--green-soft);
    margin-bottom: 25px;
    line-height: 1.8;
    font-weight: 500;
    text-align: center;
}

.intro-text p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 2;
    font-size: 16px;
}

.intro-visual {
    background: var(--beige-light);
    border-radius: 20px;
    position: relative;
    z-index: 10;
    padding: 60px;
    box-shadow: 0 5px 30px rgba(111, 163, 199, 0.08);
    text-align: center;
    border: 1px solid var(--border-soft);
}

.bubble-size {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.bubble-item {
    text-align: center;
}

.bubble-circle {
    background: linear-gradient(135deg, var(--aqua-soft) 0%, var(--aqua-pale) 100%);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(168, 213, 216, 0.2);
    position: relative;
}

.bubble-circle.large {
    width: 120px;
    height: 120px;
    font-size: 18px;
}

.bubble-circle.small {
    width: 40px;
    height: 40px;
    font-size: 10px;
}

.bubble-circle-text {
    color: var(--aqua-soft);
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 500;
}

.bubble-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
}

/* Installation Image Section */
.installation-section {
    background: var(--beige-light);
    padding: 100px 40px;
}

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

.installation-text h3 {
    font-family: var(--font-serif);
    font-size: 30px;
    color: var(--green-soft);
    margin-bottom: 28px;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.installation-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 2;
}

.installation-features {
    margin-top: 30px;
}

.installation-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.installation-feature i {
    color: var(--aqua-soft);
    font-size: 18px;
    width: 30px;
}

.installation-image {
    position: relative;
}

.installation-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(111, 163, 199, 0.12);
    border: 1px solid var(--border-soft);
}

.installation-caption {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Installation 2-column layout */
.installation-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 10px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.installation-main .installation-visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: block;
}
.installation-main .installation-features {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.installation-main .installation-feature {
    margin-bottom: 0;
    gap: 20px;
}
.installation-main .installation-feature i {
    color: var(--green-soft);
    font-size: 28px;
    width: 40px;
    text-align: center;
}
.installation-main .installation-feature h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--green-soft);
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .installation-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .installation-main .installation-features {
        gap: 24px;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    .installation-main .installation-feature {
        gap: 20px;
    }
    .installation-main .installation-feature i {
        font-size: 30px;
        width: 36px;
    }
    .installation-main .installation-feature h4 {
        font-size: 16px;
    }
    .installation .installation-caption {
        display: none;
    }
    .room-labels {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 24px;
    }
    .room-label {
        padding: 10px 8px;
        justify-content: center;
        font-size: 11px;
    }
}

.room-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.room-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-dark);
    border: 1px solid var(--border-soft);
    position: relative;
    z-index: 10;
}

.room-label i {
    color: var(--aqua-soft);
}

/* Effects Section */
.effects {
    background: var(--pink-pale);
}

.effects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 10;
}

.effect-card {
    background: var(--white);
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 20px rgba(111, 163, 199, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 10;
}

.effect-card:hover {
    transform: translateY(-10px);
}

.effect-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--aqua-soft) 0%, var(--aqua-pale) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 6px 20px rgba(168, 213, 216, 0.2);
    flex-shrink: 0;
}

.effect-icon i {
    color: var(--white);
    font-size: 36px;
}

.effect-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--green-soft);
    margin-bottom: 18px;
    font-weight: 500;
    flex-shrink: 0;
}

.effect-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 16px;
    flex-grow: 1;
}

.effect-data {
    background: var(--beige-light);
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-light);
    border: 1px solid var(--border-soft);
    margin-top: auto;
    flex-shrink: 0;
}

/* Scenes Section */
.scenes {
    /* background: var(--beige-light); */
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 10;
}

.scene-card {
    background: var(--white);
    border-radius: 20px;
    padding: 45px 30px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(111, 163, 199, 0.06);
    border: 1px solid var(--border-soft);
    position: relative;
    z-index: 10;
}

.scene-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(111, 163, 199, 0.12);
}

.scene-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--green-soft) 0%, var(--green-pale) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 6px 20px rgba(111, 163, 199, 0.2);
}

.scene-icon i {
    color: var(--white);
    font-size: 48px;
}

.scene-card h3 {
    font-family: var(--font-serif);
    font-size: 19px;
    color: var(--green-soft);
    margin-bottom: 15px;
    font-weight: 500;
}

.scene-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
}

/* Features Section */
.features {
    background: var(--white);
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item:nth-child(even) .feature-text {
    order: 2;
}

.feature-item:nth-child(even) .feature-visual {
    order: 1;
}

.feature-number {
    font-size: 70px;
    font-weight: 400;
    color: var(--green-mint);
    font-family: var(--font-serif);
    line-height: 1;
    margin-bottom: 20px;
}

.feature-text h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--green-soft);
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.7;
}

.feature-text p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 2;
    font-size: 16px;
}

.feature-visual {
    background: var(--beige-light);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    border: 1px solid var(--border-soft);
}

.feature-visual img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
}

.feature-visual i {
    font-size: 110px;
    color: var(--aqua-soft);
    opacity: 0.7;
}

/* Timeline Section */
.timeline-section {
    background: var(--pink-pale);
}

.timeline {
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--aqua-soft) 0%, var(--green-pale) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    left: -48px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--aqua-soft);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 2px var(--aqua-pale);
}

.timeline-time {
    font-size: 17px;
    font-weight: 500;
    color: var(--green-soft);
    margin-bottom: 10px;
}

.timeline-title {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--green-soft);
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-desc {
    color: var(--text-light);
    line-height: 1.9;
}

/* Value Section */
.value-section {
    background: linear-gradient(135deg, var(--green-soft) 0%, var(--green-pale) 100%);
    color: var(--white);
}

.value-section .section-english {
    color: var(--aqua-pale);
}

.value-section .section-title {
    color: var(--white);
}

.value-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 10;
}

.value-icon {
    width: 85px;
    height: 85px;
    background: var(--brown-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 6px 20px rgba(155, 139, 126, 0.3);
}

.value-icon i {
    color: var(--white);
    font-size: 36px;
}

.value-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}

.value-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
}

/* FAQ Section */
.faq {
    /* background: var(--beige-light); */
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    position: relative;
    z-index: 10;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--green-soft);
    transition: background 0.3s;
    font-size: 16px;
}

.faq-question:hover {
    background: var(--aqua-pale);
}

.faq-icon {
    color: var(--aqua-soft);
    font-size: 18px;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 15px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--green-soft) 0%, var(--green-pale) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 40px;
}

.cta h2 {
    font-family: var(--font-serif);
    font-size: 38px;
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
}

.value-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 50px;
}

.value-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    position: relative;
    z-index: 10;
}

.value-box:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.value-box i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.value-box h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--white);
}

.value-box p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-size: 15px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    background: var(--brown-soft);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    background: rgba(155, 139, 126, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(155, 139, 126, 0.3);
}

.btn-cta-outline {
    background: transparent;
    border: 2px solid var(--white);
}

.btn-cta-outline:hover {
    background: var(--white);
    color: var(--green-soft);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        padding: 0 30px;
    }
    
    .intro-content,
    .installation-content,
    .feature-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-item:nth-child(even) .feature-text,
    .feature-item:nth-child(even) .feature-visual {
        order: initial;
    }
    
    .effects-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-text {
        padding: 35px 25px;
        margin: 0 20px;
    }
    
    .hero-english {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 25px;
    }
    
    .hero-value-highlight {
        gap: 10px;
        margin-top: 25px;
    }
    
    .hero-value-item {
        padding: 10px 18px;
        font-size: 13px;
        width: 180px;
        margin-inline: auto;
        justify-content: center;
    }
    
    .hero-value-item i {
        font-size: 14px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn {
        text-align: center;
        padding: 16px 30px;
        font-size: 14px;
    }
    
    .status-bar-inner {
        flex-direction: column;
        gap: 10px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 24px;
        line-height: 1.6;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .video-container {
        margin: 40px 20px;
        border-radius: 12px;
    }
    
    .intro-text h3,
    .installation-text h3,
    .feature-text h3 {
        font-size: 22px;
        line-height: 1.6;
    }
    
    .intro-visual,
    .feature-visual {
        padding: 40px 25px;
    }
    
    .bubble-circle.large {
        width: 100px;
        height: 100px;
        font-size: 16px;
    }
    
    .bubble-circle.small {
        width: 35px;
        height: 35px;
        font-size: 9px;
    }

    .bubble-circle-text {
        font-size: 16px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .bubble-size {
        gap: 20px;
    }
    
    .installation-section {
        padding: 60px 20px;
    }
    
    .effect-card,
    .scene-card {
        padding: 35px 25px;
    }
    
    .effect-icon,
    .scene-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .effect-icon i,
    .scene-icon i {
        font-size: 32px;
    }
    
    .feature-number {
        font-size: 50px;
    }
    
    .timeline {
        padding-left: 40px;
    }
    
    .timeline-item {
        margin-bottom: 40px;
    }
    
    .timeline-time {
        font-size: 15px;
    }
    
    .timeline-title {
        font-size: 18px;
    }
    
    .value-card {
        padding: 35px 25px;
    }
    
    .cta {
        padding: 60px 20px;
    }
    
    .cta h2 {
        font-size: 28px;
        line-height: 1.5;
    }
    
    .cta p {
        font-size: 14px;
    }
    
    .value-highlight {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .value-box {
        padding: 35px 25px;
    }
    
    .value-box i {
        font-size: 40px;
    }
    
    .value-box h3 {
        font-size: 20px;
    }
    
    .value-box p {
        font-size: 14px;
    }
    
    .btn-cta {
        padding: 16px 35px;
        font-size: 14px;
    }
}

/* ========================================
   テキストの改行を整える（PC/SP共通）
   - 見出し: balance で各行の長さを均等化
   - 本文  : pretty で末尾1文字（孤立行）を防止
   - 日本語の単語途中改行を抑える
   ======================================== */
.hero-title,
.section-title,
.intro-text h3,
.effect-card h3,
.scene-card h3,
.feature-text h3,
.gMain h4,
.amHead {
    text-wrap: balance;
    word-break: auto-phrase;
    line-break: strict;
}

/* 文節を途中改行させないためのまとまり */
.wbr {
    display: inline-block;
}

.hero-subtitle,
.section-subtitle,
.intro-text p,
.effect-card p,
.effect-data,
.scene-card p,
.feature-text p,
.gMain p,
.gDetail .gDetailCap h5,
.gDetail .gDetailCap p,
.amCard h4,
.amCard p,
.faq-question,
.faq-answer p,
.installation-caption {
    text-wrap: pretty;
    word-break: auto-phrase;
    line-break: strict;
}