@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

a[href $='.pdf'] {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    text-decoration: underline;
    color: #000;
    line-height: 1.5;
}

a[href $='.pdf']::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 30px;
    height: 38px;
    background-image: url(/wp-content/themes/child/image/icon/icon_pdf.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 15px;
}

a[href $='.pdf']:hover {
    text-decoration: none;
}

.wrap {
    width: 1140px;
    margin: 0 auto;
}

.wrap.mid {
    width: 1240px;
}

.wrap.lr {
    width: 1340px;
}

/* PC固定ページ 共通設定 */
.common_page_main {
    background: #F5F5F5;
    padding-block: 140px;
    margin-block: 0 1em;
}

.common_page_main .title_box {
    text-align: center;
}

.common_page_main .title_box .title {
    font-size: 40px;
    letter-spacing: .08em;
    font-weight: 700;
    line-height: 1.5;
}

.common_page_wrap {
    padding: 100px 0;
}

.not_found .text {
    text-align: center;
}

.reserve_text {
    text-align: center;
    font-size: 30px;
}

/* パンくず */
.breadcrumb {
    font-size: 12px;
    color: #3E3E3E;
    letter-spacing: .08em;
}

.breadcrumb a {
    text-decoration: none;
    color: #3E3E3E;
}

/* PC固定ページ お問い合わせ */
.contact_form_disc {
    color: #3E3E3E;
    letter-spacing: .08em;
    font-weight: 400;
    text-align: center;
    margin-block: 0 3.8em;
}

.contact_form_disc .text {
    font-size: 16px;
    margin-block: 0 1em;
}

.contact_form_disc .caution {
    font-size: 14px;
}

.common_contact_form .form_box {
    margin-block: 0 50px;
}

.common_contact_form .form_box dl {
    display: grid;
    grid-template-columns: 26.5% 1fr;
    align-items: center;
    gap: 80px;
}

.common_contact_form .form_box dl.start {
    align-items: flex-start;
}

.common_contact_form .form_box dl+dl {
    margin-block: 1.6em 0;
}

.common_contact_form .form_box dl dt {
    display: flex;
    align-items: center;
    gap: 1.3em;
    font-size: 16px;
    letter-spacing: .08em;
    font-weight: 700;
    padding-inline: 0 0.5em;
    position: relative;
}

.common_contact_form .form_box dl dt .label {
    flex-shrink: 0;
    color: #3E3E3E;
    font-size: 12px;
    letter-spacing: .2em;
    font-weight: 700;
    border-radius: 100vmax;
    padding: 0.2em 0.9em;
}

.common_contact_form .form_box dl dt .label.hissu {
    background: #C70000;
    color: #fff;
}

.common_contact_form .form_box dl dt .label.ninni {
    background: #E0E0E0;
}

.common_contact_form .form_box dl dt::after {
    content: "";
    content: "";
    width: 1px;
    height: 30px;
    background: #AAA;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.common_contact_form input[type="text"],
.common_contact_form input[type="email"],
.common_contact_form #zip {
    width: 100%;
    background: #F8F8F8;
    border: 1px solid #E6E6E6;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: .08em;
    font-weight: 400;
    padding: 0.8em 1em;
}

.common_contact_form textarea {
    width: 100%;
    height: 180px;
    background: #F8F8F8;
    border: 1px solid #E6E6E6;
    border-radius: 4px;
    padding: 1em;
    font-size: 14px;
    letter-spacing: .08em;
    font-weight: 400;
}

.common_contact_form input::placeholder,
.common_contact_form textarea::placeholder {
    color: #C7C4C4;
}

.common_contact_form select {
    width: 47.5%;
    background: #F8F8F8;
    border: 1px solid #E6E6E6;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: .08em;
    padding: 1.1em 1em;
}

.common_contact_form select.empty {
    color: #C7C4C4;
}

.page_contact #btn_wrap {
    justify-content: center;
    text-align: right;
    width: 74%;
    margin: auto;
}

.page_contact #btn_wrap button {
    background-color: var(--main-color);
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    color: #fff;
    display: block;
    width: 310px;
    line-height: 60px;
    font-size: 18px;
    font-weight: 900;
    transition: .3s;
    text-align: center;
    letter-spacing: .08em;
    margin: auto;
}

.page_contact #btn_wrap button[name="submitBack"] {
    background: #333;
    margin-top: 20px;
}

.page_contact #btn_wrap button:hover {
    opacity: .8;
}

.privacy_term_outer .privacy_term_inner {
    height: 138px;
    margin: auto;
    overflow: auto;
}

.privacy_term_outer .privacy_term_inner .privacy_index {
    font-size: 14px;
}

.privacy_term_outer .privacy_term_inner .main_text {
    font-size: 13px;
    margin-bottom: 25px;
}

.privacy_term_outer .privacy_term_inner dl dt {
    font-size: 13px;
    border-left: solid 3px #ccc;
    padding-left: 1em;
    margin-bottom: 5px;
}

.privacy_term_outer .privacy_term_inner dl dd {
    font-size: 13px;
}

.privacy_term_outer .privacy_term_inner dl+dl {
    margin-top: 30px;
}

.privacy_term_outer .privacy_term_inner::-webkit-scrollbar {
    width: 8px;
}

.privacy_term_outer .privacy_term_inner::-webkit-scrollbar-track {
    background: transparent;
}

.privacy_term_outer .privacy_term_inner::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 10px;
}

.privacy_term_outer {
    border-top: solid 1px #e3e3e3;
    padding: 30px 0;
    border-bottom: solid 1px #e3e3e3;
    width: 60%;
    margin: 0 auto 50px;
}

.privacy_check_list .mwform-checkbox-field-text {
    padding-right: 0;
}

.privacy_check_list .error {
    font-size: 12px;
}

.privacy_term_detail {
    text-align: center;
    font-size: 13px;
    margin: 20px 0;
    position: relative;
    font-weight: 600;
}

.privacy_term_detail::after {
    content: "";
    margin: 5px auto 0;
    border: solid #333;
    border-width: 2px 2px 0 0;
    width: 10px;
    aspect-ratio: 1 / 1;
    min-width: 0;
    rotate: 135deg;
    display: block;
}

.mw_wp_form_confirm .privacy_check_list,
.mw_wp_form_confirm .privacy_term_detail {
    display: none;
}

/* ラジオボタン デザイン */
.radio_btns,
.checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1.5em;
    padding: .5em 0;
}

/* ラジオボタンを隠す */
.radio_btns input[type=radio].radio_btns__item {
    display: none;
}

.radio_btns label {
    display: inline-block;
    cursor: pointer;
}

/* spanの左側にボタンを配置するスペースを作る */
.radio_btns .radio_btns__item+span {
    color: #3E3E3E;
    font-size: 15px;
    letter-spacing: .08em;
    font-weight: 600;
    padding-left: 2em;
    display: inline-block;
    position: relative;
}

/* 各パーツを作成 */
.radio_btns .radio_btns__item+span::before,
.radio_btns .radio_btns__item+span::after {
    content: '';
    display: block;
    position: absolute;
    border: 1px solid #E6E6E6;
    background: #F8F8F8;
    border-radius: 50%;
    width: 20px;
    aspect-ratio: 1;
    min-width: 0;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

/* after上書き */
.radio_btns .radio_btns__item+span::after {
    width: 10px;
    aspect-ratio: 1;
    min-width: 0;
    top: 0px;
    left: 5px;
    border: none;
    background: #5A5A5A;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    transition: all .3s;
}

/*
  checked状態
  文字のcolorとボタンのopacityを変更
*/
.radio_btns .radio_btns__item:checked+span::after {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

/* チェックボックス デザイン */
.page_contact input[type="checkbox"] {
    /* デフォルトcheckボックス非表示*/
    /* display: none; */
}

.mwform-checkbox-field label {
    cursor: pointer;
}

.mwform-checkbox-field-text {
    color: #3E3E3E;
    font-size: 15px;
    letter-spacing: .08em;
    font-weight: 600;
    display: inline-block;
    position: relative;
    padding: 0 0 0 30px;
}

.mwform-checkbox-field-text::before,
.mwform-checkbox-field-text::after {
    content: "";
    position: absolute;
    display: block;
}

.mwform-checkbox-field-text::before {
    background: #F8F8F8;
    border: 1px solid #E6E6E6;
    border-radius: 2px;
    width: 20px;
    aspect-ratio: 1 / 1;
    min-width: 0;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.mwform-checkbox-field-text::after {
    border-width: 3px;
    border-color: transparent transparent #333 #333;
    border-style: solid;
    width: 20px;
    aspect-ratio: 2/1;
    min-width: 0;
    margin-top: -0.2em;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0;
}

input[type="checkbox"]:checked+.mwform-checkbox-field-text::after {
    opacity: 1;
}

.mw_wp_form .horizontal-item {
    display: inline-block;
}

.mw_wp_form .horizontal-item+.horizontal-item {
    margin-left: 0 !important;
}

/* サンクスページ */

.page_contact .thanks_textArea .name {
    font-size: 16px;
    line-height: 2;
    text-align: center;
    margin-bottom: 20px;
}

.page_contact .thanks_textArea .contact_text {
    margin: 0 auto 50px;
    width: 62%;
}

.page_contact .thanks_textArea .ichiran_link {
    background-color: var(--main-color);
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    color: #fff;
    display: block;
    width: 300px;
    line-height: 50px;
    border-radius: 4px;
    font-size: 16px;
    transition: .3s;
    margin: 0 auto;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .08em;
    text-align: center;
}

.page_contact .thanks_textArea .ichiran_link:hover {
    opacity: .8;
}

.page_contact .thanks_textArea .contact_text .space {
    display: block;
}

.page_contact .thanks_textArea .contact_text .space {
    display: block;
    margin-top: 10px;
}

/* ステップバー デザイン */
.page_contact .progressbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5.6em;
    margin-block: 0 3em;
}

.page_contact .progressbar .item {
    color: #3E3E3E;
    font-size: 14px;
    letter-spacing: .08em;
    font-weight: 400;
    text-align: center;
    line-height: 1.5;
    position: relative;
}

.page_contact .progressbar .item+.item::before {
    content: "";
    width: 50px;
    height: 1px;
    background: #E6E6E6;
    position: absolute;
    top: 64%;
    left: -5em;
}

.page_contact .progressbar .item .mark {
    width: 36px;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid #AFAFAF;
    border-radius: 50%;
    display: block;
    margin: 0 auto 0.5em;
    position: relative;
}

.page_contact .progressbar .item .mark::before {
    content: "";
    width: 41%;
    aspect-ratio: 1;
    background: #5A5A5A;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    opacity: 0;
}

.page_contact .progressbar .item.active .mark::before {
    opacity: 1;
}

.page_contact .progressbar .item .en {
    display: block;
    color: #A7A7A7;
    letter-spacing: 0;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.privacy_check_list {
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.privacy_check_list .hissu {
    background: #c70200;
    color: #fff;
    padding: 2px 15px;
    font-size: 10px;
    letter-spacing: .08em;
    border-radius: 30px;
    font-weight: 600;
}

.mw_wp_form .privacy_check_list .horizontal-item {
    margin: 0;
}

.p-cost-main {
	text-spacing-trim: space-all;
	letter-spacing: 1px;
}

.l-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.u-text-center { text-align: center; }
.u-text-right { text-align: right; }
.u-bold { font-weight: 700; }
.u-red { color: #f36060; font-weight: 700; }
.u-accent { color: #ffa537; }
.u-main-color { color: #52a88e; }
.u-sp-only { display: none; }

/* Component: Section Title */
.c-sec-title {
    text-align: center;
    margin-bottom: 40px;
}
.c-sec-title__en {
    display: block;
    font-family: 'Patua One', cursive, sans-serif;
    color: #52a88e;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.c-sec-title__jp {
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
}

/* Hero Area */
.p-cost-hero {
    /* 画像パスを指定してください */
    background-image: url('https://memoryhouse.penguin2-wordpress.site/wp-content/uploads/2026/01/purchase_cost_fv.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    color: #fff;
}
.p-cost-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}
.p-cost-hero > .l-container {
    position: relative;
    z-index: 1;
}
.p-cost-hero__label {
    display: inline-block;
    background-color: #52a88e;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 15px;
    font-weight: bold;
}
.p-cost-hero__title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.p-cost-hero__text {
    font-size: 1rem;
    color: #f9f9f9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Intro Section */
.p-cost-intro {
    padding: 60px 0;
}
.p-cost-intro__lead {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}
.p-cost-intro__content {
    display: flex;
    background: #fff;
    border: 4px solid #52a88e;
    border-radius: 10px;
    padding: 40px;
    align-items: center;
    gap: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.p-cost-intro__text-area {
    flex: 1;
}
.p-cost-intro__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #52a88e;
    border-bottom: 2px dashed #52a88e;
    padding-bottom: 10px;
    display: inline-block;
}
.p-cost-intro__highlight {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f36060;
    line-height: 1;
    margin-bottom: 10px;
}
.p-cost-intro__highlight small {
    font-size: 1rem;
    color: #333;
    font-weight: normal;
    margin-right: 5px;
}
.p-cost-intro__example {
    background: #fdf9ee;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
}
.p-cost-intro__list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 8px;
}
.p-cost-intro__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: #52a88e;
    border-radius: 50%;
}
.p-cost-intro__chart-area {
    flex: 0 0 300px;
    text-align: center;
}
.p-cost-pie {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(#f36060 0% 10%, #52a88e 10% 100%);
    margin: 0 auto 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.p-cost-pie::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
}
.p-cost-pie__label {
    position: absolute;
    z-index: 1;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
}
.p-cost-pie__label--main {
    color: #52a88e;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.p-cost-pie__label--sub {
    color: #f36060;
    top: 15px;
    right: 20px;
    background: #fff;
    padding: 2px 5px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Timeline Section */
.p-cost-section {
    padding: 60px 0;
}
.p-cost-section--gray {
    background-color: #f5f5f5;
}
.p-cost-timeline {
    position: relative;
}
.p-cost-timeline__item {
    margin-bottom: 50px;
    position: relative;
}
.p-cost-timeline__item:last-child {
    margin-bottom: 0;
}
/* タイムラインの縦線（PCのみ） */
.p-cost-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background: #e0e0e0;
    z-index: 0;
}
.p-cost-timeline__head {
    background: #52a88e;
    color: #fff;
    display: inline-block;
    padding: 8px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.p-cost-timeline__body {
    padding-left: 60px;
}
.p-cost-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.p-cost-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.p-cost-card__title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.p-cost-card__title svg {
    width: 20px;
    height: 20px;
    fill: #52a88e;
}
.p-cost-card__text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}
.p-cost-alert {
    background: #fff5f5;
    border: 1px solid #f36060;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.p-cost-alert__icon svg {
    width: 24px;
    height: 24px;
    fill: #f36060;
}
.p-cost-alert__content {
    flex: 1;
}
.p-cost-alert__title {
    color: #f36060;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}
.p-cost-alert__text {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Detail Guide */
.p-cost-detail {
    margin-bottom: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
}
.p-cost-detail:last-child { margin-bottom: 0; }
.p-cost-detail__head {
    font-size: 1.4rem;
    border-bottom: 2px solid #52a88e;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #333;
}
.p-cost-detail__text {
    margin-bottom: 20px;
}
.p-cost-calc {
    background: #eaf5f2;
    color: #52a88e;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.p-cost-dl {
    display: flex;
    flex-wrap: wrap;
}
.p-cost-dl dt {
    width: 30%;
    padding: 15px 10px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}
.p-cost-dl dd {
    width: 70%;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
}

/* Table Style */
.p-cost-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.p-cost-table th, .p-cost-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
}
.p-cost-table th {
    background: #f5f5f5;
    font-weight: bold;
    white-space: nowrap;
}
.p-cost-table--sim th {
    background: #52a88e;
    color: #fff;
    text-align: center;
    border-color: #52a88e;
}
.p-cost-table--sim td {
    text-align: center;
    background: #fff;
}
.p-cost-table--sim tr:last-child td {
    background: #fff9f0;
    border: 2px solid #ffa537;
}

/* FAQ Section */
.p-cost-faq {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}
.p-cost-faq__item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}
.p-cost-faq__item:last-child {
    border-bottom: none;
}
.p-cost-faq__q {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.p-cost-faq__q-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: #52a88e;
    color: #fff;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}
.p-cost-faq__a {
    display: flex;
    align-items: flex-start;
}
.p-cost-faq__a-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: #f3f3f3;
    color: #52a88e;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}
.p-cost-faq__a-text {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.p-cost-cta {
            text-align: center;
            background: #f7f5f3;
            padding: 50px 20px;
            border-radius: 10px;
        }

.p-cost-cta__lead {
	margin-top: 10px;
}

        .p-cost-cta__buttons {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 30px;
        }
        .p-cost-cta__item {
            width: 100%;
            max-width: 320px;
        }
        .p-cost-cta__label {
            font-size: 0.9rem;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
            display: block;
        }
        .p-cost-cta__btn {
            display: flex;
            align-items: center;
            justify-content: center;
            background: #52a88e;
            color: #fff;
            font-size: 1.1rem;
            font-weight: bold;
            padding: 15px 20px;
            border-radius: 50px;
            box-shadow: 0 4px 10px rgba(82, 168, 142, 0.3);
            width: 100%;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .p-cost-cta__btn--reserve {
            background-color: #52a88e;
        }
        .p-cost-cta__btn--line {
            background-color: #06c755;
            box-shadow: 0 4px 10px rgba(6, 199, 85, 0.3);
        }
        .p-cost-cta__btn--line:hover {
            background-color: #05b34d;
            box-shadow: 0 6px 15px rgba(6, 199, 85, 0.4);
        }
        .p-cost-cta__btn svg {
            width: 22px;
            height: 22px;
            fill: #fff;
            margin-right: 10px;
            flex-shrink: 0;
        }
        .p-cost-cta__icon-img {
            width: 24px;
            height: 24px;
            margin-right: 10px;
            object-fit: contain;
        }

.p-cost-back-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}
.p-cost-back-link a {
    color: #333;
    text-decoration: underline;
}
.p-cost-back-link a:hover {
    text-decoration: none;
    opacity: 0.7;
}

/* PC固定ページ 404ページ */
#page_404 {
    text-align: center;
}

#page_404 .num {
    font-size: 100px;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#page_404 .text {
    margin-bottom: 1em;
    font-size: 16px;
}

/* 住宅ローンの種類（融資主体別） */
	.p-loan-type-cards { 
		display: grid; 
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
		gap: 30px; 
		margin-bottom: 40px; 
}
	.p-loan-type-card { 
		background-color: #f9f6f0; 
		padding: 30px; 
		border-radius: 12px; 
}
	.p-loan-type-card__title { 
		font-size: 1.15rem; 
		font-weight: bold; 
		color: #8c6d50; 
		margin-bottom: 15px; 
		padding-bottom: 10px; 
		border-bottom: 1px solid rgba(140, 109, 80, 0.2); 
		line-height: 1.4; 
}
	.p-loan-type-card__text { 
		font-size: 0.95rem; 
		line-height: 1.7; 
		color: #444; 
}

        /* 金利タイプ用カードレイアウト */
	.p-interest-card { 
		background: #fff; 
		padding: 40px; 
		border-radius: 12px; 
		box-shadow: 0 4px 20px rgba(0,0,0,0.04); 
		margin-bottom: 50px; 
}
.p-interest-card__top {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    align-items: stretch;
}

.p-interest-card--reverse .p-interest-card__top {
    flex-direction: row-reverse;
}

.p-interest-card__content {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.p-interest-card__image {
    flex: 1 1 45%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.p-interest-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p-interest-card__middle {
    margin-bottom: 30px;
}

.p-interest-card__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-top: 1px dashed #e0e0e0;
    padding-top: 30px;
}

.p-interest-list-box {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    padding: 25px;
    border-radius: 8px;
}

.p-interest-list-box__title {
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #52a88e;
    padding-bottom: 8px;
    display: inline-block;
}

/* テキスト装飾 */
.p-loan-tag {
    display: inline-block;
    background-color: #f9f6f0;
    color: #8c6d50;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    align-self: flex-start;
}

.p-loan-h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.p-loan-h4 {
    font-size: 1.05rem;
    font-weight: bold;
    color: #8c6d50;
    margin-bottom: 20px;
    line-height: 1.5;
}

.p-loan-text {
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

/* リスト装飾 */
.p-list-check li,
.p-list-procon li {
    position: relative;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

.p-list-check li {
    padding-left: 1.5em;
}

.p-list-procon li {
    padding-left: 1.8em;
}

.p-list-check li:last-child,
.p-list-procon li:last-child {
    margin-bottom: 0;
}

.p-list-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8c6d50;
    font-weight: bold;
}

.p-list-procon li.pro::before {
    content: '◎';
    position: absolute;
    left: 0;
    color: #52a88e;
    font-weight: bold;
}

.p-list-procon li.con::before {
    content: '△';
    position: absolute;
    left: 0;
    color: #e55a5a;
    font-weight: bold;
}

/* コラム */
.p-loan-column {
    background-color: #fcfbf9;
    border: 1px solid #eaddcf;
    padding: 25px;
    border-radius: 8px;
}

.p-loan-column__title {
    font-weight: bold;
    color: #8c6d50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* テーブル */
.p-loan-table-wrap {
    overflow-x: auto;
    margin-top: 30px;
}

.p-loan-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    min-width: 600px;
}

.p-loan-table th,
.p-loan-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    line-height: 1.5;
}

.p-loan-table th {
    background-color: #f9f6f0;
    font-weight: bold;
    color: #333;
}

/* 資金計画カード */
.p-plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.p-plan-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.p-plan-card--full {
    grid-column: 1 / -1;
}

.p-plan-card__image {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #f5f5f5;
}

.p-plan-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p-plan-card__inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.p-plan-card__num {
    display: inline-block;
    background: #8c6d50;
    color: #fff;
    padding: 4px 14px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
    align-self: flex-start;
}

.p-plan-card__title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #333;
}

.p-plan-card__flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
}

.p-plan-card__flex-content {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 数字ハイライト */
.p-loan-number-box {
    background: #fdfdfd;
    border: 2px dashed #8c6d50;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.p-loan-number-box p {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.p-loan-number-box strong {
    font-size: 1.4rem;
    color: #e55a5a;
}

/* 住宅ローン控除用 ボックス */
.p-deduction-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    margin-bottom: 40px;
}

.p-deduction-list {
    margin-top: 20px;
}

.p-deduction-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
}

.p-deduction-list ul li:last-child {
    grid-column: 1 / -1;
}

/* 引用ブロック */
.p-loan-blockquote {
    background-color: #f9f9f9;
    border-left: 4px solid #8c6d50;
    padding: 20px;
    margin-top: 30px;
    border-radius: 0 8px 8px 0;
    color: #555;
    font-size: 0.95rem;
}

.p-loan-blockquote p {
    margin-bottom: 10px;
}

.p-loan-blockquote cite a {
    color: #52a88e;
    text-decoration: underline;
}

/* ステップグリッド */
.p-step-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.p-step-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 25px 20px;
    border-radius: 8px;
    flex: 1 1 200px;
}

.p-step-num {
    font-family: 'Patua One', cursive, sans-serif;
    color: #8c6d50;
    font-size: 1.3rem;
    width: 100%;
    border-bottom: 2px solid #52a88e;
    margin-bottom: 15px;
    padding-bottom: 5px;
    font-weight: bold;
}


@media (max-width: 750px) {
    .wrap {
        max-width: 90%;
    }


    /* SP固定ページ 共通設定 */
    .common_page_main {
        padding-block: 20vw;
    }

    .common_page_main .title_box .title {
        font-size: 5.6vw;
    }

    .common_page_wrap {
        padding: 20vw 0;
    }

    .reserve_text {
        font-size: 6vw;
    }

    /* パンくず */
    .breadcrumb {
        font-size: 2.5vw;
    }

    /* SP固定ページ お問い合わせ */
    .contact_form_disc {
        margin-block: 0 2em;
    }

    .contact_form_disc .text {
        font-size: 3.6vw;
        margin-block: 0 0.8em;
    }

    .contact_form_disc .caution {
        font-size: 3.1vw;
        letter-spacing: .06em;
    }

    .common_contact_form .form_box {
        margin-block: 0 10vw;
    }

    .common_contact_form .form_box dl {
        grid-template-columns: 1fr;
        gap: 0.6em;
    }

    .common_contact_form .form_box dl+dl {
        margin-block: 1.3em 0;
    }

    .common_contact_form .form_box dl dt {
        flex-direction: row-reverse;
        justify-content: space-between;
        font-size: 4.1vw;
        padding-inline: 0;
    }

    .common_contact_form .form_box dl dt .label {
        font-size: 3.1vw;
    }

    .common_contact_form .form_box dl dt::after {
        content: none;
    }

    .common_contact_form input[type="text"],
    .common_contact_form input[type="email"],
    .common_contact_form #zip {
        font-size: 3.6vw;
    }

    .common_contact_form select {
        width: 100%;
        font-size: 3.6vw;
    }

    .common_contact_form textarea {
        height: 33vw;
        font-size: 3.6vw;
    }

    .radio_btns,
    .checkboxes {
        gap: 0.5em 2.5em;
    }

    .page_contact #btn_wrap button {
        width: 83%;
        line-height: 15.5vw;
        font-size: 4.6vw;
    }

    .page_contact #btn_wrap button[name="submitBack"] {
        margin-top: 4vw;
    }

    .mwform-checkbox-field.horizontal-item {
        display: block;
    }

    .page_contact #btn_wrap {
        width: 100%;
        text-align: center;
    }

    .privacy_check_list .mwform-checkbox-field-text {
        font-size: 3.8vw;
        padding-left: 11vw;
    }

    .mw_wp_form .privacy_check_list .horizontal-item {
        margin-right: 4vw;
    }

    .privacy_check_list .hissu {
        padding: 0.3vw 4vw;
    }

    .privacy_check_list {
        margin-bottom: 6vw;
    }

    .privacy_term_detail {
        font-size: 3.4vw;
        margin: 5vw 0;
    }

    .privacy_term_outer {
        width: 96%;
        padding: 5vw 0;
    }

    .privacy_term_outer .privacy_term_inner .main_text {
        font-size: 3.4vw;
        line-height: 1.6;
        margin-bottom: 5vw;
    }

    .privacy_term_outer .privacy_term_inner dl dt {
        font-size: 3.5vw;
        margin-bottom: 1.5vw;
    }

    .privacy_term_outer .privacy_term_inner dl dd {
        font-size: 3.5vw;
        line-height: 1.6;
    }

    .privacy_term_outer .privacy_term_inner dl+dl {
        margin-top: 7vw;
    }

    .privacy_term_detail::after {
        width: 2.5vw;
        margin: 1.5vw auto 0;
    }

    /* サンクスページ */
    .page_contact .thanks_textArea .name {
        font-size: 4vw;
        margin-bottom: 3vw;
    }

    .page_contact .thanks_textArea .contact_text {
        font-size: 3.5vw;
        margin-bottom: 2em;
        width: 100%;
    }

    .page_contact .thanks_textArea .ichiran_link {
        width: 80%;
        line-height: 12vw;
        font-size: 4vw;
    }

    /* ステップバー デザイン */
    .page_contact .progressbar {
        gap: 4.5em;
        margin-block: 0 2.5em;
    }

    .page_contact .progressbar .item {
        font-size: 3.1vw;
    }

    .page_contact .progressbar .item+.item::before {
        width: 5.7vw;
        top: 63%;
        left: -3.3em;
    }

    .page_contact .progressbar .item .mark {
        width: 7.7vw;
        margin: 0 auto 0.4em;
    }

    /* SP固定ページ 404ページ */
    #page_404 .num {
        font-size: 20vw;
        line-height: 1.5;
    }

    #page_404 .text {
        font-size: 3.5vw;
    }

    /* SP固定ページ サイトマップ */
    ul#sitemap_list li {
        margin: 0;
    }

    body #sitemap_list li a {
        font-size: 4vw;
        padding: 1vw 2vw;
        line-height: 9vw;
        margin-bottom: 1vw;
    }

    body #sitemap_list li.home-item {
        margin-bottom: 4vw;
    }

    body #sitemap_list {
        padding: 0;
    }
	
	.u-sp-only { display: block; }
    .u-pc-only { display: none; }

    /* Hero */
    .p-cost-hero { padding: 40px 0; }
    .p-cost-hero__title { font-size: 1.6rem; }

    /* Section Title */
    .c-sec-title__jp { font-size: 1.5rem; }

    /* Intro */
    .p-cost-intro__content {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }
    .p-cost-intro__chart-area { flex: auto; }
    .p-cost-intro__highlight { font-size: 2.5rem; }

    /* Timeline */
    .p-cost-timeline::before { display: none; } /* SPでは縦線を消す（または調整） */
    .p-cost-timeline__body { padding-left: 20px; }

    /* Detail */
    .p-cost-calc { font-size: 1rem; }
    .p-cost-dl dt, .p-cost-dl dd { width: 100%; }
    .p-cost-dl dt { border-bottom: none; padding-bottom: 5px; }
    .p-cost-dl dd { padding-top: 0; }

    /* Table */
    .p-cost-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
	
	/* CTA (SP) */
    .p-cost-cta__buttons {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .p-cost-cta__item {
        max-width: 100%;
    }
	
	.p-loan-type-cards { 
		grid-template-columns: 1fr; 
	}
	.p-interest-card { 
		padding: 25px; 
	}
	.p-interest-card__top { 
		flex-direction: column; 
		gap: 20px; 
	}
	.p-interest-card--reverse .p-interest-card__top { 
		flex-direction: column; 
	}
	.p-interest-card__image { 
		width: 100%; 
		height: 200px; 
		flex: auto; 
	}
	.p-interest-card__bottom { 
		grid-template-columns: 1fr; 
		gap: 20px; 
		padding-top: 20px; 
	}
	.p-interest-list-box { 
		padding: 20px; 
	}
	.p-deduction-box { 
		padding: 25px; 
	}
	.p-deduction-list ul { 
		grid-template-columns: 1fr; 
		gap: 10px; 
	}
	.p-deduction-list ul li:last-child { 
		grid-column: auto; 
	}
	.p-step-grid { 
		flex-direction: column; 
		gap: 15px; 
	}
	.p-step-item { 
		padding: 20px; 
		flex: auto; 
	}
	.p-plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
}