* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #004999;
    --accent-color: #00a8ff;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --gray: #e9ecef;
    --border-color: #dee2e6;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ナビゲーション */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: relative;
    width: 25px;
    height: 21px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s;
    position: absolute;
    left: 0;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    background: transparent;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.hero-phone {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
}

.hero-phone-label {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-shadow: none;
}

.hero-phone-number {
    display: block;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 0.25rem;
    text-shadow: none;
    transition: all 0.3s;
    letter-spacing: 0.02em;
}

.hero-phone-number:hover {
    color: var(--secondary-color);
    transform: scale(1.02);
}

.hero-phone-hours {
    color: #666;
    font-size: 0.7rem;
    font-weight: 400;
    text-shadow: none;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.hero-feature-item {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* セクション */
.section {
    padding: 80px 20px;
}

.section.bg-light {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

/* 酸素ハウスについて */
.about-intro {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.intro-image {
    flex-shrink: 0;
    text-align: center;
}

.intro-text-wrapper {
    flex: 1;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

.oxygen-concentrator {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.image-caption {
    margin-top: 1rem;
    color: #666;
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* セクションCTA */
.section-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 12px;
}

.section-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.cta-button-secondary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.cta-button-secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ご利用の流れ */
.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    color: var(--text-color);
    line-height: 1.7;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.flow-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    color: #856404;
}

/* 使い方 */
.howto-content {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.video-wrapper iframe {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.safety-precautions {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: var(--light-gray);
}

.accordion-icon {
    font-size: 1rem;
    transition: transform 0.3s;
}

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

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 2rem;
}

.accordion-content.active {
    max-height: 1000px;
    padding: 0 2rem 2rem;
}

.precautions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.precaution-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.precaution-icon {
    font-size: 2rem;
}

.precaution-item p {
    font-weight: 500;
    color: var(--text-color);
}

/* 料金 */
/* 基本料金の強調表示 */
.pricing-intro-highlight {
    margin-bottom: 2rem;
}

.basic-fee-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.3);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.basic-fee-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.fee-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.basic-fee-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.fee-amount {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.yen-sign {
    font-size: 2.5rem;
    font-weight: 700;
}

.amount {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.tax-note {
    font-size: 1.2rem;
    opacity: 0.9;
}

.fee-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.fee-notes {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.note-item {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.pricing-separator {
    text-align: center;
    margin: 2rem 0;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-intro-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
}

/* 料金プランの注釈テキスト */
.pricing-note {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.6;
}

/* より小さい注釈テキスト（詳細説明用） */
.pricing-intro .pricing-note-small {
    margin-top: 0.5rem;
    margin-bottom: 0;
    color: #666;
    font-size: 0.8rem !important;
    font-weight: 400;
    line-height: 1.5;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-cards-wrapper {
    position: relative;
    overflow: visible;
}

.pricing-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.plan-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-gray);
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pricing-card h3 {
    color: var(--primary-color);
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
}

.plan-description {
    padding: 0 1.5rem;
    color: #666;
    margin-bottom: 1rem;
}

.price-detail {
    padding: 1.5rem;
    border-top: 1px solid var(--gray);
}

.price-item {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.price-item strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.plan-includes {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 100%);
    border-top: 2px solid var(--accent-color);
}

.includes-note {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.additional-options {
    max-width: 1200px;
    margin: 0 auto 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.additional-options .assembly-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.additional-options .assembly-section h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.assembly-note {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

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

.video-item {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
}

.video-label {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: center;
}

.video-item .video-wrapper {
    margin-bottom: 0;
}

.additional-options h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
    position: relative;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.15);
    border-color: var(--accent-color);
}

.cage-only-option {
    background: var(--light-gray);
    border: 2px solid transparent;
}

.cage-only-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc 0%, #00a8ff 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.option-image {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.option-image .monitor-image {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.option-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.option-price {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price-unit {
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
}

.option-description {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

.option-note {
    color: #856404;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.75rem;
    line-height: 1.5;
}

.pricing-notes {
    text-align: center;
    color: #666;
}

.pricing-notes p {
    margin-bottom: 0.5rem;
}

/* FAQ セクション */
.faq-section {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.faq-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 2px solid var(--gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s;
    font-family: inherit;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-question[aria-expanded="true"] {
    background-color: rgba(0, 102, 204, 0.05);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.faq-text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.5;
}

.faq-arrow {
    flex-shrink: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 1.5rem;
    background: var(--white);
}

.faq-answer.active {
    max-height: 1000px;
    padding: 1.5rem;
    border-top: 1px solid var(--gray);
}

.answer-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
    margin-left: 2.5rem;
}

.calculation-examples {
    margin-left: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calc-example {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.calc-example h4 {
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.calc-example ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.calc-example li {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.calc-example li.total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px solid var(--primary-color);
    font-size: 1.1rem;
    color: var(--primary-color);
}

.calc-example li.total strong {
    font-size: 1.3rem;
}

/* 設置サービスカード内のボタン */
.assembly-guide-button {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.assembly-guide-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-description {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.modal-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-video-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-video-item .video-wrapper {
    margin-bottom: 0;
}

.modal-video-item .video-wrapper iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* お問い合わせ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info > p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.7;
}

.contact-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.required {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* フッター */
footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #bdc3c7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.9rem;
    color: #95a5a6;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.4;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-feature-item {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .hero-phone {
        padding: 1rem 1.5rem;
        width: 100%;
    }

    .hero-phone-label {
        font-size: 0.85rem;
    }

    .hero-phone-number {
        font-size: 1.5rem;
    }

    .hero-phone-hours {
        font-size: 0.8rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 1rem 2rem;
        width: 100%;
    }


    .section-title {
        font-size: 1.8rem;
    }

    .flow-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .video-wrapper iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .assembly-videos {
        grid-template-columns: 1fr;
    }

    .about-intro {
        flex-direction: column;
    }

    .precautions-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1.5rem;
        padding-bottom: 1rem;
    }

    .pricing-cards::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* 基本料金カードのレスポンシブ */
    .basic-fee-card {
        padding: 2rem 1.5rem;
    }

    .basic-fee-card h3 {
        font-size: 1.5rem;
    }

    .amount {
        font-size: 4rem;
    }

    .yen-sign {
        font-size: 2rem;
    }

    .fee-notes {
        padding: 1rem;
    }

    /* FAQのレスポンシブ */
    .faq-section {
        padding: 1.5rem;
    }

    .faq-section h3 {
        font-size: 1.5rem;
    }

    .faq-answer p {
        margin-left: 0;
    }

    .calculation-examples {
        margin-left: 0;
    }

    .calc-example {
        padding: 1rem;
    }

    /* モーダルのレスポンシブ */
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
        max-height: 95vh;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .modal-videos {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 50px 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .nav-brand h1 {
        font-size: 1.3rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-features {
        gap: 0.75rem;
    }

    .hero-feature-item {
        font-size: 0.9rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 1.25rem;
        margin-top: 1.25rem;
    }

    .hero-phone {
        padding: 0.9rem 1.25rem;
        width: 100%;
    }

    .hero-phone-label {
        font-size: 0.8rem;
    }

    .hero-phone-number {
        font-size: 1.35rem;
    }

    .hero-phone-hours {
        font-size: 0.75rem;
    }

    .cta-button {
        font-size: 0.95rem;
        padding: 0.9rem 1.8rem;
        width: 100%;
    }

    .cta-button-secondary {
        font-size: 0.95rem;
        padding: 0.9rem 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-cta p {
        font-size: 1rem;
    }
}
