/* =========================================================
   ALL-ON-4 COST
========================================================= */

.page-allon4-cost {
    color: #514b43;
    background: #ffffff;
}

.page-allon4-cost * {
    box-sizing: border-box;
}

.cost-en {
    display: block;
    margin-bottom: 13px;
    color: #9a7943;
    font-family: "Times New Roman", serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.22em;
}

.cost-lead {
    color: #765b34 !important;
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 17px !important;
    line-height: 1.9 !important;
    font-weight: 500;
}


/* =========================================================
   PAGE TITLE
========================================================= */

.page-allon4-cost .page-title {
    padding: 30px 0 30px;
    background: #f5f3ef;
    border-bottom: 1px solid #e4dfd7;
}

.page-allon4-cost .page-title__en {
    display: block;
    margin-bottom: 9px;
    color: #9a7943;
    font-family: "Times New Roman", serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.22em;
}

.page-allon4-cost .page-title h1 {
    margin: 0;
    color: #292621;
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 32px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.04em;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.page-allon4-cost .breadcrumb {
    padding: 13px 0;
    background: #ffffff;
    border-bottom: 1px solid #eeeae4;
}

.page-allon4-cost .breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-allon4-cost .breadcrumb__list li {
    color: #8a847c;
    font-size: 11px;
}

.page-allon4-cost .breadcrumb__list li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #bbb3a7;
}

.page-allon4-cost .breadcrumb__list a {
    color: #716b63;
    text-decoration: none;
}


/* =========================================================
   COST ANSWER
========================================================= */

.cost-answer {
    position: relative;
    padding: 65px 0 75px;
    overflow: hidden;
}

.cost-answer::before {
    content: "COST";
    position: absolute;
    top: 20px;
    right: -20px;
    color: rgba(145, 111, 58, 0.04);
    font-family: "Times New Roman", serif;
    font-size: clamp(120px, 16vw, 230px);
    line-height: 1;
}

.cost-answer__head {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 75px;
    align-items: center;
}

.cost-answer__content h2 {
    margin: 0;
    color: #2d2924;
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 34px;
    line-height: 1.65;
    font-weight: 500;
}

.cost-answer__content h2 em {
    color: #8d6a35;
    font-style: normal;
}

.cost-answer__content p {
    margin: 25px 0 0;
    color: #5c564e;
    font-size: 15px;
    line-height: 2;
}

.cost-answer__visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e7e1d8;
}

.cost-answer__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cost-answer__visual span {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 10px 15px;
    color: #ffffff;
    background: rgba(48, 44, 39, 0.88);
    font-family: "Times New Roman", serif;
    font-size: 8px;
    letter-spacing: 0.18em;
}


/* =========================================================
   MAIN PRICE
========================================================= */

.cost-price {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 0.8fr 1.1fr 1.1fr;
    margin-top: 55px;
    border: 1px solid #d7cec1;
}

.cost-price > div {
    padding: 35px;
}

.cost-price__name {
    background: #f3efe9;
}

.cost-price__name > span,
.cost-price__main > span,
.cost-price__include > span {
    display: block;
    margin-bottom: 12px;
    color: #9a7943;
    font-family: "Times New Roman", serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.cost-price__name h3 {
    margin: 0;
    color: #37322c;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
}

.cost-price__main {
    color: #ffffff;
    background: #3b3833;
}

.cost-price__main > span {
    color: #c6a970;
}

.cost-price__main div {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.cost-price__main strong {
    color: #d3b77f;
    font-family: "Times New Roman", serif;
    font-size: 49px;
    line-height: 1;
    font-weight: 400;
}

.cost-price__main small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
}

.cost-price__include {
    background: #ffffff;
}

.cost-price__include ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cost-price__include li {
    padding: 7px 10px;
    color: #5d554c;
    background: #f3efe9;
    font-size: 10px;
}

.cost-answer__note {
    margin: 15px 0 0;
    color: #837b70;
    font-size: 10px;
    line-height: 1.8;
}


/* =========================================================
   DETAIL
========================================================= */

.cost-detail {
    padding: 75px 0;
    background: #f5f2ed;
}

.cost-detail__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.cost-detail__visual {
    position: relative;
}

.cost-detail__visual::before {
    content: "";
    position: absolute;
    top: -17px;
    left: -17px;
    width: 80%;
    height: 75%;
    border-top: 1px solid #a88650;
    border-left: 1px solid #a88650;
}

.cost-detail__visual img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
}

.cost-detail__number {
    position: absolute;
    top: -55px;
    right: 5px;
    z-index: 4;
    color: rgba(143, 108, 55, 0.22);
    font-family: "Times New Roman", serif;
    font-size: 95px;
    line-height: 1;
}

.cost-detail__content h2 {
    margin: 0 0 25px;
    color: #302c27;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 31px;
    line-height: 1.65;
    font-weight: 500;
}

.cost-detail__content p {
    margin: 0 0 18px;
    color: #59534b;
    font-size: 14px;
    line-height: 2;
}

.cost-components {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 65px;
    background: #d6cdc0;
}

.cost-components article {
    padding: 28px 24px;
    background: #ffffff;
}

.cost-components article > span {
    display: block;
    margin-bottom: 17px;
    color: #a17f4b;
    font-family: "Times New Roman", serif;
    font-size: 27px;
}

.cost-components h3 {
    margin: 0 0 11px;
    color: #3d3832;
    font-size: 15px;
    font-weight: 500;
}

.cost-components p {
    margin: 0;
    color: #6a635a;
    font-size: 11px;
    line-height: 1.8;
}


/* =========================================================
   ADDITIONAL
========================================================= */

.cost-additional {
    padding: 70px 0;
    color: #ffffff;
    background: #343532;
}

.cost-additional__head {
    margin-bottom: 45px;
}

.cost-additional__head h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 30px;
    line-height: 1.65;
    font-weight: 500;
}

.cost-additional__body {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 70px;
    padding-top: 35px;
    border-top: 1px solid rgba(198, 166, 111, 0.35);
}

.cost-additional__intro strong {
    color: #d1b47d;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 19px;
    line-height: 1.8;
    font-weight: 500;
}

.cost-additional__text p {
    margin: 0 0 17px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 2;
}


/* =========================================================
   PAYMENT
========================================================= */

.cost-payment {
    padding: 75px 0;
}

.cost-payment__head {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 50px;
}

.cost-payment__head h2 {
    margin: 0;
    color: #302c27;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 31px;
    line-height: 1.65;
    font-weight: 500;
}

.cost-payment__head > p {
    margin: 0;
    color: #5c564e;
    font-size: 14px;
    line-height: 2;
}

.cost-payment__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #d8cfc2;
}

.cost-payment-card {
    position: relative;
    min-height: 300px;
    padding: 35px 30px;
    background: #f5f2ed;
}

.cost-payment-card--dark {
    color: #ffffff;
    background: #3b3833;
}

.cost-payment-card__number {
    position: absolute;
    top: 20px;
    right: 25px;
    color: rgba(143, 108, 55, 0.2);
    font-family: "Times New Roman", serif;
    font-size: 55px;
}

.cost-payment-card--dark .cost-payment-card__number {
    color: rgba(255, 255, 255, 0.08);
}

.cost-payment-card__en {
    display: block;
    margin-bottom: 22px;
    color: #9a7943;
    font-family: "Times New Roman", serif;
    font-size: 8px;
    letter-spacing: 0.18em;
}

.cost-payment-card--dark .cost-payment-card__en {
    color: #c6a970;
}

.cost-payment-card h3 {
    margin: 0 0 20px;
    color: #38332d;
    font-size: 20px;
    font-weight: 500;
}

.cost-payment-card--dark h3 {
    color: #ffffff;
}

.cost-payment-card p {
    margin: 0;
    color: #625b52;
    font-size: 12px;
    line-height: 1.9;
}

.cost-payment-card--dark p {
    color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   MEDICAL DEDUCTION
========================================================= */

.cost-medical {
    position: relative;
    padding: 75px 0;
    overflow: hidden;
    background: #f2eee8;
}

.cost-medical::before {
    content: "TAX DEDUCTION";
    position: absolute;
    top: 20px;
    right: -20px;
    color: rgba(142, 107, 54, 0.035);
    font-family: "Times New Roman", serif;
    font-size: clamp(90px, 12vw, 180px);
    white-space: nowrap;
}

.cost-medical__head {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: end;
}

.cost-medical__head h2 {
    margin: 0;
    color: #302c27;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 31px;
    line-height: 1.65;
    font-weight: 500;
}

.cost-medical__intro p {
    margin: 0 0 16px;
    color: #5c564e;
    font-size: 14px;
    line-height: 2;
}

.cost-medical__visual {
    position: relative;
    margin-top: 55px;
    height: 400px;
    overflow: hidden;
}

.cost-medical__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cost-medical__visual-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 380px;
    padding: 28px 32px;
    color: #ffffff;
    background: rgba(50, 48, 44, 0.94);
}

.cost-medical__visual-panel span {
    display: block;
    margin-bottom: 9px;
    color: #c7a970;
    font-family: "Times New Roman", serif;
    font-size: 8px;
    letter-spacing: 0.18em;
}

.cost-medical__visual-panel strong {
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 500;
}


/* =========================================================
   FORMULA
========================================================= */

.cost-medical__formula {
    margin-top: 40px;
    padding: 38px 40px;
    background: #ffffff;
    border-top: 2px solid #a88650;
}

.cost-medical__formula-head {
    margin-bottom: 28px;
}

.cost-medical__formula-head span {
    display: block;
    margin-bottom: 8px;
    color: #9a7943;
    font-family: "Times New Roman", serif;
    font-size: 8px;
    letter-spacing: 0.18em;
}

.cost-medical__formula-head h3 {
    margin: 0;
    color: #3e3933;
    font-size: 16px;
    font-weight: 500;
}

.cost-medical__formula-grid {
    display: grid;
    grid-template-columns: 1fr 30px 1.2fr 30px 0.8fr 30px 1fr;
    gap: 8px;
    align-items: stretch;
}

.cost-medical__formula-grid > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
    padding: 18px;
    text-align: center;
    background: #f4f1ec;
}

.cost-medical__formula-grid > i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a7943;
    font-family: "Times New Roman", serif;
    font-size: 24px;
    font-style: normal;
}

.cost-medical__formula-grid small {
    margin-bottom: 7px;
    color: #80776c;
    font-size: 9px;
}

.cost-medical__formula-grid strong {
    color: #413b34;
    font-size: 14px;
    font-weight: 500;
}

.cost-medical__formula-result {
    background: #3b3833 !important;
}

.cost-medical__formula-result small {
    color: #c8ad7a;
}

.cost-medical__formula-result strong {
    color: #ffffff;
}

.cost-medical__formula > p {
    margin: 18px 0 0;
    color: #827a70;
    font-size: 10px;
    line-height: 1.8;
}

.cost-medical__points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 35px;
    background: #d9d0c4;
}

.cost-medical__points article {
    padding: 30px;
    background: #ffffff;
}

.cost-medical__points article > span {
    display: block;
    margin-bottom: 17px;
    color: #a4824d;
    font-family: "Times New Roman", serif;
    font-size: 29px;
}

.cost-medical__points h3 {
    margin: 0 0 12px;
    color: #3c3731;
    font-size: 15px;
    font-weight: 500;
}

.cost-medical__points p {
    margin: 0;
    color: #696158;
    font-size: 11px;
    line-height: 1.9;
}


/* =========================================================
   SIMULATOR
========================================================= */

.cost-simulator {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    color: #ffffff;
    background: #303230;
}

.cost-simulator::after {
    content: "SIMULATION";
    position: absolute;
    right: -20px;
    bottom: -30px;
    color: rgba(255, 255, 255, 0.025);
    font-family: "Times New Roman", serif;
    font-size: clamp(100px, 14vw, 210px);
    white-space: nowrap;
}

.cost-simulator__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 85px;
}

.cost-simulator__content h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 31px;
    line-height: 1.65;
    font-weight: 500;
}

.cost-simulator__content > p {
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 2;
}

.cost-simulator__point,
.cost-simulator__caution {
    margin-top: 30px;
    padding: 20px 22px;
    border: 1px solid rgba(198, 166, 111, 0.35);
}

.cost-simulator__caution {
    margin-top: 12px;
    border-color: rgba(255, 255, 255, 0.12);
}

.cost-simulator__point span,
.cost-simulator__caution span {
    display: block;
    margin-bottom: 8px;
    color: #c5a66f;
    font-family: "Times New Roman", serif;
    font-size: 8px;
    letter-spacing: 0.18em;
}

.cost-simulator__point p,
.cost-simulator__caution p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
    line-height: 1.8;
}


/* =========================================================
   SIMULATOR BOX
========================================================= */

.cost-simulator__box {
    min-width: 0;
    padding: 45px;
    color: #4d4740;
    background: #f7f4ef;
}

.cost-simulator__field {
    margin-bottom: 30px;
}

.cost-simulator__field label {
    display: block;
    margin-bottom: 11px;
    color: #3f3933;
    font-size: 13px;
    font-weight: 500;
}

.cost-simulator__field label span {
    margin-right: 10px;
    color: #9a7943;
    font-family: "Times New Roman", serif;
    font-size: 8px;
    letter-spacing: 0.15em;
}

.cost-simulator__select {
    position: relative;
}

.cost-simulator__select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    border-right: 1px solid #80663e;
    border-bottom: 1px solid #80663e;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.cost-simulator__select select {
    width: 100%;
    height: 58px;
    padding: 0 45px 0 17px;
    color: #3f3933;
    background: #ffffff;
    border: 1px solid #d6cec2;
    border-radius: 0;
    outline: none;
    appearance: none;
    font-size: 14px;
}

.cost-simulator__input {
    display: grid;
    grid-template-columns: 1fr 55px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d6cec2;
}

.cost-simulator__input input {
    width: 100%;
    height: 58px;
    padding: 0 17px;
    color: #342f29;
    background: transparent;
    border: 0;
    outline: none;
    font-family: "Times New Roman", "Noto Sans JP", sans-serif;
    font-size: 22px;
}

.cost-simulator__input > span {
    color: #655d54;
    font-size: 12px;
    text-align: center;
}

.cost-simulator__field-note {
    margin: 7px 0 0;
    color: #8a8278;
    font-size: 9px;
    line-height: 1.7;
}

.cost-simulator__error {
    margin-bottom: 15px;
    padding: 12px 15px;
    color: #8c342d;
    background: #f3e2df;
    font-size: 11px;
    line-height: 1.7;
}

.cost-simulator__error[hidden] {
    display: none;
}

.cost-simulator__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 19px 23px;
    color: #ffffff;
    background: #3b3833;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s ease;
}

.cost-simulator__button:hover {
    background: #92713e;
}

.cost-simulator__button i {
    font-family: "Times New Roman", serif;
    font-size: 19px;
    font-style: normal;
}


/* =========================================================
   SIMULATOR RESULT
========================================================= */

.cost-simulator__result {
    margin-top: 35px;
    padding: 32px;
    color: #ffffff;
    background: #3a3732;
    border-top: 2px solid #c3a36c;
}

.cost-simulator__result[hidden] {
    display: none;
}

.cost-simulator__result-en {
    display: block;
    margin-bottom: 8px;
    color: #c5a66f;
    font-family: "Times New Roman", serif;
    font-size: 8px;
    letter-spacing: 0.2em;
}

.cost-simulator__result-label {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

.cost-simulator__result-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cost-simulator__result-price small {
    font-size: 14px;
}

.cost-simulator__result-price strong {
    color: #d3b77f;
    font-family: "Times New Roman", serif;
    font-size: 55px;
    line-height: 1;
    font-weight: 400;
}

.cost-simulator__result-price span {
    font-size: 13px;
}

.cost-simulator__result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.13);
}

.cost-simulator__result-grid > div {
    padding: 15px;
    background: #42403b;
}

.cost-simulator__result-grid span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 8px;
}

.cost-simulator__result-grid strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.cost-simulator__result-note {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 9px;
    line-height: 1.8;
}


/* =========================================================
   FAQ
========================================================= */

.cost-faq {
    padding: 75px 0;
}

.cost-faq__head {
    margin-bottom: 45px;
}

.cost-faq__head h2 {
    margin: 0;
    color: #302c27;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 30px;
    line-height: 1.65;
    font-weight: 500;
}

.cost-faq__list {
    border-top: 1px solid #d9d1c6;
}

.cost-faq-item {
    border-bottom: 1px solid #d9d1c6;
}

.cost-faq-item summary {
    display: grid;
    grid-template-columns: 35px 1fr 30px;
    gap: 15px;
    align-items: center;
    padding: 25px 5px;
    cursor: pointer;
    list-style: none;
}

.cost-faq-item summary::-webkit-details-marker {
    display: none;
}

.cost-faq-item summary > span {
    color: #9a7943;
    font-family: "Times New Roman", serif;
    font-size: 22px;
}

.cost-faq-item summary strong {
    color: #3c3731;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
}

.cost-faq-item summary i {
    position: relative;
    width: 24px;
    height: 24px;
}

.cost-faq-item summary i::before,
.cost-faq-item summary i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #9a7943;
    transform: translate(-50%, -50%);
}

.cost-faq-item summary i::before {
    width: 13px;
    height: 1px;
}

.cost-faq-item summary i::after {
    width: 1px;
    height: 13px;
}

.cost-faq-item[open] summary i::after {
    display: none;
}

.cost-faq-item__answer {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 15px;
    padding: 0 45px 27px 5px;
}

.cost-faq-item__answer > span {
    color: #b8a07a;
    font-family: "Times New Roman", serif;
    font-size: 22px;
}

.cost-faq-item__answer p {
    margin: 0;
    color: #655e55;
    font-size: 13px;
    line-height: 1.95;
}


/* =========================================================
   CONSULTATION
========================================================= */

.cost-consultation {
    padding: 65px 0;
    background: #eee9e1;
}

.cost-consultation__inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.cost-consultation__content h2 {
    margin: 0 0 20px;
    color: #302c27;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 28px;
    line-height: 1.65;
    font-weight: 500;
}

.cost-consultation__content p {
    margin: 0;
    color: #5c564e;
    font-size: 13px;
    line-height: 2;
}

.cost-consultation__reservation > span {
    display: block;
    margin-bottom: 10px;
    color: #9a7943;
    font-family: "Times New Roman", serif;
    font-size: 8px;
    letter-spacing: 0.18em;
}

.cost-consultation__iframe {
    width: 100%;
    max-width: 580px;
    overflow: hidden;
    background: #ffffff;
}

.cost-consultation__iframe iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .cost-answer__head,
    .cost-detail__grid,
    .cost-medical__head,
    .cost-simulator__inner,
    .cost-consultation__inner {
        gap: 45px;
    }

    .cost-price {
        grid-template-columns: 1fr 1fr;
    }

    .cost-price__include {
        grid-column: 1 / -1;
    }

    .cost-components {
        grid-template-columns: repeat(2, 1fr);
    }

    .cost-medical__formula-grid {
        grid-template-columns: 1fr;
    }

    .cost-medical__formula-grid > i {
        min-height: 25px;
    }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 767px) {

    .page-allon4-cost .page-title {
        padding: 22px 0 20px;
    }

    .page-allon4-cost .page-title h1 {
        font-size: 24px;
    }

    .page-allon4-cost .page-title__en {
        font-size: 8px;
    }

    .page-allon4-cost .breadcrumb {
        padding: 10px 0;
    }

    .page-allon4-cost .breadcrumb__list li {
        font-size: 9px;
    }


    /* ANSWER */

    .cost-answer {
        padding: 45px 0 50px;
    }

    .cost-answer__head {
        display: block;
    }

    .cost-answer__content h2 {
        font-size: 25px;
    }

    .cost-answer__content p {
        font-size: 14px;
        line-height: 1.9;
    }

    .cost-answer__visual {
        margin-top: 30px;
    }

    .cost-price {
        grid-template-columns: 1fr;
        margin-top: 35px;
    }

    .cost-price__include {
        grid-column: auto;
    }

    .cost-price > div {
        padding: 25px 22px;
    }

    .cost-price__main strong {
        font-size: 42px;
    }


    /* DETAIL */

    .cost-detail {
        padding: 50px 0;
    }

    .cost-detail__grid {
        display: block;
    }

    .cost-detail__visual {
        margin-bottom: 40px;
    }

    .cost-detail__visual::before {
        top: -10px;
        left: -10px;
    }

    .cost-detail__number {
        top: -35px;
        font-size: 60px;
    }

    .cost-detail__content h2 {
        font-size: 24px;
    }

    .cost-detail__content p {
        font-size: 14px;
        line-height: 1.9;
    }

    .cost-components {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }


    /* ADDITIONAL */

    .cost-additional {
        padding: 50px 0;
    }

    .cost-additional__head h2 {
        font-size: 24px;
    }

    .cost-additional__body {
        display: block;
    }

    .cost-additional__intro {
        margin-bottom: 25px;
    }

    .cost-additional__text p {
        font-size: 14px;
        line-height: 1.9;
    }


    /* PAYMENT */

    .cost-payment {
        padding: 50px 0;
    }

    .cost-payment__head {
        display: block;
        margin-bottom: 35px;
    }

    .cost-payment__head h2 {
        font-size: 24px;
    }

    .cost-payment__head > p {
        margin-top: 20px;
    }

    .cost-payment__grid {
        grid-template-columns: 1fr;
    }

    .cost-payment-card {
        min-height: 0;
        padding: 28px 23px;
    }


    /* MEDICAL */

    .cost-medical {
        padding: 50px 0;
    }

    .cost-medical__head {
        display: block;
    }

    .cost-medical__head h2 {
        font-size: 24px;
    }

    .cost-medical__intro {
        margin-top: 25px;
    }

    .cost-medical__intro p {
        font-size: 14px;
        line-height: 1.9;
    }

    .cost-medical__visual {
        height: auto;
        margin-top: 35px;
    }

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

    .cost-medical__visual-panel {
        position: relative;
        width: 100%;
        padding: 22px;
    }

    .cost-medical__formula {
        padding: 27px 20px;
    }

    .cost-medical__formula-grid {
        grid-template-columns: 1fr;
    }

    .cost-medical__formula-grid > i {
        min-height: 25px;
    }

    .cost-medical__points {
        grid-template-columns: 1fr;
    }


    /* SIMULATOR */

    .cost-simulator {
        padding: 50px 0;
    }

    .cost-simulator__inner {
        display: block;
    }

    .cost-simulator__content h2 {
        font-size: 24px;
    }

    .cost-simulator__box {
        margin-top: 35px;
        padding: 27px 20px;
    }

    .cost-simulator__select select,
    .cost-simulator__input input {
        height: 55px;
    }

    .cost-simulator__result {
        padding: 25px 20px;
    }

    .cost-simulator__result-price strong {
        font-size: 44px;
    }

    .cost-simulator__result-grid {
        grid-template-columns: 1fr;
    }


    /* FAQ */

    .cost-faq {
        padding: 50px 0;
    }

    .cost-faq__head h2 {
        font-size: 24px;
    }

    .cost-faq-item summary {
        grid-template-columns: 28px 1fr 24px;
        gap: 10px;
        padding: 20px 0;
    }

    .cost-faq-item summary strong {
        font-size: 13px;
    }

    .cost-faq-item__answer {
        grid-template-columns: 28px 1fr;
        gap: 10px;
        padding: 0 0 23px;
    }

    .cost-faq-item__answer p {
        font-size: 12px;
    }


    /* CONSULTATION */

    .cost-consultation {
        padding: 50px 0;
    }

    .cost-consultation__inner {
        display: block;
    }

    .cost-consultation__content h2 {
        font-size: 23px;
    }

    .cost-consultation__reservation {
        margin-top: 30px;
    }

    .cost-consultation__iframe {
        max-width: 100%;
    }

}


/* =========================================================
   SMALL SMARTPHONE
========================================================= */

@media (max-width: 390px) {

    .cost-answer__content h2,
    .cost-detail__content h2,
    .cost-additional__head h2,
    .cost-payment__head h2,
    .cost-medical__head h2,
    .cost-simulator__content h2,
    .cost-faq__head h2 {
        font-size: 22px;
    }

    .cost-price__main strong {
        font-size: 38px;
    }

}