body {
    background: #f7f7f7;
    color: #333;
    font-family: 'Noto Sans JP', sans-serif;
}

.logo {
    padding: 6px;
}

.debug-bar {
    background: #111;
    color: #f5f5f5;
    font-size: 0.9rem;
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.debug-bar-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.debug-title {
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #bdbdbd;
}

.debug-toggle .form-check-input {
    background-color: #444;
    border-color: #666;
}

.debug-toggle .form-check-input:checked {
    background-color: #46b450;
    border-color: #46b450;
}

.debug-toggle .form-check-label {
    color: #f5f5f5;
}

.main {
    width: 100%;
    max-width: 1140px;
    min-width: 300px;
    padding: 0 24px 24px;
}

.header-card {
    background: #4553a3;
    border: 1px solid #3c4891;
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
}

.header-title {
    font-size: 26px;
    line-height: 1.2;
    color: #fff;
}

.header-title .menuhead {
    color: #fff;
    border-bottom: none;
}

.header-subtitle {
    font-size: 12px;
    color: #fff;
    margin-top: 4px;
}

.layout-body {
    margin-top: 20px;
}

.side-column {
    flex: 0 0 25%;
    max-width: 25%;
}

.content-column {
    flex: 0 0 75%;
    max-width: 75%;
}

.side-nav {
    display: grid;
    gap: 10px;
}

.side-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #d9e2ec;
    background: #eef2f7;
    color: #18212f;
    padding: 0;
    border-radius: 10px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.side-toggle-icon {
    font-size: 1.1rem;
}

.side-link {
    display: block;
    padding: 18px 14px;
    border-radius: 10px;
    background: #eef2f7;
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    border: 3px solid #d9e2ec;
    transition: background-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    font-size: 1.125rem;
}

.side-link i {
    margin-right: 8px;
}

.side-link:hover {
    background: #e2e8f0;
    color: #111827;
    transform: translateY(-1px);
}

.side-link.active {
    background: #2c7a7b;
    border-color: #2c7a7b;
    color: #fff;
}

.side-link-compact {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 0.9375rem;
}

.side-separator {
    border-top: 2px dashed #cbd5e0;
    margin: 8px 0;
}

.side-link.link-top {
    background: #eef2f7;
    border-color: #d9e2ec;
    color: #202d3c;
}

.side-link.link-flow {
    background: #f3d3b8;
    border-color: #f3d3b8;
    color: #7a3e1b;
}

.side-link.link-entry {
    background: #d1490f;
    border-color: #d1490f;
    color: #fff;
}

.side-link.link-check {
    background: #c3dafe;
    border-color: #c3dafe;
    color: #2b3a8f;
}

.side-link.link-items {
    background: #f6e05e;
    border-color: #f6e05e;
    color: #6c5500;
}

.side-link.link-reduction {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #5b21b6;
}

.side-link.link-payment-method {
    background: #e6f4ff;
    border-color: #90cdf4;
    color: #1e3a8a;
}

.side-link.link-collection-day {
    background: #f0fff4;
    border-color: #9ae6b4;
    color: #276749;
}

.side-link.link-bring-info {
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #0c4a6e;
}

.side-link.link-notice {
    background: #ffeef0;
    border-color: #feb2b2;
    color: #c24b57;
}

.side-link.active {
    background: #2c7a7b;
    border-color: #2c7a7b;
    color: #fff;
}

.content-card {
    background: #fff;
    padding: 24px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.notice-card {
    background: #e6fffb;
    border: 2px solid #7cc9c3;
    color: #0f5f4a;
    padding: 18px 20px;
    border-radius: 14px;
    font-weight: 600;
}

.notice-card.notice-card-danger {
    background: #fff5f5;
    border-color: #f5c2c2;
    color: #7b2c2c;
}

.notice-card.notice-card-info {
    background: #eef5ff;
    border-color: #a9c8f0;
    color: #1c3d6b;
}

.notice-card.notice-card-warning {
    background: #fff8e6;
    border-color: #f0d98a;
    color: #6b5310;
}

.notice-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    counter-reset: notice;
}

.notice-list li {
    position: relative;
    padding-left: 2.2rem;
}

.notice-list li::before {
    content: counter(notice);
    counter-increment: notice;
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.6rem;
    text-align: center;
    font-weight: 700;
    color: #7b2c2c;
}

.notice-list li + li {
    margin-top: 6px;
}

.contents {
    padding-left: 8px;
}

@media (max-width: 767.98px) {
    .contents {
        padding-left: 0;
        margin-top: 16px;
    }
    /* モバイルで外枠の左右余白を圧縮しコンテンツ幅を確保 (PC値24pxはmin-width:768pxで維持) */
    .main {
        padding-left: 12px;
        padding-right: 12px;
    }
    .header-card {
        padding: 14px;
    }
    .content-card {
        padding: 16px;
    }
}

/* 小型スマホ: さらに左右余白を詰める */
@media (max-width: 480px) {
    .main {
        padding-left: 8px;
        padding-right: 8px;
    }
    .content-card {
        padding: 14px;
    }
}

@media (max-width: 991.98px) {
    .side-column,
    .content-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .side-toggle {
        display: inline-flex;
        margin-bottom: 0;
        position: fixed;
        top: 64px;
        right: 16px;
        z-index: 1300;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    }
    .side-toggle.is-open {
        opacity: 0;
        pointer-events: none;
    }
    .side-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 85vw);
        padding: 16px;
        background: #f9fafb;
        box-shadow: -12px 0 30px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.25s ease;
        z-index: 1200;
        display: grid;
        align-content: start;
    }
    .side-nav.is-open {
        transform: translateX(0);
    }
    .side-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 1100;
    }
    .side-backdrop.is-open {
        opacity: 1;
        pointer-events: auto;
    }
}

.menuhead {
    border-bottom: solid 4px #2c7a7b;
}

.language-box {
    background: #e6fffb;
    border-radius: 12px;
    padding: 12px 16px;
    display: grid;
    gap: 8px;
}

.lang-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-icon {
    color: #1f2937;
    font-size: 1rem;
    flex: 0 0 auto;
}

.font-size-switch .btn {
    min-width: 72px;
}

.font-size-switch .btn.active {
    background-color: #2c7a7b;
    color: #fff;
}

.midline {
    border-top: solid 6px #2c7a7b;
    margin: 24px 0;
}

.button012 {
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #2c7a7b 0%, #319795 100%);
    color: #fff;
    padding: 32px 16px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(44, 122, 123, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button012:hover {
    transform: translateY(-4px);
    color: #fff;
    box-shadow: 0 12px 28px rgba(44, 122, 123, 0.4);
}

.menu-grid .col-12 {
    display: flex;
}

.menu-grid a {
    flex: 1;
}

.menu-grid {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 6px solid #2c7a7b;
    border-radius: 16px;
    padding: 16px;
    margin: 24px 0 0;
    gap: 16px;
}

.menu-grid-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 12px;
}

.menu-grid-title {
    font-size: 26px;
    font-weight: 600;
    color: #2c7a7b;
}

.menu-grid-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-left: auto;
    text-align: right;
}

.menu-grid > .col-12 {
    flex: initial;
    max-width: none;
    width: 100%;
    padding: 0;
}

.guide-option-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.guide-option {
    flex: 1 1 260px;
    border-radius: 14px;
    padding: 18px 20px;
    color: #fff;
}

.guide-option-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.guide-option-text {
    font-size: 14px;
    text-align: left;
}

.guide-option-collect {
    background: #2b6cb0;
}

.guide-option-carry {
    background: #b7791f;
}

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.payment-method-card {
    flex: 1 1 320px;
    border-radius: 14px;
    padding: 18px 20px;
    color: #fff;
}

.payment-method-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.payment-method-text {
    font-size: 14px;
    text-align: left;
}

.payment-method-ticket {
    background: #2f855a;
}

.payment-method-card-credit {
    background: #4c51bf;
}

.payment-method-note {
    margin-top: 12px;
    font-size: 16px;
    color: #6b7280;
}

.payment-method-section h2 {
    text-align: center;
}

.guide-section.guide-section-plain {
    padding: 0;
    border: none;
    box-shadow: none;
    margin-top: 40px;
}

.guide-section.guide-section-plain h2 {
    margin: 0 0 16px;
    text-align: center;
    color: #2f855a;
    font-size: 24px;
}

.guide-section-centered-title h2 {
    text-align: center;
}

.no-collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.no-collection-card {
    text-align: center;
    padding: 16px 12px;
}

.no-collection-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #2f855a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.no-collection-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2933;
    margin-bottom: 6px;
}

.no-collection-note {
    font-size: 12px;
    color: #6b7280;
}

@media (max-width: 767.98px) {
    .menu-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .payment-method-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .no-collection-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c7a7b;
    border-left: 6px solid #2c7a7b;
    padding-left: 12px;
    margin-bottom: 16px;
}

.timeline {
    display: grid;
    gap: 32px;
}

.timeline-item {
    background: #f0fff4;
    border: 2px solid #38a169;
    padding: 16px 20px;
    border-radius: 12px;
}

.timeline-item {
    position: relative;
}

.timeline-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #dd6b20;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-intro {
    background: #2c7a7b;
    color: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    font-weight: 700;
    position: relative;
    margin-bottom: 32px;
}

.timeline-intro::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #dd6b20;
}

.timeline-note {
    background: #38a169;
    color: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 16px;
}

.timeline-note-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-step {
    font-weight: 700;
    color: #2f855a;
    margin-bottom: 4px;
}

.timeline-title {
    margin-left: 8px;
    font-weight: 700;
    color: inherit;
    font-size: inherit;
}

.timeline-body p {
    margin-bottom: 0;
}

.timeline-subtitle {
    display: inline-block;
    background: #d1490f;
    color: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 700;
    margin: 10px 0;
}

.timeline-image {
    margin-top: 12px;
    text-align: center;
}

.timeline-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.timeline-image-grid img {
    width: 100%;
    border-radius: 8px;
}

.timeline-image img,
.timeline-image-grid img {
    border: 1px solid #d1d5db;
}

.timeline-badges {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.timeline-badge {
    display: inline-block;
    border: 1px solid #2f855a;
    color: #2f855a;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
}

.map-embed {
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d1d5db;
}

.map-embed iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.lightbox-overlay img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    background: #fff;
}

.item-card {
    border: none;
    background: #fffdf7;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

.item-list-entry {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ccc;
    padding: 6px 0;
}

.item-list-entry:last-child {
    border-bottom: none;
}

.guide-section {
    margin-top: 20px;
    background: #ffffff;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.entry-mail-card {
    border: 5px solid #2c7a7b;
    background: #fbf6ea;
}

.entry-mail-card .card-body {
    padding: 26px;
    font-size: 1.25rem;
}

.entry-mail-card .form-label,
.entry-mail-card .form-check-label,
.entry-mail-card p,
.entry-mail-card code {
    font-size: 1.25rem;
}

.entry-mail-card .form-control {
    font-size: 1.25rem;
    padding: 0.75rem 1rem;
}

.entry-mail-card .form-control::placeholder {
    color: #cbd5e1;
}

/* placeholder を薄く（入力済みの値と誤認されないように）。
   Bootstrap 既定(#6c757d)は濃く入力値と紛らわしいため、申込/変更フォーム全体で薄い灰色に統一。 */
.form-control::placeholder,
.form-select::placeholder,
textarea::placeholder,
input::placeholder {
    color: #c7cdd6 !important;
    opacity: 1; /* Firefox は既定で opacity を下げるため明示 */
}

.entry-mail-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.entry-mail-alert {
    background: #d1490f;
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    margin-bottom: 25px;
}

.entry-agree {
    background: #e6fffb;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    overflow: hidden;
    border: 1px solid #bfe9e3;
}

.entry-agree .form-check-label {
    cursor: pointer;
}

.entry-agree .form-check-input {
    margin-top: 4px;
    margin-left: 0;
    flex: 0 0 auto;
}

.entry-submit-btn {
    font-size: 1.25rem;
    padding: 0.9rem 3rem;
}

.check-card {
    border: 5px solid #2c7a7b;
    background: #fbf6ea;
}

.check-card .card-body {
    padding: 26px;
    font-size: 1.25rem;
}

.check-card .form-label,
.check-card p {
    font-size: 1.25rem;
}

.check-card .form-control {
    font-size: 1.25rem;
    padding: 0.75rem 1rem;
}

.check-card .form-control::placeholder {
    color: #cbd5e1;
}

.check-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.check-submit-btn {
    font-size: 1.25rem;
    padding: 0.9rem 3rem;
}

.check-phone-card .card-body {
    padding: 26px;
}

.check-phone-body {
    text-align: center;
}

.check-phone-label {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.check-phone-number {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.check-phone-hours {
    font-size: 18px;
    color: #374151;
}

.reduction-card {
    border: 5px solid #2c7a7b;
    background: #fbf6ea;
}

.reduction-card .card-body {
    padding: 26px;
    font-size: 1.25rem;
}

.reduction-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.reduction-lead {
    font-weight: 700;
    margin-bottom: 8px;
}

.reduction-list {
    padding-left: 1.2rem;
    margin-bottom: 16px;
}

.reduction-list li + li {
    margin-top: 6px;
}

.reduction-notes p + p {
    margin-top: 6px;
}

.notice-list {
    display: grid;
    gap: 16px;
    padding-left: 0;
    margin: 0;
}

.notice-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.notice-meta {
    margin-bottom: 8px;
}

.notice-date {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #facc15;
    color: #78350f;
    font-size: 0.85rem;
    font-weight: 700;
}

.notice-title {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #111827;
}

.notice-body {
    margin: 0;
    color: #374151;
    line-height: 1.7;
}

.notice-empty {
    text-align: center;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
}

.notice-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.notice-page-link {
    border: 1px solid #2c7a7b;
    color: #2c7a7b;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.notice-page-link.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.notice-page-status {
    font-weight: 700;
    color: #374151;
}

.home-notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.home-notice-list li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.home-notice-date {
    background: #facc15;
    color: #78350f;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    flex: 0 0 auto;
}

.home-notice-link {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
}

.home-notice-link:hover {
    text-decoration: underline;
}

.home-notice-empty {
    color: #6b7280;
}

.pdf-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    background: #fff3e0;
    border: 2px solid #f6ad55;
    color: #7c2d12;
    text-decoration: none;
    font-weight: 700;
    margin-top: 10px;
}

.pdf-banner:hover {
    background: #ffe8c8;
    color: #7c2d12;
}

.pdf-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #c53030;
    color: #fff;
    font-size: 22px;
    flex: 0 0 auto;
}

.pdf-banner-text {
    font-size: 1rem;
}

.pdf-banner-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.pdf-banner-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    /* 継承頼みだと幅制約下で半端改行(「結構で/す」)が出るため禁則折り返しを明示(AE-R8/R9)。 */
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
}

.pdf-banner-cta {
    margin-left: auto;
    background: #c53030;
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.guide-grid {
    display: block;
    margin-top: 24px;
}

.guide-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.guide-body {
    color: #1f2937;
    line-height: 1.8;
    font-size: 1rem;
    word-break: break-word;
}

a.nav-link.active {
    background-color: #2c7a7b !important;
}

footer {
    padding-top: 16px;
}

.footer-divider {
    border-top: 1px solid #ddd;
    margin: 12px 0;
}

.footer-notice a {
    color: inherit;
    text-decoration: underline;
}

/* ===================================================================
   レスポンシブ調整 (AE-R2〜R9) 2026-06-30
   三区共通レイアウトのため本ブロックで全区に反映される。
   =================================================================== */

/* --- AE-R6: 品目リスト表。table-layout:fixed で列幅(width%)を強制し、
       品目名の長文補足で表が膨張して手数料列が横スクロールに隠れるのを防ぐ。 --- */
.items-table {
    table-layout: fixed;
    width: 100%;
}
.items-table th,
.items-table td {
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow: hidden;   /* 固定幅セルからはみ出した文字が隣列に視覚的に被るのを防ぐ(AE-R6 五十音列) */
}
.items-table td .text-muted.small {
    line-height: 1.4;
}
/* スマホでは五十音列(1列目・ソート補助で必須でない)を隠し、品目名/収集・持込手数料の
   表示幅を確保する。狭幅でヘッダ「五十音」が収まらず分類列にはみ出す問題への対処(AE-R6)。 */
@media (max-width: 575.98px) {
    .items-table th:first-child,
    .items-table td:first-child {
        display: none;
    }
}

/* --- AE-R2 / AE-R3 / AE-R7: 処理券内訳テーブル(step5/6/7)。
       券種トークン(A券N枚 / B券N枚)は view 側で .text-nowrap span 済みなので
       " / " でのみ改行される。ここでは数値列(最終列=処理券内訳 以外の .text-end)を
       折り返さず、狭幅で余白・文字を詰めて読みやすくする。 --- */
.ticket-table td.text-end:not(:last-child),
.ticket-table th.text-end:not(:last-child) {
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .ticket-table th,
    .ticket-table td {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
        font-size: 0.875rem;
    }
    .ticket-table td:first-child,
    .ticket-table th:first-child {
        min-width: 6em;
    }
}

/* --- AE-R8 / AE-R9: 記入用紙ダウンロードバナー(.pdf-banner)。
       狭幅でアイコン/本文/PDFバッジの横並びが本文を圧迫するため縦積みにする。 --- */
@media (max-width: 575.98px) {
    .pdf-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .pdf-banner-icon {
        align-self: flex-start;
    }
    .pdf-banner-text {
        width: 100%;
    }
    .pdf-banner-cta {
        margin-left: 0;
        align-self: flex-start;
    }
}

/* --- AE-R4 / AE-R5: CMS本文の不自然な日本語折り返し緩和。
       本文はDB由来で変更せず、レンダリング用コンテナに継承プロパティを当てる。
       後方宣言で .guide-body の旧 word-break:break-word を上書きする。
       ※電話番号のハイフン分割は本文側 nowrap が必要なため対象外(CSS範囲外)。 --- */
.timeline,
.timeline-intro,
.timeline-note,
.top-content-custom,
.payment-method-grid,
.payment-method-section,
.guide-body,
.guide-section h2 {
    /* keep-all + overflow-wrap:anywhere は日本語の禁則処理を殺した上で「入りきらなければ
       任意位置で割る」ため、「お申し込/み完了」「…ください/。」型の半端改行を生む
       (AE-R4/R5/R8/R9)。normal + line-break:strict で正しい禁則折り返しに戻す。 */
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
}
