@charset 'utf-8';

.p-fp .c-toc {
    margin-bottom: 94px;
}
.p-fp .c-secttl2 {
    margin-bottom: 40px;
}
.p-fp__subSection {
    margin-bottom: 70px;
}
.p-fp__section-lead {
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    margin-bottom: 40px;
}
#fp_freeze-continue .p-fp__section-lead {
    margin-bottom: 15px;
}
.p-fp__subSection .c-subttl {
    margin-bottom: 32px;
}
.p-fp__subSection-item {
    margin-bottom: 40px;
}
.p-fp__subSection-item-ttl {
    font-size: 18px;
    font-weight: 400;
    line-height: 19px;
    color: var(--color-gold);
    border-left: var(--color-gold) 2px solid;
    padding-left: 8px;
    margin-bottom: 25px;
}
.p-fp__subSection-txt {
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    margin-bottom: 1em;
}
.p-fp__subSection-ul {
    list-style: disc;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    padding-left: 1.5em;
}
.p-fp__subSection-ul-parent {
    list-style: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    padding-left: 0;
    margin-top: 0.5em;
}
.p-fp__subSection-ul-parent > li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}
.p-fp__subSection-ul-parent > li::after {
    content: '';
    display: block;
    width: 0.8em;
    height: 0.8em;
    background-color: var(--color-text);
    position: absolute;
    left: 0;
    top: 0.7em;
}
.p-fp__subSection-ul-parent .parent-ttl {
    font-weight: 700;
}

/*=========================
フロー
=========================*/
.p-fp__flow {
    display: grid;
    grid-template-columns: repeat(4, 22.75%);
    column-gap: 3%;
}
.p-fp__flow-item {
    background-color: var(--color-light-gold);
    border-radius: 10px;
    padding: 14px 21px 15px 22px;
    position: relative;
}
.p-fp__flow-item:not(:last-of-type)::after {
    content: "";
    display: block;
    width: 13px;
    height: 31px;
    background-image: url(../img/for-patients/arrow_flow.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: -24px;
    transform: translateY(-50%);
}
.p-fp__flow-item .flow-item-top {
    display: flex;
    align-items: center;
    column-gap: 22px;
    margin-bottom: 27px;
}
.p-fp__flow-item .flow-item-top .num {
    font-family: var(--font-eb);
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1;
    color: var(--color-gold);
}
.p-fp__flow-item .flow-item-top h4 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.66;
    color: var(--color-gold);
}
.p-fp__flow-item .flow-item-img {
    display: block;
    width: 100%;
    aspect-ratio: 230/150;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}
.p-fp__flow-item .flow-item-txt {
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
}

/*=========================
予約
=========================*/
.p-fp__reservation {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}
.p-fp__reservation-item {
    width: 48.3%;
}
.p-fp__reservation-link {
    width: 100%;
    height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
    padding: 0px 24px 0px 20px;
}
.p-fp__reservation-link:hover {
    opacity: 1;
}
.p-fp__reservation-link.link01 {
    background-color: #10bc60;
    box-shadow: var(--box-shadow);
    padding-left: 38px;
}
.p-fp__reservation-link.link01:hover {
    background-color: #fff;
}
.p-fp__reservation-link.link01::after {
    content: "";
    display: block;
    width: 6px;
    height: 11px;
    background-image: url("../img/common/arrow_right_white.png");
    background-repeat: no-repeat;
    background-size: contain;
}
.p-fp__reservation-link.link01:hover::after {
    background-image: url("../img/common/arrow_right_lime.png");
}
.p-fp__reservation-link.link01 .link-main {
    display: flex;
    align-items: center;
}
.p-fp__reservation-link.link01 .link-main-top {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: rgb(255, 255, 255);
    padding-right: 22px;
    border-right: 1px solid rgb(255, 255, 255);
}
.p-fp__reservation-link.link01:hover .link-main-top {
    color: #10bc60;
    border-color: #10bc60;
}
.p-fp__reservation-link.link01 .link-main-bottom {
    font-size: 13px;
    font-weight: 400;
    color: rgb(255, 255, 255);
    padding-left: 22px;
}
.p-fp__reservation-link.link01:hover .link-main-bottom {
    color: #10bc60;
}
.p-fp__reservation-link.link02 {
    justify-content: center;
    background-color: var(--color-light-gold);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--color-gold);
    border: var(--color-light-gold) 1px solid;
}
.p-fp__reservation-link.link02:hover {
    background-color: var(--color-gold);
    color: #fff;
}
.p-fp__reservation-item h4 {
    font-size: 18px;
    font-weight: 400;
    line-height: 19px;
    color: var(--color-gold);
    border-left: var(--color-gold) 2px solid;
    padding-left: 8px;
    margin-bottom: 22px;
}
.p-fp__reservation-link.link01.link01--re {
    justify-content: center;
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    position: relative;
}
.p-fp__reservation-link.link01.link01--re:hover {
    color: #10bc60;
}
.p-fp__reservation-link.link01.link01--re::after {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
}

@media screen and (max-width:768px) {
    .p-fp__reservation-link.link01 {
        padding-left: 18px;
    }
}

/*=========================
FAQ
=========================*/
.p-fp__faq {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    padding: 0 10px;
}
.p-fp__faq-item {
    width: 100%;
    border: var(--color-main) 1px solid;
    border-radius: 10px;
}
.p-fp__faq-item .faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    column-gap: 22px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.625;
    color: var(--color-gold);
    background-color: var(--color-light-gold);
    border-radius: 10px 10px 0 0;
    padding: 10px 16px;
}
.p-fp__faq-item .faq-q::before {
    content: "Q.";
    display: inline-block;
    font-family: var(--font-eb);
    font-size: 15px;
    line-height: 25px;
    color: var(--color-gold);
}
.p-fp__faq-item .faq-a {
    width: 100%;
    display: flex;
    align-items: flex-start;
    column-gap: 22px;
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    padding: 11px 16px 17px;
}
.p-fp__faq-item .faq-a::before {
    content: "A.";
    display: inline-block;
    font-family: var(--font-eb);
    font-size: 15px;
    line-height: 25px;
    color: var(--color-gold);
}

/*=========================
凍結継続更新
=========================*/
#fp_high-expense .p-fp__subSection-item:first-of-type {
    margin-top: 30px;
}

/*=========================
ART
=========================*/
#fp_art .p-fp__subSection-txt {
    margin-bottom: 22px;
}

/*=========================
各種書類費用
=========================*/
.p-fp__document {
    display: grid;
    grid-template-rows: repeat(4, 40px);
    row-gap: 4px;
}
.p-fp__document-th,
.p-fp__document-tr {
    display: grid;
    grid-template-columns: 49.5% 24.7% 24.7%;
    column-gap: 0.55%;
}
.p-fp__document-th .row02,
.p-fp__document-th .row03 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--font-noto);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 16px;
}
.p-fp__document-th .row02 span,
.p-fp__document-th .row03 span {
    display: block;
    font-size: 10px;
}
.p-fp__document-tr .row01,
.p-fp__document-tr .row02,
.p-fp__document-tr .row03 {
    display: flex;
    align-items: center;
    font-family: var(--font-noto);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.2;
    padding: 0 10px;
}

.p-fp__document-tr .row01 {
    background-color: var(--color-light-gold);
    color: var(--color-gold);
    text-decoration: underline;
}
.p-fp__document-tr .row02 {
    justify-content: flex-end;
    background-color: #f4f4f4;
}
.p-fp__document-tr .row03 {
    justify-content: flex-end;
    background-color: var(--color-light-gold);
}
#fp_document .p-fp__subSection-item,
#fp_document.p-fp__subSection {
    margin-bottom: 0;
}

/*=========================
生命保険会社用診断書
=========================*/
/* 変更前／変更後、作成費用などの2列の表 */
.p-fp__table {
    width: 100%;
    max-width: 760px;
    border-collapse: separate;
    border-spacing: 0 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 20px 0 1em;
}
.p-fp__table th,
.p-fp__table td {
    text-align: left;
    vertical-align: middle;
    padding: 10px 16px;
}
.p-fp__table th {
    width: 50%;
    font-weight: 500;
    color: var(--color-gold);
    background-color: var(--color-light-gold);
}
.p-fp__table td {
    background-color: #f4f4f4;
}
/* 注意点の中の「管理料の例」「先進医療の例」 */
.p-fp__subSection-ul > li + li {
    margin-top: 0.5em;
}
.p-fp__subSection-note {
    display: block;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 0.5em;
}
#fp_insurance-certificate .c-dll__links {
    margin-bottom: 1em;
}

@media screen and (max-width: 1200px) {
    .p-fp__flow {
        grid-template-columns: repeat(3, 31.33%);
        justify-content: center;
        row-gap: 30px;
    }
    .p-fp__reservation {
        flex-direction: column;
        row-gap: 38px;
    }
    .p-fp__reservation-item {
        max-width: 640px;
        width: 100%;
    }
}
@media screen and (max-width: 900px) {
    .p-fp__flow {
        grid-template-columns: repeat(2, 48.5%);
        justify-content: center;
        row-gap: 30px;
        column-gap: 4%;
    }
}

@media screen and (max-width: 768px) {
    .p-fp .c-toc {
        margin-bottom: 70px;
    }
    .p-fp__flow {
        grid-template-columns: 100%;
        row-gap: 77px;
    }
    .p-fp__flow-item {
        padding: 18px 24px 19px 27px;
    }
    .p-fp__flow-item .flow-item-top {
        display: flex;
        justify-content: center;
        position: relative;
    }
    .p-fp__flow-item .flow-item-top .num {
        position: absolute;
        top: 0;
        left: -9px;
    }
    .p-fp__flow-item .flow-item-img {
        width: calc(100% - 16px);
        object-fit: contain;
        aspect-ratio: auto;
        border-radius: 10px;
        padding: 0;
        margin: 0 9px 15px 7px;
    }
    .p-fp__flow-item:not(:last-of-type)::after {
        width: 40px;
        height: 17px;
        background-image: url(../img/for-patients/arrow_flow_sp.png);
        top: unset;
        bottom: -47px;
        right: unset;
        left: 50%;
        transform: translateX(-50%);
    }
    .p-fp__reservation-item h4 {
        font-size: 16px;
    }
    .p-fp__reservation-link {
        height: 76px;
        font-size: 24px;
        padding: 0px 24px 0px 18px;
    }
    .p-fp__reservation-link.link01 .link-main {
        flex-direction: column;
        align-items: flex-start;
    }
    .p-fp__reservation-link.link01 .link-main-top {
        font-size: 18px;
        line-height: 1.39;
        padding-right: 0;
        padding-bottom: 4px;
        border-right: none;
    }
    .p-fp__reservation-link.link01 .link-main-bottom {
        line-height: 26px;
        border-top: rgba(255, 255, 255, 0.3) 1px solid;
        padding-left: 0;
    }
    .p-fp__subSection {
        margin-bottom: 40px;
    }
    #fp_flow.p-fp__subSection {
        margin-bottom: 67px;
    }
    .p-fp__reservation-link.link01.link01--re {
        justify-content: flex-start;
        font-size: 18px;
    }
    #follow-up {
        margin-top: 85px;
        margin-bottom: 40px;
    }
    #fp_freeze-continue {
        margin-top: 67px;
    }
    .p-fp__subSection-item-ttl {
        font-size: 16px;
        margin-bottom: 16px;
    }
    .p-fp__table {
        font-size: 14px;
    }
    .p-fp__table th,
    .p-fp__table td {
        padding: 8px 10px;
    }
    #fp_faq .p-fp__subSection-item-ttl {
        margin-bottom: 23px;
    }
    .p-fp__document {
        grid-template-rows: auto;
    }
    .p-fp__document-th .row02,
    .p-fp__document-th .row03 {
        font-size: 13px;
    }
    .p-fp__document-th,
    .p-fp__document-tr {
        height: 60px;
    }
    .p-fp__document-tr .row01 {
        font-size: 13px;
        padding: 0 16px 0 10px;
    }
    .p-fp__document-tr .row02,
    .p-fp__document-tr .row03 {
        font-size: 14px;
        padding: 0 11px 0 10px;
    }
}
