/* 
/* 
/*  custom.css
/*
/*  If not using Gulp and Sass, add your custom CSS below then include it
/*  in your page by adding a reference to assets/css/custom.css in the head of each page.
/*
*/


figure {
    text-align: center;
    margin: 1rem 0;
}

h6, .h6 {
    font-size: 1.2rem;
}

.btn-size {
    width: 300px;
    padding: 14px;
    font-size: 1rem;
}

.btn-size-hero {
    min-width: 220px;
    padding: 14px;
    font-size: 1rem;
}

.btn-size-book {
    min-width: 130px;
    padding: 14px;
    font-size: 1rem;
}

@media only screen and (max-width: 750px) {

.btn-size-hero {
    min-width: 300px;
    padding: 14px;
    font-size: 1.4rem;
}

.btn-size-book {
    width: 100%;
    padding: 14px;
    font-size: 1.4rem;
}

.display-5{
    font-size: 1.8rem;
}

.lead{
    font-size: 1.2rem;
    text-align: left;
}

.btn-size {
    width: 300px;
    padding: 16px;
    font-size: 1.2rem;
}

h6, .h6 {
    font-size: 1.3rem;
}

section.has-divider .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.display-5{
    font-size: 1.5rem;
}
}

.navbar[data-sticky="top"].scrolled.navbar-dark {
    background: #3755BE !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.877);
}

/* ============================================================
   セットアップガイド専用スタイル
   ============================================================ */

body {
    font-feature-settings: "palt";
    line-height: 1.85;
}

.setup-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.setup-section + .setup-section {
    border-top: 1px solid #eef1f7;
}

/* セクション番号バッジ（STEP 1, 2, ...） */
.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3755BE 0%, #5b7bd9 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.35rem 1.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    box-shadow: 0 6px 18px rgba(55, 85, 190, 0.25);
}

.step-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a2a4f;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .step-title {
        font-size: 1.85rem;
    }
}

.step-card {
    background: #fff;
    border: 1px solid #e3e8f4;
    border-radius: 18px;
    padding: 2rem 1.75rem;
    box-shadow: 0 14px 36px rgba(20, 34, 70, 0.06);
}

@media (min-width: 768px) {
    .step-card {
        padding: 2.5rem 2.5rem;
    }
}

/* ステップ一覧用チップ */
.step-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f4ff;
    color: #3755BE;
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.step-chip .num {
    background: #3755BE;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* 注意・警告ボックス */
.alert-warning-box {
    background: #fff7e6;
    border-left: 6px solid #f6a623;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    color: #6b4400;
}

.alert-warning-box .alert-title {
    font-weight: 700;
    color: #b3690b;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-danger-box {
    background: #fff0f0;
    border-left: 6px solid #e74c3c;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    color: #6b1a13;
}

.alert-danger-box .alert-title {
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* アラート見出し内のアイコン */
.alert-title .alert-icon {
    flex-shrink: 0;
    width: 1.4rem;
    height: 1.4rem;
}

.alert-warning-box .alert-title .alert-icon path,
.alert-warning-box .alert-title .alert-icon rect,
.alert-warning-box .alert-title .alert-icon circle {
    fill: #c47a05;
}

.alert-danger-box .alert-title .alert-icon path,
.alert-danger-box .alert-title .alert-icon rect,
.alert-danger-box .alert-title .alert-icon circle {
    fill: #c0392b;
}

/* チェック付きリスト */
.check-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 2.1rem;
    line-height: 1.7;
    border-bottom: 1px dashed #e6ebf6;
}

.check-list li:last-child {
    border-bottom: 0;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: #3755BE url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 60% 60%;
}

/* 番号付きインストラクション */
.numbered-list {
    list-style: none;
    counter-reset: nlist;
    padding-left: 0;
    margin: 0;
}

.numbered-list > li {
    position: relative;
    counter-increment: nlist;
    padding: 0.5rem 0 0.5rem 2.6rem;
    line-height: 1.75;
}

.numbered-list > li::before {
    content: counter(nlist);
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: #3755BE;
    color: #fff;
    text-align: center;
    line-height: 1.8rem;
    font-weight: 700;
    font-size: 0.9rem;
}

/* 仕様カード */
.spec-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e3e8f4;
    padding: 1.75rem;
    height: 100%;
    box-shadow: 0 10px 24px rgba(20, 34, 70, 0.04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.spec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(20, 34, 70, 0.08);
}

.spec-card .spec-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(55, 85, 190, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.spec-card .spec-icon img.icon {
    width: 28px;
    height: 28px;
}

.spec-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2a4f;
    margin-bottom: 0.75rem;
}

.spec-card ul {
    padding-left: 1.2rem;
    margin: 0;
}

.spec-card ul li {
    margin-bottom: 0.35rem;
}

/* 動画埋め込み（レスポンシブ） */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(20, 34, 70, 0.18);
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* TOC（目次） */
.toc-card {
    background: #fff;
    border: 1px solid #e3e8f4;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 10px 30px rgba(20, 34, 70, 0.06);
}

.toc-card h3 {
    font-size: 1.1rem;
    color: #1a2a4f;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.toc-list li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    color: #2b3a63;
    border-radius: 10px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.toc-list li a:hover {
    background: #f1f4ff;
    color: #3755BE;
}

.toc-list li a .toc-num {
    background: #eef1ff;
    color: #3755BE;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .toc-card { padding: 1.25rem 1rem; }
    .toc-list li a { padding: 0.55rem 0.5rem; font-size: 0.95rem; }
}

/* キーワード強調 */
.kbd {
    display: inline-block;
    background: #f5f7fb;
    border: 1px solid #d6def0;
    border-bottom-width: 2px;
    border-radius: 6px;
    padding: 0.05rem 0.45rem;
    font-size: 0.9em;
    font-weight: 600;
    color: #1a2a4f;
}

.btn-link-soft {
    background: #eef1ff;
    color: #3755BE !important;
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background .15s ease;
}

.btn-link-soft:hover {
    background: #dde4ff;
    text-decoration: none;
}

/* OS別タブ風カード */
.os-card {
    border: 1px solid #e3e8f4;
    border-radius: 16px;
    padding: 1.5rem;
    background: #fff;
    height: 100%;
}

.os-card .os-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eef1f7;
}

.os-card .os-header img {
    width: 40px;
    height: 40px;
}

.os-card .os-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2a4f;
}

/* ヒーロー背景 */
.hero-setup {
    background: linear-gradient(135deg, #2c3e8a 0%, #3755BE 50%, #5b7bd9 100%);
    color: #fff;
}

.hero-setup .badge-pill {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.hero-setup h1 {
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 750px) {
    .step-title { font-size: 1.35rem; }
    .step-card { padding: 1.5rem 1.25rem; }
    .setup-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .check-list li { padding-left: 1.9rem; }
}

/* ============================================================
   ステップ画像・GIF プレビュー
   ============================================================ */
.step-screenshot {
    margin: 1.75rem 0 0;
    padding: 0;
    text-align: center;
}

.step-screenshot figure {
    margin: 0;
    background: #fafbfd;
    border: 1px solid #e3e8f4;
    border-radius: 14px;
    padding: 0.75rem;
    box-shadow: 0 14px 32px rgba(20, 34, 70, 0.07);
}

.step-screenshot img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    display: block;
}

.step-screenshot figcaption {
    font-size: 0.85rem;
    color: #6b7896;
    margin-top: 0.75rem;
    padding: 0 0.5rem 0.25rem;
    line-height: 1.6;
}

.step-screenshot .screenshot-badge {
    display: inline-block;
    background: #eef1ff;
    color: #3755BE;
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-right: 0.4rem;
    vertical-align: middle;
}

.step-screenshot .screenshot-badge.gif {
    background: #fff0e6;
    color: #d96a17;
}

/* OS カードに表示する画像 */
.os-card .step-screenshot {
    margin-top: 1.25rem;
}

.os-card .step-screenshot figure {
    padding: 0.5rem;
    border-radius: 12px;
}

/* 2 カラム画像レイアウト */
.screenshot-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: stretch;
}

.screenshot-row .step-screenshot {
    margin: 0;
    height: 100%;
}

.screenshot-row .step-screenshot figure {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 2 枚並びの画像は同じ高さの枠に内容を収めて切り取らず表示 */
.screenshot-row .step-screenshot .screenshot-frame {
    aspect-ratio: 16 / 11;
    background: #eef3fb;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-row .step-screenshot .screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

.screenshot-row .step-screenshot figcaption {
    margin-top: auto;
    padding-top: 0.75rem;
}

@media (max-width: 991.98px) {
    .screenshot-row { grid-template-columns: 1fr; gap: 0.85rem; }
    .step-screenshot figure { padding: 0.55rem; }
    .step-screenshot figcaption { font-size: 0.8rem; }
    .screenshot-row .step-screenshot .screenshot-frame { aspect-ratio: auto; background: transparent; }
    .screenshot-row .step-screenshot .screenshot-frame img { height: auto; }
}

/* ============================================================
   受験前 最終チェックリスト（インタラクティブ）
   ============================================================ */
.final-checklist {
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
    border: 1px solid #dfe6f5;
    border-radius: 18px;
    padding: 1.75rem 1.75rem;
    box-shadow: 0 14px 36px rgba(20, 34, 70, 0.06);
}

.final-checklist h3 {
    color: #1a2a4f;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.final-checklist .lead {
    color: #5b6886;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.final-checklist ul.task-checklist {
    list-style: none;
    padding-left: 0;
    margin: 0;
    counter-reset: tasks;
}

.final-checklist ul.task-checklist li {
    display: block;
    padding: 0;
    margin-bottom: 0.55rem;
    border-radius: 10px;
    transition: background .15s ease;
}

.final-checklist ul.task-checklist li label {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.65rem 0.85rem;
    margin: 0;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid #e6ebf6;
    background: #fff;
    transition: border-color .15s ease, background .15s ease;
}

.final-checklist ul.task-checklist li label:hover {
    border-color: #b6c4f0;
    background: #fbfcff;
}

.final-checklist ul.task-checklist li input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.35rem;
    height: 1.35rem;
    border: 2px solid #b8c3df;
    border-radius: 6px;
    background: #fff;
    margin-top: 0.25rem;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.final-checklist ul.task-checklist li input[type="checkbox"]:checked {
    background: #3755BE;
    border-color: #3755BE;
}

.final-checklist ul.task-checklist li input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.45rem;
    height: 0.85rem;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.final-checklist ul.task-checklist li input[type="checkbox"]:checked + .task-text {
    color: #8c97b3;
    text-decoration: line-through;
}

.final-checklist ul.task-checklist li .task-text {
    flex: 1;
    line-height: 1.65;
    font-size: 0.97rem;
    color: #25324f;
    transition: color .15s ease;
}

.final-checklist ul.task-checklist li .task-text strong {
    color: #1a2a4f;
}

.final-checklist .checklist-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #3755BE;
    letter-spacing: 0.05em;
    margin: 1.25rem 0 0.6rem;
}

.final-checklist .checklist-section-title:first-of-type {
    margin-top: 0.25rem;
}

@media (max-width: 575.98px) {
    .final-checklist { padding: 1.25rem 1.1rem; }
    .final-checklist ul.task-checklist li label { padding: 0.55rem 0.65rem; }
    .final-checklist ul.task-checklist li .task-text { font-size: 0.95rem; }
}

/* 補足テキスト（text-muted より濃い色） */
.setup-note {
    color: #3d4f63;
}

/* ============================================================
   FAQ アコーディオン
   ============================================================ */
.setup-faq-accordion .faq-item {
    border: 1px solid #e2e8f3;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(26, 42, 79, 0.06);
}

.setup-faq-accordion .faq-header {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: #1a2a4f;
    background: #fff;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background 0.15s ease;
}

.setup-faq-accordion .faq-header:hover,
.setup-faq-accordion .faq-header:focus {
    background: #f4f7fd;
    text-decoration: none;
    color: #3755BE;
    outline: none;
    box-shadow: none;
}

.setup-faq-accordion .faq-header:not(.collapsed) {
    background: #eef3fb;
    color: #3755BE;
}

.setup-faq-accordion .faq-chevron {
    flex-shrink: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -0.2rem;
}

.setup-faq-accordion .faq-header:not(.collapsed) .faq-chevron {
    transform: rotate(-135deg);
    margin-top: 0.2rem;
}

.setup-faq-accordion .faq-body,
.setup-faq-accordion .faq-body.card-body {
    padding: 1.35rem 1.5rem 1.65rem;
    border-top: 1px solid #eef1f7;
    font-size: 0.97rem;
    color: #2a3a55;
    line-height: 1.85;
    text-align: left;
}

.setup-faq-accordion .faq-body > *:first-child {
    margin-top: 0;
}

.setup-faq-accordion .faq-body p {
    margin: 0 0 1.1rem;
}

.setup-faq-accordion .faq-body ul,
.setup-faq-accordion .faq-body ol {
    margin: 0 0 1.35rem;
    padding-left: 1.45rem;
}

.setup-faq-accordion .faq-body ul li,
.setup-faq-accordion .faq-body ol li {
    margin-bottom: 0.7rem;
}

.setup-faq-accordion .faq-body ul li:last-child,
.setup-faq-accordion .faq-body ol li:last-child {
    margin-bottom: 0;
}

.setup-faq-accordion .faq-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #3755BE;
    margin: 1.75rem 0 0.9rem;
    padding-top: 0.15rem;
    line-height: 1.5;
}

.setup-faq-accordion .faq-body h4:first-child,
.setup-faq-accordion .faq-body .faq-section-label + h4 {
    margin-top: 0;
}

.setup-faq-accordion .faq-body h5 {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 1.35rem 0 0.55rem;
    line-height: 1.5;
}

.setup-faq-accordion .faq-section-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #3755BE;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
}

.setup-faq-accordion .faq-body .setup-note,
.setup-faq-accordion .faq-body .alert-warning-box {
    margin: 1.1rem 0 1.35rem;
}

.setup-faq-accordion .faq-body .alert-warning-box p:last-child {
    margin-bottom: 0;
}

.setup-faq-accordion .faq-figure {
    margin: 1.35rem 0 1.5rem;
    padding: 0.85rem;
    text-align: center;
    background: #f6f8fc;
    border-radius: 10px;
    border: 1px solid #e8edf5;
}

.setup-faq-accordion .faq-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #dde4ef;
    display: block;
    margin: 0 auto;
}

.setup-faq-accordion .faq-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 1.25rem 0 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    background: #0d1b3e;
}

.setup-faq-accordion .faq-body a.faq-link,
.setup-faq-accordion .faq-body a[href^="#faq-"] {
    color: #3755BE;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.setup-faq-accordion .faq-body a[href^="#faq-"]:hover,
.setup-faq-accordion .faq-body a[href^="#faq-"]:focus {
    color: #2a4399;
}

.setup-faq-accordion .faq-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 575.98px) {
    .setup-faq-accordion .faq-header {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
    .setup-faq-accordion .faq-body,
    .setup-faq-accordion .faq-body.card-body {
        padding: 1.1rem 1.1rem 1.35rem;
    }
}
