/* kv */
#kv {
    background: url(../img/top/kv.webp) center / cover no-repeat;
    height: 75.1rem;
    padding-top: 13.8rem;
    text-align: center;
}
#kv .kv-ttl {
    color: #fff;
    font-size: min(4.5rem, 45px);
    font-weight: 600;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 3rem 4rem;
    /* border-radius: 1rem; */
    display: inline-block;
    width: auto;
}
@media only screen and (max-width: 899px) {
    #kv {
        padding-top: 8rem;
    }
}

/* kv ざっくり見積もり */
#kv .estimate-wrap {
    background-color: rgba(255,255,255,.8);
    border-radius: 1rem;
    width: 75.8rem;
    height: 14rem;
    margin: 9rem auto 0;
    padding: 1.3rem 4rem;
    position: relative;
    box-shadow: 0 6px 6px rgba(0,0,0,0.3);
}
#kv .estimate-wrap .tab__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #707070;
}
#kv .estimate-wrap .tab__menu-item {
  width: 11.5rem;
  line-height: 3.7rem;
  text-align: center;
  font-size: 2.1rem;
  font-weight: 600;
  background-color: #fff;
  border: 1px solid #C1C1C1;
  border-radius: 3rem;
  color: #BEBEBE;
  cursor: pointer;
  transition: all .3s; 
}
#kv .estimate-wrap .tab__menu-item.is-active {
  background-color: #AFA26B;
  border: 1px solid #AFA26B;
  color: #fff;
}
#kv .estimate-wrap .tab_txt {
  font-size: 2.5rem;
  font-weight: 600;
  color: #393939;
}
#kv .estimate-wrap .calc-wrap {
  display: grid;
  grid-template-columns: 40% 1fr;
  align-items: center;
  justify-content: center;
  column-gap: 2rem;
}
#kv .estimate-wrap .calc-wrap .calc-right {
    display: grid;
  grid-template-columns: 40% 1fr;
}
#kv .estimate-wrap .calc-wrap input {
    background-color: transparent;
    border: none;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
#kv .estimate-wrap .calc-wrap .input-box {
    background-color: #EBEAEA;
    border: 2px solid #969696;
    border-radius: 7px;
    height: 4.7rem;
    font-size: 2rem;
    font-weight: 600;
    vertical-align: middle;
    padding: .5rem;
    text-align: right;
}
#kv .estimate-wrap .calc-wrap .input-box input {
    font-size: 2.2rem;
    width: 12rem;
    text-align: right;
}
#kv .estimate-wrap .calc-wrap .label-txt {
    font-size: 1.6rem;
    color: #818181;
}
#kv .estimate-wrap .calc-mid {
    position: relative;
}
#kv .estimate-wrap .calc-mid:after {
    content: "";
    width: 4rem;
    height: 4rem;
    background: url(../img/common/icon-arrow.svg) 0 / 100% 100% no-repeat;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
#kv .estimate-wrap .calc-mid .result-txt {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1c1c1c;
    text-align: center;
    margin-right: 6rem;
}
#kv .estimate-wrap .calc-wrap .btn-calc {
    background-color: #52BDB1;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 2.4rem;
    font-size: 2rem;
    font-weight: 600;
    width: 9rem;
    line-height: 3rem;
    cursor: pointer;
    position: relative;
    margin: .8rem 6rem 0 0;
}
#kv .estimate-wrap .result-wrap {
    font-size: 2.8rem;
    font-weight: 600;
    color: #393939;
    text-align: right;
}
#kv .estimate-wrap .result-wrap input {
    font-size: 4rem;
    font-weight: 600;
    color: #393939;
    width: 11rem;
}
#kv .estimate-wrap .btn-red {
    position: absolute;
    top: calc(100% + 3rem);
    right: 0;
    font-size: 2.5rem;
    padding: .5rem 5rem;
}
@media only screen and (max-width: 899px) {
    #kv .estimate-wrap {
        padding: 3rem 0;
        height: auto;
        width: 88%;
        margin: 4rem auto 0;
    }
    #kv .estimate-wrap .calc-wrap .label-txt {
        font-size: 2.2rem;
    }
    #kv .estimate-wrap .calc-wrap .input-box {
        width: 85%;
        margin: auto;
        display: flex;
        justify-content: space-between;
        padding: 3rem 5rem;
        align-items: center;
    }
    #kv .estimate-wrap .calc-wrap .input-box input {
        width: 28rem;
    }
    #kv .estimate-wrap .calc-wrap {
        grid-template-columns: 1fr;
        row-gap: 1rem;
    }
    #kv .estimate-wrap .calc-mid {
        display: flex;
        align-items: center;
    }
    #kv .estimate-wrap .calc-wrap .btn-calc {
        margin-right: 2rem;
        font-size: 2.8rem;
        width: 14rem;
        line-height: 5rem;
        border-radius: 3.4rem;
    }
    #kv .estimate-wrap .calc-wrap .calc-right {
        width: 85%;
        margin: auto;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    #kv .estimate-wrap .result-wrap input {
        width: 22rem;
    }
}

/* kv下 slide */
.slide-wrap {
    margin: 2rem 0;
}
.slide-wrap .bx-wrapper {
    max-width: none !important;
}
.slider li {
    display: flex;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
}
.slider li img {
    vertical-align: bottom;
    object-fit: contain;
    width: 170px;
    height: 34px;
}

/* about */
.about-sec {
    padding: 4rem 0 5rem;
}
.about-sec .col2-wrap {
    margin: 4rem 0;
}
.about-sec .col2-flex {
    column-gap: 6rem;
    align-items: center;
    position: relative;
}
.about-sec .col2-flex .ttl {
    font-size: min(2.8rem, 28px);
    font-weight: 600;
    margin-bottom: 4rem;
}
@media (min-width: 900px) {
    .about-sec .btn-gold {
        padding: 1rem 5.5rem 1rem 4.5rem;
        position: absolute;
        bottom: 0;
    }
}
@media (max-width: 899px) {
    .about-sec {
        padding: 6rem 0;
    }
    .about-sec .col2-wrap {
        margin: 8rem 0;
    }
    .about-sec .col2-flex {
        grid-template-columns: 1fr;
        row-gap: 4rem;
    }
    .about-sec .col2-flex .txt-wrap {
        text-align: center;
    }
    .about-sec .col2-flex:last-child .img {
        order: 2;
    }
    .about-sec .btn-gold {
        padding: 1rem 4.5rem;
        margin: 4rem auto;
        width: max-content;
    }
}

/* feature */
.feature-sec {
    padding: 6.6rem 0;
}
.feature-sec .sec-ttl {
    color: #595858;
    margin-bottom: 5rem;
}
.feature-sec .sec-ttl + .txt {
    margin-bottom: 5rem;
}
.feature-sec .col3-flex {
    column-gap: 3.5rem;
    margin-bottom: 4rem;
}
.feature-sec .col3-flex .ttl {
    background: linear-gradient(to bottom, #AFA26B, #917C24);
    color: #fff;
    font-size: min(2rem, 20px);
    text-align: center;
    height: 19.5rem;
    display: grid;
    place-content: center;
}
.feature-sec .col3-flex .ttl strong.ttl-l {
    font-size: 8rem;
    display: block;
}
.feature-sec .col3-flex .ttl strong.ttl-m {
    font-size: min(6rem, 60px);
    padding: 1.5rem 0;
    display: block;
}
.feature-sec .col3-flex .txt {
    background-color: #F8F8F8;
    padding: 2rem;
}
.feature-sec .btn-wrap .btn-red {
    width: 46.2rem;
    line-height: 6rem;
    margin: 2rem auto 0;
}
@media (max-width: 899px) {
    .feature-sec .col3-flex {
        grid-template-columns: 1fr;
        row-gap: 4rem;
    }
    .feature-sec .col3-flex .ttl {
        font-size: 3rem;
    }
    .feature-sec .col3-flex .txt {
        padding: 4rem;
    }
    .feature-sec .btn-wrap .btn-red {
        line-height: 8rem;
        border-radius: 4rem;
    }
}

/* scene */
.scene-sec {
    padding: 12rem 0 5rem;
}
.scene-sec .sec-ttl {
    margin-bottom: 4rem;
}
.scene-sec .inner > .col2-flex {
    margin: 4.8rem 0;
    column-gap: 4.4rem;
}
.scene-sec .col2-flex .box-wrap {
    border: 1px solid #707070;
    padding: 3rem;
    margin-bottom: inherit;
}
.scene-sec .col2-flex .box-wrap dt {
    font-size: min(2.8rem, 28px);
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 1px solid #707070;
    margin-bottom: 2rem;    
}
.scene-sec .col2-flex .box-wrap .list li {
    font-size: min(2rem, 20px);
    font-weight: 600;
    line-height: 2;
}
/* .scene-sec .col2-flex .box-wrap .list li:before {
    content: "\2192";
} */

.scene-sec .btn-wrap .btn-gold {
    margin: 2rem auto 0;
}

/* voice */
.voice-wrap {
    display: grid;
    grid-template-columns: 1fr 38.7rem;
    margin-right: 10rem;
    align-items: center;
    /* padding: 2rem 0 4rem; */
}
.voice-wrap .name {
    font-size: min(2.2rem, 28px);
    font-weight: 600;
    margin-bottom: 4rem;
}
.voice-wrap .txt {
    font-size: min(3.3rem, 30px);
    font-weight: 600;
}
.voice-wrap .img {
    margin: -4rem -7rem -5rem;
}
@media (max-width: 899px) {
    .voice-wrap {
        grid-template-columns: 1fr;
        row-gap: 3rem;
        margin-right: 0;
    }
    .voice-wrap .txt-wrap {
        order: 1;
        margin-top: 5rem;
        text-align: center;
    }
    .voice-wrap .img {
        order: 2;
        margin: 0;
    }
}
/* faq-sec */
.faq-sec {
    padding: 5rem 0 12rem;
}

/* cta-wrap */
.cta-wrap {
    width: 120rem;
    margin: 0 auto 12rem;
    background: linear-gradient(to bottom, #AFA26B, #917C24);
    border-radius: 1.8rem;
    color: #fff;
    text-align: center;
    padding: 5rem 0 3rem;
}
.cta-wrap .ttl {
    font-size: min(3rem, 30px);
    font-weight: 600;
}
.cta-wrap .txt {
    width: 80rem;
    margin: 3rem auto;
}
.cta-wrap .btn-w {
    width: 45rem;
    line-height: 6rem;
    margin: auto;
    border-radius: 3rem;
}
@media (max-width: 899px) {
    .cta-wrap {
        width: 94%;
        padding: 5rem;
    }
    .cta-wrap .txt {
        width: 90%;
        margin: 5rem auto;
    }
    .cta-wrap .btn-w {
        line-height: 8rem;
        border-radius: 4rem;
    }
}

/* Contact Popup */
.contact-popup {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease-out;
    position: relative;
    z-index: 10;
}

.contact-popup .popup-message {
    color: #856404;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media only screen and (max-width: 899px) {
    .contact-popup {
        padding: 0.8rem 1rem;
        margin: 0.8rem 0;
    }
    
    .contact-popup .popup-message {
        font-size: 1.2rem;
    }
}