/**************************************
/*  TOP
/**************************************/
/* mainvisual */
.main-header-lg.top {
    background: #f1f5f8 url(../images/page-header.webp) no-repeat 83% center / cover;
}
.main-header-lg.top .container {
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
.main-header-lg.top .text-wrap {
    max-width: 610px;
}
.main-header-lg.top .text-wrap p b {
    font-weight: 400;
}
.main-header-lg.top .main-header-lg-title {
    margin-bottom: 20px;
}
.main-header-lg.top .top-mv-text {
    max-width: 462px;
    padding: 10px;
    align-self: flex-start;
    width: fit-content;
}
.main-header-lg.top .top-mv-text figure {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.main-header-lg.top .top-mv-text img:first-child {
    width: 50%;
    max-width: 108px;
}
.main-header-lg.top .top-mv-text figure img:nth-child(2) {
    width: 50%;
    max-width: 108px;
}
@media (max-width: 575px) {
    .main-header-lg.top .text-wrap {
        display: flex;
        justify-content: center;
        flex-direction: column;
        height: 100%;
    }
    .main-header-lg.top .text-wrap p {
        margin-top: auto;
        background-color: rgba(255, 255, 255, 0.8);
    }
}
@media (min-width: 576px) {
    .main-header-lg.top .container {
        justify-content: start;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .main-header-lg.top .top-mv-text {
        margin-top: 0;
        padding: 2rem;
        margin-top: auto;
    }
}
@media (min-width: 768px) {
    .main-header-lg.top .top-mv-text img:first-child {
        width: 60%;
        max-width: 118px;
    }
    .main-header-lg.top .top-mv-text figure img:nth-child(2) {
        width: 60%;
        max-width: 118px;
    }
}
@media (min-width: 992px) {
    .main-header-lg.top {
        background-position: 75% top;
    }
    .main-header-lg.top .container {
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }
    .main-header-lg.top .text-wrap p b {
        font-weight: bold;
    }
    .main-header-lg.top .top-mv-text img:first-child {
        max-width: 125px;
    }
    .main-header-lg.top .top-mv-text figure img:nth-child(2) {
        max-width: 125px;
    }
}
@media (min-width: 1200px) {
    .main-header-lg.top {
        background-position: right top;
    }
    .main-header-lg.top .main-header-lg-title {
        margin-bottom: 25px;
    }
}
@media (min-width: 2000px) {
    .main-header-lg.top {
        background-size: contain;
    }
}

/* reason */
.reason-item {
    margin-top: 2rem;
}
.reason-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    background-color: var(--color-main);
}
.reason-number {
    position: absolute;
    top: 0;
    left: 10px;
    transform: translate(0, -50%);
    width: 64px;
}

.reason-text {
    height: 100%;
    padding: 2rem 3rem 3rem 3rem;
    color: var(--color-white);
}
.reason-title {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 18px;
    letter-spacing: var(--ls-base);
    color: var(--color-white);
    line-height: 1.62;
}
.reason-soft-box {
    border: 2px solid var(--color-main);
    padding: 3rem;
}
.reason-soft-member {
    display: flex;
    justify-content: center;
    margin: 0 -2.5rem;
}
.reason-soft-member > * {
    width: calc(150px + 2.5rem);
    padding: 0 2.5rem;
}
@media (min-width: 576px) {
    .reason-soft-box {
        padding: 5rem;
    }
}
@media (min-width: 768px) {
    .reason-number {
        width: 96px;
    }
    .reason-title {
        font-size: 20px;
    }
}
@media (min-width: 992px) {
    .reason-number {
        width: 108px;
    }
}

/* service */
.service-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--box-shadow);
    background-color: var(--color-white);
}
.service-item-text {
    padding: 20px 20px 3rem;
}
.service-item-title {
    margin-bottom: 15px;
    color: var(--color-main);
    font-size: var(--fs-23);
    letter-spacing: var(--ls-base);
    line-height: 1.8;
    text-align: center;
}
/* price */
.top-price {
    background: url(../images/price-bg.webp) no-repeat center / cover;
}
.top-price-box {
    width: 100%;
    max-width: 570px;
    margin: 0 auto;
    background-color: var(--color-main);
    padding: 20px;
    color: var(--color-white);
    text-align: center;
    line-height: 1;
}
.top-price-title {
    margin-bottom: 10px;
    font-size: var(--fs-20);
    font-weight: bold;
}
.top-price-price {
    margin-bottom: 10px;
    color: #f2e270;
    font-size: var(--fs-35);
    font-weight: bold;
}
.top-price-price .ff-en {
    font-size: 1.5714285714285em;
}

.price-color-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--box-shadow);
    text-align: center;
}
.price-box-title {
    background-color: var(--color-main);
    padding: 2rem;
    font-size: var(--fs-20);
    letter-spacing: var(--ls-base);
    color: var(--color-white);
}
.price-box-text {
    background-color: var(--color-white);
    padding: 2rem;
}
.price-box-price {
    color: var(--color-main);
}
.price-box-price .price-number {
    font-size: var(--fs-45);
    letter-spacing: var(--ls-base);
    font-weight: bold;
}
.price-box-price .price-yen {
    font-size: var(--fs-30);
    letter-spacing: var(--ls-base);
    font-weight: bold;
}
.price-box-price .price-tax {
    font-size: var(--fs-23);
    letter-spacing: var(--ls-base);
}

/* ex */
.price-ex-box {
    height: 100%;
    box-shadow: var(--box-shadow);
    background-color: var(--color-white);
}
.price-ex-title {
    background-color: var(--color-main);
    padding: 1.5rem;
    font-size: var(--fs-20);
    color: var(--color-white);
    text-align: center;
}
.price-ex-text {
    padding: 20px 3rem 3rem;
    text-align: center;
}
.price-ex-text figure {
    margin-top: auto;
    text-align: center;
}
.price-ex-text img {
    width: 448px;
}

/* staff */
.staff-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--box-shadow);
    background-color: var(--color-white);
}
.staff-name-box {
    border-bottom: 1px solid var(--color-main-pale);
    padding: 2rem;
    text-align: center;
    font-weight: bold;
}
.staff-name-box > * {
    display: block;
}
.staff-name-title {
    color: var(--color-main);
    font-size: var(--fs-14);
    letter-spacing: var(--ls-base);
}
.staff-record-box {
    padding: 2rem 2rem 3rem;
}
.staff-record-table th,
.staff-record-table td {
    font-size: var(--fs-14);
    letter-spacing: var(--ls-base);
    font-weight: 400;
}
.staff-record-table th {
    width: 2em;
    color: var(--color-main);
    white-space: nowrap;
}
.staff-record-table td {
    padding-left: 15px;
}
.staff-record-table tr + tr th,
.staff-record-table tr + tr td {
    padding-top: 1.5rem;
}

/* step */
.consultation {
    background: #20569e;
}

.consultation .title-section {
    color: #fff;
}
.consultation .title-section::after {
    background-color: #fff;
}

.stepLists {
    justify-content: center;
    gap: 30px;
    margin-bottom: 5rem;
}

.stepLists > li {
    position: relative;
    width: 210px;
    background-color: #fff;
    padding-block: 3rem;
}

.stepLists > li::after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 7px;
    height: 20px;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    background-color: var(--lightGlay);
    top: 50%;
    right: -19px;
    transform: translateY(-50%);
}

.stepLists > li:last-of-type:after {
    content: none;
}

.stepLists figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stepLists figure > img {
    height: 5rem;
    object-fit: contain;
    margin-bottom: 2rem;
}

.stepLists figcaption p:first-of-type {
    padding: 3px 16px;
    color: #20569d;
    background-color: #f2e270;
    line-height: 1.2;
    margin-bottom: 8px;
    font-weight: 700;
    width: 96px;
    margin-inline: auto;
    letter-spacing: 0;
}

.stepLists figcaption h4 {
    font-size: 18px;
    color: #20569d;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0;
}

.stepLists figcaption p:last-of-type {
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.stepLists figcaption span {
    font-size: 12px;
}

@media (max-width: 1199px) {
    .stepLists {
        margin-inline: auto;
        max-width: 690px;
    }

    .stepLists figcaption p:first-of-type {
        padding: 3px 12px 2px;
        width: 80px;
    }
}

@media (max-width: 575px) {
    #consultation .mjr-head > span:first-of-type::before,
    #consultation .mjr-head > span:first-of-type::after {
        width: 18px;
    }

    #consultation .mjr-head > span:first-of-type::before {
        margin-right: 5px;
    }

    #consultation .mjr-head > span:first-of-type::after {
        margin-left: 5px;
    }

    .stepLists {
        max-width: 429px;
        margin-bottom: 3rem;
    }

    .stepLists > li::after {
        top: auto;
        bottom: -26px;
        right: auto;
        left: 50%;
        transform: translateY(0) translateX(-50%) rotate(90deg);
    }

    .stepLists figure > img {
        margin-bottom: 1.5rem;
    }

    .stepLists figcaption h4 {
        margin-bottom: 4px;
    }
}

/**************************************
/*  FAQ
/**************************************/
.faq-item + .faq-item {
    margin-top: 4rem;
}
.faq-q,
.faq-a {
    position: relative;
    display: flex;
    align-items: center;
    font-size: var(--fs-18);
    letter-spacing: var(--ls-base);
    font-weight: bold;
}
.faq-q::before,
.faq-a::before {
    margin-right: 10px;
    font-weight: 600;
    font-family: var(--ff-en);
    font-size: var(--fs-30);
    color: var(--color-main);
    line-height: 1;
    white-space: nowrap;
}
.faq-q {
    padding-bottom: 10px;
    padding-right: 4rem;
}
.faq-q:hover {
    cursor: pointer;
}
.faq-q::before {
    content: "Q.";
}
.faq-q::after {
    content: "\f078";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-family: var(--ff-awesome);
    font-weight: bold;
    color: var(--color-main);
}
.faq-item.active .faq-q::after {
    content: "\f077";
}
.faq-a-box {
    height: 1px;
    overflow: hidden;

    border: 1px solid var(--color-main);
    border-bottom: 0;
    padding-left: 3rem;
    padding-right: 3rem;
    transition: 0.5s;
}
.faq-item.active .faq-a-box {
    height: auto;
    overflow: visible;

    border-bottom: 1px solid var(--color-main);
    padding-top: 2rem;
    padding-bottom: 3rem;
}
.faq-a {
    color: var(--color-main);
}
.faq-a::before {
    content: "A.";
}
.faq-a-text {
    margin-top: 15px;
}
.faq-contact-button .commonp-mail {
    box-shadow: var(--box-shadow);
}
.faq-a-link {
    display: inline-block;
    margin-top: 2rem;
    font-size: var(--fs-20);
    letter-spacing: var(--ls-base);
    font-weight: bold;
}
.faq-a-link::after {
    content: "\f138";
    display: inline-block;
    margin-left: 15px;
    font-family: var(--ff-awesome);
    color: var(--color-main);
}
@media (min-width: 992px) {
    .faq-contact-button {
        flex: auto;
        max-width: calc(370px + 30px);
    }
}

/**************************************
/*  topics
/**************************************/
.topics-list {
    margin-top: -2rem;
}
.topics-item {
    border-bottom: 1px solid var(--color-main-pale);
}
.topics-link {
    position: relative;
    display: block;
    padding: 2rem 4rem 2rem 0;
    padding-right: 4rem;
}
.topics-link::after {
    content: "\f138";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-family: var(--ff-awesome);
    color: var(--color-main);
    font-size: var(--fs-20);
    font-weight: bold;
}
.topics-date {
    color: var(--color-main);
}
@media (min-width: 576px) {
    .topics-link {
        display: flex;
        align-items: center;
    }
    .topics-date {
        width: 10rem;
        margin-right: 20px;
        white-space: nowrap;
    }
}
