@charset "UTF-8";

/*---------------------------
間取り
---------------------------*/
.flex {
    display: flex;
    flex-wrap: wrap;
}

.plan-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    border-bottom: 1px solid #e3e8ea;
}

.plan-buttons button {
    flex: 1;
    font-size: 16px;
    color: #000;
    letter-spacing: 2px;
    padding: 10px 10px;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    /* 初期化 */
    background: none;
    border: none;
}

.plan-buttons button:hover {
    background: #eceff0;
}

.plan-buttons button.active {
    border-bottom: 1px solid #808080;
    color: #000;
}

.plan-inner .plan-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.plan-inner .plan-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.plan-inner {
    background: #e3e8ea;
    padding: 60px 0;
    margin-top: 40px;
}

.plan-content {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
.plan-content > .attention{
    display: none; /* 非表示　念の為残し */
}

.plan-btn {
    justify-content: flex-start;
/*    margin-bottom: 80px;*/
}

.plan-btn li {
    width: calc((100% - 11%) / 3);
    margin-right: 5.5%;
    box-shadow: 0px 3px 22px 0px rgba(0, 0, 0, 0.25);
}


.plan-btn li:nth-of-type(3n) {
    margin-right: 0;
}

.plan-btn li:nth-of-type(n+4) {
    margin-top: 5.5%;
}

/* プランポップアップ */
.popup-overlay {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    /* スマホで背景もスクロール可能に */
}

.popup-inner {
    width: 90%;
    height: 100%;
    max-width: 580px;
    position: relative;
    margin: 0 auto;
}

.popup-content {
    /* スクロール対応 */
    box-sizing: border-box;
    max-height: 80vh;
    overflow-y: auto;
    max-width: 580px;
    background: #fff;
    padding: 30px 50px;
    margin: 100px auto;
    position: relative;
     pointer-events: auto; /* 念のため */
}

.popup-close {
    width: 50px;
    color: #fff;
    position: absolute;
    top: 0;
    right: -80px;
    cursor: pointer;
    z-index: 1000;
}

.popup-content .madori {
    margin-bottom: 20px;
}

.popup-content .link-btn {
    display: block;
    width: 90%;
    max-width: 320px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    padding: 15px 0 15px 20px;
    margin: 0 auto 0;
    position: relative;
    transition: all .5s;
}

.popup-content .link-btn:hover {
    opacity: 0.7;
}

.popup-content .link-btn:nth-of-type(n+2) {
    margin-top: 10px;
}

.popup-content .link-btn::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
}

.popup-content .link-btn.c01::after {
    background-image: url(../img/plan/arrow-b.png);
}

.popup-content .link-btn.c02::after {
    background-image: url(../img/plan/arrow-w.png);
}

.popup-content .link-btn.c01 {
    color: #5c5447;
    background: #ece7d9;
}

.popup-content .link-btn.c02 {
    color: #fff;
    background: #5c5447;
}

.hanrei01 {
    margin-top: 15px;
}

.hanrei02 {
    width: 100px;
    margin: 15px 0 10px 0;

}


.color_select.copy_box02 {
  padding: 100px 0 140px 0;
}

.color_select.copy_box02 .copy-ttl02 .en {
  display: block;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 4px;
  text-align: center;

}
.color_select.copy_box02 .copy-ttl02 .ja {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 4px;
  text-align: center;
  margin-top: 20px;
}

.color_select.copy_box02 .copy-text02 {
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1.6;
  text-align: center;
  margin-top: 20px;
}

.color_select .cs_01 {
  padding: 80px 0 0;
  max-width: 1000px;
  margin: 0 auto;
}
.color_select .fig_fig {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 80px 0 0;
}
.color_select .fig_fig li:nth-child(1) {
  max-width: 450px;
}
.color_select .fig_fig li:nth-child(2) {
  max-width: 620px;
}


/*---------------------------
Tab
---------------------------*/
@media screen and (max-width: 1024px) {}

/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 768px) {

    .plan-btn {
/*        margin-bottom: 40px;*/
    }

    .plan-btn li {
        width: 100%;
        margin-right: 0;
    }

    .plan-btn li:nth-of-type(n+2) {
        margin-top: 30px;
    }

    .plan-buttons button {
        flex: auto;
        width: 33%;
        font-size: 14px;
    }

    /* .popup-content {
        width: 100%;
        margin: 60px auto;
        padding: 20px;
        max-height: 70vh;
    }

    .popup-content .link-btn {
        font-size: 14px;
    }

    .popup-close {
        width: 25px;
        top: -32px;
        right: 0;
    } */

    .hanrei02 {
        width: 64px;
    }



    .acordion-wrap {
      display: block;
      overflow: hidden;
      background-color: #f0f0f0;
      padding: 2px;
    }
    .acordion-wrap li {
        width: 100%;
        margin-right: 0%;
        box-shadow: none;
    }

    .acordion-open {
      display: block;
      cursor: pointer;
      text-decoration: none;
      text-align: center;
    }
    .acordion-open img {
      max-width: 100%;
      height: auto;
      vertical-align: middle;
    }
    .acordion-content {
        display: none;
        background-color: #fff;
        padding: 15px;

        box-sizing: border-box;
        max-width: 100%;
        background: #fff;
        padding: 10px 10px;
        margin: 0 auto;
        pointer-events: auto; /* 念のため */
    }

    .acordion-content .madori {
        margin-bottom: 20px;
    }

    .acordion-content .link-btn {
        display: block;
        width: 90%;
        max-width: 320px;
        font-size: 18px;
        font-weight: 600;
        text-align: left;
        padding: 15px 0 15px 20px;
        margin: 0 auto 0;
        position: relative;
        transition: all .5s;
    }

    .acordion-content .link-btn:hover {
        opacity: 0.7;
    }

    .acordion-content .link-btn:nth-of-type(n+2) {
        margin-top: 10px;
    }

    .acordion-content .link-btn::after {
        content: "";
        display: block;
        width: 18px;
        height: 18px;
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 15px;
    }

    .acordion-content .link-btn.c01::after {
        background-image: url(../img/plan/arrow-b.png);
    }

    .acordion-content .link-btn.c02::after {
        background-image: url(../img/plan/arrow-w.png);
    }

    .acordion-content .link-btn.c01 {
        color: #5c5447;
        background: #ece7d9;
    }

    .acordion-content .link-btn.c02 {
        color: #fff;
        background: #5c5447;
    }



  .color_select.copy_box02 {
    /* width:94%;
    margin:0 auto; */
    padding: 50px 0;
  }
  .color_select.copy_box02 .copy-ttl02 .en {
    font-size: 20px;
  }
  .color_select.copy_box02 .copy-ttl02 .ja {
    font-size: 14px;
    line-height: 1.3;
  }
  .color_select.copy_box02 .copy-text02 {
    font-size: 14px;
    text-align: left;
  }

  .color_select .cs_01 {
    padding: 40px 0 0;
  }
  .color_select .fig_fig {
    flex-direction: column;
    padding: 40px 0 0;
  }
  .color_select .fig_fig li:nth-child(1) {
    max-width: 75%;
    margin: 0 auto 30px;
  }
  .color_select .fig_fig li:nth-child(2) {
    max-width: 100%;
    margin: 0 auto;
  }

}
