/* ============================================================
   COUPPLY - 下層ページ共通スタイル (Design Renewal)
   会社概要 / お問い合わせ / 規約類 / お知らせ / コラム / ヘルプ
   ============================================================ */

/* ---------- ページコンテナ ---------- */
.page-container {
    padding: calc(var(--header-h) + 56px) 24px 40px;
    width: 100%;
    min-height: 60vh;
}

/* NOTE: backdrop-filterを付けると内部のposition:fixed要素（画像モーダル等）の
   基準がビューポートでなくこのボックスになるため使用しない */
.page-content {
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 64px);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

/* ---------- パンくず ---------- */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
}

.breadcrumb a {
    color: var(--violet);
    transition: opacity 0.25s;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb span {
    color: #a5a1ba;
}

/* ---------- 見出し ---------- */
.page-title {
    font-size: clamp(26px, 4.2vw, 38px);
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 18px;
}

.page-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(92deg, var(--violet) 0%, #b56cff 60%, #ff7eb3 100%);
}

.section-title {
    font-size: clamp(19px, 2.6vw, 24px);
    font-weight: 700;
    line-height: 1.6;
    margin: 48px 0 20px;
    padding-left: 16px;
    position: relative;
    color: var(--ink);
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    bottom: 0.35em;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--violet) 0%, #ff7eb3 100%);
}

.page-content>.section-title:first-of-type {
    margin-top: 0;
}

/* ---------- 本文の基本 ---------- */
.page-content p {
    color: var(--ink-2);
    line-height: 2;
}

.page-content a:not([class]) {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(109, 74, 255, 0.35);
}

.page-content a:not([class]):hover {
    text-decoration-color: var(--violet);
}

/* ============================================================
   運営会社 / 特定商取引法
   ============================================================ */
.info-table {
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.info-row {
    display: flex;
    border-bottom: 1px solid var(--line);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    flex: 0 0 32%;
    max-width: 220px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(233, 227, 252, 0.55), rgba(220, 235, 255, 0.45));
    font-size: 13.5px;
    font-weight: 700;
    color: var(--violet);
    line-height: 1.7;
}

.info-value {
    flex: 1;
    padding: 18px 22px;
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.9;
}

.info-value ul {
    padding-left: 20px;
    list-style: disc;
}

.mission-content {
    margin-bottom: 24px;
}

.mission-content p {
    margin-bottom: 20px;
    font-size: 15px;
}

/* ============================================================
   お問い合わせ
   ============================================================ */
.support-intro {
    margin-bottom: 28px;
    font-size: 15px;
}

.support-page a:not([class]) {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.important-notice {
    margin: 24px 0 36px;
    padding: 22px 26px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 227, 238, 0.6), rgba(255, 248, 240, 0.7));
    border: 1px solid rgba(255, 126, 179, 0.25);
    font-size: 14px;
    line-height: 1.9;
}

.contact-section {
    margin-bottom: 36px;
}

.contact-method {
    margin: 20px 0;
    padding: 26px 28px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
}

.contact-method h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-info {
    font-size: 14.5px;
}

.contact-info a {
    color: var(--violet);
}

.contact-form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 15px 36px;
    border-radius: 999px;
    background: linear-gradient(94deg, var(--violet) 0%, var(--violet-soft) 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none !important;
    box-shadow: 0 16px 36px -14px rgba(109, 74, 255, 0.65);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.contact-form-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 44px -14px rgba(109, 74, 255, 0.75);
}

/* ============================================================
   利用規約 / プライバシーポリシー / 子どもの安全ポリシー
   ============================================================ */
.terms-date,
.policy-date,
.childsafetypolicy-date {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
    font-family: var(--font-en);
}

.terms-section,
.policy-section,
.childsafetypolicy-section {
    margin-bottom: 36px;
}

.terms-section p,
.policy-section p,
.childsafetypolicy-section p {
    margin-bottom: 14px;
    font-size: 14.5px;
}

.terms-list,
.policy-list,
.childsafetypolicy-list {
    margin: 14px 0 14px;
    padding-left: 26px;
    list-style: decimal;
}

.terms-list li,
.policy-list li,
.childsafetypolicy-list li {
    margin-bottom: 10px;
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.9;
}

.terms-list li ol,
.policy-list li ol,
.childsafetypolicy-list li ol {
    margin-top: 10px;
    padding-left: 24px;
    list-style: lower-alpha;
}

.content-description {
    margin-bottom: 24px;
    font-size: 14.5px;
}

/* ============================================================
   記事共通（お知らせ詳細 / コラム記事 / ヘルプ記事）
   ============================================================ */
.column-article {
    max-width: 760px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.article-date {
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--muted);
}

.article-category {
    padding: 3px 14px;
    border-radius: 999px;
    background: rgba(109, 74, 255, 0.09);
    color: var(--violet);
    font-size: 11.5px;
    font-weight: 700;
}

.article-category.label-press {
    background: rgba(255, 111, 159, 0.14);
    color: #e0447e;
}

.article-category.label-media {
    background: rgba(18, 158, 118, 0.12);
    color: #0f9d77;
}

.article-title {
    font-size: clamp(23px, 3.6vw, 32px);
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 20px;
}

.article-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(92deg, var(--violet) 0%, #b56cff 60%, #ff7eb3 100%);
}

.article-content {
    font-size: 15.5px;
    color: var(--ink-2);
    line-height: 2;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2:not(.column-title),
.article-content h2.section-title {
    font-size: clamp(19px, 2.6vw, 23px);
    font-weight: 700;
    color: var(--ink);
    margin: 52px 0 20px;
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.article-content h2:not(.column-title)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    bottom: 0.35em;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--violet) 0%, #ff7eb3 100%);
}

.article-content h3 {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 36px 0 14px;
}

.article-content h3.section-title {
    padding-left: 16px;
}

.article-content h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 26px 0 10px;
}

.article-content ul:not([class]),
.article-content ol:not([class]) {
    margin: 14px 0 22px;
    padding-left: 24px;
}

.article-content ul:not([class]) {
    list-style: disc;
}

.article-content ol:not([class]) {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.9;
}

.article-content strong {
    font-weight: 700;
    color: var(--ink);
    background: linear-gradient(transparent 68%, rgba(139, 108, 255, 0.22) 68%);
}

.article-content a:not(.column-link):not(.news-more-btn):not(.friend-add-button):not(.cta-button):not(.back-link) {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(109, 74, 255, 0.35);
    transition: opacity 0.25s;
}

.article-content a:not(.column-link):not(.news-more-btn):not(.friend-add-button):not(.cta-button):not(.back-link):hover {
    opacity: 0.75;
}

.article-section {
    margin-bottom: 36px;
}

.article-intro {
    margin-bottom: 32px;
    padding: 24px 28px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(233, 227, 252, 0.5), rgba(220, 235, 255, 0.4));
    border: 1px solid rgba(139, 108, 255, 0.18);
}

.article-intro p {
    margin-bottom: 12px;
    font-size: 14.5px;
}

.article-intro p:last-child {
    margin-bottom: 0;
}

.article-image {
    margin: 24px 0 28px;
}

.article-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    margin: 0 auto;
}

.article-list {
    margin: 14px 0 22px;
    padding-left: 24px;
    list-style: disc;
}

.article-list li {
    margin-bottom: 8px;
}

.article-list strong {
    font-weight: 700;
    color: var(--ink);
}

.article-footer {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 34px;
    border-radius: 999px;
    border: 1.5px solid rgba(109, 74, 255, 0.35);
    color: var(--violet);
    font-weight: 700;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.6);
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.back-link:hover {
    background: rgba(109, 74, 255, 0.08);
    border-color: var(--violet);
    transform: translateY(-2px);
}

/* ---------- 目次 ---------- */
.table-of-contents {
    margin: 32px 0 40px;
    padding: 26px 30px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(139, 108, 255, 0.2);
}

.table-of-contents h2,
.table-of-contents h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--violet);
    margin: 0 0 14px;
    padding: 0;
    letter-spacing: 0.08em;
}

.table-of-contents h2::before,
.table-of-contents h3::before {
    display: none;
}

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

.toc-list>li {
    margin-bottom: 8px;
}

.toc-list>li>a {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 500;
    counter-increment: toc;
    transition: color 0.25s;
}

.toc-list>li>a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    color: var(--violet);
}

.toc-list>li>a:hover {
    color: var(--violet);
}

.toc-sublist {
    margin: 8px 0 12px;
    padding-left: 34px;
    list-style: none;
}

.toc-sublist li {
    margin-bottom: 6px;
}

.toc-sublist a {
    font-size: 13.5px;
    color: var(--muted);
    transition: color 0.25s;
}

.toc-sublist a:hover {
    color: var(--violet);
}

/* ---------- ハイライトボックス類 ---------- */
.highlight-box {
    margin: 24px 0;
    padding: 22px 26px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(223, 246, 236, 0.7), rgba(220, 235, 255, 0.5));
    border: 1px solid rgba(88, 184, 146, 0.25);
}

.highlight-box p {
    margin-bottom: 10px;
    font-size: 14.5px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.highlight-box strong {
    color: #2e8f6c;
    background: none;
}

.warning-highlight {
    margin: 24px 0;
    padding: 22px 26px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 227, 238, 0.65), rgba(255, 248, 240, 0.7));
    border: 1px solid rgba(255, 126, 179, 0.3);
    font-size: 14.5px;
}

.note,
.info-content .note {
    font-size: 13px;
    color: var(--muted);
}

.highlight-link a {
    color: var(--violet);
    font-weight: 700;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 38px;
    border-radius: 999px;
    background: linear-gradient(94deg, var(--violet) 0%, var(--violet-soft) 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 16px 36px -14px rgba(109, 74, 255, 0.65);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 44px -14px rgba(109, 74, 255, 0.75);
}

/* ============================================================
   コラム一覧
   ============================================================ */
.column-intro {
    margin-bottom: 40px;
}

.column-intro p {
    font-size: 15px;
    color: var(--muted);
}

.column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.column-card {
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -14px rgba(23, 20, 43, 0.12);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}

.column-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -18px rgba(109, 74, 255, 0.35);
    border-color: rgba(139, 108, 255, 0.4);
}

.column-link {
    display: block;
}

.column-image {
    /* サムネイル画像は1200x630(1.91:1)で統一 */
    aspect-ratio: 1200 / 630;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lavender), var(--baby-blue));
}

.column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.column-card:hover .column-image img {
    transform: scale(1.05);
}

.column-content {
    padding: 20px 22px 24px;
}

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

.column-date {
    font-family: var(--font-en);
    font-size: 12.5px;
    color: var(--muted);
}

.column-category {
    margin-left: 10px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(109, 74, 255, 0.09);
    color: var(--violet);
    font-size: 11px;
    font-weight: 700;
}

.column-title {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.65;
    color: var(--ink);
    margin-bottom: 10px;
}

.column-excerpt {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 関連記事 ---------- */
.related-articles {
    margin-top: 64px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}

.related-articles h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.related-card {
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -14px rgba(23, 20, 43, 0.12);
    overflow: hidden;
    transition: transform 0.35s, box-shadow 0.35s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px -18px rgba(109, 74, 255, 0.35);
}

.related-link {
    display: block;
}

.related-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 16px 18px 20px;
}

.related-meta,
.related-date {
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--muted);
}

.related-title {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--ink);
}

.related-excerpt {
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   アプリ比較記事コンポーネント
   ============================================================ */
.app-main-visual {
    margin: 20px 0 28px;
}

.app-main-visual img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    margin: 0 auto;
}

/* 比較表 */
.app-table {
    width: 100%;
    margin: 20px 0 32px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-size: 13.5px;
    background: rgba(255, 255, 255, 0.85);
}

.app-table th,
.app-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}

.app-table th:last-child,
.app-table td:last-child {
    border-right: none;
}

.app-table th {
    background: linear-gradient(135deg, rgba(233, 227, 252, 0.7), rgba(220, 235, 255, 0.55));
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

.app-table tbody tr:last-child td {
    border-bottom: none;
}

.app-table td strong {
    color: var(--violet);
}

.app-table ul,
ul.app-table-list {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
    border: none;
    background: none;
}

.app-table ul li,
ul.app-table-list li {
    margin-bottom: 4px;
    line-height: 1.7;
}

body .app-table a {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* アプリ概要リスト */
.app-summary-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
}

.app-summary-logo {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px -10px rgba(23, 20, 43, 0.25);
}

.app-summary-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-summary-content {
    flex: 1;
    min-width: 0;
}

.app-summary-description {
    font-size: 13.5px;
    color: var(--muted);
}

.app-summary-links {
    margin-top: 10px;
}

/* ダウンロードリンク */
.article-app-download {
    margin: 32px 0;
    padding: 28px 30px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(233, 227, 252, 0.55), rgba(255, 227, 238, 0.45));
    border: 1px solid rgba(139, 108, 255, 0.2);
    text-align: center;
}

.download-title {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-app-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 26px -12px rgba(23, 20, 43, 0.3);
}

.download-app-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.download-links img {
    height: 46px;
    width: auto;
    transition: transform 0.3s;
}

.download-links a:hover img {
    transform: translateY(-2px) scale(1.03);
}

.download-links .friend-add-button,
.friend-add-button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    background: linear-gradient(94deg, var(--violet) 0%, var(--violet-soft) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    box-shadow: 0 12px 28px -12px rgba(109, 74, 255, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-links .friend-add-button:hover,
.friend-add-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -12px rgba(109, 74, 255, 0.7);
}

.official-website-link {
    margin: 12px 0 24px;
    font-size: 13.5px;
}

.official-website-link a {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.official-website-link a:hover {
    opacity: 0.75;
}

/* ============================================================
   診断（クイズ）
   ============================================================ */
.app-quiz-section {
    margin: 40px 0;
    padding: 30px 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, rgba(233, 227, 252, 0.6) 0%, rgba(220, 235, 255, 0.5) 60%, rgba(223, 246, 236, 0.5) 100%);
    border: 1px solid rgba(139, 108, 255, 0.22);
}

.app-quiz-section h2 {
    margin: 0 0 12px;
    padding: 0;
    font-size: 20px;
    font-weight: 900;
}

.app-quiz-section h2::before {
    display: none;
}

.app-quiz-section p {
    font-size: 14px;
    margin-bottom: 18px;
}

.quiz-container {
    margin-top: 6px;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(23, 20, 43, 0.08);
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    position: relative;
}

.quiz-option:hover {
    border-color: rgba(139, 108, 255, 0.5);
    transform: translateY(-2px);
}

.quiz-option:has(input[type="checkbox"]:checked) {
    border-color: var(--violet);
    box-shadow: 0 10px 26px -12px rgba(109, 74, 255, 0.45);
    background: linear-gradient(135deg, rgba(233, 227, 252, 0.8), rgba(255, 255, 255, 0.9));
}

.quiz-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkmark {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    border: 2px solid rgba(109, 74, 255, 0.4);
    background: #fff;
    position: relative;
    transition: background 0.25s, border-color 0.25s;
}

.quiz-option input[type="checkbox"]:checked+.checkmark {
    background: linear-gradient(135deg, var(--violet), var(--violet-soft));
    border-color: var(--violet);
}

.quiz-option input[type="checkbox"]:checked+.checkmark:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.quiz-option input[type="checkbox"]:checked~span:not(.checkmark) {
    color: var(--violet);
    font-weight: 700;
}

.quiz-result {
    margin-top: 24px;
}

.quiz-result h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--ink);
}

.quiz-result-hidden {
    display: none;
}

.recommended-apps {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(109, 74, 255, 0.4) transparent;
}

.recommended-apps::-webkit-scrollbar {
    height: 6px;
}

.recommended-apps::-webkit-scrollbar-track {
    background: rgba(23, 20, 43, 0.05);
    border-radius: 999px;
}

.recommended-apps::-webkit-scrollbar-thumb {
    background: rgba(109, 74, 255, 0.4);
    border-radius: 999px;
}

.recommended-apps::-webkit-scrollbar-thumb:hover {
    background: rgba(109, 74, 255, 0.6);
}

.app-info {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 168px;
    padding: 18px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(139, 108, 255, 0.2);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.app-info:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px -14px rgba(109, 74, 255, 0.4);
    border-color: rgba(139, 108, 255, 0.5);
}

.app-info .quiz-app-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px -8px rgba(23, 20, 43, 0.25);
}

.app-info .quiz-app-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info .app-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.5;
}

.app-info .match-score {
    font-family: var(--font-en);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--violet);
}

/* ============================================================
   ギャラリー（コラム / 使い方記事）
   ============================================================ */
.album-gallery,
.question-gallery,
.anniversary-gallery {
    margin: 24px 0 32px;
}

body .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin: 18px 0;
}

body .gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 26px -14px rgba(23, 20, 43, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

body .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -16px rgba(109, 74, 255, 0.35);
}

body .gallery-item img {
    width: 100%;
    display: block;
}

body .gallery-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--violet-soft));
    color: #fff;
    font-family: var(--font-en);
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 0 6px 14px -6px rgba(109, 74, 255, 0.6);
}

body .gallery-caption {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

/* 使い方記事のギャラリー（インラインstyle上書き） */
body .manual-gallery-section h3 {
    background: none;
    border-left: none;
    padding: 0 0 0 16px;
    position: relative;
    color: var(--ink);
    font-size: 19px;
    font-weight: 700;
    margin: 44px 0 16px;
}

body .manual-gallery-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    bottom: 0.3em;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--violet) 0%, #ff7eb3 100%);
    margin: 0;
}

body .manual-gallery-section h4 {
    color: var(--ink);
    background-color: rgba(233, 227, 252, 0.5);
    border-left: 4px solid var(--violet-soft);
    border-radius: 0 12px 12px 0;
}

body .manual-gallery-section h4::before {
    background: linear-gradient(180deg, var(--violet), #ff7eb3);
}

body .manual-gallery-section .gallery-item {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 10px 26px -14px rgba(23, 20, 43, 0.18);
}

body .manual-gallery-section .gallery-number {
    background: linear-gradient(135deg, var(--violet), var(--violet-soft));
    background-color: var(--violet);
    border: 2px solid #fff;
}

body .manual-gallery-section .note {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--muted);
}

/* ---------- 著者ボックス / 引用（インラインstyle上書き） ---------- */
body .author-box {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 32px 0;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(139, 108, 255, 0.2);
}

body .author-image {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(139, 108, 255, 0.35);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

body .author-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

body .author-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--violet);
}

body .author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

body .author-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

body blockquote.review-quote,
body .review-quote {
    margin: 20px 0;
    padding: 20px 24px 20px 28px;
    border-radius: 0 16px 16px 0;
    border-left: 4px solid var(--violet-soft);
    background: rgba(233, 227, 252, 0.4);
    font-size: 14px;
    color: var(--ink-2);
    font-style: normal;
}

body blockquote.review-quote:before {
    display: none;
}

body blockquote.review-quote p,
body .review-quote p {
    margin: 0;
    line-height: 1.9;
}

/* ---------- ページトップボタン（インラインstyle上書き） ---------- */
body .scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--violet), var(--violet-soft));
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
    box-shadow: 0 14px 30px -10px rgba(109, 74, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

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

body .scroll-to-top:hover {
    background: linear-gradient(135deg, #5c39ec, #7b5cf5);
    transform: translateY(-3px);
}

/* ---------- 画像モーダル（コラム / ヘルプ共通・上書き） ---------- */
body .modal-content img,
body .image-modal-content img {
    border-radius: 12px;
}

/* ============================================================
   ヘルプ 一覧ページ
   ============================================================ */
body .help-index-header {
    margin-bottom: 28px;
}

body .help-index-header h1 {
    font-size: clamp(26px, 4.2vw, 36px);
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 18px;
}

body .help-index-header h1:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(92deg, var(--violet) 0%, #b56cff 60%, #ff7eb3 100%);
}

body .help-index-header p {
    font-size: 14px;
    color: var(--muted);
}

body .help-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 6px 10px 6px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(109, 74, 255, 0.25);
    box-shadow: 0 10px 28px -14px rgba(109, 74, 255, 0.3);
    color: var(--muted);
    transition: border-color 0.25s, box-shadow 0.25s;
}

body .help-search-box:focus-within {
    border-color: var(--violet);
    box-shadow: 0 14px 34px -14px rgba(109, 74, 255, 0.5);
}

body .help-search-box svg {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    color: var(--violet);
}

body .help-search-box input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 0;
    font-size: 15px;
    font-family: var(--font-jp);
    color: var(--ink);
}

body .help-search-box input::placeholder {
    color: #a5a1ba;
}

body .help-search-clear {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(109, 74, 255, 0.08);
    color: var(--violet);
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
}

body .help-search-clear.visible {
    display: flex;
}

body .help-search-clear:hover {
    background: rgba(109, 74, 255, 0.16);
}

body .help-search-no-results {
    padding: 32px 0;
    text-align: center;
    color: var(--muted);
    font-size: 14.5px;
}

body .help-category-group {
    margin-bottom: 36px;
}

body .help-category-group.hidden {
    display: none;
}

body .help-category-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--violet);
    text-transform: none;
    margin-bottom: 14px;
    padding-left: 14px;
    position: relative;
}

body .help-category-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    bottom: 0.3em;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--violet) 0%, #ff7eb3 100%);
}

body .help-page-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
}

body .help-page-item {
    list-style: none;
    border-bottom: none;
    min-width: 0;
}

body .help-page-item.hidden {
    display: none;
}

body .help-page-link {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 22px -12px rgba(23, 20, 43, 0.1);
    color: var(--ink);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
}

body .help-page-link:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -14px rgba(109, 74, 255, 0.32);
    border-color: rgba(139, 108, 255, 0.4);
}

body .help-page-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

body .help-page-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.6;
}

body .help-page-name mark,
body .help-page-desc mark,
body .help-page-snippet mark {
    background: rgba(139, 108, 255, 0.25);
    color: inherit;
    border-radius: 3px;
    padding: 0 2px;
}

body .help-page-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

body .help-page-snippet {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

/* 検索中は1カラムのリストに切り替えて、ヒット箇所を目で追いやすくする */
body.help-searching .help-page-list {
    grid-template-columns: 1fr;
}

body.help-searching .help-page-snippet {
    white-space: normal;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body .help-page-arrow {
    flex: 0 0 auto;
    font-family: var(--font-en);
    font-size: 20px;
    color: var(--violet);
    transition: transform 0.3s, color 0.3s;
}

body .help-page-link:hover .help-page-arrow {
    color: var(--violet);
    transform: translateX(4px);
}

/* Coming soon */
body .help-page-item.coming-soon .help-page-link {
    cursor: default;
    opacity: 0.55;
}

body .help-page-item.coming-soon .help-page-link:hover {
    transform: none;
    box-shadow: 0 8px 22px -12px rgba(23, 20, 43, 0.1);
    border-color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.8);
}

body .help-page-item.coming-soon .help-page-arrow {
    display: none;
}

/* ============================================================
   ヘルプ 記事ページ（生成HTML内のインラインstyleを上書き）
   ============================================================ */
body .help-header {
    text-align: center;
    margin-bottom: 18px;
}

body .help-category {
    display: inline-block;
    background: linear-gradient(94deg, var(--violet) 0%, #b56cff 60%, #ff7eb3 100%);
    color: #fff;
    padding: 5px 18px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 14px;
}

body .help-title {
    font-size: clamp(23px, 3.4vw, 30px);
    font-weight: 900;
    line-height: 1.6;
    color: var(--ink);
}

body .help-subtitle {
    color: var(--muted);
}

body .help-summary {
    background: linear-gradient(135deg, rgba(233, 227, 252, 0.55), rgba(220, 235, 255, 0.45));
    border: 1px solid rgba(139, 108, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin-bottom: 40px;
}

body .help-summary p {
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.9;
}

body .help-summary .label {
    color: var(--violet);
}

body .help-content {
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 2;
}

body .help-content .detail-label {
    color: var(--violet);
    font-weight: 700;
}

body .help-content ul li {
    line-height: 1.9;
}

body .help-content ol {
    margin: 12px 0 20px;
    padding-left: 26px;
    list-style: decimal;
}

body .help-content ol li {
    margin-bottom: 8px;
    line-height: 1.9;
}

/* カルーセル帯 */
body .help-carousel {
    background: linear-gradient(135deg, rgba(233, 227, 252, 0.5), rgba(255, 227, 238, 0.35));
    border-radius: var(--radius-md);
    margin-left: 0;
    margin-right: 0;
    padding: 26px 0;
}

body .help-carousel .swiper-slide img {
    border-radius: 22px;
    box-shadow: 0 18px 40px -18px rgba(63, 41, 140, 0.35);
}

body .help-carousel .slide-caption {
    color: var(--muted);
}

body .help-carousel .swiper-pagination-bullet-active {
    background: var(--violet) !important;
}

body .help-carousel .swiper-button-prev,
body .help-carousel .swiper-button-next {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--violet);
    box-shadow: 0 8px 20px -8px rgba(63, 41, 140, 0.35);
}

/* スクリーンショット */
body .help-content .section-screenshot img {
    border-radius: 22px;
    box-shadow: 0 18px 40px -18px rgba(63, 41, 140, 0.3);
}

/* 表 */
body .help-table {
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 13.5px;
}

body .help-table th {
    background: linear-gradient(135deg, rgba(233, 227, 252, 0.7), rgba(220, 235, 255, 0.55));
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

body .help-table td {
    color: var(--ink-2);
    border-bottom: 1px solid var(--line);
}

/* FAQ */
body .faq-item {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(139, 108, 255, 0.18);
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 12px;
    box-shadow: 0 8px 22px -14px rgba(23, 20, 43, 0.1);
}

body .faq-item .faq-q {
    color: var(--violet);
    font-size: 14.5px;
}

body .faq-item .faq-a {
    color: var(--ink-2);
    font-size: 14px;
}

/* 一覧に戻る */
body .help-back-link a {
    border: 1.5px solid rgba(109, 74, 255, 0.35);
    border-radius: 999px;
    padding: 12px 30px;
    color: var(--violet);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.6);
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

body .help-back-link a:hover {
    background: rgba(109, 74, 255, 0.08);
    border-color: var(--violet);
    color: var(--violet);
    transform: translateY(-2px);
}

/* 画像モーダル 閉じるボタン */
body .image-modal-close {
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--violet);
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 960px) {
    body .help-page-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .page-container {
        padding: calc(var(--header-h) + 32px) 14px 24px;
    }

    .page-content {
        padding: 26px 20px 36px;
        border-radius: 22px;
    }

    .page-title {
        margin-bottom: 30px;
    }

    .info-row {
        flex-direction: column;
    }

    .info-label {
        flex: none;
        max-width: none;
        padding: 12px 18px;
    }

    .info-value {
        padding: 14px 18px;
    }

    .column-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

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

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

    .app-summary-item {
        flex-direction: column;
        align-items: flex-start;
    }

    body .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    body .author-box {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .article-title {
        margin-bottom: 24px;
    }

    .table-of-contents {
        padding: 20px 22px;
    }

    body .scroll-to-top {
        bottom: 16px;
        right: 16px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* 規約・ポリシーの言語切り替えと、翻訳版の注記 */
.lang-switch {
    text-align: right;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.lang-switch a {
    color: inherit;
}
.translation-note {
    font-size: 0.875rem;
    color: #666;
    background: #f6f6f6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}
