/* ===========================================
    pageVisual
============================================ */
.pageVisual {
    align-items: center;
    background: url("../images/price/pageVisual_bg.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    height: 480px;
    padding-top: 90px;
}

.pageVisual__inner {
    margin: 0 auto;
    max-width: 1140px;
    width: 100%;
}

.pageVisual__title img {
    width: 200px;
}

.pageVisual__lead {
    font-size: 28px;
    font-weight: 500;
    margin-top: 32px;
}

@media screen and (width <= 1024px) {
    .pageVisual {
        height: 300px;
        padding-top: 64px;
    }

    .pageVisual__inner {
        padding: 0 20px;
        width: auto;
    }

    .pageVisual__title {
        text-align: center;
    }

    .pageVisual__title img {
        width: 100px;
    }

    .pageVisual__lead {
        font-size: 20px;
        margin-top: 24px;
        text-align: center;
    }
}

@media screen and (width <= 767px) {
    .pageVisual {
        height: 200px;
    }

    .pageVisual__lead {
        font-size: 16px;
        margin-top: 16px;
    }
}


/* ===========================================
    plan
============================================ */
.plan {
    padding: 80px 0;
}

.plan hr {
    background-color: var(--colorWhite);
    margin: 64px 0;
}

.plan__blue {
    background: var(--colorBlue700);
    margin-top: 60px;
    position: relative;
}

.wave__head {
    height: 60px;
    position: absolute;
    top: -60px;
    width: 100%;
}

.wave__bottom {
    bottom: -60px;
    height: 60px;
    position: absolute;
    transform: rotate(180deg);
    width: 100%;
}

.plan__banner {
    text-align: center;
}

.plan__banner img {
    max-width: 940px;
    width: 100%;
}

.plan__title {
    border: 2px solid var(--colorBlue);
    border-radius: 16px;
    color: var(--colorBlue);
    font-size: 28px;
    font-weight: 500;
    margin-top: 80px;
    padding: 16px 0;
    text-align: center;
}

.plan__type {
    column-gap: 10px;
    display: flex;
    margin-top: 24px;
}

.plan__type li {
    border: 1px solid var(--colorBlue);
    border-radius: 100vw;
    color: var(--colorBlue);
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 32px;
}

.plan__heading {
    display: flex;
    justify-content: center;
}

.plan__headingTitle {
    color: var(--colorWhite);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.8;
    position: relative;
    text-align: center;
}

.plan__headingTitle span {
    color: var(--colorYellow);
}

.plan__headingTitle::before {
    background: var(--colorWhite);
    content: "";
    height: 100%;
    left: -48px;
    position: absolute;
    top: 0;
    transform: rotate(-15deg);
    width: 2px;
}

.plan__headingTitle::after {
    background: var(--colorWhite);
    content: "";
    height: 100%;
    position: absolute;
    right: -48px;
    top: 0;
    transform: rotate(15deg);
    width: 2px;
}

.plan__area {
    margin-top: 40px;
}

.plan__table {
    border-collapse: collapse;
    font-family: var(--fontNotoSans);
    font-size: 18px;
    font-weight: 500;
    margin: 40px 0 0;
    width: 100%;
}

.plan__table thead tr th {
    background-color: var(--colorBlue700);
    color: var(--colorWhite);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    padding: 10px 0;
    text-align: center;
}

.plan__table thead tr:nth-child(2) th {
    border-top: 2px solid var(--colorWhite);
}

.plan__table thead tr:nth-child(1) th:nth-child(1) {
    background: none;
    border: none;
    width: 250px;
}

.plan__table thead tr:nth-child(1) th:nth-child(2) {
    border-radius: 16px 0 0 0;
}

.plan__table thead tr:nth-child(1) th:nth-child(3) {
    border-left: 2px solid var(--colorWhite);
    border-radius: 0 16px 0 0;
}

.plan__table thead tr:nth-child(2) th:nth-child(n+1) {
    font-size: 18px;
}

.plan__table thead tr:nth-child(2) th:nth-child(1) {
    border-left: 2px solid var(--colorWhite);
}

.plan__table tbody tr th {
    background: var(--colorWhite100);
    border-bottom: 2px solid var(--colorWhite);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.plan__table tbody tr:first-child th {
    border-radius: 16px 0 0 0;
}

.plan__table tbody tr:last-child th {
    border-bottom: none;
    border-radius: 0 0 0 16px;
}

.plan__table tbody tr td {
    background: var(--colorWhite100);
    border-bottom: 2px solid var(--colorWhite);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    padding: 32px 0;
    text-align: center;
}

.plan__table tbody tr:last-child td {
    border-bottom: none;
}

.plan__table tbody tr:last-child td:last-child {
    border-radius: 0 0 16px 0;
}

.plan__tableType2 thead tr:nth-child(1) th:nth-child(2) span {
    padding-left: 64px;
}

.plan__tableType2 thead tr:nth-child(1) th:nth-child(1) {
    width: 450px;
}

.plan__tableType2 thead tr:nth-child(1) th:nth-child(2) {
    background: var(--colorBlue900);
}

.plan__tableType2 thead tr:nth-child(1) th:nth-child(n+2) {
    padding: 32px 0;
}

.plan__tableType2 tbody tr th span {
    font-size: 14px;
    padding-left: 24px;
}

.plan__tableType2 tbody .for-triangle {
    position: relative;
}

.plan__tableType2 tbody .for-amount {
    color: var(--colorOrange500);
    font-size: 20px;
    font-weight: 700;
    padding-left: 72px;
}

.plan__tableType2 tbody td small {
    font-weight: 700;
    padding-left: 2px;
}

.plan__tableType2 tbody .for-triangle::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 10px solid var(--colorBlue);
    border-right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 32px;
}

.plan__tableType3 thead tr th {
    background: var(--colorBlue200);
    color: var(--colorBlue);
    font-size: 24px;
    padding: 32px 0;
}

.plan__tableType3 thead tr th:nth-child(n+2) {
    border-bottom: 2px solid var(--colorBlue700);
    width: 160px;
}

.plan__tableType3 thead tr:nth-child(1) th:nth-child(3) {
    border-radius: 0;
    border-left: 2px solid var(--colorBlue700);
}

.plan__tableType3 thead tr:nth-child(1) th:nth-child(4) {
    border-radius: 0 16px 0 0;
    border-left: 2px solid var(--colorBlue700);
}

.plan__tableType3 thead tr th span {
    font-size: 20px;
}

.plan__tableType3 tbody tr th span {
    font-size: 14px;
    padding-left: 20px;
}

.plan__tableType3 tbody tr:nth-child(1) th, .plan__tableType3 tbody tr:nth-child(1) td {
    border-bottom: 2px solid var(--colorBlue700);
}

.plan__notes {
    font-family: var(--fontNotoSans);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 24px;
}

@media screen and (width <= 1024px) {
    .plan {
        padding: 40px 0;
    }
    
    .plan__blue {
        margin-top: 32px;
    }
    
    .plan hr {
        margin: 48px 0;
    }
    
    .wave__head {
        top: -14px;
    }
    
    .wave__bottom {
        bottom: -14px;
    }
    
    .plan__title {
        border-radius: 10px;
        font-size: 20px;
        margin-top: 40px;
        padding: 10px 0;
    }
    
    .plan__inner {
        margin-top: 0;
        -webkit-overflow-scrolling: touch; 
    }
    
    .plan__table {
        font-size: 16px;
        margin: 24px 0 0;
        min-width: 1000px;
    }

    .plan__table thead tr th {
        font-size: 16px;
        padding: 8px 0;
    }

    .plan__table thead tr:nth-child(2) th {
        border-top: 1px solid var(--colorWhite);
    }
    
    .plan__table thead tr:nth-child(1) th:nth-child(2) {
        border-radius: 10px 0 0 0;    
    }
    
    .plan__table thead tr:nth-child(1) th:nth-child(3) {
        border-left: 1px solid var(--colorWhite);
    }
    
    .plan__table thead tr:nth-child(1) th:nth-child(3) {
        border-radius: 0 10px 0 0;
    }
    
    .plan__table thead tr:nth-child(2) th:nth-child(n+1) {
        font-size: 14px;
    }
    
    .plan__table thead tr:nth-child(2) th:nth-child(1) {
        border-left: 1px solid var(--colorWhite);
    }

    .plan__table tbody tr th {
        border-bottom: 1px solid var(--colorWhite);
        font-size: 15px;
    }
    
    .plan__table tbody tr:first-child th {
        border-radius: 10px 0 0 0;
    }
    
    .plan__table tbody tr:last-child th {
        border-radius: 0 0 0 10px;
    }
    
    .plan__table tbody tr td {
        border-bottom: 1px solid var(--colorWhite);
        font-size: 14px;
        padding: 24px 0;
    }
    
    .plan__table tbody tr:last-child td:last-child {
        border-radius: 0 0 10px 0;
    }
    
    .plan__tableType2 thead tr:nth-child(1) th:nth-child(2) span {
        padding-left: 48px;
    }
    
    .plan__tableType2 thead tr:nth-child(1) th:nth-child(1) {
        width: 300px;
    }
    
    .plan__tableType2 thead tr:nth-child(1) th:nth-child(n+2) {
        padding: 24px 0;
    }

    .plan__tableType2 tbody tr th span {
        font-size: 13px;
        padding-left: 16px;
    }
    
    .plan__tableType2 tbody .for-amount {
        font-size: 18px;
        padding-left: 64px;
    }

    .plan__tableType3 thead tr:nth-child(1) th:nth-child(1) {
        width: 180px;
    }
    
    .plan__tableType3 {
        min-width: 800px;
    }
    
    .plan__tableType3 thead tr th {
        font-size: 18px;
        padding: 24px 0;
    }
    
    .plan__tableType3 thead tr th:nth-child(n+2) {
        border-bottom: 1px solid var(--colorBlue700);
        width: 100px;
    }
    
    .plan__tableType3 thead tr:nth-child(1) th:nth-child(3) {
        border-radius: 0;
    }
    
    .plan__tableType3 thead tr:nth-child(1) th:nth-child(3) {
        border-left: 1px solid var(--colorBlue700);
    }
    
    .plan__tableType3 thead tr:nth-child(1) th:nth-child(4) {
        border-radius: 0 10px 0 0;
        border-left: 1px solid var(--colorBlue700);
    }
    
    .plan__tableType3 thead tr th span {
        font-size: 10px;
    }
    
    .plan__tableType3 tbody tr th span {
        font-size: 13px;
        padding-left: 10px;
    }
    
    .plan__notes {
        font-size: 14px;
        margin-top: 16px;
    }
    
    .plan__type {
        flex-wrap: wrap;
        margin-top: 16px;
        gap: 8px;
    }
    
    .plan__type li {
        font-size: 13px;
        padding: 6px 24px;
    }
    
    .plan__headingTitle {
        font-size: 16px;
    }
    
    .plan__headingTitle::before {
        left: -10px;
        width: 1px;
    }
    
    .plan__headingTitle::after {
        right: -10px;
        width: 1px;
    }
}


/* faq セクションは common.css に移動済み */

/* ===========================================
    flow
============================================ */
.flow {
    background: var(--colorOrange100);
    padding: 80px 0;
}

.flow .headline {
    margin-top: 72px;
}

.flow__step {
    align-items: stretch;
    display: grid;
    margin-top: 96px;
    gap: 80px 48px;
    grid-template-columns: 1fr 1fr 1fr;
}

.flow__item {
    background: var(--colorWhite);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 72px 32px 32px;
    position: relative;
}

.flow__item::after {
    background: url(../images/price/flow_arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    content: "";
    height: 28px;
    margin: auto;
    position: absolute;
    right: -32px;
    top: 0;
    width: 17px;
}

.flow__item:nth-of-type(3)::after, 
.flow__item:nth-of-type(6)::after {
    display: none;
}

.flow__itemNum {
    align-items: center;
    background: var(--colorBlue);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    height: 100px;
    justify-content: center;
    left: 0;
    line-height: 1;
    margin: auto;
    position: absolute;
    right: 0;
    top: -50px;
    width: 100px;
}

.flow__itemNumTitle {
    color: var(--colorWhite);
    font-size: 18px;
    font-weight: 500;
}

.flow__itemNumWord {
    color: var(--colorWhite);
    font-size: 40px;
    font-weight: 500;
}

.flow__itemImg {
    text-align: center;
}

.flow__itemImg img {
    border-radius: 16px;
}

.flow__itemTitle {
    color: var(--colorBlue700);
    font-size: 22px;
    font-weight: 500;
    margin-top: 24px;
    text-align: center;
}

.flow__itemText {
    font-family: var(--fontNotoSans);
    font-size: 16px;
    line-height: 1.8;
    margin-top: 16px;
}

.flow__itemButton {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin-top: auto;
    padding-top: 32px;
}

.flow__itemButton li a:hover {
    opacity: 0.7;
}

@media screen and (width <= 1024px) {
    .flow {
        padding: 48px 0;
    }
    
    .flow .headline {
        margin-top: 48px;
    }
    
    .flow__step {
        margin-top: 64px;
        grid-template-columns: 1fr;
        row-gap: 64px;
    }
    
    .flow__item {
        border-radius: 8px;
        padding: 56px 20px 24px;
    }
    
    .flow__item::after {
        display: none;
    }
    
    .flow__itemNum {
        height: 72px;
        top: -32px;
        width: 72px;
    }
    
    .flow__itemNumTitle {
        font-size: 16px;
    }
    
    .flow__itemNumWord {
        font-size: 32px;
    }
    
    .flow__itemImg img {
        border-radius: 8px;
    }
    
    .flow__itemTitle {
        font-size: 18px;
    }
    
    .flow__itemText {
        font-size: 14px;
        margin-top: 16px;
    }
}
