@charset "utf-8";

html, body {
    overflow-x: hidden;
}

html {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    scroll-behavior: smooth;
    width: 100%;
}

body {
    color: #333;
    background-color: #fff;
    position: relative;
    width: 100%;
}
button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

li {
    list-style: none;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* ======================================================
    common
====================================================== */

#footer{
    margin-top: 0!important;
    border: none!important;
}

.annotation {
    text-align: center;
    padding: 20px 0 0 0;
    font-size: 10px;
    color: #A9A9A9;
}

.sp-none {
    display: none;
}

.pc-none {
    display: block;
}

a {
    text-decoration: none;
    color: #0096d6;
    transition: .6s;
}

.display-flex {
    display: flex;
}

.inner {
    width: 86%;
    margin: 0 auto;
}

h2 {
    font-size: clamp(22px, 6vw, 30px);
    color: #0099d0;
    text-align: center;
}

#float-cv {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#float-cv.show {
    width: 100%;
    display: block;
    position: fixed;
}

#float-cv img {
    width: min(30vw, 150px);
}

.is-hide {
    display: none;
}

header {
    background: #FFF;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 0.6rem 0;
}

header .myhome-logo-h {
    width: 8.6rem;
    margin: 0 auto;
    display: block;
}

/* ======================================================
    FV
====================================================== */

section.fv {
    padding-top: calc(((2620 / 1720) * 100%));
    background: url(../images/fv-bg-sp.jpg) no-repeat;
    background-size: cover;
    position: relative;
}

section.fv h1 img {
    width: 80vw;
    position: absolute;
    top: 26%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.fv-cv {
    position: absolute;
    width: min(34vw, 160px);
    right: 6%;
    bottom: 4%;
}

.fv-cv img {
    max-width: 100%;
    display: block;
}


/* ======================================================
    CHARM
====================================================== */

section.charm {
    padding: min(10vw, 100px) 0;
}

.charm-area {
    border: 2px solid #0099d0;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 80px;
    line-height: 1.8;
    font-weight: 600;
    font-size: clamp(12px, 3.6vw, 18px);
    text-align: center;
    position: relative;
    margin-bottom: min(18vw, 120px);
    border-radius: 24px;
    letter-spacing: -1px;
}

.charm-area span {
    color: #0099d0;
}

.charm-area .sub {
    background: #0099d0;
    border-radius: 50px;
    color: #fff;
    padding: min(1vw, 16px) min(4vw, 30px);
    font-size: min(3.4vw, 14px);
    display: inline-block;
    margin-top: 0.2rem;
}

.charm-area ul {
    padding-left: 0;
    margin-top: 24px;
}

.charm-area ul li {
    text-align: center;
    border-bottom: 1px solid #d1effa;
    padding: 16px 0
}

.charm-area ul li:last-child {
    border-bottom: none;
}

.charm-area p {
    font-size: clamp(12px, 3.6vw, 18px);
    margin-top: -8px;
}

.charm-area img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(38vw, 200px);
}

.proposal p {
    text-align: center;
    font-size: clamp(18px, 4.6vw, 26px);
    line-height: 2;
    font-weight: 700;
}

.proposal span {
    color: #0099d0;
    font-size: clamp(22px, 5.4vw, 28px);
}

.proposal img {
    width: min(100%, 500px);
    margin: 0 auto;
    margin-top: 20px;
    display: block;
    height: auto;
}


/* ======================================================
    MERIT
====================================================== */

section.merit {
    margin-bottom: min(8vw, 50px);
}

section.merit .inner {
    background: #fff7ea;
    border-radius: 20px;
    padding: 6vw;
    box-sizing: border-box;
    max-width: 600px;
}

section.merit .inner h2 {
    color: #ec6104;
    font-size: clamp(18px, 3.6vw, 24px);
    margin-bottom: min(6vw, 100px);
    position: relative;
    padding-bottom: min(2.8vw, 20px);
}

section.merit .inner h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(20vw, 160px);
    height: 2px;
    background-color: #ec6104;
}

section.merit .inner ul {
    font-size: clamp(14px, 3.2vw, 18px);
    line-height: 1.8;
    list-style: none;
    padding-left: 0;
    font-weight: 600;
}

section.merit .inner ul li::before {
    content: "•";
    font-size: 44px;
    color: #ec6104;
    vertical-align: middle;
    line-height: 0;
    padding-right: 6px;
}


section.merit .inner ul li {
    text-indent: -24px;
    padding-left: 24px;
}

/* ======================================================
    D-MERIT
====================================================== */

section.d-merit .inner {
    background: #ececec;
}

section.d-merit .inner h2 {
    color: #231814;
}

section.d-merit .inner h2::after {
    background-color: #231814;
}

section.d-merit .inner ul li::before {
    color: #636262;
}

/* ======================================================
    MIDDLE CTA
====================================================== */

.middle-cta {
    padding: 2rem 0;
}

.middle-cta p.txt {
    font-size: min(5vw, 19px);
    text-align: center;
    line-height: 1.9;
    font-weight: 600;
    margin-bottom: 1.6rem;
}

.middle-cta .cta-button {
    margin-top: 1rem;
}

.middle-cta img {
    width: 90%;
    margin-top: 0;
}

/* ======================================================
    CHECKLIST
====================================================== */

section.checklist {
    padding: 2rem 0;
    padding-bottom: min(10vw, 100px);
}

section.checklist .inner {
    box-sizing: border-box;
    width: 100%;
}

section.checklist .inner h2 {
    margin-bottom: 1rem;
}

section.checklist .inner p {
    text-align: center;
    margin-bottom: 1.6rem;
}

section.checklist .inner p.title {
    color: #0099d0;
    font-weight: 600;
    text-align: left;
    margin-top: 1.6rem;
    margin-bottom: 1rem;
    font-size: min(4vw, 15px);
}

section.checklist img.explain {
    width: 100%;
    display: block;
    height: auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 4rem;
    padding-top: 0;
}
  
.grid-item {
    background-color: #ffffff;
    border: 2px solid #2a9fd6;
    color: #0099d0;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    padding: 1vw 0;
    font-size: min(4vw, 14px);
    line-height: 1.4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 84px;
}

.grid-item a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.grid-item span {
    font-size: 12px;
}
  
.grid-item:after {
    content: "";
    background-image: url("../images/arrow-down.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 12px;
    height: 12px;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
}

section.checklist .block {
    border-radius: 32px;
    padding: min(12vw, 32px);
}

section.checklist .blue {
    background: #ebf6fb;
    padding-left: min(10vw, 100px);
    margin-right: 10vw;
    border-radius: 0 32px 32px 0;
}

section.checklist .white {
    background: none;
    padding-right: min(8vw, 100px);
    margin-left: 10vw;
    border-radius: 32px 0 0 32px;
    border: 2px solid #0099d0;
    border-right: none;
}

section.checklist .block h3 {
    display: flex;
    align-items: center;
    color: #0099d0;
    font-size: clamp(14px, 4.2vw, 20px);
    line-height: 1.8;
}

section.checklist .block span.icon {
    background-size: contain;
    background-repeat: no-repeat;
    width: min(12vw, 54px);
    height: min(12vw, 54px);
    display: block;
    margin-right: 0.6rem;
    background-position: 10% 30%;
}

section.checklist .block h3 span.sub {
    background: #0099d0;
    border-radius: 50px;
    color: #fff;
    padding: min(0.6vw, 12px) min(4vw, 20px);
    font-size: min(3.4vw, 14px);
    display: inline-block;
    margin-bottom: 4px;
}

section.checklist .block span.icon-1 {
    background-image: url("../images/icon-1.svg");
}

section.checklist .block span.icon-2 {
    background-image: url("../images/icon-2.svg");
}

section.checklist .block span.icon-3 {
    background-image: url("../images/icon-3.svg");
    width: min(10vw, 38px);
    background-position: 50%;
}

section.checklist .block span.icon-4 {
    background-image: url("../images/icon-4.svg");
}

section.checklist .block span.icon-5 {
    background-image: url("../images/icon-5.svg");
    width: min(16vw, 64px);
}

section.checklist .block span.icon-6 {
    background-image: url("../images/icon-6.svg");
}

section.checklist .block span.icon-7 {
    background-image: url("../images/icon-7.svg");
}

section.checklist .block span.icon-8 {
    background-image: url("../images/icon-8.svg");
}

section.checklist .block span.icon-9 {
    background-image: url("../images/icon-9.svg");
    width: min(9vw, 38px);
}


section.checklist .block ul {
    padding-left: 0;
    margin-top: 1rem;
    list-style: none;
}

section.checklist .block ul li {
    font-size: clamp(14px, 3.2vw, 18px);
    line-height: 1.9;
    font-weight: 600;
    position: relative;
    padding-left: 5vw;
    margin-bottom: 0.2rem;
}

section.checklist .block ul li:before {
    content: "";
    background-image: url("../images/check-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: min(4.4vw, 22px);
    height: min(5.8vw, 24px);
    position: absolute;
    left: 0;
    top: 2px;
}

section.checklist .block ul li span {
    display: inline-block;
    background-color: #fff858;
    line-height: 1.5;
}

.block-line-1 {
    width: 100%;
    background-image: url("../images/line-1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    height: min(14vw, 80px);
    background-position: 50% 0;
}

.block-line-2 {
    width: 100%;
    background-image: url("../images/line-2.svg");
    background-size: contain;
    background-repeat: no-repeat;
    height: min(14vw, 80px);
    background-position: 50% 0;
}

section.checklist .cta-block {
    border-radius: 32px;
    margin-left: 10vw;
    margin-right: 10vw;
    padding: min(6vw, 18px);
    border: 2px solid #0099d0;
}

section.checklist .inner .cta-block p {
    margin-bottom: 0.4rem;
    font-weight: 600;
}

section.checklist .inner .cta-block p:first-child {
    font-size: min(3.2vw, 15px);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

section.checklist .inner .cta-block p:last-child {
    font-size: min(4vw, 18px);
    font-weight: 600;
}

section.checklist .cta-block p span {
    color: #f57c00;
}

section.checklist .cta-block .cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

section.checklist .cta-block .cta-icon img.icon {
    width: 100%;
    max-width: 160px;
    display: block;
    height: auto;
}

section.checklist .cta-block .cta-icon img.button {
    width: 100%;
    max-width: 180px;
    display: block;
    height: auto;
}

section.checklist h4 {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: -0.4rem;
    font-size: clamp(12px, 3.8vw, 16px);
    line-height: 1.8;
}

section.checklist .inner-box {
    background: #e7f5fb;
    border-radius: 24px;
    padding: 0.8rem;
    margin-top: 0.4rem;
}

section.checklist .inner-box ul {
    margin-top: 0;
}

section.checklist .inner-box p {
    font-size: clamp(14px, 3.2vw, 18px);
    line-height: 1.8;
    font-weight: 600;
    text-align: left;
    margin-bottom: 0.4rem;
}



/* ======================================================
    WORRIES
====================================================== */

section.worries {
    background: #6bc4e4;
    padding: min(6vw, 40px) min(2vw, 10px);
    position: relative;
}

section.worries .inner {
    max-width: 540px;
}

section.worries img {
    display: block;
    max-width: 100%;
    height: auto;
}

section.worries img:first-child {
    margin-bottom: 1rem;
}

section.worries img.add-arrow {
    position: absolute;
    bottom: -6%;
    left: 50%;
    transform: translateX(-50%);
    width: min(12vw, 100px);
}

/* ======================================================
    CTA
====================================================== */

section.cta {
    padding: min(6vw, 40px) min(6vw, 40px);
    margin-top: 1.2rem;
    margin-bottom: 6rem;
}

section.cta p {
    font-size: min(4.8vw, 26px);
    text-align: center;
    line-height: 1.9;
    font-weight: 600;
    margin-bottom: min(4vw, 30px);
}

section.cta p span {
    color: #0099d0;
}

section.cta img.suumo-icon {
    width: min(32vw, 160px);
    display: block;
    margin: 0 auto;
    height: auto;
}

.cta-button {
    width: min(90vw, 340px);
    margin: 0 auto;
    margin-top: 2rem;
}

.cta-button img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* ======================================================
    FOOTER
====================================================== */

footer {
    background: #EEEEEE;
    color: #000;
    padding: 28px 16px;
    font-size: min(4vw, 15px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.myhome-logo {
    display: block;
    margin: 0 auto 28px;
    width: 12rem;
}

.list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    margin-left: -24px;
    margin-bottom: -24px;
    padding: 0;
    list-style: none;
}

.footer-link {
    background-color: transparent;
    color: inherit;
    text-decoration: none;
}

.copyright {
    margin-top: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    text-align: center;
}

.column {
    margin: 0;
    padding: 0;
    padding-left: 24px;
    padding-bottom: 24px;
}

/* ======================================================
    比較
====================================================== */

.comparison-table {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.header-row,
.content-row {
    display: flex;
}
.header-cell {
    flex: 1;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    padding: 10px 5px;
}
.header-left {
    background-color: #0088cc;
    border-right: 1px solid #fff;
}
.header-right {
    background-color: #58c4c4;
    border-left: 1px solid #fff;
}
.content-cell {
    flex: 1;
    padding: min(4vw, 20px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.content-cell:nth-child(odd) {
    border-right: 1px solid #fff;
}
.content-cell:nth-child(even) {
    border-left: 1px solid #fff;
}
.merit-row {
    background-color: #fff5e6;
}
.demerit-row {
    background-color: #e6e6e6;
}
.merit-tag, .demerit-tag {
    display: inline-block;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: clamp(12px, 1.6vw, 18px);
}
.merit-tag {
    background-color: #ff6633;
}
.demerit-tag {
    background-color: #666666;
}
.content-text {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
}

.ha-btn[disabled] {
  pointer-events: none;
}

@keyframes animateStepFormFocus {
  0% {
    box-shadow: 0 0 0 #EE6101;
  }
  50% {
    box-shadow: 0 0 12px #EE6101;
  }
  100% {
    box-shadow: 0 0 0 #EE6101;
  }
}

.ha-selectWrap.is-attn {
  animation: animateStepFormFocus 1.6s linear infinite alternate;
  border-radius: 6px;
}

.ha-selectWrap.is-attn .ha-select {
  outline: none;
}

.ha-select:focus {
  outline: 1px solid #EE6101;
  border-color: #EE6101; 
}

.ha-btn.is-attn:not([disabled]),
.ha-btnSecondary.is-attn:not([disabled]) {
  animation: animateStepFormFocus 1.6s linear infinite alternate;
  border: 2px solid #EE6101;
}

/* ユーザーが簡易表示を希望している場合は停止 */
@media (prefers-reduced-motion: reduce) {
  .ha-selectWrap.is-attn,
  .ha-btn.is-attn,
  .ha-btnSecondary.is-attn {
    animation: none !important;
  }
}

/* ======================================================
======================================================
    PC
======================================================
====================================================== */
@media only screen and (min-width: 769px){
    /* ========== common ========== */
    html {
        font-size: 62.5%;
    }

    body {
        padding-bottom: 0;
    }
    .pc-block {
        display: block !important;
    }
    .sp-none {
        display: block;
    }
    .pc-none {
        display: none;
    }

    .float-button {
        right: 3%;
        bottom: 5%;
        width: 100px;
    }

    header {
        padding: 1.6rem 0;
    }

    header .myhome-logo-h {
        width: 16rem;
    }

    a:hover {
        opacity: .6;
        transition: .6s;
    }

    .fv a:hover {
        opacity: .8;
    }

    #float-cv img {
        width: 180px;
    }

    /* =============
    FV
    ================ */

    .fv-bg {
        background-color: #EBF6FB;
    }

    section.fv {
        max-width: 1600px;
        height: 840px;
        background: url(../images/fv-bg-pc.jpg) no-repeat;
        background-size: cover;
        position: relative;
        margin: 0 auto;
        padding-top: 0;
        background-position: center center;
    }

    section.fv h1 img {
        width: 420px;
        top: 31%;
    }


    .fv-cv {
        width: min(12vw, 160px);
        right: 27vw;
        bottom: 2%;
    }

     /* =============
    CHARM
    ================ */

    section.charm {
        padding: min(10vw, 70px) 0;
    }

    .charm-area {
        letter-spacing: inherit;
    }

    .charm-area .sub {
        padding: min(1vw, 8px) min(4vw, 30px);
    }

     /* =============
    MERIT
    ================ */

    section.merit {
        margin-bottom: 20px;
    }

    section.merit .inner {
        padding: min(2vw, 32px);
    }

    section.merit .inner h2 {
        margin-bottom: min(2vw, 32px);
    }

    .header-cell {
        font-size: 22px;
    }

    .merit-tag, .demerit-tag {
        font-size: 14px;
    }

      /* =============
    MIDDLE CTA
    ================ */

    .middle-cta {
        margin-bottom: 20px;
        padding-top: 4rem;
    }

    .middle-cta p.txt {
        font-size: min(6.6vw, 24px);
        text-align: center;
        line-height: 1.9;
        font-weight: 600;
        margin-bottom: 16px;
    }

     /* =============
    CHECKLIST
    ================ */

    section.checklist .inner p {
        font-size: min(2vw, 16px);
        margin-bottom: 3rem;
    }

    section.checklist .inner p.title {
        margin-top: 3rem;
        font-size: min(2.4vw, 17px);
        margin-bottom: 1.6rem;
    }

    section.checklist .inner {
        max-width: 600px;
    }

    .grid-item {
        font-size: min(4vw, 16px);
    }

    .grid-item {
        padding: min(1vw, 10px) 0;
    }

    .grid-container {
        margin-bottom: 6rem;
        padding: 0;
    }

    section.checklist .block {
        padding: 34px;
    }

    section.checklist .blue {
        margin-right: min(4vw, 40px);
        border-radius: 32px;
    }

    section.checklist .block ul li {
        font-size: clamp(14px, 3.2vw, 16px);
        padding-left: min(4vw, 28px);
    }

    section.checklist .white {
        margin-left: 70px;
        border-radius: 32px;
        margin-right: inherit;
        border: 2px solid #0099d0;
    }

    section.checklist .block h3 span.sub {
        padding: 6px 16px;
        font-size: min(3vw, 14px);
        display: inline-block;
        margin-top: 8px;
        margin-bottom: 0;
    }

    section.checklist .block h3 {
        display: flex;
        align-items: center;
        color: #0099d0;
        font-size: 20px;
        line-height: 1.5;
    }

    .cta-button {
        margin-top: 4rem;
    }

    section.checklist .cta-block {
        margin-left: 0;
        padding-right: 34px;
    }

    section.checklist .inner p {
        font-size: min(3vw, 19px);
    }

    section.checklist .inner .cta-block p:first-child {
        font-size: min(3.6vw, 17px);
        margin-bottom: 0.6rem;
    }

    section.checklist .cta-block .cta-icon img.icon {
        max-width: 200px;
    }

    section.checklist .cta-block .cta-icon img.button {
        max-width: 220px;
    }

    section.checklist h4 {
        font-size: clamp(13px, 3.8vw, 17px);
        margin-bottom: -0.8rem;
    }

    section.checklist .inner-box {
        padding: 1.8rem;
    }

    section.checklist .inner-box p {
        font-size: clamp(14px, 3.2vw, 16px);
        margin-bottom: 0.6rem;
    }

     /* =============
    FOOTER
    ================ */

    .myhome-logo {
        width: 20rem;
    }

     /* =============
    比較
    ================ */
    .header-cell {
        font-size: 24px;
        padding: 15px;
    }
    .content-cell {
        padding: 20px;
    }

    .content-text {
        font-size: 16px;
        line-height: 1.5;
    }

}

@media only screen and (min-width: 1600px){
    section.fv {
        padding-top: 840px;
    }
}



/* ========== add 2025.8.29 フォーム ========== */

.fv-form { 
    margin: 1.6rem;
    margin-top: -82vw;
}

@media (min-width: 769px){ 
    .fv-form { 
        margin-top: -400px;
        margin-bottom: 40px;
    }
}

.ha-card {
    border: 1px solid #d9d9d9;
    border-radius: 16px;
    padding: min(5vw, 50px) min(4vw, 40px);
    background: #fff;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.ha-title { 
    font-size: clamp(20px, 1.8vw, 22px);
    line-height: 1.4; 
    margin: 0 0 20px; 
    font-weight: 700; 
    text-align: center; 
}
.ha-sub {
    font-size: clamp(14px, 3.4vw, 18px);
}

@media (min-width: 769px){
     .ha-title{ font-size: 32px; } 
}

.ha-label { 
    font-size: clamp(14px, 3.4vw, 18px);
    font-weight: 700; 
    display: block;
    margin-bottom: 4px; 
}
.ha-sub { 
    margin: 12px 0 6px; 
    color:#333; 
    font-weight:700; 
}

.ha-selectWrap { 
    position: relative; 
    margin-bottom: 8px;
}
.ha-select {
    -webkit-appearance: none; appearance: none;
    width: 100%; 
    font-size: 14px; 
    line-height: 1.2;
    padding: 16px 44px 16px 18px;
    border: 1px solid #cfcfcf;
    border-radius: 4px; 
    background: #fff; 
    color:#111;
}
.ha-caret {
    position: absolute; 
    right: 14px; 
    top: 50%; 
    transform: translateY(-50%);
    pointer-events: none; 
    font-size: 20px; 
    color: #111;
}

.ha-btn {
    width: 100%; 
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 36px;
    background: #ffb17d; 
    color:#fff;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 800; 
    cursor: not-allowed;
    display:flex; 
    align-items:center; justify-content:center; 
    gap:.4em;
    transition: background .15s, opacity .15s;
    position: relative;
}
.ha-btn:not([disabled]) {
  background: #EE6101; 
  cursor: pointer;
  color: #fff;
  border: 1px solid #EE6101 !important;
}
.ha-btn:not([disabled]):hover { 
    opacity: .9; 
}
.ha-btn .ha-arrow { 
    font-size: 26px; 
    line-height: 1; 
    font-weight: 100;
    position: absolute;
    top: 50%;
    transform: translateY(-58%);
    right: 4%;
}

.ha-powered { 
    display:flex; 
    gap:.5em; 
    align-items:baseline;
    justify-content:space-between;
    margin-top: 24px; 
    color:#555; 
    font-size: 12px;
 }
.ha-logo { 
    font-weight: 800; 
    color:#ff6a00; 
    letter-spacing:.02em; 
}
.ha-powered--modal { 
    margin-top: 24px; 
}

.ha-powered span {
    display: block;
    font-weight: 600;
    border: 1px solid #000;
    font-size: 10px;
    padding: 2px 10px;
}

/* 入力パーツ */
.ha-field { 
    position: relative; 
}
.ha-postIcon {
    position:absolute; 
    left:10px; 
    top:50%; 
    transform:translateY(-50%);
    font-weight: 800; 
    font-size: 22px; 
    color:#ff3b30;
}
.ha-input {
    width: 100%; 
    padding: 14px 16px 14px 16px; 
    border:1px solid #cfcfcf;
    border-radius: 8px; 
    font-size: 18px;
}

/* モーダル全体：中央配置＋背景フェード */
.ha-modal[hidden]{ display:none; }
.ha-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0);
  opacity: 0;
  pointer-events: none;
  transition: background .35s ease, opacity .35s ease;
}
.ha-modal.is-open{
  background: rgba(0,0,0,.55);
  opacity: 1;
  pointer-events: auto;
}

/* 中身：is-open になった瞬間だけ下からフェードイン（毎回発火） */
.ha-modalInner{
  background: #fff;
  width: min(600px, 90%);
  border-radius: 16px;
  padding: 24px 20px 20px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
}
.ha-modal.is-open .ha-modalInner,
.ha-modalInner.is-open{
  animation: modalIn .35s ease forwards;
}

/* ×ボタン（そのまま維持） */
.ha-close {
  position: absolute;
  right: -12px;
  top: -30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #bbb;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.ha-close::before,
.ha-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
}
.ha-close::before { transform: rotate(45deg); }
.ha-close::after  { transform: rotate(-45deg); }

/* アニメーション定義 */
@keyframes modalIn{
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}


.homes-assess .ha-select:disabled { background:#f6f6f6; color:#999; cursor:not-allowed; }

.homes-assess .ha-error{
  margin: 6px 0 8px;
  color: #d93025;
  font-size: 13px;
  font-weight: 700;
}

.ha-help {
    font-size: 11px;
}

.diagonal-title {
  margin: 0;
  margin-bottom: 20px;
  color: #f57c00;
  font-weight: bold;
  font-size: max(4.4vw, 16px);
  letter-spacing: 0.04em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
section.checklist .inner h2.diagonal-title {
    margin-bottom: 1.6rem;
}

.diagonal-title::before,
.diagonal-title::after {
  content: "";
  display: inline-block;
  width: min(6vw, 34px);
  height: 2px;
  background: #f57c00;
}

.diagonal-title::before {
  transform: rotate(-130deg);
}

.diagonal-title::after {
  transform: rotate(-50deg);
}

.diagonal-title span {
  display: inline-block;
  line-height: 1.4;
}

.fv-bg {
    overflow: hidden;
}

.ha-powered img {
    width: min(34vw, 240px);
}

.select_wrapper {
    position: relative;
}

.select_wrapper::after {
    content: "";
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    right: 1vw;
    width: 8px;
    height: 8px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    transform: rotate(45deg);
}

select {
    -webkit-appearance: none;
    appearance: none;
}

.border-o {
    border: 2px solid #f57c00 !important;
}

.border-none {
    border: none !important;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.20);
}

.middle-form {
    max-width: 500px;
    margin: 0 auto;
}

.middle-form  .diagonal-title {
    font-size: min(4.8vw, 22px);
}

.middle-form2 {
    max-width: 500px;
    margin: 1.6rem 0 1rem;
}

.middle-form2 .diagonal-title {
    font-size: min(3.8vw, 20px);
} 

.middle-form2 .diagonal-title::before, .diagonal-title::after {
    width: min(4vw, 34px);
}

section.checklist .inner .middle-form2 p {
    text-align: left;
}

section.checklist .inner .cta-block p.txt-ali-l {
    text-align: left;
}

.bottom-form {
    max-width: 500px;
}

section.cta .middle-form p {
    text-align: left;
    font-size: clamp(16px, 3.4vw, 18px);
    margin-bottom: 0;
}

section.cta .ha-label {
    font-size: clamp(16px, 3.4vw, 18px);
    text-align: left;
    margin-bottom: 0;
}

section.cta .ha-sub {
    font-size: clamp(16px, 3.4vw, 18px);
    text-align: left;
    margin-bottom: 0;
}

.float-cta {
    background-color: rgba(255, 255, 255, 0.9);
    position: fixed;
    bottom: 0;
    height: 80px;
}

.float-cta .box {
    height: 100%;
}

.float-cta .box .homes-assess {
    height: 100%;
}

.float-cta .box .homes-assess .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.float-cta .box .homes-assess .inner div {
    flex: 1;
    margin: 8px 4px;    
}

.float-cta .box .homes-assess .inner div.m-l {
    margin-left: 6px;
}

.float-cta .ha-select {
    font-size: min(3vw, 16px);
    padding: 12px;
    height: 44px;
    line-height: inherit;
}

.ha-modal .ha-select {
    font-size: 14px;
}

.float-cta .ha-btn {
    margin-top: 0;
    font-size: min(3vw, 16px);
    padding: min(3vw, 12px) min(3vw, 12px);
    border-radius: 4px;
    height: 44px;
    margin-left: -2px;
}

.float-cta .m-ha-btn {
    margin-top: 22px;
    border-radius: 36px;
    margin-left: 0;
    height: inherit;
    padding: 16px 18px;
    font-size: clamp(16px, 3vw, 20px);
}

.float-cta .modalWrap .ha-select {
    font-size: 16px;
}

.ha-modal .ha-btn {
    border: 1px solid #cfcfcf;
}

@media (min-width: 769px){ 
    .ha-card {
        max-width: 480px;
        padding: 40px;
        margin: 0 auto;
        margin-top: 0;
    }
    .diagonal-title {
        font-size: min(4vw, 24px);
    }
    section.checklist .inner h2 {
        margin-bottom: 32px;
    }
    .ha-modalInner {
        padding: 60px;
    }
    .ha-select {
        font-size: 16px;
    }
    .ha-sub {
        font-size: 18px;
    }
    .float-cta {
        height: 100px;
    }
    .float-cta .ha-select {
        height: 56px;
        margin-right: 0;
    }
    .float-cta .ha-btn {
        height: 56px;
        margin-left: 0;
    }
    .float-cta .box .homes-assess .inner {
        max-width: 600px;
    }
    .select_wrapper::after {
        right: 6px;
    }
    .middle-form2 {
        margin-top: 2rem;
    }
    .ha-modal .ha-select {
        font-size: 16px;
    }
    .ha-powered span {
        font-size: 12px;
        padding: 2px 10px;
    }
}