@charset "UTF-8";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
:root {
    --body: #485B5A;
    --green: #005E60;
    --green-1: #22A26C;
    --green-2: #4CCE83;
    --orange: #DD8604;
    --gray: #C4C4C4;
    --beige: #F9F9F2;
    --yellow: #FFDC50;
}
html {
    font-size: 16px;
}
body {
    color: var(--body);
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
.visible_pc {
    display: none !important;
}
@media print {
    body {
        -webkit-print-color-adjust: exact;
    }
}
@media print, screen and (min-width: 641px) and (max-width: 767px) {
    .unvisible_tab {
        display: none !important;
    }
}
@media screen and (min-width: 768px) {
    body {
        color: var(--body);
    }
    .visible_sp {
        display: none !important;
    }
    .visible_pc {
        display: block !important;
    }
}

h1,h2,h3,h4,h5,h6 {
    font-weight: bold;
}
ul,ol {
    list-style: none;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
table {
    border-collapse: separate;
    border-spacing: 0;
}

/* ------------------------------
    PARTS
------------------------------ */
.-parts--inner {
    /* width: 58.56%; */
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.-parts--h2-title {
    width: fit-content;
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    margin: -14px auto 0;
    position: relative;
}
.-parts--tc-green {
    color: var(--green-1) !important;
}
.-parts--bg-round {
    position: relative;
}
.-parts--bg-round::before {
    display: block;
    content: "";
    width: 87.84%;
    height: 176px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    position: absolute;
    left: 0;
    right: 0;
    top: -70px;
    margin: auto;
}
@media screen and (max-width: 767px) {
    .-parts--inner {
        width: 89.33%;
    }
    .-parts--h2-title {
        font-size: 24px;
        margin-top: 0;
    }
    .-parts--bg-round::before {
        width: 100%;
        height: 55px;
        top: -54px;
    }
}

/* ------------------------------
    BUTTON
------------------------------ */
.p-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 12px;
}
.p-cta dt {
    color: var(--orange);
    font-size: 20px;
    font-weight: 900;
    text-align: center;
}
.p-cta dd {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
}
.p-button {
    display: flex;
    color: #FFF;
    width: 360px;
    height: 61px;
    line-height: 1.4;
    border: 2px solid #FFF;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
.p-button span.-i {
    display: inline-block;
    width: 15px;
    height: 15px;
}
.p-button span.-i img {
    vertical-align: top;
}
.p-button--01 {
    font-size: 20px;
    align-items: center;
    padding: 0 26px;
}
.p-button--01 span:not(.-i) {
    flex-grow: 1;
}
.p-button--02 {
    font-size: 19px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.p-button--02 span.-i {
    transform: rotate(90deg);
}
.p-button--03 {
    font-size: 20px;
    letter-spacing: -0.04em;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}
.p-button--03 span {
    padding-right: 20px;
}
.p-button--03 span::before,
.p-button--03 span::after {
    display: block;
    content: "";
    width: 20px;
    height: 3px;
    background: #FFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 77px;
    margin: auto;
}
.p-button--03 span::after {
    transform: rotate(90deg);
    transition: 0.2s;
}
.p-button--03 span.is-open::after {
    transform: rotate(180deg);
}
.p-button--o {
    background-color: var(--orange);
}
.p-button--gn {
    background-color: var(--green-1);
}
.p-button--gy {
    background-color: var(--gray);
}
@media screen and (max-width: 767px) {
    .p-cta dt {
        font-size: 16px;
    }
    .p-button {
        width: 295px;
        height: 55px;
        border-radius: 28px;
        padding: 0 15px;
    }
    .p-button--01 {
        font-size: 18px;
        letter-spacing: -0.04em;
    }
    .p-button--02 {
        font-size: 17px;
    }
}


/* ------------------------------
    FV
------------------------------ */
header {
    padding-bottom: 156px;
    background: var(--green-2);
}
.p-fv {
    width: 58.56%;
    /* max-width: 800px; */
    margin: 0 auto;
    position: relative;
}
.p-fv picture,
.p-fv picture img {
    display: block;
    width: 100%;
}
.p-fv h1 {
    width: 24.25%;
    max-width: 194px;
    position: absolute;
    left: 0;
    top: 30px;
}
.p-fv h1 img {
    width: 100%;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(108deg) brightness(108%) contrast(107%);
    vertical-align: top;
}
.p-fv .p-cta dt {
    color: #FFF;
    font-size: 20px;
    font-weight: 700;
}
@media screen and (max-width: 767px) {
    header {
        padding-bottom: 65px;
    }
    .p-fv {
        width: 100%;
        max-width: 800px;
    }
    .p-fv h1 {
        width: 90px;
        top: 12px;
        left: 12px;
    }
    .p-fv .p-cta dt {
        font-size: 16px;
    }
}

/* ------------------------------
    INTRO
------------------------------ */
.p-intro {}
.p-intro::before {
    background: #FFF;
}
.p-intro h2 {
    margin-bottom: 18px;
}
.p-intro h2 span {
    display: block;
    font-size: 22px;
    padding-bottom: 8px;
}
.p-intro h2::before,
.p-intro h2::after {
    display: block;
    content: "";
    width: 50px;
    height: 50px;
    background: url(../img/icon_blowing.webp) center/contain no-repeat;
    position: absolute;
    top: -20px;
}
.p-intro h2::before {
    left: -11px;
}
.p-intro h2::after {
    transform: scale(-1,1);
    right: -11px;
}
.p-intro .deco {
    width: 432px;
    margin: 0 auto -41px;
    position: relative;
    z-index: 2;
}
.p-intro__bottom {}
.p-intro__bottom--inner {
    background: var(--green-2);
    padding-bottom: 116px;
}
.p-intro__bottom--inner .-parts--inner {
    padding-top: 30px;
}
.p-intro__list {
    width: 100%;
    color: var(--green-1);
    border-radius: 10px;
    padding: 20px 50px;
    background: #FFF;
}
.p-intro__list li {
    font-size: 20px;
    font-weight: 600;
    padding-left: 50px;
}
.p-intro__list li::before {
    display: inline-block;
    content: "";
    width: 10px;
    height: 10px;
    background: var(--green-1);
    border-radius: 50%;
    margin-right: 10px;
}
.p-intro__list li:not(:last-of-type) {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px dashed #CCC;
}
.p-intro__rank {
    text-align: center;
    background: #FEF4CF;
    border: 6px solid var(--yellow);
    border-radius: 10px;
    padding: 36px 0 25px;
    margin-top: 43px;
    position: relative;
}
.p-intro__rank::before,
.p-intro__rank::after {
    display: block;
    content: "";
    width: 48px;
    height: 51px;
    background: url(../img/icon_kirakira.webp) center/contain no-repeat;
    position: absolute;
}
.p-intro__rank::before {
    top: 44px;
    left: 18.58%;
}
.p-intro__rank::after {
    top: 30px;
    right: 17.8%;
    transform: scale(-1,1);
}
.p-intro__rank--tag,
.p-intro__rank--tag span::after {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}
.p-intro__rank--tag {
    width: 380px;
    height: 46px;
    color: #FFE991;
    font-size: 18px;
    font-weight: 900;
    line-height: 46px;
    background: var(--green-1);
    border-radius: 23px;
    top: -23px;
}
.p-intro__rank--tag span {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.p-intro__rank--tag span::after {
    display: block;
    content: "";
    width: 36px;
    height: 12px;
    background-color: var(--green-1);
    clip-path: polygon(50% 12px, 0% 0%, 36px 0%);
    bottom: -12px;
}
.p-intro__rank h3 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 10px;
}
.p-intro__rank h3 span {
    display: block;
    width: fit-content;
    font-size: 20px;
    padding-bottom: 7px;
    margin: 0 auto 4px;
    border-bottom: 2px dashed var(--green-2);
}
.p-intro__rank dl {
    display: flex;
    justify-content: center;
    column-gap: 30px;
}
.p-intro__rank dl div {
    width: 150px;
}
.p-intro__rank dl dt {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}
@media print {
    .p-intro__rank::before {
        left: 10%;
    }
    .p-intro__rank::after {
        right: 10%;
    }
}
@media screen and (max-width: 767px) {
    .p-intro h2 {
        margin-bottom: 10px;
    }
    .p-intro h2 span {
        font-size: 18px;
        padding-bottom: 5px;
    }
    .p-intro h2::before,
    .p-intro h2::after {
        width: 40px;
        height: 40px;
        top: 0;
    }
    .p-intro h2::before {
        left: -40px;
    }
    .p-intro h2::after {
        right: -40px;
    }
    .p-intro__bottom--inner {
        padding-bottom: 96px;
    }
    .p-intro .deco {
        width: 320px;
        margin-bottom: -30px;
    }
    .p-intro__list {
        padding: 20px;
    }
    .p-intro__list li {
        font-size: 16px;
        text-indent: -20px;
        padding-left: 20px;
    }
    .p-intro__rank {
        padding: 30px 0 14px;
        margin-top: 30px;
    }
    .p-intro__rank::before,
    .p-intro__rank::after {
        width: 35px;
        height: 37px;
    }
    .p-intro__rank::before {
        top: 37px;
        left: 10px;
    }
    .p-intro__rank::after {
        top: 27px;
        right: 15px;
    }
    .p-intro__rank--tag {
        width: 305px;
        height: 38px;
        font-size: 15px;
        line-height: 38px;
        top: -19px;
    }
    .p-intro__rank--tag span::after {
        width: 30px;
        height: 10px;
        clip-path: polygon(50% 10px, 0% 0%, 30px 0%);
        bottom: -10px;
    }
    .p-intro__rank h3 {
        font-size: 22px;
    }
    .p-intro__rank h3 span {
        font-size: 16px;
        padding-bottom: 5px;
    }
    .p-intro__rank dl {
        column-gap: 0;
    }
    .p-intro__rank dl div {
        width: 98px;
        flex-shrink: 0;
    }
    .p-intro__rank dl dt {
        font-size: 16px;
    }
}

/* ------------------------------
    REASON
------------------------------ */
.p-reason {
    background: var(--beige);
    padding-bottom: 186px;
}
.p-reason::before {
    background: var(--beige);
}
.p-reason h2 {
    margin-bottom: 70px;
}
.p-reason h2::before,
.p-reason h2::after {
    display: block;
    content: "";
    width: 43px;
    height: 60px;
    background: url(../img/icon_denkyu.webp) center/contain no-repeat;
    position: absolute;
}
.p-reason h2::before {
    transform: rotate(-8deg);
    left: -66px;
    top: 0;
}
.p-reason h2::after {
    transform: scale(-1,1) rotate(-11deg);
    right: -68px;
    top: -14px;
}
.p-reason__box .p-reason__box--ttl {
    text-align: center;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    flex-grow: 1;
}
.p-reason__box .p-reason__box--ttl span.-s {
    font-size: 22px;
}
.p-reason__box .p-reason__box--ttl span.-l {
    font-size: 32px;
    font-weight: 900;
}
.p-reason__box .p-reason__box--ttl span.-num {
    color: #FFF;
    font-size: 36px;
    display: block;
    width: 56px;
    height: 56px;
    background: var(--green-1);
    border-radius: 50%;
}
.p-reason__wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.p-reason__wrap .p-reason__box {
    width: 370px;
    display: flex;
    flex-direction: column;
}
.p-reason__wrap .p-reason__box .p-reason__box--ttl {
    margin-bottom: 40px;
}
.p-reason__wrap .p-reason__box figure {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}
.p-reason__wrap .p-reason__box figure img {
    flex-grow: 1;
}
.p-reason__wrap .p-reason__box figcaption {
    background: #FFF;
    border-radius: 10px;
    padding: 20px 30px;
}
.p-reason__wrap .p-reason__box figcaption p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}
@media print {
    .p-reason__wrap {
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
    .p-reason {
        padding-bottom: 84px;
    }
    .p-reason h2 {
        margin-bottom: 40px;
    }
    .p-reason h2::before,
    .p-reason h2::after {
        width: 32px;
        height: 43px;
    }
    .p-reason h2::before {
        left: -34px;
        top: 30px;
    }
    .p-reason h2::after {
        transform: scale(-1,1) rotate(-11deg);
        right: -35px;
        top: 25px;
    }
    .p-reason__box .p-reason__box--ttl {
        row-gap: 4px;
    }
    .p-reason__box .p-reason__box--ttl span.-s {
        font-size: 18px;
    }
    .p-reason__box .p-reason__box--ttl span.-l {
        font-size: 28px;
    }
    .p-reason__box .p-reason__box--ttl span.-num {
        font-size: 32px;
        width: 48px;
        height: 48px;
    }
    .p-reason__wrap {
        flex-direction: column;
        row-gap: 80px;
    }
    .p-reason__wrap .p-reason__box {
        width: 100%;
    }
    .p-reason__wrap .p-reason__box .p-reason__box--ttl {
        margin-bottom: 30px;
    }
}

/* セクション全体 */
.loan-rate {
    background-color: #FEF4CF;
    padding: 40px 0;
    display: flex;
    justify-content: center; 
    margin: 88px 0 40px;
    position: relative;
}

  /* コンテンツのラッパー */
.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 800px;
    position: relative;
}

  /* 共通のバッジスタイル (Before / After) */
.badge {
    background-color: var(--body);
    width: 160px;
    color: #FFFFFF;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    padding: 4px 0;
    border-radius: 30px;
    position: absolute;
    top: -58px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    white-space: nowrap;
}

  /* テキストの強調色 */
.text-orange {
    color: var(--orange);
}

  /* 共通のリストスタイル */
.loan-details {
    list-style: none;
    padding: 0;
    margin: 0;
}
.loan-details li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #CCC;
    font-size: 16px;
    font-weight: bold;
}
.loan-details li:last-child {
    border-bottom: none;
}


/* ------------------------------
    Before セクション
------------------------------ */
.before-card {
    width: 405px;
    width: 50.625%;
    background-color: #FFF;
    border: 5px solid #CCC;
    border-radius: 10px;
    padding: 25px 22px 17px;
    position: relative;
    z-index: 2;
}

.before-title {
    text-align: center;
    color: var(--body);
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 42px;
}
.before-title .highlight {
    font-size: 28px;
    font-weight: 900;
}

.companies {
    display: flex;
    gap: 15px;
}
.company {
    flex: 1;
    width: 165px;
}
.company-name {
    background-color: var(--yellow);
    text-align: center;
    font-weight: bold;
    padding: 4px 0;
    border-radius: 10px;
    margin-bottom: 5px;
    font-size: 16px;
}

/* ------------------------------
    BeforeとAfterを繋ぐ点線エリア
------------------------------ */
.connector-area {
    width: 8.125%;
    max-width: 65px;
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}
  /* 斜めの点線 */
.line-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    width: 115px;
    border-top: 4px dashed var(--green-1);
    transform-origin: top left;
    transform: rotate(56deg);
}
  /* 水平の点線 */
.line-horizontal {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 4px dashed var(--green-1);
}

/* ------------------------------
    After セクション
------------------------------ */
.after-container {
    width: 330px;
    width: 41.25%;
    display: flex;
    flex-direction: column;
    position: relative;
}

  /* 背景の点線枠 */
.after-dashed-bg {
    width: 100%;
    font-weight: 600;
    display: flex;
    justify-content: center;
    border-radius: 10px 10px 0 0;
    background-color: #FFF;
    border: 5px dashed #DD8604;
    border-bottom: none;
    padding: 4px 0 0;
    z-index: 1;
}
.after-dashed-bg .arrow {
    display: inline-block;
    width: 20px;
    margin: 0 10px 0 -10px;
}
.after-dashed-bg p {
    color: var(--body);
    font-size: 20px;
    line-height: 1.4;
}
.after-dashed-bg p > span.-l {
    color: #DD8604;
    font-size: 30px;
    font-weight: 900;
}

  /* 手前の実線枠 */
.after-solid-card {
    position: relative;
    z-index: 2;
    background-color: #FFFFFF;
    border: 5px solid var(--green-1);
    border-radius: 0 0 10px 10px;
    padding: 15px 20px;
    /* height: calc(100% - 72px); */
    box-sizing: border-box;
    flex-grow: 1;
}

.after-card-title {
    width: 280px;
    background-color: var(--green-1);
    color: #FFF;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    padding: 4px 0;
    border-radius: 10px;
    display: block;
    margin: 5px auto;
    white-space: nowrap;
}

.after-main-title {
    text-align: center;
    padding-bottom: 8px;
    margin-top: 7px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 2px dashed #CCC;
}
.after-main-title .label {
    color: var(--orange);
    font-weight: bold;
    font-size: 16px;
}
.after-main-title .highlight {
    color: var(--orange);
    font-weight: bold;
    font-size: 28px;
}

  /* レスポンシブ対応 (画面幅が狭い場合は縦並びに変更) */
@media (max-width: 767px) {
    .loan-rate {
        padding: 24px 20px 26px;
        margin: 40px 0 30px;
    }
    .badge {
        width: 120px;
        font-size: 16px;
        padding: 2px 0 3px;
        top: -38px;
    }
    .before-card .badge {
        top: -43px;
    }
    .before-card, .after-container {
        width: 160px;
    }
    .before-card {
        padding: 7px 5px;
        border-width: 4px;
    }
    .before-title {
        font-size: 15px;
        letter-spacing: -0.02em;
        margin-top: 0;
        margin-bottom: 7px;
    }
    .before-title .highlight {
        font-size: 21px;
    }
    .companies {
        padding: 0 2px;
        flex-direction: column;
        row-gap: 3px;
    }
    .company {
        width: 100%;
    }
    .company-name,
    .loan-details li {
        font-size: 13px;
    }
    .loan-details li {
        padding: 6px 0;
    }
    .company-name {
        margin-bottom: 0;
    }
    .line-diagonal {
        width: 141px;
        transform: rotate(79deg);
        top: 4px;
        border-top-width: 3px;
    }
    .line-horizontal {
        border-top-width: 3px;
    }
    .connector-area {
        max-width: 25px;
    }
    .after-dashed-bg {
        padding: 4px 0 0;
        align-items: center;
        justify-content: center;
        border-width: 4px;
        padding: 0;
    }
    .after-dashed-bg p {
        font-size: 15px;
        text-align: center;
        line-height: 1.3;
        letter-spacing: -0.02em;
    }
    .after-dashed-bg p > span.-l {
        display: inline-block;
        font-size: 26px;
        line-height: 1;
        margin-bottom: 5px;
    }
    .after-dashed-bg .arrow {
        margin: 0;
    }
    .after-solid-card {
        padding: 27px 6px 39px;
        border-width: 4px;
    }
    .after-card-title {
        width: 136px;
        font-size: 16px;
        margin-top: 0;
        margin-bottom: 13px;
        padding: 6px 0;
    }
    .after-card-title > span.-s {
        font-size: 14px;
    }
    .after-main-title .label {
        font-size: 14px;
    }
    .after-main-title .highlight {
        font-size: 24px;
    }
}

.loan-rate__bottom {
    padding-bottom: 120px;
}
.loan-rate__bottom h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}
.loan-rate__bottom h3 > span {
    display: inline-block;
    margin: 0 0.5rem;
    position: relative;
}
.loan-rate__bottom h3 > span::before {
    display: block;
    content: "";
    width: 100%;
    height: 14px;
    background: url(../img/bg_line.webp) center bottom/auto 100% repeat-x;
    position: absolute;
    bottom: 0;
    left: 0;
} 
.loan-rate__bottom h3 span span {
    color: var(--orange);
    font-size: 42px;
    font-weight: 900;
    position: relative;
    z-index: 1;
}
@media screen and (max-width: 767px) {
    .loan-rate__bottom {
        padding-bottom: 80px;
    }
    .loan-rate__bottom h3 {
        font-size: 22px;
        margin-bottom: 30px;
    }
    .loan-rate__bottom h3 span span {
        font-size: 34px;
    }
}


/* ------------------------------
    SIMULATION
------------------------------ */
.p-sim {
    padding-bottom: 186px;
}
.p-sim::before {
    background: #FFF;
}
.p-sim h2::before {
    display: block;
    content: "";
    width: 57px;
    height: 68px;
    background: url(../img/icon_sim.webp) center/contain no-repeat;
    position: absolute;
    top: -34px;
    left: -87px;
    transform: rotate(-10deg);
}
.p-sim h2 + p {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
    margin: 40px 0;
}
#simulation table {
    width: 100%;
    margin-bottom: 40px;
}
#simulation table th,
#simulation table td {
    padding: 15px 20px;
    font-size: 16px;
    text-align: left;
}
#simulation table tr:first-of-type th {
    border-top-left-radius: 10px;
    border-top: 1px solid #CCC;
}
#simulation table tr:first-of-type td {
    border-top-right-radius: 10px;
    border-top: 1px solid #CCC;
}
#simulation table tr:last-of-type th {
    border-bottom-left-radius: 10px;
}
#simulation table tr:last-of-type td {
    border-bottom-right-radius: 10px;
}
#simulation table th {
    border-right: 1px solid #CCC;
    border-left: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    width: 30%;
    background: #F5F5F5;
    vertical-align: top;
}
#simulation table td {
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}
#simulation table .label-text {
    font-weight: 600;
}
#simulation table .badge-required {
    display: block;
    width: 38px;
    text-align: center;
    color: #FFF;
    font-size: 13px;
    padding: 6tpx 0;
    margin-top: 4px;
    border-radius: 5px;
    background-color: #FF6633;
}
#simulation table .sim-input,
#simulation table .sim-select {
    color: var(--body);
    height: 44px;
    border: 2px solid #CCC;
    background: #FBFBFB;
    border-radius: 5px;
    padding: 10px 15px;
    margin-right: 5px;
}
#simulation table .sim-input:focus,
#simulation table .sim-input:focus-visible,
#simulation table .sim-select:focus,
#simulation table .sim-select:focus-visible {
    outline: 2px solid var(--green-1);
    border: none;
}
#simulation table .sim-input {
    width: 150px;
}
#simulation table .sim-select {
    width: 58px;
    -webkit-appearance: none;
}
#simulation table .unit {
    font-weight: 500;
    margin-right: 10px;
}
#simulation table .input-wrapper {
    position: relative;
}
#simulation table .input-wrapper:has( + *) {
    margin-bottom: 15px;
}
#simulation table .note {
    font-size: 14px;
}
#simulation + .p-cta {
    border-top: 2px dotted #CCC;
    padding-top: 40px;
    margin-top: 40px;
}
#simulation .guideBln,
#simulation .guideBln::before,
#simulation .guideBln.is-input::after {
    display: block;
    position: absolute;
}
#simulation .guideBln {
    display: none;
    color: #FFF;
    font-size: 15px;
    background-color: rgb(193, 157, 72);
    margin-top: 15px;
    margin-left: 0;
    padding: 15px;
    border-radius: 2px;
    z-index: 3;
    width: 305px;
}
#simulation .guideBln.is-input,
#simulation .guideBln.is-caution {
    display: block;
}
#simulation .guideBln.is-input {
    color: var(--green-1);
    background-color: #FFF;
    border: 1px solid #CCC;
}
#simulation .guideBln::before {
    content: "";
    width: 10px;
    height: 14px;
    background-color: rgb(193, 157, 72);
    clip-path: polygon(50% 0%, 0% 14px, 10px 14px);
    top: -13px;
}
#simulation .guideBln.is-input::before {
    background-color: #CCC;
}
#simulation .guideBln.is-input::after {
    content: "";
    width: 7px;
    height: 11px;
    background-color: #FFF;
    clip-path: polygon(50% 0%, 0% 10px, 8px 10px);
    top: -9px;
    left: 16px;
}
@media screen and (min-width: 1024px) {
    #simulation .guideBln {
        right: 0;
        top: 0;
        margin: auto;
    }
    #simulation .guideBln::before,
    #simulation .guideBln.is-input::after {
        transform: rotate(-90deg);
        left: -12px;
        top: 0;
        bottom: 0;
        margin: auto;
    }
    #simulation .guideBln.is-input::after {
        left: -8px;
    }
}
@media screen and (max-width: 767px) {
    .p-sim {
        padding-bottom: 108px;
    }
    .p-sim h2::before {
        width: 42px;
        height: 50px;
        left: -51px;
    }
    .p-sim h2 + p {
        text-align: left;
        margin: 20px 0 30px;
    }
    #simulation table {
        margin-bottom: 20px;
    }
    #simulation table th,
    #simulation table td {
        font-size: 14px;
        padding: 15px;
    }
    #simulation + .p-cta {
        padding-top: 20px;
        margin-top: 30px;
    }
    #simulation .guideBln {
        width: 180px;
        font-size: 13px;
    }
}

/*--- -RESULT- ---*/
.p-result {
    width: 100%;
    height: 100vh;
    z-index: 1010;
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}
.p-result.is-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
body:has(.p-result.is-open) {
    overflow: hidden;
    touch-action: none;
}
.p-result__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}
/* モーダルコンテナ */
.modal-outer {
    width: 89.74%;
    max-width: 700px;
    margin: 0 auto;
}
.modal-card {
    background-color: #FFF;
    border-radius: 10px;
    max-height: calc(100svh - 60px);
    padding: 50px 50px 60px;
    margin: auto;
    position: relative;
    overflow: scroll;
    scrollbar-width: none;
}
.modal-card::-webkit-scrollbar {
    display: none;
}
/* 閉じるボタン (X) */
.close-btn {
    display: block;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 15px;
    margin-left: auto;
    position: relative;
}
.close-btn::before,
.close-btn::after {
    display: block;
    content: "";
    width: 100%;
    height: 4px;
    background: #FFF;
    border-radius: 4px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.close-btn::before {
    transform: rotate(45deg);
}
.close-btn::after {
    transform: rotate(-45deg);
}

/* 結果タイトル */
.modal-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}
.condition-section {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.condition-title {
    font-weight: 600;
}

/* 結果テーブル */
.result-block table {
    width: 100%;
    border: 1px solid #CCC;
    margin-bottom: 20px;
}
.result-block table th,
.result-block table td {
    font-size: 14px;
    text-align: left;
    vertical-align: top;
    padding: 15px;
}
.result-block table th:not(:last-child),
.result-block table td:first-of-type {
    border-right: 1px solid #CCC;
}
.result-block table thead th,
.result-block table tr:not(:last-child) th,
.result-block table tr:not(:last-child) td {
    border-bottom: 1px solid #CCC;
}
.result-block table thead th {
    vertical-align: middle;
    background: #E6F4EE;
}
.result-block table tbody th {
    width: 24%;
    background: #F5F5F5;
}
.result-block table thead th:not(:first-of-type) {
    width: 38%;
}
.result-block table td:last-child {
    font-weight: 600;
}

/* 結果 注釈 */
.notes-section {
    font-size: 14px;
}
.notes-section li {
    text-indent: -22px;
    margin-left: 22px;
}
.notes-section li:not(:last-of-type) {
    margin-bottom: 10px;
}
.notes-section li::before {
    content: "※";
    padding-right: 8px;
}

.notes-section + .p-cta {
    margin: 30px 0;
}
.p-result .p-cta dt {
    letter-spacing: -0.04em;
}
@media screen and (max-width: 767px) {
    .modal-outer {
        max-width: 480px; 
    }
    .modal-card {
        padding: 30px 15px;
    }
    .modal-title {
        font-size: 18px;
    }
}

/* ------------------------------
    FLOW
------------------------------ */
.p-flow {
    background: var(--beige);
    padding-bottom: 186px;
}
.p-flow::before {
    background: var(--beige);
}
.p-flow h2 {
    margin-bottom: 60px;
}
.p-flow h2::after {
    display: block;
    content: "";
    width: 71px;
    height: 56px;
    background: url(../img/icon_flow.webp) center/contain no-repeat;
    position: absolute;
    right: -125px;
    top: -26px;
    transform: rotate(14deg);
}
.p-flow__tab--inner {
    width: 67.5%;
    margin: 0 auto;
}
.p-flow__tab {
    display: flex;
}
.p-flow__tab li {
    width: 50%;
    color: #FFF;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    padding: 15px 0;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}
.p-flow__tab li.active {
    background: var(--green-1);
}
.p-flow__tab li:not(.active) {
    background: var(--green-2);
}
.p-flow__tab--cont {
    color: #FFF;
    padding: 40px 0;
}
.p-flow__tab--cont {
    background: var(--green-1);
}
.p-flow__tab--cont h3 {
    color: var(--yellow);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
}
.p-flow__tab--cont h3 span.note {
    display: block;
    font-size: 14px;
}
.p-flow__step--wrap {
    margin-bottom: 50px;
}
.p-flow__step--item {
    margin-bottom: 10px;
    position: relative;
}
.p-flow__step--item::before,
.p-flow__step--item::after,
.p-flow__step--item:not(:last-of-type) .p-flow__step::before,
.p-flow__step--item:not(:last-of-type) .p-flow__step::after {
    display: block;
    content: "";
    position: absolute;
}
.p-flow__step--item::before,
.p-flow__step--item::after {
    border-radius: 50%;
}
.p-flow__step--item::before {
    width: 25px;
    height: 25px;
    background: #FEF4CF;
    top: 0;
    left: 0;
}
.p-flow__step--item::after {
    width: 17px;
    height: 17px;
    background: var(--yellow);
    top: 4px;
    left: 4px;
}
.p-flow__step--item:not(:last-of-type) .p-flow__step::before {
    width: 2px;
    height: 100%;
    border-right: 2px solid transparent;
    border-image: repeating-linear-gradient(
        180deg, /* 垂直方向に指定 */
        #FFE991 0,
        #FFE991 2px,
        transparent 2px,
        transparent 4px
    );
    border-image-slice: 1;
    left: calc(17px / 2);
}
.p-flow__step--item:not(:last-of-type) .p-flow__step::after {
    width: 19px;
    height: 9px;
    background-color: #ffe991;
    clip-path: polygon(50% 9px, 0% 0%, 19px 0%);
    bottom: -1px;
    left: 3px;
}
.p-flow__step {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
    padding-left: 40px;
    position: relative;
}
#store .p-flow__step--item:last-of-type .p-flow__step {
    min-height: auto;
}
.p-flow__step dt {
    font-weight: 900;
}
.p-flow__step dt p {
    font-size: 18px;
}
.p-flow__step dt span.tag {
    display: block;
    width: 90px;
    height: 25px;
    color: var(--body);
    font-size: 14px;
    line-height: 25px;
    text-align: center;
    background: var(--yellow);
    border-radius: 13px;
    margin-bottom: 10px;
}
.p-flow__step dd p {
    font-size: 16px;
}
.p-flow__step dd p.note {
    font-size: 14px;
    margin-top: 10px;
}
.p-flow__step dd p.note a {
    color: var(--yellow);
}
.p-flow__tab--cont {
    border-radius: 0 0 10px 10px;
}
.p-flow__tab--cont .p-cta dt {
    color: #FFE991;
}
@media (hover:hover) {
    .p-flow__tab li:not(.active):hover {
        background: var(--green-1);
        transition: 0.2s;
    }
}
@media screen and (max-width: 767px) {
    .p-flow {
        padding-bottom: 100px;
    }
    .p-flow h2 {
        margin-bottom: 30px;
    }
    .p-flow h2::after {
        width: 52px;
        height: 42px;
        right: -73px;
        top: -11px;
    }
    .p-flow__tab li {
        font-size: 16px;
    }
    .p-flow__tab--cont {
        padding: 30px 0;
    }
    .p-flow__tab--cont h3 {
        font-size: 20px;
    }
    .p-flow__tab--inner {
        width: 88%;
    }
}


/* ------------------------------
    FAQ
------------------------------ */
.p-faq {
    padding-bottom: 100px;
}
.p-faq::before {
    background: #FFF;
}
.p-faq h2 {
    margin-bottom: 60px;
}
.p-faq h2::before,
.p-faq h2::after {
    display: block;
    content: "";
    position: absolute;
    top: -32px;
}
.p-faq h2::before {
    width: 70px;
    height: 64px;
    background: url(../img/icon_faq01.webp) center/contain no-repeat;
    left: -105px;
}
.p-faq h2::after {
    width: 40px;
    height: 64px;
    background: url(../img/icon_faq02.webp) center/contain no-repeat;
    right: -88px;
    transform: rotate(34deg);
}
.p-faq__item {
    border: 3px solid var(--green-1);
    border-radius: 10px;
    margin-bottom: 20px;
}
.p-faq__item dt {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 10px;
    font-size: 16px;
    font-weight: 900;
    padding: 22px 27px;
    position: relative;
    cursor: pointer;
}
.p-faq__item dt::before,
.p-faq__item dt::after {
    display: block;
    content: "";
    width: 12px;
    height: 3px;
    border-radius: 4px;
    background: var(--green-1);
    position: absolute;
    right: 27px;
    top: 0;
    bottom: 0;
    margin: auto;
}
.p-faq__item dt::after {
    transform: rotate(90deg);
    transition: 0.2s;
}
.p-faq__item dt.is-open::after {
    transform: rotate(180deg);
}
.p-faq__item dt span,
.p-faq__item dd span {
    display: block;
    width: 25px;
    height: 25px;
    color: #FFF;
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    text-align: center;
    line-height: 25px;
    border-radius: 50%;
    flex-shrink: 0;
}
.p-faq__item dt span {
    background: var(--green-1);
}
.p-faq__item dt p {
    padding-right: 1rem;
}
.p-faq__item dd {
    font-size: 15px;
    line-height: 1.6;
}
.p-faq__item dd > div {
    display: flex;
    padding: 20px 27px 22px 62px;
    border-top: 2px dashed #CCC;
    position: relative;
}
.p-faq__item dd span {
    background: var(--orange);
    position: absolute;
    left: 27px;
    top: 20px;
}
@media print {
    .p-faq__item dt::after {
        transform: rotate(180deg) !important;
    }
    .p-faq__item dd {
        display: block !important;
        height: auto !important;
    }
}
@media screen and (max-width: 767px) {
    .p-faq {
        padding-bottom: 60px;
    }
    .p-faq h2 {
        margin-bottom: 30px;
    }
    .p-faq h2::before,
    .p-faq h2::after {
        top: -22px;
    }
    .p-faq h2::before {
        width: 53px;
        height: 48px;
        left: -62px;
    }
    .p-faq h2::after {
        width: 30px;
        height: 48px;
        right: -49px;
    }
    .p-faq__item dt {
        padding: 12px 17px;
    }
    .p-faq__item dt::before,
    .p-faq__item dt::after {
        right: 17px;
    }
    .p-faq__item dd > div {
        padding: 12px 17px 12px 50px;
    }
    .p-faq__item dd span {
        left: 17px;
        top: 12px;
    }
}



/* ------------------------------
    FOOTER
------------------------------ */
footer {
    color: #FFF;
    padding: 35px 0 0;
    background: var(--green);
    position: relative;
}
footer h2 {
    font-size: 1.8125rem;
    text-align: center;
}
footer h2 + dl {
    font-weight: bold;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 32px;
}
footer h2 + dl dt {
    font-size: 1rem;
}
footer h2 + dl dd {
    font-size: 2.125rem;
}
footer h2 + dl dd span {
    display: inline-block;
}
footer h2 + dl dd .icon {
    width: 38px;
    vertical-align: super;
}
footer h2 + dl dd .tel,
footer h2 + dl dd .tel a {
    color: #FFF;
    text-decoration: none;
}
footer h2 + dl dd:last-of-type {
    font-size: 0.875rem;
    line-height: 1.85;
}
footer .p-table__wrap {
    width: 89%;
    color: #000;
    padding: 26px 20px 36px;
    background: #FFF;
    border-radius: 10px;
    margin: 0 auto 42px;
}
footer .p-table__item {
    max-width: 335px;
    height: 220px;
    overflow: hidden;
    transition: 0.3s;

    margin: 0 auto;
    position: relative;
}
footer .p-table__item:after {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgb(255, 255, 255, 0) 0%, rgb(255, 255, 255, 1) 100%);
    content: "";
    z-index: 1;
    transition: 0.3s;
}
footer .p-table__wrap.is-open .p-table__item {
    height: auto;
    transition: 0.3s;
}
footer .p-table__wrap.is-open .p-table__item::after {
    display: none;
}
footer .p-footer__table1 {
    margin-bottom: 2rem;
}
footer .p-footer__table1 thead,
footer .p-footer__table1 tbody,
footer .p-footer__table1 tr,
footer .p-footer__table1 th, footer .p-footer__table1 td {
    display: block;
    width: 100%;
}
footer .p-footer__table1 thead {
    font-weight: bold;
    margin-bottom: 34px;
}
footer .p-footer__table1 thead th,
footer .p-footer__table1 thead td {
    text-align: center;
}
footer .p-footer__table1 thead th {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 17px;
}
footer .p-footer__table1 thead td {
    font-size: 1.125rem;
}

footer .p-footer__table1 tbody th {
    font-size: 0.875rem;
    text-align: left;
    padding-bottom: 6px;
    border-bottom: 3px solid #CCC;
    margin-top: 1rem;
    margin-bottom: 6px;
}
footer .p-footer__table1 tbody th:before {
    content: "・";
}
footer .p-footer__table1 tbody td {
    font-size: 0.75rem;
    line-height: 1.5;
}
footer .p-footer__table1 td ol {
    counter-reset: num 0;
}
footer .p-footer__table1 td ol li:before {
    counter-increment: num 1;
    content: counter(num) " . ";
}
footer .p-footer__table1 td dl > div {
    margin-top: 1rem;
}
footer .p-footer__table1 td ul.disc > li {
    text-indent: -12px;
    margin-left: 12px;
}
footer .p-footer__table1 td ul.disc > li::before{
    content: "・";
}
footer .p-footer__table1 td ul.disc ul.note {
    margin-left: 12px;
}
footer .p-footer__table1 td ul.note li::before {
    content: "※";
    padding-right: 0.5rem;
}
footer .p-footer__table1 td ul.disc > li > p {
    margin-left: 12px;
}
footer .p-logo {
    width: 205px;
    margin: 0 auto 24px;
    text-align: center;
}
footer .p-logo img {
    width: 100%;
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}
footer .p-copyright {
    color: #FFF;
    font-size: 0.625rem;
    text-align: center;
    line-height: 1.5;
    padding: 14px 0;
    background: #004A4B;
}
@media print,screen and (min-width: 768px) {
    footer .p-table__wrap {
        max-width: 800px;
    }
    footer .p-table__item {
        max-width: 600px;
    }
}