:root {
    --bg: #ffffff;
    --bg-soft: #f5f5f5;
    --panel: #ffffff;
    --text: #111111;
    --muted: #666666;
    --border: #e5e5e7;
    --accent: #111111;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.brand strong {
    font-weight: 900;
}

.nav {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.nav a {
    padding: 6px 8px;
    border-radius: 999px;
}

.nav a:hover {
    background: #f2f2f2;
}

main {
    min-height: 100vh;
}

.section {
    padding: 56px 0;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 800;
}

.sub {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
}

.sub_product {
    margin: 0 0 48px;
    color: var(--muted);
    font-size: 14px;
}

/* HERO */
#hero .layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 28px;
    align-items: center;
}

@media (max-width: 900px) {
    #hero .layout {
        grid-template-columns: 1fr;
    }
}

.hero-grid {
    display: grid;
    gap: 16px;
}

.hero-card {
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.hero-card-header {
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.hero-tag {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .8;
}

.hero-title {
    font-size: 13px;
    font-weight: 700;
}

.video-frame {
    background: #000;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.video-frame video {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #000;
    display: block;
}

@media (max-width: 600px) {
    .video-frame video {
        height: 220px;
    }
}

.hero-copy p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

.hero-copy p.lead {
    font-size: 15px;
    color: var(--text);
}

.actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s, box-shadow .2s, transform .1s;
}

.btn:hover {
    background: #f2f2f2;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #000;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
}

/* FLOW */

#flow {
    background: var(--bg-soft);
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 800px) {
    .flow-grid {
        grid-template-columns: 1fr;
    }
}

.flow-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 18px 18px 16px;
}

.flow-step {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.flow-title {
    font-weight: 800;
    margin-bottom: 6px;
    font-size: 15px;
}

.flow-body {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

/* PRODUCTS */

#products .sub {
    max-width: 640px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card .tagline {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.card-header-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    justify-content: space-between;
}

.card-title-en {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .05em;
}

.card-title-jp {
    font-size: 13px;
    color: var(--muted);
}

.price-badge {
    font-size: 13px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.card ul {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 13px;
    color: var(--muted);
}

.card li {
    margin-bottom: 4px;
}

/* ★ 撮影方向ブロック */
.shot-angle {
    margin-top: 4px;
    padding: 6px 8px;
    border-radius: 10px;
    background: #f8f8f8;
    font-size: 12px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: baseline;
}

.shot-label {
    font-weight: 700;
    color: #555;
}

.shot-value {
    color: #333;
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    align-items: center;
    padding-top: 10px;
}

.badge {
    display: inline-block;
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 3px 9px;
    font-size: 11px;
    color: var(--muted);
}

.card[data-status="coming"] {
    opacity: 0.55;
}

.card[data-status="coming"] .btn {
    cursor: not-allowed;
}

/* CONTACT */

#contact {
    border-top: 1px solid var(--border);
}

form.contact {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

form.contact .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 700px) {
    form.contact .row {
        grid-template-columns: 1fr;
    }
}

form.contact label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

form.contact input,
form.contact select,
form.contact textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
}

form.contact textarea {
    min-height: 180px;
    resize: vertical;
}

.consent {
    display: flex;
    justify-content: center;
    font-size: 13px;
    gap: 8px;
    align-items: center;
}

.consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

form.contact .submit-row {
    text-align: center;
}

form.contact .hint {
    font-size: 12px;
    color: var(--muted);
}

/* MODAL: プレビュー */

dialog#previewModal {
    border: none;
    border-radius: 16px;
    padding: 0;
    max-width: 900px;
    width: min(94vw, 900px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

dialog#previewModal::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.modal-inner {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 90vh;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.modal-title {
    font-weight: 800;
    font-size: 15px;
}

.modal-price {
    font-size: 13px;
    color: var(--muted);
}

.modal-media {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (max-width: 900px) {
    .modal-media {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.modal-video,
.modal-pdf {
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.modal-pdf iframe {
    width: 100%;
    height: 300px;
    max-height: 360px;
    border: 0;
    border-radius: 12px;
    background: #fff;
}

@media (max-width: 640px) {
    .modal-pdf iframe {
        height: 42vh;
        max-height: none;
        min-height: 240px;
    }
}

.modal-video video {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-head-actions .btn {
    font-size: 0.8rem;
    padding: 4px 10px;
    white-space: nowrap;
}

.media-open-btn-wrapper {
    margin-top: 6px;
    text-align: center;
}

.media-open-btn-wrapper .btn {
    font-size: 0.8rem;
    padding: 4px 10px;
    white-space: nowrap;
}

.modal-media-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.modal-media-buttons .btn {
    font-size: 0.8rem;
    padding: 6px 14px;
}

.pill {
    font-size: 11px;
    color: var(--muted);
}

/* APPLY: 申込みフォームモーダル */

dialog#applyDialog {
    border: none;
    border-radius: 16px;
    padding: 0;
    max-width: 1180px;
    width: min(98vw, 1180px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

dialog#applyDialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.apply-inner {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 90vh;
}

.apply-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.apply-title {
    font-weight: 800;
    font-size: 15px;
}

.apply-sub {
    font-size: 12px;
    color: var(--muted);
}

.apply-summary {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fafafa;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.apply-summary-main {
    font-weight: 700;
}

.apply-summary-right {
    text-align: right;
}

.apply-summary-price {
    font-weight: 800;
    white-space: nowrap;
}

.apply-summary-discount {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

form.apply-form {
    display: grid;
    gap: 14px;
}

.apply-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 640px) {
    .apply-row {
        grid-template-columns: 1fr;
    }
}

.apply-field label {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.apply-field input,
.apply-field select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 13px;
    font-family: inherit;
}

.target-section {
    margin-top: 4px;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fafafa;
}

.target-title {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
}

.target-desc {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--muted);
}

.target-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.5fr 0.5fr 0.5fr 0.5fr;
    gap: 10px 16px;
}

.target-grid>.js-target-fields {
    display: contents;
}

@media (max-width: 640px) {
    .target-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.target-field label {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.target-field select {
    width: 100%;
    padding: 6px 9px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 12px;
    font-family: inherit;
    background: #fff;
}

.apply-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
}

.apply-consent input {
    width: 16px;
    height: 16px;
}

.apply-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.apply-hint {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

footer {
    border-top: 1px solid var(--border);
    padding: 14px 20px;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

.notification {
    margin: 16px 0;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fafafa;
    font-size: 13px;
}

.notification ul {
    margin: 0;
    padding-left: 20px;
}

.flashes {
    list-style: none;
    margin: 10px 0;
    padding: 0;
    display: grid;
    gap: 6px
}

.flash {
    padding: 12px 18px;
    margin: 12px 0;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    animation: flashFadeIn 0.4s ease;
}

@keyframes flashFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-copy {
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #555;
}

.footer-links a {
    color: #555;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links .divider {
    margin: 0 6px;
    color: #999;
}

.flash--success {
    background: rgba(73, 199, 116, 0.15);
    border: 1px solid rgba(73, 199, 116, 0.5);
    box-shadow: 0 0 8px rgba(73, 199, 116, 0.3);
    color: #37b36e;
}

.flash--warning {
    background: rgba(233, 180, 76, 0.15);
    border: 1px solid rgba(233, 180, 76, 0.5);
    box-shadow: 0 0 8px rgba(233, 180, 76, 0.3);
    color: #e3a73b;
}

.flash--error {
    background: rgba(255, 94, 108, 0.15);
    border: 1px solid rgba(255, 94, 108, 0.5);
    box-shadow: 0 0 8px rgba(255, 94, 108, 0.3);
    color: #ff5e6c;
}

.flash:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

/* グローバル：disabledボタンの見た目 */
button[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

.target-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-top: -6px;
}

.info-tooltip {
    display: none;
    position: absolute;
    min-width: 460px;
    max-width: 660px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    z-index: 10;
    top: 22px;
    left: auto;
    right: 0;
}

.target-info:hover .info-tooltip {
    display: block;
}

.target-info.inline {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
}

.target-info.inline .info-tooltip {
    top: 22px;
    left: 0;
}

/* ▼ 複数動画用ブロック */

.items-section {
    margin-top: 4px;
    padding: 12px 12px 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fafafa;
}

.items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.items-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}

.items-desc {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--muted);
}

.add-item-btn {
    border: none;
    background: none;
    font-size: 11px;
    color: var(--muted);
    cursor: pointer;
    padding: 2px 4px;
    user-select: none;
    -webkit-user-select: none;
}

.add-item-btn:hover {
    text-decoration: underline;
}

.item-row {
    margin-top: 8px;
    padding: 10px 10px 8px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
}

.item-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
}

.item-row-title {
    font-weight: 700;
}

.item-remove-btn {
    border: none;
    background: none;
    font-size: 11px;
    color: var(--muted);
    cursor: pointer;
    padding: 2px 4px;
    user-select: none;
    -webkit-user-select: none;
}

.item-remove-btn:hover {
    text-decoration: underline;
}

.item-row .target-grid {
    margin-top: 6px;
}

#applyDialog,
#confirmApplyDialog {
    border: 2px solid #222;
    border-radius: 16px;
}

.faq-list {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.faq-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f7f7f9;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.95rem;
}

.faq-q {
    font-weight: 600;
    color: #222;
}

.faq-icon {
    font-size: 1rem;
}

.faq-a {
    display: none;
    line-height: 1.6;
    color: #444;
    padding: 10px 14px 12px;
    border-top: 1px solid #e5e5e7;
}

.faq-item.is-open .faq-a {
    display: block;
}

.faq-item.is-open .faq-header {
    background: #fff;
}

.faq-shot-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 0.9rem;
}

.faq-shot-table th,
.faq-shot-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
}

.faq-shot-table th {
    background: #f5f5f5;
    font-weight: 600;
    text-align: left;
}

/* ▼ actual / ideal タブ用 */
.analysis-tabs {
    display: inline-flex;
    gap: 4px;
    margin: 10px 0 6px;
    padding: 2px;
    background: #f5f5f7;
    border-radius: 999px;
}

.analysis-tab {
    border: none;
    background: transparent;
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 999px;
    cursor: pointer;
    color: #555;
    white-space: nowrap;
}

.analysis-tab.is-active {
    background: #222;
    color: #fff;
    font-weight: 600;
}

.analysis-tab[data-mode="ideal"]:not(.is-active) {
    background-color: #7fd6e8;
    color: #ffffff;
    border-radius: 999px;
    padding: 3px 12px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.analysis-tab[data-mode="ideal"]:not(.is-active):hover {
    background-color: #32c9df;
    color: #ffffff;
}

.analysis-tab[data-mode="ideal"].is-active {
    background-color: #009bb8;
    color: #ffffff;
    border-radius: 999px;
    padding: 3px 12px;
    font-weight: 600;
}

.analysis-bullets {
    margin: 0 0 10px;
    padding-left: 18px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.modal-bullets {
    margin: 8px 0 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.modal-bullets-list {
    margin: 0 0 0 18px;
    padding-left: 0;
}

.modal-bullets-list li {
    margin-bottom: 2px;
}

.faq-shot-list {
    margin: 6px 0 0 18px;
    padding-left: 0;
}

.faq-shot-list li {
    margin-bottom: 2px;
    list-style: disc;
}

/* NEWS */
.news-list {
    margin-top: 16px;
    padding-left: 0;
    list-style: none;
}

.news-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #e5e5e7;
}

.news-date {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.news-text {
    color: #444;
    line-height: 1.5;
}

/* ===== お問い合わせ確認モーダル ===== */
.confirm-modal {
    border: none;
    padding: 0;
    border-radius: 12px;
    max-width: 380px;
    width: 90%;
}

.confirm-modal::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

.confirm-modal-inner {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
}

.confirm-modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.grecaptcha-badge {
    visibility: hidden;
    pointer-events: none;
}

.pill-mode-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ccc;
}

.pill-mode-badge.is-ideal {
    background: #e0f7ff;
    color: #006b8f;
    border: 1px solid #00a4d6;
}

.pill-frame-note {
    font-size: 0.75rem;
    color: #555;
}

.preview-mode-toggle {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.preview-mode-btn {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
}

.preview-mode-btn.is-active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

.ideal-available-note {
    margin: 8px 0 0;
    font-size: 12px;
    color: #4b5563;
}

.analysis-bullets {
    margin-top: 10px;
}

.ideal-note-highlight {
    color: #8ad8e8;
}

.ideal-note-link {
    text-decoration: none;
    color: #8ad8e8;
}

.ideal-note-link:hover {
    text-decoration: underline;
}

#faq-model-compare {
    scroll-margin-top: 80px;
}

.discount-banner {
    position: relative;
    margin: 8px 0 14px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
}

.discount-banner__headline {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    padding-right: 56px;
}

.discount-banner__note {
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.4;
    opacity: 0.72;
}

.discount-banner--once {
    margin: 10px 0 18px;
    padding: 10px 12px;
}

.discount-banner--once .discount-banner__headline {
    font-size: 0.9rem;
}

.discount-banner--once .discount-banner__note {
    font-size: 0.8rem;
}

.school-note {
    margin-top: 32px;
    font-size: 0.82rem;
    line-height: 1.4;
    opacity: 0.70;
}

.school-note__label {
    margin-right: 6px;
}

.school-note__link {
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.95;
}

.school-note__link:hover {
    opacity: 1;
}

/* iPhone向け：PDFが表示されない案内（白背景で見えるように） */
.pdf-ios-note {
    color: #111;
    font-size: 12px;
    line-height: 1.5;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    margin: 8px 0;
}

#report-preview .sub {
    text-align: left;
    margin-bottom: 20px;
    opacity: 0.9;
}

.report-thumb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}


.report-thumb-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    opacity: 0.8;

    -webkit-mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 70%,
            rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 70%,
            rgba(0, 0, 0, 0) 100%);
}


.report-thumb-caption {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 6px;
    opacity: 0.9;
}

#report-preview .inline-link {
    text-decoration: underline;
    font-weight: 500;
}

#report-preview .inline-link:hover {
    opacity: 0.8;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .report-thumb-grid {
        grid-template-columns: 1fr;
    }
}