@charset "UTF-8";

body {
    max-width: 1000px; /* 最大幅 */
    font-family: "Noto Sans JP", sans-serif;
    margin: 0 auto;    /* 左右の余白を自動（均等）にする */
    padding: 0 20px;   /* 画面端との余白 */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media screen and (max-width: 768px) {
    main {
    /* ヘッダーの実際の高さに合わせて数値を調整してください（例: 60px〜80px） */
    padding-top: 60px;
    }
}

* {
    margin: 0;
    padding: 0;
}

.l-article-inner {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 80px 0;
}

@media screen and (max-width: 768px) {
    .l-article-inner {
    padding: 44px 0px 56px;
    }
}

/* サムネイル画像（アイキャッチ画像）のサイズレスポンシブ対応 */
.c-figure {
    margin: 20px 0;
    width: 100%;
}

.c-figure img {
    width: 100%;
    height: auto;
    display: block;
}


h1 {
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    display: block;
    font-size: 32px;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    line-height: 180%;
}
.c-heading-lv2 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 26px;
    padding: 0.5em;/*文字周りの余白*/
    color: #ffffff;/*文字色*/
    background: #cc0200;/*背景色*/
    border-bottom: solid 3px #640200;/*下線*/
    margin-top: 40px;
    margin-bottom: 40px;
    line-height: 180%;
}


.c-heading-lv3 {
    font-size: 20px;
    color: #333;
    font-weight: bold; 
    padding-bottom: 12px; 
    margin: 40px 0; 
    border-bottom: 3px solid #e2e8f0; 
    
    position: relative; 
}

.c-heading-lv3::after {
    content: '';
    position: absolute;
    bottom: -3px; 
    left: 0; 
    width: 70%; 
    height: 3px; 
    background-color: #cc0200; 
}
@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
    .c-heading-lv2 {
        font-size: 20px;
        max-width: 100%;
    }
    .c-heading-lv3 {
        font-size: 18px;
    }
}

/*----投稿日----*/
.c-share-date {
    text-align: end;
}

/*-------文字--------*/
p {
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    margin-bottom: 1em;
    line-height: 2;
}

/*------------------ ポイント -------------------*/
.point {
    background-color: #fffff4;
    padding: 20px;
    border: 1px solid hsl(41, 100%, 46%);
    border-radius: 8px;
}
.point-title {
    font-weight: bold;
    margin: 0;
}
.responsive-table mark {
    color: #e37200;
    background-color: #ffffff;
}

/* -------------- 注意書き補足 -------------- */
.note p {
    font-size: 14px;
    line-height: 2;
    color: #333333;
    margin: 0;
}
.note {
    background-color: #ffff;
    padding: 12px;
    margin-top: 20px;
    border: 1px solid #b2bedae0;
    border-radius: 8px;
}



/*--------------------- 目次 ------------------------*/
.toc-container {
    font-family: "Noto Sans JP", sans-serif;
    margin-top: 40px;
    padding: 40px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.toc-header {
    margin-bottom: 26px;
    border-bottom: 1px solid #cc0200; 
    padding-bottom: 8px;
}

.toc-title-label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    letter-spacing: 0.05em;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px; 
}

.toc-main {
    display: flex;
    align-items: baseline; 
}

.toc-num {
    font-size: 2rem;
    color: #cc0200; 
    letter-spacing: -1px;
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid #cc0200;
    flex-shrink: 0;
}

.toc-title {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}

.toc-title:hover {
    text-decoration: underline;
}

.toc-sub-list {
    list-style: none;
    padding-left: 36px;
    margin: 12px 0 8px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-sub-list li a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    line-height: 2;
    display: block;
    position: relative;
    padding-left: 1rem;
    text-indent: -1rem;
}

.toc-sub-list li a::before {
    content: "◦";
}

.toc-sub-list li a:hover {
    text-decoration: underline;
}

/* スマホ表示対応 */
@media (max-width: 768px) {
    .toc-num {
        font-size: 14px;
        margin-right: 12px;
        padding-right: 8px;
    }

    .toc-header {
        margin-bottom: 26px;
        border-bottom: 1px solid #cc0200; /* 「目次」の下のアクセント線 */
        padding-bottom: 8px;
    }

    .toc-title-label {
        font-size: 14px;
        font-weight: bold;
        color: #333;
        letter-spacing: 0.05em;
    }

    .toc-title {
        font-size: 14px;
        line-height: 2;
    }

    .toc-sub-list {
        padding-left: 16px;
    }

    .toc-sub-list li a {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .toc-list {
        gap: 10px;
    }
    .toc-container {
        padding: 20px 14px 20px 14px;
    }
}

/* --------------------01------------------------- */
.features-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 960px; 
    margin: 0 auto; 
}

.feature-card {
    background-color: #ffffff; 
    border-radius: 8px;
    border:  1px solid #cbd5e1;;
    padding: 30px;
    box-sizing: border-box; 
}

.icon {
    margin-bottom: 40px;
}

.feature-card p:nth-of-type(1) {
    font-size: 18px;
    color: #333; 
    margin: 0 0 15px 0; 
    line-height: 1.4;
}

.feature-card p:not(:nth-of-type(1)) {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin: 0 0 15px 0;
}

.feature-card p:last-child {
    margin-bottom: 0;
}

/* --- スマホ用 --- */
@media (max-width: 768px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: 20px; 
    }
    
    .feature-card {
        padding: 24px; 
    }
}


/*---------------------------0101---------------------------*/
.cards-container {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

.reason-card {
    background-color: #ffffff;
    border-radius: 8px;
    border:  1px solid #cbd5e1;;
    padding: 30px;
    box-sizing: border-box;
}

.card-head {
    display: flex;
    align-items: center; 
    gap: 14px; 
    margin-bottom: 20px;
}

.number {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background-color: #fff4e6;
    color: #ff8800;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%; 
}

.card-title {
    color: #333;
    font-weight: bold;
    margin: 0;
    line-height: 2;
}

.card-text {
    font-size: 15px;
    line-height: 2;
    color: #333333;
    margin: 0;
}

/* --- スマホ用 --- */
@media (max-width: 768px) {
    .reason-card {
        padding: 24px;
    }
    .number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    .card-head {
        align-items: baseline; 
        gap: 8px; 
        margin-bottom: 15px;
    }
    .card-title {
        font-size: 16px;
    }
    .card-text {
        font-size: 14px;
    }
}


/*-------------0103---------------*/
/* ====================================================
表のスタイル
====================================================== */
.responsive-table {
    border-radius: 8px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 40px;
}

.responsive-table table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    margin: 0;
    background-color: #ffffff;
}

.responsive-table th,
.responsive-table td {
    color: #333333;
    border: 1px solid #0c1b39;
    padding: 15px;
    font-size: 1.6rem;
    line-height: 1.6;
    white-space: nowrap; 
}

.responsive-table thead th {
    
    background-color: #0c1b39;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
}

.responsive-table tbody th {
    background-color: #eff1f7;
    font-weight: bold;
    color: #333333;
    text-align: center;
}

/* スマホ */
@media (max-width: 768px) {
.responsive-table thead th,
.responsive-table thead td,
.responsive-table th,
.responsive-table td {
    font-size: 1.3rem;
    padding: 10px;
}

.responsive-table::-webkit-scrollbar {
    height: 6px;
}
.responsive-table::-webkit-scrollbar-track {
    background: #f0f0f0;
}
.responsive-table::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 8px;
}
}

/* ------------- 02 ----------- */
.timeline-list {
    list-style: none;
    margin: 0 auto;
    position: relative;
    margin-bottom: 40px;
}

/* タイムラインの左側 */
.timeline-list::before {
    content: '';
    position: absolute;
    top: 25px;
    bottom: 25px; 
    left: 25px; 
    width: 2px; 
    background-color: #d4d8dc;
    z-index: 1;
}

.timeline-item {
    display: flex;
    position: relative;
    margin-bottom: 50px; 
}
.timeline-item:last-child {
    margin-bottom: 0; 
}

.item-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: #ff8800;
    border-radius: 50%; 
    z-index: 2; 
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(255, 136, 0, 0.2);
}

.item-badge::after {
    content: attr(data-number);
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
}
.item-content {
    padding-left: 75px; 
    width: 100%;
    box-sizing: border-box;
}
.step-num {
    display: block;
    color: #ff8800;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.item-content h3 {
    font-size: 22px;
    color: #03162b;
    font-weight: bold;
    margin: 0 0 20px 0; 
    line-height: 1.3;
}
.item-text {
    font-size: 15px;
    color: #333333;
}
.item-text:last-of-type {
    margin-bottom: 0; 
}

/* ------- スマホ用------ */
@media (max-width: 768px) {
    .timeline-list::before {
        left: 18px;
    }
    .item-badge {
        width: 36px;
        height: 36px;
    }
    .item-badge::after {
        font-size: 16px;
    }
    
    .item-content {
        padding-left: 46px;
    }
    .item-content h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .item-text {
        font-size: 14px;
    }
}


/* ----------------03--------------- */
.items-grid {
    list-style: none; 
    padding: 0;
    margin: 0 auto;
    max-width: 960px;
    display: grid;
    grid-template-columns: repeat(3, 2fr); 
    gap: 24px;
}
.item-card {
    box-sizing: border-box;
    align-items: center;
    text-align: center;
}
.card-icon {
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.item-card .card-title {
    font-size: 18px;
    color: #03162b; 
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.3;
}


/* --- スマホ用 --- */
@media (max-width: 768px) {
    .items-grid {
        grid-template-columns: 1fr; 
        gap: 14px;
    }
    
    .item-card {
        padding: 12px 0px;
    }
    
    .item-card .card-title {
        font-size: 16px;
    }
}

/*--------------- 0302 ----------------*/
.check_card_list {
    display: flex;
    gap: 20px; 
    list-style: none; 
    padding: 0;
    margin: 0;
    margin-bottom: 24px;
}

.check_card {
    flex: 1;
    background-color: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px; 
    padding: 20px;
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

.card_img {
    margin-bottom: 8px;
    width: 100%;
    max-width: 200px; 
}

.card_img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.card_title {
    font-size: 18px;
    font-weight: bold;
    text-align: center; 
    margin: 0 0 10px 0;
    color: #333;
}

.card_text {
    color: #666;
    margin: 0;
    text-align: left; 
}

@media (max-width: 768px) {
    .check_card_list {
    flex-direction: column;
    }
}

/* ------------ 04 ------------- */
.faq-section {
    padding: 20px 0px;
}

.faq-container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 50px 20px 25px;
    font-size: 16px;
    color: #333333;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    
    display: flex;
    align-items: center;
}

/* Safari対策 */
.faq-question::-webkit-details-marker {
    display: none;
}

/* Q. */
.q-prefix {
    color: #cc0200; 
    font-size: 20px;
    font-weight: bold;
    margin: 0 8px 0 0;
    display: inline-block;
}

.faq-question::after {
    content: '';
    position: absolute;
    right: 25px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #a0aec0; 
    border-bottom: 2px solid #a0aec0;
    transform: translateY(-70%) rotate(45deg); 
    transition: transform 0.2s ease;
}

.faq-item[open] {
    border-color: #cbd5e1;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-30%) rotate(225deg);
}

.faq-answer {
    padding: 0 25px 25px 25px;
    border-top: 1px solid #edf2f7;
    background-color: #fafbfc;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin: 20px 0 0 0; 
}
.faq-answer p:first-child {
    margin-top: 20px; 
}

@media (max-width: 768px) {
    .faq-container {
        gap: 8px;
    }
    .faq-section {
        padding: 0;
    }
    .faq-question {
        padding: 16px 40px 16px 16px;
        font-size: 14px;
    }
    .q-prefix {
        font-size: 18px;
    }
    .faq-answer {
        padding: 0 16px 16px 16px;
    }
    .faq-answer p {
        font-size: 13.5px;
    }
    .faq-question::after {
        right: 16px;
    }
}


/* ------------ 05 --------------- */
.section-lead {
    color: #333333;
}

.recommend-grid {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.recommend-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px 20px 20px 48px;
    border: 2px solid #e1e8ed;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.recommend-card::before {
    content: "✔\FE0E";
    position: absolute;
    left: 16px;
    top: 20px;
    width: 22px;
    height: 22px;
    background-color: #f28b00;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.p-card-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #222;
    margin: 0 0 8px 0;
}


@media (max-width: 768px) {
.recommend-grid {
    grid-template-columns: 1fr; 
    }
    .pc-only {
    display: none;
    }
    .p-card-title {
    font-size: 1.4rem;
    }
}

/*-- ボタン --*/
.button-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    margin:0 auto;
    padding: 20px 24px;
    border: none;
    border-radius:62px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
    background-color: #cc0200;
    font-weight: 600;
    font-size: 24px;
    word-break: normal;
    overflow-wrap: anywhere;
    margin-top: 60px;
}
.button-1 a {
    color: #fff;
    line-height: 2;
}
.button-1::after {
    transform: rotate(45deg);
    width: 18px;
    height: 18px;
    margin-left: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    content: '';
}
.button-1:hover {
    background-color: rgb(255, 0, 0);
}
@media (max-width: 768px) {
    .button-1 {
        font-size: 18px;      /* スマホ用に文字サイズを小さく調整 */
        padding: 16px 8px;   /* パディングを少し狭く */
        width: 100%;
    }

    .button-1::after {
        width: 12px;          /* 文字に合わせて矢印も少し小さく */
        height: 12px;
        margin-left: 18px;
        border-top-width: 2px;  /* 線の太さもバランス調整 */
        border-right-width: 2px;
    }
}

/* デフォルト（スマホ想定）: PC専用改行を消す */
.pc-only { display: none; }
    /* PCサイズ（例: 768px以上）になったら */
    @media screen and (min-width: 768px) {
    .pc-only { display: inline; }   /* PC用改行を表示 */
    .sp-only { display: none; }     /* スマホ用改行を隠す */
}
