/* 共通ページスタイル */
.page-container {
    padding: 120px 50px 80px;
    background-color: #F7F7F7;
    width: 100%;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.page-title:after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #64C8E6, #E04343);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title {
    font-size: 24px;
    font-weight: 900;
    margin: 40px 0 20px;
    color: #FFFFFF;
    position: relative;
    padding: 10px 18px;
    background-color: #2E2E2E;
    border-radius: 8px;
    border-left: 4px solid #E04343;
}

/* h3のsection-titleは元のスタイル */
h3.section-title {
    color: #2E2E2E;
    background-color: #F7F7F7;
}

/* h3スタイル */
h3 {
    font-size: 18px;
    font-weight: 900;
    margin: 25px 0 12px;
    color: #2E2E2E;
    position: relative;
    padding-left: 15px;
}

/* h3:beforeはsection-titleクラスが付いていない場合のみ適用 */
h3:not(.section-title):before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(to bottom, #64C8E6, #E04343);
    border-radius: 2px;
}

/* 関連記事内のh3にはbeforeを適用しない */
.related-articles h3:not(.section-title):before {
    display: none;
}

/* h4スタイル */
h4 {
    font-size: 16px;
    font-weight: 900;
    margin: 20px 0 12px;
    color: #E04343;
    position: relative;
}

/* 会社概要ページ */
.info-table {
    width: 100%;
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #CACACA;
}

.info-row {
    display: flex;
    border-bottom: 1px solid #CACACA;
}

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

.info-label {
    flex: 0 0 170px;
    background-color: #F7F7F7;
    padding: 15px 20px;
    font-weight: bold;
    border-right: 1px solid #CACACA;
}

.info-value {
    flex: 1;
    padding: 15px 20px;
    line-height: 1.6;
}

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

.mission-content {
    line-height: 1.8;
}

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

/* 利用規約・プライバシーポリシーページ */
.terms-content,
.childsafetypolicyntent,
.policy-content {
    line-height: 1.8;
}

.terms-section,
.childsafetypolicyction,
.policy-section {
    margin-bottom: 40px;
}

.terms-list,
.childsafetypolicy-list,
.policy-list {
    margin: 15px 0 15px 20px;
}

/* リストスタイルの修正 - マーカーの重複を解消 */
.terms-list li,
.childsafetypolicy-list li,
.policy-list li {
    margin-bottom: 10px;
    list-style-type: disc; /* 標準のディスクマーカーを使用 */
    padding-left: 5px; /* マーカーとテキストの間の余白を調整 */
}

/* beforeによるマーカーを削除 */
.terms-list li:before,
.childsafetypolicy-list li:before,
.policy-list li:before {
    content: none; /* 疑似要素のコンテンツを削除 */
}

/* ネストされたpタグを持つリスト項目のスタイル */
.terms-list li p,
.childsafetypolicy-list li p,
.policy-list li p {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* ネストされたリスト項目のスタイル */
.terms-list li ol li,
.childsafetypolicy-list li ol li,
.policy-list li ol li {
    margin-left: 1em;
    list-style-type: square;
}

.terms-date,
.childsafetypolicy-date,
.policy-date {
    margin-top: 40px;
    text-align: right;
    color: #7C7C7C;
    font-size: 14px;
}

.contact-info {
    background-color: #F7F7F7;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.contact-info a {
    color: #E04343;
    text-decoration: underline;
}

/* アンバサダー募集ページ */
.ambassador-intro {
    background: linear-gradient(135deg, #F7F7F7 0%, #CACACA 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid #CACACA;
}

.ambassador-intro p {
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    color: #333;
}

.info-section {
    margin-bottom: 50px;
}

.info-content ul,
.info-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.info-content li {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 16px;
}

.info-content .note {
    color: #666;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.info-content strong {
    color: #E04343;
    font-weight: 900;
}

.contact-section {
    margin-top: 20px;
}

.contact-section .section-title {
    margin-top: 0;
    margin-bottom: 25px;
}

.contact-section .info-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-section .contact-info {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-top: 10px;
    font-size: 16px;
}

.contact-section .contact-info a {
    color: #E04343;
    text-decoration: none;
    font-weight: bold;
}

.contact-section .contact-info a:hover {
    text-decoration: underline;
}

.contact-method {
    margin-bottom: 30px;
}

.contact-form-button {
    display: inline-block;
    background: linear-gradient(135deg, #64C8E6, #E04343);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 200, 230, 0.3);
}

/* アプリダウンロードリンク */
.app-download-section {
    margin-top: 50px;
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #64C8E6 0%, #E04343 100%);
    border-radius: 20px;
    color: white;
}

.app-download-title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 20px;
    color: white;
}

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

.app-download-links .app-store,
.app-download-links .google-play {
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.app-download-links .app-store:hover,
.app-download-links .google-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.app-download-links img {
    height: 60px;
    width: auto;
    display: block;
}

/* アプリメインビジュアル */
.app-main-visual {
    width: 100%;
    margin: 20px 0 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-main-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* アプリロゴとタイトル */
.app-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.app-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.app-title-wrapper h3 {
    margin: 0;
    padding-left: 0;
}

.app-title-wrapper h3:before {
    display: none;
}

/* 記事内アプリダウンロードリンク */
.article-app-download {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background-color: #F7F7F7;
    border-radius: 12px;
    border: 1px solid #CACACA;
}

.download-app-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.download-title {
    font-size: 16px;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 15px;
}

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

.download-links .app-store,
.download-links .google-play {
    display: block;
    transition: transform 0.3s ease;
}

.download-links .friend-add-button {
    display: inline-block;
    background-color: #2e2e2e;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.download-links .friend-add-button:hover {
    transform: translateY(-2px);
    background-color: #444;
}

.official-website-link {
    text-align: center;
    margin: 10px 0;
}

.official-website-link a {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid #007bff;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.official-website-link a:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-1px);
}

.download-links .app-store:hover,
.download-links .google-play:hover {
    transform: translateY(-2px);
}

.download-links img {
    height: 44px;
    width: auto;
    display: block;
}

/* =========================
   コラム関連スタイル
   ========================= */

/* コラム一覧ページ */
.column-intro {
    padding: 0;
    margin-bottom: 50px;
    text-align: left;
}

.column-intro p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: #7C7C7C;
}

.column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.column-card {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 380px;
    margin: 0 auto;
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.column-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.column-image {
    width: 100%;
    aspect-ratio: 1200 / 630;
    overflow: hidden;
    background-color: #F7F7F7;
}

.column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.column-content {
    padding: 25px;
}

.column-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.column-category {
    background: linear-gradient(135deg, #64C8E6, #E04343);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 900;
}

.column-date {
    color: #666;
    font-size: 14px;
}

.column-title {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
}

.column-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #7C7C7C;
    margin: 0;
}

/* コラム詳細ページ */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #7C7C7C;
}

.breadcrumb a {
    color: #2E2E2E;
    text-decoration: underline;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
}

.column-article {
    margin-bottom: 60px;
}

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

.article-category {
    background: linear-gradient(135deg, #64C8E6, #E04343);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 900;
}

.article-date {
    color: #666;
    font-size: 14px;
}

.article-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.4;
    position: relative;
}

.article-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #64C8E6, #E04343);
    margin: 20px 0 0 0;
    border-radius: 2px;
}

.article-image {
    width: 100%;
    margin-bottom: 20px;
}

.article-image img {
    width: 100%;
    height: auto;
}

.article-content {
    line-height: 1.75;
    font-size: 17px;
    color: #2E2E2E;
    font-weight: 400;
}

.article-intro {
    padding: 0;
    margin-bottom: 40px;
}

.article-intro p {
    margin: 0;
    font-size: 14px;
    color: #7C7C7C;
    line-height: 1.6;
}

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

.article-content p {
    margin-bottom: 24px;
    line-height: 1.75;
}

.article-content h2:not(.column-title) {
    margin-top: 48px;
    margin-bottom: 24px;
    line-height: 1.4;
    font-weight: 900;
}

.article-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 900;
}

.app-info {
    background-color: #F7F7F7;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #CACACA;
}

.app-details p {
    margin: 5px 0;
    font-size: 15px;
}

.app-details strong {
    color: #333;
    font-weight: 900;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(100, 200, 230, 0.1), rgba(224, 67, 67, 0.1));
    border: 1px solid rgba(100, 200, 230, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.highlight-box p {
    margin: 0;
    font-size: 16px;
}

.highlight-box strong {
    color: #E04343;
}

.article-list {
    margin: 20px 0;
    padding-left: 25px;
}

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

.article-list strong {
    color: #E04343;
    font-weight: 900;
}

/* 口コミ用吹き出しスタイル */
blockquote.review-quote {
    background-color: #FAB4B4;
    border-radius: 15px;
    padding: 16px 20px;
    margin: 16px 0;
    position: relative;
    font-style: normal;
    line-height: 1.6;
    color: #2E2E2E;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: none;
}

/* 吹き出しの矢印（左側） */
blockquote.review-quote:before {
    content: "";
    position: absolute;
    top: 15px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #FAB4B4;
}

blockquote.review-quote p {
    margin: 0;
    font-size: 15px;
}

/* 目次スタイル */
.table-of-contents {
    background-color: #F7F7F7;
    border-radius: 10px;
    padding: 20px 25px;
    margin: 20px 0;
    border: 1px solid #CACACA;
}

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

.toc-list > li {
    counter-increment: toc-counter;
    margin-bottom: 12px;
    line-height: 1.6;
}

.toc-list > li > a {
    color: #2E2E2E;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: block;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.toc-list > li > a:hover {
    color: #E04343;
}

.toc-sublist {
    counter-reset: sub-counter;
    list-style: none;
    padding-left: 20px;
    margin: 8px 0 0 0;
}

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

.toc-sublist a {
    color: #7C7C7C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: block;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.toc-sublist a:hover {
    color: #E04343;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .table-of-contents {
        padding: 15px 20px;
    }
    
    .toc-list > li > a {
        font-size: 15px;
    }
    
    .toc-sublist {
        padding-left: 15px;
    }
    
    .toc-sublist a {
        font-size: 13px;
    }
}

/* アプリ診断シミュレータースタイル */
.app-quiz-section {
    background: linear-gradient(135deg, rgba(100, 200, 230, 0.08), rgba(224, 67, 67, 0.08));
    border-radius: 15px;
    margin: 30px 0;
    border: 1px solid rgba(100, 200, 230, 0.2);
    overflow: hidden;
}

.app-quiz-section h2 {
    background-color: #F7F7F7;
    color: #2E2E2E !important;
    margin: 0 0 0 0 !important;
    padding: 20px 25px !important;
    text-align: center;
}

.app-quiz-section p {
    padding: 0px 20px 0 20px;
    margin: 0;
    text-align: center;
    color: #2E2E2E;
}

.quiz-container {
    margin: 0 auto;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    padding: 20px;
    margin: 0;
}

/* PCでは3列表示にする */
@media (min-width: 769px) {
    .quiz-options {
        grid-template-columns: repeat(3, 1fr);
        max-width: 700px;
        margin: 0 auto;
    }
}

.quiz-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    background-color: #FFFFFF;
    border: 1px solid #CACACA;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.quiz-option:hover {
    border-color: #64C8E6;
    box-shadow: 0 1px 4px rgba(100, 200, 230, 0.15);
}

.quiz-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #FFFFFF;
    border: 1px solid #CACACA;
    border-radius: 3px;
    margin-right: 8px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.quiz-option input[type="checkbox"]:checked + .checkmark {
    background-color: #E04343;
    border-color: #E04343;
}

.quiz-option input[type="checkbox"]:checked + .checkmark:after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: 900;
}

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

.quiz-option:has(input[type="checkbox"]:checked) {
    border-color: #E04343;
    background-color: rgba(224, 67, 67, 0.05);
}

.quiz-button {
    display: block;
    width: 160px;
    margin: 20px auto;
    padding: 10px 20px;
    background: linear-gradient(135deg, #64C8E6, #E04343);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quiz-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(100, 200, 230, 0.3);
}

.quiz-result {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, rgba(100, 200, 230, 0.1), rgba(224, 67, 67, 0.1));
}

.quiz-result h3 {
    margin: 0 0 0 0 !important;
    color: #2E2E2E;
    font-size: 16px;
    padding: 15px 25px 10px 25px;
    background: transparent;
    font-weight: 900;
}

.quiz-result h3:before {
    display: none;
}

.recommended-apps {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 20px 20px 20px;
    background: transparent;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 124, 124, 0.3) transparent;
}

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

.recommended-apps::-webkit-scrollbar-track {
    background: transparent;
}

.recommended-apps::-webkit-scrollbar-thumb {
    background: rgba(124, 124, 124, 0.3);
    border-radius: 2px;
}

.recommended-apps::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 124, 124, 0.5);
}

.recommended-apps a {
        color: #2E2E2E!important;
    text-decoration: none!important;
}

.app-info {
    background-color: #FFFFFF;
    border: 1px solid #CACACA;
    border-radius: 8px;
    min-width: fit-content;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    font-size: 12px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.app-info .quiz-app-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.app-info:hover {
    border-color: #E04343;
    box-shadow: 0 2px 6px rgba(224, 67, 67, 0.15);
    transform: translateY(-1px);
}

.app-info .app-name {
    margin: 0;
    color: #2E2E2E;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.app-info .match-score {
    color: #E04343;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

/* アプリ情報テーブル */
.app-table {
    width: 100%;
    margin: 20px 0;
    border: 1px solid #CACACA;
    border-radius: 8px;
    overflow: hidden;
    background-color: #FFFFFF;
}

.app-table th,
.app-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #CACACA;
    text-align: left;
    vertical-align: top;
}

.app-table th {
    background-color: #F7F7F7;
    font-weight: 900;
    color: #2E2E2E;
    width: 120px;
}

.app-table td {
    background-color: #FFFFFF;
    color: #2E2E2E;
    line-height: 1.6;
}

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

.app-table td strong {
    color: #E04343;
    font-weight: 900;
}

.article-footer {
    border-top: 1px solid #CACACA;
    padding-top: 30px;
    margin-top: 50px;
}

.article-share p {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-buttons a {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.3s ease;
}

.share-buttons a:hover {
    transform: translateY(-2px);
}

.share-twitter {
    background-color: #64C8E6;
    color: white;
}

.share-facebook {
    background-color: #2E2E2E;
    color: white;
}

.share-line {
    background-color: #E04343;
    color: white;
}

/* 関連記事セクション */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #CACACA;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.related-card {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 380px;
    margin: 0 auto;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-image {
    width: 100%;
    aspect-ratio: 1200 / 630;
    overflow: hidden;
    background-color: #F7F7F7;
}

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

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

.related-content {
    padding: 25px;
}

/* 関連記事はコラム一覧と同じスタイルを使用 */
.related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.related-date {
    color: #666;
    font-size: 14px;
}

.related-title {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
}

.related-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #7C7C7C;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-container {
        padding: 20px 0 40px;
        background-color: #FFFFFF;
        border-bottom: 1px solid #CACACA;
    }
    
    .page-content {
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
        background-color: #FFFFFF;
    }
    
    .page-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 18px;
        margin: 30px 0 15px;
    }
    
    h3 {
        font-size: 16px;
        margin: 20px 0 10px;
        padding: 6px 12px;
        border-left-width: 3px;
    }
    
    .info-row {
        flex-direction: column;
    }
    
    .info-label {
        flex: none;
        border-right: none;
        border-bottom: 1px solid #CACACA;
        padding: 10px 15px;
    }
    
    .info-value {
        padding: 10px 15px;
    }
    
    .terms-list li,
    .childsafetypolicy-list li,
    .policy-list li {
        padding-left: 5px;
    }
    
    .contact-info {
        padding: 12px 15px;
    }

    /* アンバサダーページレスポンシブ */
    .ambassador-intro {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .ambassador-intro p {
        font-size: 16px;
    }
    
    .info-section {
        margin-bottom: 35px;
    }
    
    .info-content ul,
    .info-content ol {
        padding-left: 20px;
    }
    
    .info-content li {
        margin-bottom: 8px;
        font-size: 15px;
    }
    
    .contact-section {
        margin-top: 20px;
    }
    
    .contact-section .info-content p {
        font-size: 15px;
    }
    
    .contact-section .contact-info {
        font-size: 15px;
    }

    /* アプリダウンロードリンクレスポンシブ */
    .app-download-section {
        margin-top: 40px;
        padding: 30px 20px;
    }
    
    .app-download-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .app-download-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .app-download-links img {
        height: 50px;
    }

    /* 記事内ダウンロードリンクのレスポンシブ対応 */
    .article-app-download {
        margin-top: 15px;
        padding: 15px;
    }

    .download-app-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
        border-radius: 12px;
    }

    .download-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .download-links {
        gap: 10px;
    }

    .download-links img {
        height: 36px;
    }

    .app-info .quiz-app-logo {
        width: 28px;
        height: 28px;
    }

    /* アプリビジュアル・ロゴのレスポンシブ対応 */
    .app-main-visual {
        margin: 15px 0 20px 0;
        border-radius: 8px;
    }

    .app-header {
        gap: 15px;
        margin-bottom: 15px;
    }

    .app-logo {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }

    /* コラム一覧レスポンシブ */
    .column-intro {
        padding: 0;
        margin-bottom: 30px;
    }

    .column-intro p {
        font-size: 13px;
    }

    .column-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .column-card {
        border-radius: 10px;
        max-width: 342px;
    }

    .column-content {
        padding: 20px;
    }

    .column-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .column-excerpt {
        font-size: 13px;
    }

    /* コラム詳細レスポンシブ */
    .breadcrumb {
        margin-bottom: 20px;
        font-size: 13px;
    }

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

    .article-content {
        font-size: 16px;
        line-height: 1.75;
    }
    
    .article-content p {
        margin-bottom: 20px;
    }
    
    .article-content h2:not(.column-title) {
        margin-top: 40px;
        margin-bottom: 20px;
        font-size: 20px;
    }
    
    .article-content h3 {
        margin-top: 32px;
        margin-bottom: 16px;
        font-size: 18px;
    }

    .article-intro {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .article-intro p {
        font-size: 13px;
    }

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

    .app-info {
        padding: 14px 16px;
        margin: 0;
        border-radius: 6px;
    }

    .highlight-box {
        padding: 15px;
        margin: 20px 0;
    }

    .article-list {
        padding-left: 20px;
    }

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

    .share-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .share-buttons a {
        padding: 8px 16px;
        font-size: 13px;
    }

    .related-articles {
        margin-top: 40px;
        padding-top: 30px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-card {
        border-radius: 10px;
        max-width: 342px;
    }
    
    .related-content {
        padding: 20px;
    }
    
    .related-title {
        font-size: 16px;
    }

    .related-content {
        padding: 15px;
    }

    .related-title {
        font-size: 15px;
    }
}

/* 警告ハイライト */
.warning-highlight {
    background-color: #fff3cd;
    color: #E04343;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}

/* 機能リストのスタイル */
.app-table ul, .app-table-list {
    margin: 0;
    padding-left: 1.2em;
}

/* クイズ結果の非表示スタイル */
.quiz-result-hidden {
    display: none;
}

/* CTA（Call to Action）テキストのスタイル */
.cta-text {
    margin-top: 1rem;
    text-align: center;
}

/* CTA ボタンのスタイル */
.cta-button {
    display: inline-block;
    background-color: #2e2e2e !important;
    color: white !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #444 !important;
    color: white !important;
}

}

/* 特定リンクスタイル */
.highlight-link {
    margin-top: 1rem;
    text-align: center;
}

.highlight-link a {
    color: #e91e63;
    font-weight: bold;
    text-decoration: none;
}