@charset "utf-8";

@media screen and (min-width: 768px) {
    a[href^="tel"] {
        pointer-events: none;
        cursor: default; 
    }
}

.lower-style{
    img{
        max-width: 100%;
        object-fit: cover;
        object-position: center center;
    }
    header{
        width: 100%;
        padding-inline: 5%;
        background-color: #3A3A3A;
        text-align: center;
        padding-block: 40px;
        margin-bottom: 74px;
    }
    h1{
        font-size: clamp(1.25rem, 1.017rem + 0.99vw, 1.75rem);
        text-align: center;
        color: #fff;
        font-weight: 400;
        letter-spacing: 0.1em;
    }
    hgroup p{
        font-size: 0.925rem;
        color: #CFAE6D;
        font-weight: 300;
        margin-top: 7px;
    }
}

@media screen and (max-width: 480px) {
    .lower-style{
        hgroup p {
            font-size: 12px;
        }
}
}

.lower-mv{
    width: min(90%,980px);
    margin-inline: auto; 
    text-align: center;
    margin-bottom: 90px;
}
.lower-mv-title{
    margin-top: 15px;
    margin-bottom: 5px;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-inline: 3%;
    flex-wrap: wrap;
    h2{
        font-size: clamp(1.25rem, 1.017rem + 0.9vw, 1.55rem);
    }
    p{
        padding: 10px 20px;
        line-height: 1;
        border: 1px solid #474747;
        font-size: 14px;
    }
}
.lower-maincontent{
    max-width: 1180px;
    background-color: #E6E6E6;
    margin: 0 auto 170px;
    padding: 50px 20px 50px;
}
.lower-maincontent-wrap{
    position: relative;
}
.lower-maincontent-wrap::before{
    z-index: -1;
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1440/467;
    bottom: -100px;
    left: 0;
    background: url(../img/lower-video-bg.svg) no-repeat center top/cover;
}

@media screen and (max-width: 468px) {
    .lower-maincontent-wrap::before{
        bottom: -70px;
    }
}

.lower-maincontent-videobox{
    width: 94%;
    max-width: 700px;
    position: relative;
    margin: 80px auto 50px;
    p{
        position: absolute;
        top: -80px;
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        z-index: 2;
        border-radius: 5px;
        background: #4CABD7;
        letter-spacing: 0.1em;
    }
    span{
        font-size: 1.125rem;
        line-height: 1;
        border-radius: 5px;
        display: block;
        position: relative;
        width: 100%;
        height: 100%;
        padding: 15px 70px 17px 40px;
    }
    span:after{
        position: absolute;
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        top: calc(50% - 1px);
        right: 40px;
        transform: translateY(-50%);
        background: url(../img/video.svg) no-repeat center center/cover;
    }
    span::before{
        position: absolute;
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        bottom: -13px;
        left: 50%;
        transform: translateX(-50%);
        clip-path: polygon(0 0, 100% 0, 50% 100%);
        background-color: #4CABD7;
    }
    video{
        max-width: 100%;
    }

}

.lower-maincontent-videobox {
  position: relative;
  width: 100%;
  padding-top: min(56.25%, 393.75px);
  height: 0;
  aspect-ratio: 16 / 9;
}
.lower-maincontent-videobox iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* モデルハウス情報・CVB */
.lower-maincontent-text{
    display: flex;
    gap: max(20px, 3.5%);
    align-items: flex-end;
    justify-content: center;
}
.lm-text-left{
    p{
        display: inline-block;
        font-size: 1.25em;
        color: #FFF;
        background-color: #3A3A3A;
        padding: 10px 25px;
    }
    dl{
        margin-top: 22px;
    }
    dl div{
        display: flex;
        column-gap: min(10%,50px);
        margin-bottom: 20px;
    }
    dl div:last-child{
        margin-bottom: 0;
    }
    dl div dt{
        flex-shrink: 0;
    }
    dl div dd{
        flex-shrink: 0;
    }
    .map-button {
        display: inline-block;
        width: 70px;
        text-align: center;
        padding-block: 5px 7px;
        color: #FFF;
        border-radius: 5px;
        background: #7C7C7C;
        line-height: 1;
        margin-right: 50px;
        margin-left: 15px;
        transition: 0.3s;
      }
    .map-button:hover{
        opacity: 0.8;
    }
}

.res-btn {
    display: block;
    color: #fff;
    padding: 23px 70px;
    background: #CFAE6D;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: 0.35s;
    position: relative;
    text-align: center;
    overflow: hidden;
    }
    .res-btn:hover {
    transform: translateY(4px);
    box-shadow: none;

    }
    .res-btn:before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #ffffffa8;
    animation: shiny-btn 4s ease-in-out infinite;
    }
    @keyframes shiny-btn {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
    }
    


.lm-text-right{
    p{
        font-size: 14px;
        letter-spacing: 0.1em;
        position: relative;
        span{
            font-size: 1.5rem;
            padding-inline: 2px;
        }
    }
    p::before,p::after{
        position: absolute;
        content: "";
        display: block;
        width: 2px;
        height: 20px;
        background-color: #fff;
        bottom: 5px;
    }
    p::before{
        left: -10px;
        transform: rotate(-20deg);
    }
    p::after{
        right: -10px;
        transform: rotate(20deg);
    }

    h3{
        font-size: 1.5rem;
        font-weight: 500;
    }
}
.sp-only-498{
    display: none;
}


@media screen and (max-width: 890px) {
    .lower-maincontent-text{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 30px;
    }
    .lm-text-left {
        p {
            text-align: center;
        }
    }
}

@media screen and (max-width: 498px) {
    .lower-maincontent-videobox {
        p {
            width: 210px;
        }}
    .lm-text-left dl {
        width: fit-content;
        margin-inline: auto;
        dt{
            font-size: 1rem;
        }
    }
    .lm-text-left dl div{
        flex-direction: column;
        align-items: start;
    }
    .lm-text-left{
        .map-button {
            margin: 0;
            margin-left: 10px;
        }
    }
    .sp-only-498{
        display: block;
    }

}



/* 紹介コンテンツレイアウト */


.feature-block {
    display: flex;
    flex-direction: column;
    width: 96%;
    max-width: 980px;
    margin-inline: auto;
    margin-bottom: 70px;
}

.feature {
    display: flex;
}


/* 物件概要 */
.property-info{
    dl > div{
        display: flex;
        column-gap: min(5%,30px);
        margin-bottom: 10px;
    }  
    dt{
        width: 100px;
        flex-shrink: 0;
    } 
}


.feature > div{
    width: 50%;
}
.feature-text {
    /* max-width: 400px; */
    padding-left: min(3%,30px);
    padding-top: min(2%,15px);
}
     
.feature:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: space-between;
    .feature-text {
        padding-left: 0;
        padding-right: min(3%,30px);
        padding-top: min(2%,15px);
    }
}

.feature-img{
    width: 50%;
    aspect-ratio: 49/30;
}

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

.feature-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.feature-text p {
    line-height: 2;
    font-weight: normal;
}

@media screen and (max-width: 600px) {
    .feature-text h3{
        font-size: 1.225rem;
    }
    .feature{
        flex-direction: column;
        margin-bottom: 20px;
    }
    .feature:nth-child(even){
        flex-direction: column;
    }
    .feature > div {
        width: 100%;
    }
    .feature-block{
        width: 90%;
    }
}


/* ループスライダー */

.loop-slider-wrapper {
    overflow: hidden;
    width: 100%;
    margin-bottom: 90px;
}
  
.slider-track {
    display: flex;
    animation: scroll linear infinite;
}
  
.slider-track img {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center center;
}
  
/* @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
} */

@media screen and (max-width: 800px) {
    .slider-track img{
        width: 200px;
        height: 200px;
    }
}

/* 下層アクセス */
  
.lower-map{
    position: relative;
    padding-top: 140px; 
    padding-bottom: 30px;
    margin-bottom: 70px;
    background: url(../img/lower-access.svg) no-repeat center center/cover;
}
.lower-map::before{
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1440/144;
    top:  0;
    left: 0;
    background: url(../img/lower-access-triangle.svg) no-repeat center center/cover;
}

.lower-map h3{
    margin-bottom: 40px;
}
.lower-map iframe{
    display: block;
    width: 94%;
    max-width: 1180px;
    height: 370px;
    margin: 0 auto 20px;
}
.lower-map dl{
    width: 90%;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    color: #fff;
    font-weight: normal;
    column-gap: 30px;
    row-gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    dt{
        line-height: 1;
        padding: 5px 10px;
        border: 1px solid #fff;
    }
}




/* フォーム */

/* フォーム全体の背景と中央寄せ */
.reservation-form-container {
    background-color: #f0f0f0;
    max-width: 1180px;
    margin: 0 auto 70px;
    padding: 100px 20px;
    text-align: center;
    font-weight: normal;
    .attention{
        margin-bottom: 40px;
    }
    h4{
        font-size: 1.25em;
        font-weight: normal;
        margin-bottom: 10px;
    }
    h3{
        font-size: 1.5em;
        margin-bottom: 60px;
    }
    .form-tel a{
        font-size: 1.5rem;
        letter-spacing: 0.1em;
        color: #474747;
    }
    .form-tel{
        margin-bottom: 5px;
    }
    .form-time{
        margin-bottom: 80px;
        font-size: 14px;
    }
}
  

.reservation-form h3 {
    font-size: 20px;
    margin: 40px 0 20px;
}
  
  .reservation-form h4 {
    margin-top: 10px;
    font-weight: 500;
    font-size: 18px;
  }
  
  .reservation-form dl {
    max-width: 740px;
    margin: 0 auto 60px;
    text-align: left;
  }
  
  .reservation-form dl > div {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
  }
  
  .reservation-form dt {
    font-weight: 500;
    margin-bottom: 5px;
  }
  .reservation-form dd{
    width: 70%;
  }

  .required {
    color:#fff;
    border-radius: 3px;
    background: #F73852;
    font-size: 12px;
    margin-left: 5px;
    padding: 2px 6px 3px;

  }
  

  .reservation-form input[type="text"],
  .reservation-form input[type="email"],
  .reservation-form input[type="tel"],
  .reservation-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #999;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #fff;
  }
  
  /* 日時入力グループ（横並び） */
  .datetime-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }
  input.js-datepicker{
    cursor: pointer;
  }
  
  .datetime-group label {
    width: 30%;
    font-weight: 500;
    margin-bottom: 3px;
  }
  
  .datetime-group input,
  .datetime-group select {
    flex: 1 1 calc(50% - 5px);
  }
  
  /* プライバシーポリシー文 */
  .privacy {
    font-size: 14px;
    margin-bottom: 40px;
    color: #555;
  }
  
  .privacy a {
    color: #F73852;
    text-decoration: underline;
    font-weight: 500;
    transition: 0.35s;
    padding-right: 20px;
    position: relative;
  }
  .privacy a::after {
    position: absolute;
    content: '';
    width: 14px;
    height: 14px;
    background: url(../img/blank.svg) no-repeat center center/cover;
    top: 3px;
    right: 3px;
    transition: 0.35s;
}
  .privacy a:hover{
    opacity: 0.7;
  }
  .privacy a:hover::after{
    opacity: 0.7;
  }
  
  /* 送信ボタン */
  .submit-area {
    text-align: center;
  }
  
 .submit-btn {
    background-color: #777777;
    color: #fff;
    border: none;
    font-weight: 500;
    padding: 15px 50px;
    letter-spacing: 0.1em;
    font-size: 16px;
    cursor: not-allowed;
    transition: background-color 0.3s ease;
    transition: 0.35s;
}

.submit-btn:enabled {
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  background-color: #CFAE6D;
  opacity: 1;
}

.submit-btn:enabled:hover {
    box-shadow: none;
    transform: translateY(4px); 
}
.caution{
    font-size: 12px;
    margin-top: 10px;
    color: #F73852;
}

@media screen and (max-width: 768px) {
    .reservation-form {
        max-width: 600px;
        margin-inline: auto;
    }
    .reservation-form dl > div{
        flex-direction: column;
        row-gap: 10px;
    }
    .reservation-form dd{
        width: 100%;
    }
    .reservation-form dl dt{
        font-size: 1rem;
    }
    .datetime-group{
        flex-wrap: wrap;
    }
    .datetime-group label {
        width: 100%;
    }
}


/* プライバシーポリシー */

.copy{
  max-width: 980px;
  margin: 4rem auto;
  padding: 0 1rem;
  line-height: 1.8;
  color: #333;
  font-weight: normal;
}

.copy h2 {
  font-size: 1.1rem;
  margin-top: 2rem;
  font-weight: bold;
}

.copy ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.copy ul li {
  list-style: disc;
  margin-bottom: 0.3rem;
}

/* サンクスページ */
.hero {
  position: relative;
  text-align: center;
}
.hero img {
  width: 100%;
  height: 100vw;
  max-height: 400px;
  object-fit: cover;
}
.hero h1 {
  position: absolute;
  top: calc(50% + 20px);
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  letter-spacing: 0.1em;
  font-weight: 200;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.thanks-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  font-weight: normal;
  margin-bottom: 100px;
}
.thanks-container h2 {
  font-size: clamp(1.125rem, 0.95rem + 0.75vw, 1.5rem);
  margin: 100px 0 80px;
}
.thanks-container p {
  text-align: left;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.confirm {
  text-align: left;
  margin-bottom: 4rem;
}
.confirm ul {
  list-style: disc;
  line-height: 1.8;
}

/* エラーページ */

.error {
    padding-inline: 3%;
    margin-block: 100px;
    text-align: center;
    h1 {
        font-size: 1.8rem;
        color: #c00;
        margin-bottom: 1rem;
    }

    p {
        margin-bottom: 2rem;
        line-height: 2;
    }

    a {
        display: inline-block;
        padding: 0 0.3em;
        text-decoration: none;
        border-radius: 4px;
        transition: 0.35s;
        color: rgb(122, 31, 31);
    }
    a:hover{
        opacity: 0.7;
    }
    .back-form {
        font-size: 14px;
    }
    .back-form a{
        padding: 0.3em 1em;
        color: #fff;
        font-weight: 500;
        letter-spacing: 0.1em;
        background-color: #CFAE6D;
        font-size: 18px;
        margin-bottom: 10px;
    }
}

/* リキャプチャー */


  


.submit-area > div{
    position: relative;
}
.grecaptcha-badge {
  font-size: 11px!important;
  position: absolute;
  transform: scale(0.6); /* ← 縮小 */
  right: -60px;
  bottom: -150px;
  z-index: 100;
}


/* クローズ時 */

.close .lower-maincontent-wrap::before{
    content: none;
}