:root {
    --red:         #D0002F;
    --red-dark:    #A80025;
    --red-glow:    rgba(208, 0, 47, 0.28);

    --dark:        #1A1A2E;
    --text:        #2D2D3A;
    --text-sub:    #52526A;
    --text-muted:  #8A8AA8;

    /* 背景: 冷たいグレーではなく温かみのあるオフホワイト */
    --bg:          #F8F6F3;
    --bg-white:    #FFFFFF;
    --bg-warm:     #FFF9F4;
    --bg-amber:    #FFFBF0;

    /* ボーダー */
    --border:      #E4DDD6;
    --border-light:#EDE8E2;

    /* シャドウ */
    --shadow-xs:   0 1px 4px rgba(0,0,0,0.06);
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
    --shadow-red:  0 6px 20px rgba(208,0,47,0.30);

    /* 角丸 */
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-full: 100px;

    /* トランジション */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ヘッダー */
.site-header {
    background-color: white;
}

/* 告知バー */
.notice-bar {
    background: #ffffff;
    padding: 0.45rem 0;
}

.notice-bar p {
    font-size: 10px;
    color: #000000;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.01em;
    font-weight: 300;
}

/* エリアヘッダー */
.area-header {
    background-color: var(--red);
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-light);
}

.area-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.area-display {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.area-display p {
    font-size: 1.375rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: -0.01em;
}


.location-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.service-name-wrapper {
    display: flex;
    align-items: center;
}

.service-name {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.service-name-subtitle {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.3;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', YuGothic, 'Meiryo', sans-serif;
    text-transform: none;
}

.service-name-text {
    font-size: 1.125rem;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    position: relative;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* ページタイトル */
.page-title {
    background-color: white;
    padding: 1.5rem 1rem;
    text-align: center;
}

.page-title h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-warm) 100%);
    padding: 1.25rem 0 1.75rem;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    aspect-ratio: 3 / 2;
    background-image: url('/static/images/denki/map.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    mix-blend-mode: multiply;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.cta-section > .container {
    position: relative;
    z-index: 1;
}

/* エリア情報ボックス */
.area-info-box {
    background: linear-gradient(135deg, var(--bg-amber) 0%, #FFF0CE 100%);
    border: 1.5px solid #E8B84B;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-top: 24px;
    margin-bottom: 2rem;
    width: 100%;
    box-shadow:
        0 4px 14px rgba(232, 184, 75, 0.18),
        0 2px 6px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.area-info-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.info-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.area-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #7A5000;
    margin: 0;
    letter-spacing: 0.02em;
}

.area-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.area-coverage {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #8B5A00;
    text-align: center;
}

.area-coverage strong {
    font-size: 1rem;
    font-weight: 700;
    color: #7A4D00;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.2rem;
}

.area-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.area-badge img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.area-detail {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.area-notice {
    margin: 0;
    padding-top: 0.625rem;
    border-top: 1px solid rgba(232, 184, 75, 0.4);
    font-size: 0.82rem;
    color: #9A7030;
    font-weight: 500;
}

.cta-title {
    text-align: center;
    margin-bottom: 1.75rem;
}

.cta-title h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.02em;
}

.cta-h1-with-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1em;
}

.cta-h1-with-logo::after {
    content: '';
    width: 1.5em;
    flex-shrink: 0;
}

.cta-h1-logo {
    height: 1.5em;
    width: 1.5em;
    display: block;
    flex-shrink: 0;
}

.cta-title h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    letter-spacing: 0.01em;
    position: relative;
    display: inline-block;
    line-height: 1.5;
}

.cta-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 480px;
    height: 3px;
    background: linear-gradient(90deg, #D0002F 0%, #A80025 100%);
    border-radius: 2px;
}

.cta-title-area {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-sub);
    margin-top: 0.375rem;
    letter-spacing: 0.04em;
}

.cta-buttons-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cta-feature-text {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-sub);
    margin: 0 0 0.625rem 0;
    letter-spacing: 0.02em;
    line-height: 1.7;
}

.cta-feature-text .marker {
    background: linear-gradient(transparent 68%, rgba(255, 213, 0, 0.45) 68%);
    padding: 0 0.2rem;
    font-weight: 700;
    color: var(--dark);
}

/* GTM計測: ボタン子要素のクリックイベントを親要素に伝播させる */
.cta-button > *,
.modal-button > *,
.modal-close-btn > *,
.faq-question > *,
.form-submit-btn > *,
.flow-phone-link > *,
.scroll-to-top > *,
.complete-back-button > *,
.footer-links a > * {
    pointer-events: none;
}

.cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    min-height: 80px;
    overflow: hidden;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    font-family: inherit;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.38);
}

.cta-button::before {
    content: none;
}

.cta-button .button-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 0.5rem;
    flex: 1;
    min-height: 32px;
    position: relative;
    z-index: 1;
}

/* テキスト中央維持用の左スペーサー */
.cta-button .button-content::before {
    content: '';
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* 円形背景付きシェブロンアロー */
.cta-button .button-content::after {
    content: '';
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
    margin-right: -6px;
}

.cta-button .button-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 0.5rem;
}

.cta-button .button-icon-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 0.5rem;
    color: currentColor;
}

.cta-button .button-text {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', YuGothic, 'Meiryo', sans-serif;
    line-height: 1.4;
}

.cta-button.primary .button-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.cta-button .button-arrow {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 300;
    flex-shrink: 0;
}

.cta-button.primary {
    background: var(--red);
    color: white;
    border: none;
}

.cta-button.secondary {
    background: #8E95A0;
    color: white;
    min-height: 70px;
    border: none;
}

.cta-button.secondary.blue {
    background: #4a90e2;
    border: none;
}


.cta-button.secondary .button-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.cta-button .icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    display: none;
}

.cta-button .phone-number,
.cta-button .sub-text {
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 0.5rem;
    opacity: 0.9;
    line-height: 1.3;
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button.primary .phone-number {
    font-size: 0.75rem;
    opacity: 0.85;
}

.lead-cta-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    border-radius: 12px;
    width: 100%;
}

.warning-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.warning-icon svg {
    width: 24px;
    height: 24px;
}

.lead-cta-box p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
    text-align: justify;
}

/* CVR最適化 - プライマリCTA縦並び */
.primary-cta-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.primary-cta-wrapper {
    position: relative;
    width: 100%;
}

/* 強調されたCTAボタン */
.cta-button.featured {
    position: relative;
    overflow: visible;
    min-height: 80px;
}

/* ボタンテキストラッパー */
.button-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    flex: 1;
    text-align: center;
}

/* 電話受付情報 */
.phone-info {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    color: #888;
}

.phone-center-name {
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0;
    color: #615f5f;
}

.phone-hours {
    font-size: 0.7rem;
    color: #615f5f;
    margin: 0.2rem 0 0;
}

.cta-button.featured .button-text {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.03em;
}

/* ボタンサブタイトル */
.button-subtitle {
    font-size: 0.75rem;
    font-weight: bold;
    opacity: 0.92;
    line-height: 1.4;
    letter-spacing: 0.03em;
    min-height: 1.4em;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', YuGothic, sans-serif;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* ボタン下の補足テキスト */
.primary-cta-wrapper .cta-button-note {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin: 0.25rem 0 0.75rem;
}

/* セカンダリアクション */
.secondary-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0;
    padding-top: 0;
}

/* セカンダリアクション横並びラッパー（SPでは縦並び） */
.web-apply-cta {
    width: 100%;
}

.web-apply-cta .cta-button {
    width: 92%;
}

.secondary-actions-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}


/* 手続きの流れ */
.flow-section {
    background: #FFFFFF;
    padding: 2.5rem 0 1.5rem;
    margin-bottom: 0;
    border-top: 1px solid var(--border-light);
}

.flow-section .container {
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 1.375rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    color: var(--dark);
    letter-spacing: 0.01em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

.flow-steps {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 0.375rem;
    margin-bottom: 1.5rem;
    padding: 0;
    flex-wrap: nowrap;
}

.flow-step-card {
    width: 100%;
    max-width: 180px;
    min-width: 140px;
    flex: 1;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.flow-step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.step-header {
    background: var(--red);
    color: white;
    text-align: center;
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.10em;
}

.step-body {
    padding: 1rem 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex: 1;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.step-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0.01em;
}

.flow-arrow-right {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    flex-shrink: 0;
}

.flow-arrow-right svg {
    width: 20px;
    height: 20px;
    display: block;
}

.flow-phone-box {
    margin-top: 0;
}

.flow-phone-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #D0002F;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    line-height: 1.3;
    box-shadow:
        0 4px 12px rgba(208, 0, 47, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}


.flow-phone-label {
    font-size: 0.75rem;
    font-weight: 500;
}

.flow-phone-number {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.flow-phone-time {
    font-size: 0.65rem;
    opacity: 0.9;
}

.flow-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 1rem;
    max-width: 650px;
    margin: 0 auto;
}

.flow-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2.5rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 80px;
    position: relative;
    overflow: hidden;
}

.flow-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
}

.flow-cta-button.primary {
    background: linear-gradient(135deg, #D0002F 0%, #b8001f 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.flow-cta-button.secondary {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.flow-button-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.flow-button-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    flex: 1;
}

.flow-button-text {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.flow-button-subtext {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.flow-button-arrow {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 300;
    flex-shrink: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* FAQ */
.faq-section {
    background: var(--bg);
    padding: 2.5rem 0 1.5rem;
    margin-bottom: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
    transition: box-shadow 0.2s var(--ease);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.25rem;
    background: white;
    border: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s var(--ease);
}

.faq-question:hover {
    background: var(--bg-warm);
}

.faq-item.active .faq-question {
    background: var(--bg-warm);
}

.faq-toggle-icon {
    margin-left: auto;
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid var(--border);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.faq-item.active .faq-toggle-icon {
    background: var(--red);
    border-color: var(--red);
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--text-muted);
    transition: transform 0.3s var(--ease), background-color 0.2s var(--ease);
}

.faq-item.active .faq-toggle-icon::before,
.faq-item.active .faq-toggle-icon::after {
    background-color: white;
}

.faq-toggle-icon::before {
    width: 2px;
    height: 12px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.faq-toggle-icon::after {
    width: 12px;
    height: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-toggle-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.faq-badge-q {
    background: var(--red);
    color: white;
}

.faq-badge-a {
    background: #3B6FD4;
    color: white;
}

.faq-text {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1.25rem;
    border-top: 1px solid var(--border-light);
    background: #FAFAF8;
}

.faq-answer-content {
    flex: 1;
}

.faq-answer-content p {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.75;
    margin: 0 0 0.625rem 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul {
    margin: 0.75rem 0 0 1.5rem;
    padding: 0;
}

.faq-answer-content li {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.75;
    margin-bottom: 0.4rem;
}

.faq-answer-content li:last-child {
    margin-bottom: 0;
}

/* フッターCTA */
.footer-cta {
    background-color: white;
    padding: 2rem 0;
    margin-bottom: 1rem;
}

.footer-cta .container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* フッター */
.site-footer {
    background-color: var(--dark);
    color: white;
    padding: 0.75rem 0;
    margin-top: 0;
}

.footer-links {
    text-align: center;
    font-size: 0.8rem;
    padding-top: .5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links span {
    margin: 0 0.75rem;
}

.footer-copyright {
    text-align: center;
    margin-top: .5rem;
    padding-top: .5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
}

/* ページトップに戻るボタン */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #d0002f 0%, #a80026 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(208, 0, 47, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 10002;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(208, 0, 47, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* レスポンシブ対応 - タブレット (768px以上) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 2rem;
    }

    .notice-bar p {
        font-size: 10px;
    }

    .area-header {
        padding: 1.25rem 0;
    }

    .area-selector-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .location-icon {
        width: 22px;
        height: 22px;
    }

    .area-display p {
        font-size: 1.5rem;
    }

    .service-name-subtitle {
        font-size: 0.7rem;
    }

    .service-name-text {
        font-size: 1.125rem;
    }

    /* CTAセクション */
    .cta-section {
        padding: 1.5rem 0;
    }

    .area-info-box {
        padding: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .cta-title {
        margin-bottom: 2rem;
    }

    .cta-title h2 {
        font-size: 1.5rem;
    }

    .cta-buttons-group {
        gap: 1rem;
    }

    .cta-button {
        min-height: 80px;
    }

    .cta-button.secondary {
        min-height: 70px;
    }

    .cta-button .button-text {
        font-size: 1.2rem;
    }

    .cta-button.primary .button-text {
        font-size: 1.25rem;
    }

    .cta-button.secondary .button-text {
        font-size: 1rem;
    }

    /* CVR最適化要素 - タブレット */
    .primary-cta-row {
        flex-direction: column;
        gap: 1rem;
    }

    /* PCではボタン内の改行を非表示 */
    .cta-button .button-text br {
        display: none;
    }

    .cta-button.featured {
        min-height: 80px;
    }

    .cta-button.featured .button-text {
        font-size: 1.1rem;
    }

    .button-subtitle {
        font-size: 0.8rem;
    }

    /* セカンダリアクション - 横並び */
    .secondary-actions-row {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        width: 92%;
        margin-left: auto;
        margin-right: auto;
    }

    .secondary-actions-row .secondary-actions {
        flex: 1;
        margin-top: 0;
    }

    .secondary-actions-row .cta-button.secondary {
        width: 100%;
        height: 100%;
    }

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

    /* フローセクション */
    .flow-section {
        padding: 2.5rem 0 1.5rem;
    }

    .flow-steps {
        max-width: 1000px;
        margin: 0 auto 1.5rem;
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .flow-step-card {
        max-width: 200px;
        min-width: 155px;
    }

    .step-header {
        padding: 0.625rem 0.75rem;
        font-size: 0.9rem;
    }

    .step-body {
        padding: 1.25rem 1rem 1rem;
        gap: 0.75rem;
    }

    .step-icon img {
        width: 90px;
        height: 90px;
    }

    .step-text {
        font-size: 0.85rem;
    }

    .flow-arrow-right svg {
        width: 24px;
        height: 24px;
    }

    .flow-cta-buttons {
        flex-direction: row;
        gap: 1.5rem;
        max-width: 900px;
    }

    .flow-cta-button {
        flex: 1;
        min-height: 90px;
        padding: 1.75rem 2.5rem;
    }

    .flow-button-text {
        font-size: 1.3rem;
    }

    .flow-button-subtext {
        font-size: 0.95rem;
    }

    /* FAQセクション */
    .faq-section {
        padding: 3rem 0;
    }

    .faq-list {
        gap: 0.875rem;
    }

    .faq-question {
        padding: 1.5rem;
    }

    .faq-answer-inner {
        padding: 1.5rem;
    }

    .faq-text {
        font-size: 1rem;
    }

    .faq-answer-content p,
    .faq-answer-content li {
        font-size: 0.95rem;
    }

    /* FAQ後の案内セクション */
    .closing-message-title {
        font-size: 1.25rem;
    }

    .closing-availability {
        font-size: 0.85rem;
    }

    .closing-message-text {
        font-size: 0.9rem;
    }

    /* フッター */
    .site-footer {
        padding: 1rem 0;
    }
}

/* レスポンシブ対応 - デスクトップ (1024px以上) */
@media (min-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 2.5rem;
    }

    .notice-bar p {
        font-size: 10px;
    }

    .area-header {
        padding: 1.5rem 0;
    }

    .location-icon {
        width: 24px;
        height: 24px;
    }

    .area-display p {
        font-size: 1.5rem;
    }

    .service-name-text {
        font-size: 1.125rem;
    }

    /* CTAセクション */
    .cta-section {
        padding: 2rem 0;
    }

    .area-info-box {
        padding: 2rem;
        margin-bottom: 3rem;
    }

    .area-info-title {
        font-size: 1.2rem;
    }

    .area-coverage {
        font-size: 1rem;
    }

    .area-coverage strong {
        font-size: 1.1rem;
    }

    .cta-title {
        margin-bottom: 2.5rem;
    }

    .cta-title h2 {
        font-size: 1.5rem;
    }

    .cta-title h2::after {
        bottom: -10px;
    }

    .cta-buttons-group {
        gap: 1.25rem;
    }

    .primary-cta-row {
        flex-direction: column;
        gap: 1.25rem;
    }

    .cta-button {
        min-height: 68px;
        padding: 0.875rem 1.75rem;
    }

    .cta-button.featured {
        min-height: 72px;
    }

    .cta-button.featured .button-text {
        font-size: 1.1rem;
    }

    .cta-button .button-text {
        font-size: 1.15rem;
    }

    .cta-button.primary .button-text {
        font-size: 1.2rem;
    }

    .cta-button.secondary {
        min-height: 60px;
    }

    .cta-button.secondary .button-text {
        font-size: 0.95rem;
    }

    .cta-button .button-arrow {
        font-size: 2rem;
    }

    .phone-info {
        margin-top: 2rem;
        padding-top: 1.25rem;
    }

    .phone-center-name {
        font-size: 0.85rem;
    }

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

    /* フローセクション */
    .flow-section {
        padding: 3rem 0 2rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2.5rem;
    }

    .flow-steps {
        gap: 1rem;
    }

    .flow-step-card {
        max-width: 220px;
        min-width: 170px;
    }

    .step-header {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .step-body {
        padding: 1.5rem 1.25rem 1.25rem;
        gap: 1rem;
    }

    .step-icon img {
        width: 100px;
        height: 100px;
        filter: none;
    }

    .step-text {
        font-size: 0.9rem;
    }

    .flow-arrow-right svg {
        width: 28px;
        height: 28px;
    }

    .flow-cta-buttons {
        gap: 2rem;
        max-width: 960px;
        padding: 0 2rem;
    }

    .flow-cta-button {
        min-height: 100px;
        padding: 2rem 3rem;
    }

    .flow-button-text {
        font-size: 1.4rem;
    }

    .flow-button-subtext {
        font-size: 1rem;
    }

    .flow-button-arrow {
        font-size: 2.75rem;
    }

    /* FAQセクション */
    .faq-section {
        padding: 4rem 0;
    }

    .faq-list {
        gap: 2rem;
    }

    .faq-item {
        border-radius: 20px;
    }

    .faq-question {
        padding: 2rem;
        gap: 1.25rem;
    }

    .faq-badge {
        min-width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .faq-text {
        font-size: 1.1rem;
    }

    .faq-answer-inner {
        padding: 2rem;
        gap: 1.25rem;
    }

    .faq-answer-content p,
    .faq-answer-content li {
        font-size: 1.05rem;
        line-height: 1.8;
    }

    /* FAQ後の案内セクション */
    .closing-message-section {
        padding: 1rem 0;
    }

    .closing-message-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .closing-availability {
        font-size: 0.9rem;
        padding: 0.5em 1.2em;
    }

    .closing-message-text {
        font-size: 0.95rem;
    }

    .closing-message-box .cta-button .button-text {
        font-size: 1.05rem;
    }

    .closing-message-box .cta-button .button-micro-copy {
        font-size: 0.7rem;
    }

    /* フッター */
    .site-footer {
        padding: 1.25rem 0;
        margin-top: 0;
    }

    .footer-links {
        font-size: 0.9rem;
    }

    .footer-copyright p {
        font-size: 1rem;
    }

    /* モーダル */
    .modal-content {
        max-width: 560px;
    }

    .modal-content-large {
        max-width: 680px;
    }
}

@media (max-width: 480px) {
    /* ヘッダー調整 */
    .notice-bar p {
        font-size: 10px;
        padding: 0 0.5rem;
        text-align: left;
    }

    .area-header {
        padding: 0.75rem 0;
    }

    .area-header-content {
        gap: 0.5rem;
    }

    .area-selector-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .location-icon {
        width: 25px;
        height: 25px;
    }

    .service-name-subtitle {
        font-size: 0.55rem;
        letter-spacing: 0.06em;
    }

    .service-name-text {
        font-size: 1.125rem;
    }

    /* エリア情報ボックス調整 */
    .area-info-box {
        padding: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .area-info-title {
        font-size: 1rem;
    }

    .area-coverage {
        font-size: 1.125rem;
    }

    .area-coverage strong {
        font-size: 1.1rem;
    }

    .area-detail {
        font-size: 0.9rem;
    }

    .area-notice {
        font-size: 0.8rem;
    }

    /* その他の調整 */
    .page-title h1 {
        font-size: 1.15rem;
    }

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

    .cta-title h2 {
        font-size: 1.5rem;
    }

    .cta-title h2::after {
        bottom: -8px;
    }

    .cta-button {
        font-size: 0.95rem;
        padding: 0.9rem 1.25rem;
        min-height: 80px;
    }

    .cta-button.secondary {
        min-height: 70px;
    }

    .cta-button .button-text {
        font-size: 1rem;
    }

    .cta-button.primary .button-text {
        font-size: 1.05rem;
    }

    .cta-button.secondary .button-text {
        font-size: 1rem;
    }

    .cta-button .phone-number,
    .cta-button .sub-text {
        font-size: 0.75rem;
    }

    .cta-button.primary .phone-number {
        font-size: 0.7rem;
    }

    .cta-button .button-icon-svg {
        width: 20px;
        height: 20px;
    }

    /* CVR最適化要素 - モバイル */
    .primary-cta-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .secondary-actions-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-button.featured {
        min-height: 75px;
    }

    .cta-button.featured .button-text {
        font-size: 1.1rem;
    }

    .button-subtitle {
        font-size: 0.7rem;
    }

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

    .flow-steps {
        gap: 0.25rem;
        padding: 0;
    }

    .flow-step-card {
        max-width: 130px;
        min-width: 100px;
    }

    .step-header {
        padding: 0.35rem 0.2rem;
        font-size: 0.7rem;
    }

    .step-body {
        padding: 0.65rem 0.4rem 0.5rem;
        gap: 0.4rem;
    }

    .step-icon img {
        width: 48px;
        height: 48px;
    }

    .step-text {
        font-size: 0.6rem;
        line-height: 1.4;
    }

    .flow-arrow-right svg {
        width: 14px;
        height: 14px;
    }

    .flow-cta-button {
        min-height: 75px;
        padding: 1.25rem 2rem;
    }

    .flow-button-text {
        font-size: 1.1rem;
    }

    .flow-button-subtext {
        font-size: 0.8rem;
    }

    .flow-button-arrow {
        font-size: 2.2rem;
    }

    .faq-list {
        gap: 1rem;
    }

    .faq-item {
        border-radius: 12px;
    }

    .faq-question {
        padding: 1rem;
        gap: 0.75rem;
    }

    .faq-badge {
        min-width: 28px;
        height: 28px;
        padding: 0 6px;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    .faq-text {
        font-size: 0.9rem;
    }

    .faq-answer-inner {
        padding: 1rem;
        gap: 0.75rem;
    }

    .faq-answer-content p,
    .faq-answer-content li {
        font-size: 0.85rem;
    }

    .faq-toggle-icon {
        width: 20px;
        height: 20px;
    }

    .faq-toggle-icon::before {
        height: 12px;
    }

    .faq-toggle-icon::after {
        width: 12px;
    }
}

/* モーダルウィンドウ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    cursor: pointer;
    animation: overlayFadeIn 0.3s ease-out;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    margin: 1rem;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 10000;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: visible;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* モーダルヘッダー */
.modal-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    padding: 2rem 2rem 1.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.modal-header-info {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.modal-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 0 0 4px rgba(255, 255, 255, 0.1);
}

.modal-header-icon svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.modal-header-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.modal-header-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

/* クローズボタン - 白枠の右上コーナーにまたがる配置 */
.modal-close-btn {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1a2e;
    border: 3px solid #ffffff;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.modal-close-btn svg {
    width: 18px;
    height: 18px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 3.5rem 2rem 2rem;
}

/* モーダル説明文 */
.modal-description {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #2d3748;
    text-align: center;
    margin: 0.5rem 0 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.modal-description-note {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0.5rem 0 1.5rem;
    font-weight: 500;
}

/* インフォボックス */
.modal-info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: #eff6ff;
    border: 1.5px solid #93c5fd;
    border-radius: 12px;
    padding: 1.25rem;
}

.modal-info-icon {
    flex-shrink: 0;
    color: #3b82f6;
    margin-top: 2px;
}

.modal-info-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.7;
    color: #1e40af;
    margin: 0;
    font-weight: 500;
}

.modal-info-text strong {
    font-weight: 700;
    color: #1e3a8a;
}

/* アラートボックス */
.modal-alert-box {
    background: linear-gradient(135deg, #fff8f6 0%, #fef0ed 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow:
        0 4px 14px rgba(245, 158, 11, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.modal-alert-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
}

.modal-alert-icon {
    flex-shrink: 0;
    color: #f59e0b;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.2));
}

.modal-alert-title {
    font-size: 1rem;
    font-weight: 700;
    color: #d97706;
    letter-spacing: 0.02em;
}

.modal-alert-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #92400e;
    margin: 0;
    font-weight: 500;
}

.modal-alert-text strong {
    font-weight: 700;
    color: #78350f;
}

/* ステップボックス */
.modal-step-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow:
        0 4px 14px rgba(16, 185, 129, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.modal-step-number {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
    letter-spacing: 0.05em;
}

.modal-step-number svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.modal-step-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #065f46;
    margin: 0;
    font-weight: 600;
}

/* ノートボックス */
.modal-note-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border-left: 4px solid #eab308;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    box-shadow:
        0 2px 8px rgba(234, 179, 8, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.modal-note-box-compact {
    padding: 0.875rem 1rem;
    margin-top: 0.5rem;
}

.modal-note-icon {
    flex-shrink: 0;
    color: #ca8a04;
    margin-top: 2px;
}

.modal-note-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #854d0e;
    margin: 0;
    font-weight: 500;
}

/* ディバイダー */
.modal-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e5e7eb 50%, transparent 100%);
}

.modal-divider-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.modal-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #2d3748;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

.modal-note {
    font-size: 0.7rem;
    line-height: 1.7;
    color: #4a5568;
    text-align: center;
    font-weight: 400;
    margin-top: -1rem;
}

/* フッターノート */
.modal-footer-note {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #6b7280;
    text-align: center;
    margin: 0.5rem 0 0;
    font-weight: 500;
}

.modal-footer-help {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #6b7280;
    text-align: center;
    margin: 1rem 0 0;
    font-weight: 500;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.modal-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #636B78;
    color: white;
    padding: 1.25rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    border: none;
    transition: transform 0.2s var(--ease);
    min-height: 60px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.38);
}

.modal-button::before {
    content: none;
}

.modal-button:active {
    transform: translateY(0);
}

.modal-button-text {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.modal-button-arrow {
    font-size: 2rem;
    line-height: 1;
    font-weight: 300;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.modal-button:hover .modal-button-arrow {
    transform: translateX(4px);
}

/* モーダル外部リンクボタン */
.modal-button-external {
    background: #6366f1;
}

/* その他お問い合わせモーダル用 */
.modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin: 0 0 1rem 0;
}

/* ナビゲーション選択肢 */
.modal-option-nav {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.875rem 1rem;
    margin-bottom: 0.625rem;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.modal-option-nav:last-child {
    margin-bottom: 0;
}

.modal-option-nav:hover {
    border-color: #d0002f;
    background: #fef5f5;
}

.modal-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
}

.modal-option-icon--outage {
    background: #fef3c7;
    color: #d97706;
}

.modal-option-icon--facility {
    background: #ffedd5;
    color: #ea580c;
}

.modal-option-icon--contract {
    background: #dbeafe;
    color: #2563eb;
}

.modal-option-icon--general {
    background: #f1f5f9;
    color: #475569;
}

.modal-option-text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
}

.modal-option-text-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.modal-option-text-group .modal-option-text {
    flex: none;
}

.modal-option-subtext {
    font-size: 0.72rem;
    color: #718096;
}

.modal-option-chevron {
    flex-shrink: 0;
    color: #cbd5e0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.modal-option-nav:hover .modal-option-chevron {
    color: #d0002f;
    transform: translateX(2px);
}

.modal-button-phone-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.modal-button-phone-icon svg {
    fill: #d0002f;
    display: block;
}

.modal-note-center {
    text-align: center;
    margin-top: 0.5rem;
}

/* 電力切り替えモーダル用スタイル */
.modal-switch-wrapper {
    margin-bottom: 0.25rem;
}

.modal-switch-btn {
    width: 100%;
    margin-bottom: 0 !important;
}

.modal-switch-btn .modal-button-phone-icon svg {
    fill: white;
}

.modal-switch-btn .modal-button-label {
    font-size: 1.1rem;
}

.modal-switch-note {
    font-size: 0.6rem;
    line-height: 1.6;
    color: #718096;
    text-align: center;
    margin: 0.375rem 0 0;
    font-weight: 400;
}

#switchElectricityModal .modal-button-secondary {
    width: 100%;
}

/* 電気開始モーダル用の追加スタイル */
.modal-content-large {
    max-width: 620px;
}

.modal-text-large {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2d3748;
    margin: 0 0 1.5rem;
    text-align: center;
    font-weight: 600;
}

.modal-button-primary {
    background: var(--red);
    color: white;
    border: none;
    margin-bottom: 0.5rem;
    min-height: 96px;
    padding: 1.125rem 1.5rem;
    border-radius: 15px;
}

.modal-button-secondary {
    background: #4a90e2;
    color: white;
    border: none;
    min-height: 70px;
    border-radius: 15px;
}

.modal-button-secondary .modal-button-label {
    font-size: 1.1rem;
}

.modal-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.875rem;
    position: relative;
    z-index: 1;
}

.modal-button-icon svg {
    width: 24px;
    height: 24px;
}

.modal-button-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.modal-button-label {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.95;
    line-height: 1.3;
}

.modal-button-phone {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.modal-button-time {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.92;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* モーダル レスポンシブ対応 */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 0.5rem;
        border-radius: 16px;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1.25rem;
    }

    .modal-header-icon {
        width: 56px;
        height: 56px;
        box-shadow:
            0 6px 20px rgba(0, 0, 0, 0.12),
            0 0 0 3px rgba(255, 255, 255, 0.1);
    }

    .modal-header-icon svg {
        width: 28px;
        height: 28px;
    }

    .modal-header-title {
        font-size: 1.25rem;
    }

    .modal-header-subtitle {
        font-size: 0.85rem;
    }

    .modal-close-btn {
        width: 32px;
        height: 32px;
        top: -12px;
        right: -8px;
    }

    .modal-close-btn svg {
        width: 16px;
        height: 16px;
    }

    .modal-body {
        padding: 2rem 1.5rem 1.5rem;
        gap: 1rem;
    }

    .modal-info-box,
    .modal-alert-box,
    .modal-step-box {
        padding: 1rem;
        border-radius: 10px;
    }

    .modal-info-icon,
    .modal-alert-icon {
        width: 18px;
        height: 18px;
    }

    .modal-info-text,
    .modal-alert-text,
    .modal-step-text {
        font-size: 1rem;
    }

    .modal-note-box {
        padding: 0.875rem 1rem;
    }

    .modal-note-box-compact {
        padding: 0.75rem 0.875rem;
        margin-top: 0.375rem;
    }

    .modal-note-text {
        font-size: 0.85rem;
    }

    .modal-text {
        font-size: 0.95rem;
    }

    .modal-description {
        margin: 0.375rem 0 0.75rem;
    }

    .modal-description-note {
        font-size: 1.125rem;
        margin: 0.375rem 0 1.25rem;
    }

    .modal-text-large {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .modal-button {
        padding: 1rem 1.5rem;
        min-height: 56px;
        border-radius: 40px;
    }

    .modal-button-primary {
        min-height: 84px;
        padding: 0.875rem 1.125rem;
        border-radius: 15px;
    }

    .modal-button-secondary,
    .modal-button-external {
        min-height: 60px;
    }

    .modal-button-secondary {
        border-radius: 15px;
    }

    .modal-button-text {
        font-size: 0.95rem;
    }

    .modal-button-arrow {
        font-size: 1.75rem;
    }

    .modal-button-label {
        font-size: 0.7rem;
    }

    .modal-button-phone {
        font-size: 1.35rem;
    }

    .modal-button-time {
        font-size: 0.7rem;
    }

    .modal-button-icon svg {
        width: 20px;
        height: 20px;
    }

    .modal-footer-note,
    .modal-footer-help {
        font-size: 0.8rem;
    }

    .modal-step-number {
        font-size: 0.8rem;
        padding: 0.4rem 0.875rem;
    }

    .modal-step-number svg {
        width: 16px;
        height: 16px;
    }

    .scroll-to-top {
        width: 48px !important;
        height: 48px !important;
        bottom: 1rem !important;
        right: 1rem !important;
    }

    .scroll-to-top svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* ===== FV サブタイトル ===== */
.cta-subtitle {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0.75rem 0 0 0;
    letter-spacing: 0.02em;
}

.cta-subtitle2 {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--dark);
    margin: 0.25rem 0 0 0;
    letter-spacing: 0.02em;
}

/* ===== FV 特長リスト ===== */
.cta-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cta-feature-list li {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    padding: 0.25rem 0;
    gap: 0.5rem;
}

.cta-feature-list li::before {
    content: '\2713';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
}

/* ===== CTAマイクロコピー ===== */
.button-micro-copy {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.2rem;
    letter-spacing: 0.02em;
}

/* ===== 当センターの特長セクション ===== */
.features-section {
    background: var(--bg-white);
    padding: 2.5rem 0 1.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.09);
}

.feature-item picture {
    display: block;
    line-height: 0;
}

.feature-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.feature-overlay {
    position: relative;
    background: white;
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.feature-number {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
}

.feature-content {
    flex: 1;
    min-width: 0;
    padding-top: 0.15rem;
}

.feature-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.3rem 0;
    line-height: 1.4;
}

.feature-description {
    font-size: 0.8rem;
    color: var(--text-sub);
    margin: 0;
    line-height: 1.65;
}

@media (min-width: 768px) {
    /* 特長セクション */
    .features-section {
        padding: 3rem 0;
    }

    .feature-overlay {
        padding: 1.5rem 1.75rem 1.75rem;
        gap: 1rem;
    }

    .feature-number {
        font-size: 1.3rem;
        width: 48px;
        height: 48px;
    }

    .feature-heading {
        font-size: 20px;
        margin: 0 0 0.5rem 0;
    }

    .feature-description {
        font-size: 16px;
        line-height: 1.7;
    }
}

/* ===== FAQ後の案内セクション ===== */
.closing-message-section {
    background: var(--bg);
    padding: 1rem 0;
}

.closing-message-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.closing-message-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.75rem 0;
}

.closing-availability {
    font-size: 0.8rem;
    font-weight: 600;
    color: #15803d;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-sm);
    padding: 0.5em 0.9em;
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.availability-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    vertical-align: middle;
    margin-right: 0.3em;
    animation: pulse-dot 2s ease-in-out infinite;
}

.availability-text {
    vertical-align: middle;
}

.closing-availability.is-closed {
    color: var(--text-muted);
    background: var(--bg);
    border-color: var(--border-light);
}

.closing-availability.is-closed .availability-dot {
    background: var(--text-muted);
    animation: none;
}

.cta-availability {
    width: 92%;
    text-align: center;
    margin: 0 0 0.75rem 0;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.closing-message-text {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin: 0 0 1.25rem 0;
    line-height: 1.7;
}

.closing-message-text strong {
    font-weight: 700;
    color: var(--dark);
    background: linear-gradient(transparent 60%, rgba(208, 0, 47, 0.10) 60%);
    padding: 0 0.15em;
}

.closing-message-box .cta-button {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    /* FAQ後の案内セクション - PC版（上部CTAと幅を揃える） */
    .closing-message-box {
        max-width: none;
        padding: 2rem 4%;
    }

    .closing-message-box .closing-availability {
        width: 100%;
        display: block;
        text-align: center;
        margin: 0 auto 0.75rem;
    }

    .closing-message-box .cta-button {
        width: 100%;
        max-width: none;
        min-height: 64px;
    }
}

/* SP/PC 出し分けユーティリティ */
.sp-only { display: none; }
.pc-only { display: block; }
.modal-button.pc-only,
.flow-phone-link.pc-only { display: flex; }

@media (max-width: 767px) {
    .sp-only { display: block; }
    a.sp-only.modal-button,
    a.sp-only.flow-phone-link { display: flex; }
    .pc-only { display: none !important; }
}

/* SP のみ: CTAセクション地図背景 */
@media (max-width: 767px) {
    .cta-section {
        position: relative;
    }

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        aspect-ratio: 3 / 2;
        background-image: url('/static/images/denki/map.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center top;
        mix-blend-mode: multiply;
        opacity: 0.45;
        pointer-events: none;
        z-index: 0;
    }

    .cta-section > .container {
        position: relative;
        z-index: 1;
    }
}
