@charset "utf-8";

body {
    background: var(--lower-black-back);
}

/* =================================
   料金表│費用について
================================= */
.cost-section {
    padding: 20px 6.5% 100px 6.5%;
}

.cost-inner {
    max-width: 1030px;
    margin: 64px auto 0;
}

.cost-list {
    margin: 0;
    padding: 0;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0 0 18px;
    border-bottom: 1px solid #B5AC98;
}

.cost-row+.cost-row {
    margin-top: 34px;
}

.cost-label,
.cost-price {
    margin: 0;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.cost-label {
    flex: 1;
}

.cost-price {
    flex-shrink: 0;
    text-align: right;
}

.cost-subtitle {
    margin: 56px 0 32px;
    color: #97743C;
    text-shadow: 0 2px 1px rgba(0, 0, 0, 0.10);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* -------------------------
   Tablet
------------------------- */
@media screen and (max-width: 1100px) and (min-width: 768px) {
    .cost-list {
        max-width: 795px;
		margin:0 auto;
    }
	.cost-subtitle {
		padding:0 5%;
	}
}
/* -------------------------
   SP
------------------------- */
@media screen and (max-width: 767px) {
    .cost-section {
        padding: 20px 2.7% 40px 2.7%;
    }

    .cost-list {
        padding: 0 4%;
    }

    .cost-inner {
        margin-top: 40px;
    }

    .cost-row {
        display: block;
        padding: 0 0 14px;
    }

    .cost-row+.cost-row {
        margin-top: 18px;
    }

    .cost-label,
    .cost-price {
        font-size: 16px;
    }

    .cost-price {
        display: block;
        margin-top: 8px;
        text-align: right;
    }

    .cost-subtitle {
        margin: 40px 0 24px;
        font-size: 20px;
		padding:0 4%;
    }
}


/* =================================
   料金表│シミュレーション
================================= */

.cost-simulation__prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1110px;
    margin: 70px auto 0;
}

.cost-simulation__card {
    background: rgba(255, 255, 255, 0.95);
    padding: 18px 18px 18px;
    box-sizing: border-box;
}

.cost-simulation__head {
    margin: 0 0 20px;
    background: #E0D2AA;
    color: #312D2C;
    text-align: center;
    font-family: "Shippori Mincho", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 8px 10px 9px;
}

.cost-simulation__body {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 128px;
}

.cost-simulation__image img {
    display: block;
    width: 100%;
    height: auto;
}

.cost-simulation__image--single {
    flex: 0 0 154px;
}

.cost-simulation__image--allon4 {
    flex: 0 0 174px;
}

.cost-simulation__text {
    flex: 1;
}

.cost-simulation__line {
    margin: 0;
    color: #312D2C;
    text-align: start;
    font-family: "Shippori Mincho", serif;
    font-style: normal;
    font-weight: 500;
    line-height: 1.45;
}

.cost-simulation__line+.cost-simulation__line {
    margin-top: 6px;
}

.cost-simulation__label,
.cost-simulation__unit {
    color: #312D2C;
    text-align: center;
    font-family: "Shippori Mincho", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.cost-simulation__value {
    color: #D36464;
    font-family: "Shippori Mincho", serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.cost-simulation__wave {
    color: #312D2C;
    font-family: "Shippori Mincho", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-right: 6px;
}

/* -------------------------
   Tablet（PC版寄せ）
------------------------- */
@media screen and (max-width: 1100px) and (min-width: 768px) {
    .cost-simulation__prices {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        max-width: 795px;
    }

    .cost-simulation__card {
        padding: 14px 14px 14px;
    }

    .cost-simulation__head {
        margin-bottom: 14px;
        font-size: 16px;
        padding: 7px 8px 8px;
    }

    .cost-simulation__body {
        gap: 14px;
        min-height: 104px;
    }

    .cost-simulation__image--single {
        flex: 0 0 104px;
    }

    .cost-simulation__image--allon4 {
        flex: 0 0 118px;
    }

    .cost-simulation__line {
        text-align: center;
    }

    .cost-simulation__label,
    .cost-simulation__unit {
        font-size: 15px;
    }

    .cost-simulation__value {
        font-size: 24px;
    }

    .cost-simulation__wave {
        font-size: 24px;
        margin-right: 3px;
    }

    .cost-simulation__line+.cost-simulation__line {
        margin-top: 4px;
    }
}

/* -------------------------
   SP
------------------------- */
@media screen and (max-width: 767px) {
    .cost-simulation__prices {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 40px;
        max-width: 320px;
    }

    .cost-simulation__card {
        padding: 10px 10px 12px;
    }

    .cost-simulation__head {
        margin-bottom: 10px;
        font-size: 16px;
        padding: 6px 8px;
    }

    .cost-simulation__body {
        gap: 12px;
        min-height: auto;
    }

    .cost-simulation__image--single {
        flex: 0 0 86px;
    }

    .cost-simulation__image--allon4 {
        flex: 0 0 92px;
    }

    .cost-simulation__label,
    .cost-simulation__unit {
        font-size: 11px;
    }

    .cost-simulation__value {
        font-size: 17px;
    }

    .cost-simulation__wave {
        font-size: 17px;
        margin-right: 2px;
    }

    .cost-simulation__line+.cost-simulation__line {
        margin-top: 6px;
        margin-left: 10px;
    }
}

/* -------------------------
   料金表│お支払い方法について
------------------------- */
.cost-payment__methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 68px;
    align-items: stretch;
    max-width: 1110px;
    margin: 75px auto 56px;
}

.cost-payment__method-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 38px 20px 34px;
    text-align: center;
    min-height: 390px;
    box-sizing: border-box;
}

.cost-payment__method-icon {
    width: 188px;
    margin: 0 auto 24px;
}

.cost-payment__method-icon img {
    display: block;
    width: 100%;
    height: auto;
}

.cost-payment__method-title {
    margin: 0 0 24px;
    color: #000;
    text-align: center;
    font-family: "Shippori Mincho", serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.cost-payment__method-text {
    margin: 0;
    color: #000;
    text-align: center;
    font-family: "Shippori Mincho", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
}

/* -------------------------
   Tablet（PC版寄せ）
------------------------- */
@media screen and (max-width: 1100px) and (min-width: 768px) {
    .cost-payment__methods {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
        margin: 32px auto 40px;
        max-width: 795px;
    }

    .cost-payment__method-card {
        padding: 24px 14px 22px;
        min-height: 280px;
    }

    .cost-payment__method-icon {
        width: 132px;
        margin: 0 auto 18px;
    }

    .cost-payment__method-title {
        margin: 0 0 16px;
        font-size: 18px;
    }

    .cost-payment__method-text {
        font-size: 16px;
        line-height: 1.45;
    }
}

/* -------------------------
   SP
------------------------- */
@media screen and (max-width: 767px) {
    .cost-payment__methods {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
        margin: 40px auto 0px;
        justify-content: center;
    }

    .cost-payment__method-card {
        width: 100%;
        max-width: 213px;
        padding: 18px 14px 20px;
        min-height: auto;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .cost-payment__method-icon {
        width: 120px;
        margin: 0 auto 16px;
    }

    .cost-payment__method-title {
        margin: 0 0 12px;
        font-size: 18px;
    }

    .cost-payment__method-text {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* -------------------------
   料金表│デンタルローンについて
------------------------- */
.cost-loan {
    padding-bottom: 100px;
}

.cost-lead {
    margin: 64px auto 0;
    color: #FFF;
    text-align: center;
    font-family: "Shippori Mincho", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.65;
    max-width: 980px;
}

.cost-loan__subtitle {
    margin-top: 72px;
    text-align: center;
}

.cost-loan__lead-secondary {
    margin-top: 36px;
}

.cost-loan__card {
    max-width: 816px;
    margin: 44px auto 0;
    padding: 19px 40px 20px;
    background: #D8CCA5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-sizing: border-box;
}

.cost-loan__info {
    min-width: 0;
}

.cost-loan__company {
    position: relative;
    margin: 0;
    padding-left: 22px;
    color: var(--black, #091B2C);
    font-family: "Shippori Mincho", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.cost-loan__company::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #CAA05A;
    transform: translateY(-50%);
}

.cost-loan__meta {
    margin: 14px 0 0;
    color: #777;
    font-family: "Shippori Mincho", serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.cost-loan__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 281px;
    min-height: 56px;
    padding: 12px 24px;
    box-sizing: border-box;
    border: 1px solid #444;
    background: #F7F6F2;
    color: #091B2C;
    text-align: center;
    font-family: "Shippori Mincho", serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.cost-loan__button:hover {
    background: #091B2C;
    color: #FFF;
    border-color: #091B2C;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.cost-loan__button:focus-visible {
    outline: 2px solid #FFF;
    outline-offset: 3px;
}

/* -------------------------
   Tablet
------------------------- */
@media screen and (max-width: 1100px) and (min-width: 768px) {
    .cost-lead {
        margin-top: 48px;
        font-size: 18px;
        line-height: 1.7;
        max-width: 860px;
    }

    .cost-loan__subtitle {
        margin-top: 56px;
    }

    .cost-loan__lead-secondary {
        margin-top: 28px;
    }

    .cost-loan__card {
        max-width: 760px;
        margin-top: 36px;
        padding: 18px 24px;
        gap: 20px;
    }

    .cost-loan__button {
        min-width: 240px;
        min-height: 52px;
        font-size: 16px;
    }
}

/* -------------------------
   SP
------------------------- */
@media screen and (max-width: 767px) {
    .cost-lead {
        margin-top: 36px;
        text-align: start;
        font-size: 16px;
        line-height: 1.7;
        max-width: 100%;
        padding: 0 7px;
    }

    .cost-loan__subtitle {
        margin-top: 56px;
    }

    .cost-loan__lead-secondary {
        margin-top: 26px;
    }

    .cost-loan__card {
        margin-top: 28px;
        padding: 20px 12px 16px;
        display: block;
    }

    .cost-loan__company {
        font-size: 20px;
    }

    .cost-loan__meta {
        margin-top: 12px;
        font-size: 14px;
    }

    .cost-loan__button {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        margin-top: 14px;
        padding: 10px 16px;
        font-size: 16px;
    }
}