@charset "UTF-8";


.contents{
  padding-top: 140px;
}

@media all and (min-width: 681px) {
  .under_head{
    height: 520px;
  }
}

@media all and (max-width: 680px) {
  .contents{
    padding-top: 50px;
  }
}


/* hyggekrog_wrap
---------------------------------------*/
.hyggekrog_wrap{
  position: relative;
}
.hyggekrog_anchor{
  position: absolute;
  top: -40px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.hyggekrog_ttl1{
  font-size: 22px;
   font-weight: 500; 

  line-height: 2;
  letter-spacing: 0.05em;
  text-align: center;

  span{
    font-size: 16px;
  }
}

.hyggekrog_box01{
  display: flex;
  justify-content: center;
  gap: 0 36px;
  margin-top: 70px;
  position: relative;

  > div{
    color: #fff;
    background-color: #C6B493;
    border-radius: 5px;
    display: flex;
    gap: 0 25px;
    padding: 25px 25px 25px 30px;
  }

  dl{
    width: 308px;

    dt{
      font-size: 24px;
      /* font-weight: 500; */

      letter-spacing: 0.05em;

      span{
        font-size: 12px;
        font-weight: 700;
        margin-left: 1em;
      }
    }

    dd{
      font-size: 14px;
      line-height: 1.7;
      text-align: justify;
      margin-top: 1.5em;
    }
  }

}


.hyggekrog_box02{
  width: 774px;
  background-color: #fff;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px;
  margin: 80px auto 0;

  .hyggekrog_logo{
    width: 345px;
  }

  .hyggekrog_ttl2{
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.05em;
    margin-top: 50px;
  }
  .hyggekrog_txt{
    width: 638px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.85;
    text-align: justify;
    margin-top: 1.5em;
  }
}

@media all and (min-width: 681px) {
  .hyggekrog_img{
    width: 157px;
  }

  .hyggekrog_box01::after{
    content: '';
    width: 66px;
    height: 66px;
    background: url(../img/houseplan/hyggekrog_plus.svg) center / 100% no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

}

@media all and (max-width: 680px) {
  .hyggekrog_anchor{
    top: -15px;
  }
  .hyggekrog_ttl1{
    font-size: 17px;
    white-space: nowrap;
    margin-left: 0.25em;

    span{
      font-size: 14px;
    }
  }

  .hyggekrog_box01{
    flex-direction: column;
    gap: 22px 0;
    margin-top: 30px;

    > div{
      flex-direction: column;
      gap: 15px 0;
      padding: 35px 29px;
      position: relative;
    }

    dl{
      width: 100%;

      dt{
        text-align: center;
      }
    }
  }

  .hyggekrog_box01 div + div::before{
    content: '';
    width: 66px;
    height: 66px;
    background: url(../img/houseplan/hyggekrog_plus.svg) center / 100% no-repeat;
    position: absolute;
    top: -43px;
    left: 50%;
    transform: translatex(-50%);
  }


  .hyggekrog_box02{
    width: 100%;
    flex-direction: column;
    padding: 35px 29px 40px;
    margin: 40px auto 0;

    .hyggekrog_logo{
      width: 242px;
    }

    .hyggekrog_ttl2{
      text-align: center;
      margin-top: 35px;
    }
    .hyggekrog_txt{
      width: 100%;
    }
  }

}

/* corner slider (PC) / stack (SP)
---------------------------------------*/
.corner_wrap{
  position: relative;
  margin-top: 160px;
}

.corner_comTxt--sp{
  display: none;
}

.corner_slider{
  position: relative;
}

.corner_slide{
  outline: none;
}

@media all and (min-width: 681px) {
  .corner_wrap{
    padding: 0 60px;
    box-sizing: border-box;
  }

  .corner_slider{
    max-width: 1200px;
    height: 692px;
    margin: 0 auto;
    overflow: visible;
  }

  .corner_slider .slick-list,
  .corner_slider .slick-track{
    height: 692px;
  }

  .corner_slider .slick-list{
    overflow: hidden;
  }

  .corner_slider .corner_slide{
    display: flex !important;
    align-items: stretch;
    height: 692px !important;
    min-height: 692px;
  }

  .corner_slider:not(.slick-initialized) .corner_slide:not(:first-child){
    display: none !important;
  }

  /* 04 は末尾1文字が溢れて4行になるため詰める */
  .corner_slide[data-corner="3"] .corner_txt{
    letter-spacing: -0.03em;
  }
}

.corner_leftBox{
  width: 50%;
  background-color: #9EAFB1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #EEEEEA;
  padding: 40px 0;
  box-sizing: border-box;
}

.corner_comTxt{
  .ttl{
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
  }
  .txt {
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.05em;
    text-align: center;
    margin-top: 1.25em;
  }
}

.corner_sub{
  width: 477px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 50px;
}

.corner_num{
  font-size: 53px;
  font-weight: 400;
  display: flex;
  position: absolute;
  top: -20px;
  left: -15px;

  span{
    font-size: 21px;
    position: relative;
    top: 11px;
    margin-left: 3px;
  }
}

.corner_img{
  width: 312px;
}

.corner_ttl{
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 10px;
}
.corner_txt{
  font-size: 14px;
  line-height: 1.85;
  text-align: justify;
  margin-top: 1.5em;
}

.corner_adopt{
  width: 100%;
  background-color: #DCDFDC;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.5;
  color: #819596;
  display: flex;
  justify-content: center;
  padding: 10px;
  margin-top: 20px;
}

.corner_rihgtImg{
  width: 50%;
  min-height: 100%;
  flex-shrink: 0;
}

/* PCでは fade_sp を無効化（スライド内で常時表示） */
@media all and (min-width: 681px) {
  .corner_rihgtImg.action.fade_sp{
    opacity: 1;
    transition: none;
  }
}

.corner_rihgtImg01{
  background: url(../img/houseplan/corner_01.jpg) top center / cover no-repeat;
}
.corner_rihgtImg02{
  background: url(../img/houseplan/corner_02.jpg) top center / cover no-repeat;
}
.corner_rihgtImg03{
  background: url(../img/houseplan/corner_03.jpg) top center / cover no-repeat;
}
.corner_rihgtImg04{
  background: url(../img/houseplan/corner_04.jpg) top center / cover no-repeat;
}
.corner_rihgtImg05{
  background: url(../img/houseplan/corner_05.jpg) top center / cover no-repeat;
}

/* 半円矢印（円SVGを端に中心合わせ → 外側だけ見える） */
.corner_arrow{
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 106px;
  height: 106px;
  padding: 0;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  appearance: none;
  font-size: 0;
  line-height: 0;
}

.corner_arrow--prev{
  left: 0;
  transform: translate(-50%, -50%);
  background-image: url(../img/houseplan/slider_arrow_l.svg);
}

.corner_arrow--next{
  right: 0;
  transform: translate(50%, -50%);
  background-image: url(../img/houseplan/slider_arrow_r.svg);
}

@media all and (min-width: 681px) {
  .corner_arrow:hover{
    opacity: 0.85;
  }
}

@media all and (max-width: 680px) {
  .corner_wrap{
    height: auto;
    margin-top: 65px;
    display: flex;
    flex-direction: column;
    background-color:#9EAFB1;
  }

  .corner_comTxt--sp{
    display: block;
    order: 0;
  }

  .corner_comTxt--pc,
  .corner_arrow{
    display: none !important;
  }

  .corner_slider,
  .corner_slide,
  .corner_leftBox{
    display: contents !important;
    position: static;
    width: auto;
    height: auto;
    min-height: 0;
  }

  .corner_comTxt{
    color: #525050;
    padding: 0 6.6% 33px;
    background-color: #EEEEEA;

    .ttl{
      font-size: 24px;
      line-height: 1.5;
      text-align: center;
    }
    .txt{
      font-size: 15px;
      line-height: 1.6;
      margin-top: 1em;
    }
  }

  .corner_sub{
    width: 100%;
    margin-top: 0;
    color: #fff;
    background-color: #9EAFB1;
    box-sizing: border-box;
    padding: 30px 6.6% 35px;
  }

  .corner_slide[data-corner="0"] .corner_sub{ order: 1; }
  .corner_rihgtImg01{ order: 2; }
  .corner_slide[data-corner="1"] .corner_sub{ order: 3; }
  .corner_rihgtImg02{ order: 4; }
  .corner_slide[data-corner="2"] .corner_sub{ order: 5; }
  .corner_rihgtImg03{ order: 6; }
  .corner_slide[data-corner="3"] .corner_sub{ order: 7; }
  .corner_rihgtImg04{ order: 8; }
  .corner_slide[data-corner="4"] .corner_sub{ order: 9; }
  .corner_rihgtImg05{ order: 10; }

  .corner_slide[data-corner="1"] .corner_sub,
  .corner_slide[data-corner="2"] .corner_sub,
  .corner_slide[data-corner="3"] .corner_sub,
  .corner_slide[data-corner="4"] .corner_sub{
    margin-top: 30px;
    position: relative;

    &::before{
      content: '';
      width: 100%;
      height: 30px;
      background-color: #EEEEEA;
      position: absolute;
      top: -30px;
      left: 0;
    }
  }

  .corner_num{
    top: 30px;
    left: 6.6%;
  }

  .corner_img{
    width: 94%;
    margin-left: auto;
    margin-right: -3.3%;
    margin-top: 65px;
  }

  .corner_ttl{
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
  }

  .corner_adopt{
    span:first-child{
      width: 7em;
      flex-shrink: 0;
    }
  }

  .corner_rihgtImg{
    width: calc(100% - 13.2%);
    height: 0;
    min-height: 0;
    padding-top: 100%;
    margin: 0 auto 35px;
  }
  .corner_rihgtImg.action.fade_sp{
    opacity: 0;
    transition: opacity 1000ms ease 0.5s;
  }
  .corner_rihgtImg.action.fade_sp.scrollin{
    opacity: 1;
  }
}

/* and_wrap
---------------------------------------*/
.and_wrap{
    margin-top: -84px;
  .come_txt{
    font-size: 12px;
    line-height: 1.83;
    text-align: right;
    margin-top: 35px;
  }
}
.and_b{
  font-size: 185px;
  font-weight: 700;
  color: rgba(205, 205, 185, 0.72);
  text-align: center;
  z-index: 2;
  position: relative;
}

.and_ttl{
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-align: center;
  margin-top: 50px;
}

.and_box{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px 0;
  margin-top: 50px;

  > div{
    width: 575px;
  }
}

.and_box_txt{
  width: 190px;
  background-color: #EEEEEA;
  font-size: 18px;
  font-weight: 400;
  color: #9D8250;
  text-align: center;
  border-radius: 5px;
  margin: -25px auto 0;
  padding-top: 18px;
  position: relative;
}

.and_box_ttl{
  font-size: 20px;
  font-weight: 500; 

  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 20px;
}

.and_adopt{
  width: 479px;
  background-color: #DEDED7;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.5;
  color: #525050;
  display: flex;
  justify-content: center;
  padding: 10px;
  margin: 20px auto 0;
}

@media all and (min-width: 681px) {
}

@media all and (max-width: 680px) {

  .and_wrap{
    margin-top: -40px;

    .come_txt{
      text-align: justify;
      margin-top: 15px;
    }
  }
  .and_b{
    font-size: 100px;
  }

  .and_ttl{
    font-size: 18px;
    line-height: 1.66;
    margin-top: 20px;
  }

  .and_box{
    display: block;
    margin-top: 30px;

    > div{
      width: 100%;
    }
    > div + div{
      margin-top: 30px;
    }
  }

  .and_box_txt{
    width: 111px;
    font-size: 14px;
    margin: -15px auto 0;
    padding-top: 8px;
  }

  .and_box_ttl{
    font-size: 16px;
    line-height: 1.4;
    margin-top: 15px;
  }

  .and_adopt{
    width: 100%;
    font-size: 13px;
    padding: 5px 10px;
    margin: 15px auto 0;

    span:first-child{
      width: 7em;
      flex-shrink: 0;
    }
  }


}



/* madori_wrap
---------------------------------------*/
.madori_wrap{
  margin-top: 150px;
  padding-top: 100px;
  padding-bottom: 115px;
  scroll-margin-top: var(--header-height-pc, 104px);

  .inner {
     > .btn_pill_wrap{
      width: 386px;
      margin: 70px auto 0;

      .btn_pill{
        width: 100%;
        height: 61px;
        background-color: #9A742E;
        font-size: 16px;
        padding-left: 40px;

        .btn_pill_ico {
          right: 25px;
        }
      }
    }

    .contact_btnWrap{
      margin-top: 70px;
    }
  }
}
.madori_mainTtl{
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
}
.madori_lead{
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 2;
  margin-top: 1.5em;
  text-align: center;
}

.madori_ttl{
  color: #9D8250;
  display: flex;
  padding-top: 15px;

  > p{
    font-size: 24px;

    span{
      font-size: 52px;
    }
  }

  > h3{
    font-size: 26px;
    font-weight: 700;
    line-height: 1.53;
    margin-left: 60px;
    position: relative;

    &::before{
      content: '';
      width: 1px;
      height: 54px;
      background-color: #9D8250;
      transform: rotate(40deg);
      position: absolute;
      top: 5px;
      left: -33px;
    }
  }
}

.madori_detail_01{
  font-size: 18px;
  letter-spacing: 0.05em;
  margin-top: 30px;
}
.madori_detail_plan{
  display: block;
}
.madori_detail_note{
  display: block;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-top: 0.4em;
}
.madori_detail_02{
  font-size: 15px;
  letter-spacing: 0.05em;
  margin-top: 1em;
}

.madori_hygge_name{
  font-size: 16px;
  font-weight: 700;
  color: #EEEEEA;
  background-color: #C38D83;
  border-radius: 15px;
  display: inline-block;
  padding: 0.4em 1em;
}

.madori_hygge_ttl{
  font-size: 16px;
  font-weight: 500; 
  letter-spacing: 0.05em;
  margin-top: 1em;

  span{
    font-size: 22px;
    font-weight: 700;
    color: #C38D83;
    margin-left: 0.25em;
  }
}
.madori_hygge_txt{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
  margin-top: 1em;
}


.madori_txt{
  font-size: 15px;
  background-color: #DEDED7;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  padding: 0.4em 1em;
  margin-top: 40px;

  span{
    font-size: 20px;
    color: #9D8250;
    margin: 0 0.15em;
  }
}

/* madori_imgWrap */
.madori_img{
  margin-top: 50px;
  position: relative;
}
.madori_img07{
  width: 952px;
  margin: 50px auto 0;
}

.pin{
  width: 30px;
  height: 30px;
  background-color: #9D8250;
  border-radius: 50%;
  font-size: 15px;
  line-height: 27px;
  color: #EEEEEA;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  position: absolute;
}

/* -- 数字ピン配置 -- */
/* 2号棟 */
.pin-num02_01{
  top: 110px;
  left: 475px;
}
.pin-num02_02{
  top: -5px;
  left: 245px;
}
.pin-num02_03 {
  top: 290px;
  left: 50px;
}
.pin-num02_04{
  top: 85px;
  left: 135px;
}
/* 7号棟 */
.pin-num07_01{
  top: 215px;
  left: 399px;
}
.pin-num07_02{
  top: 215px;
  left: 743px;
}
.pin-num07_03{
  top: 17px;
  left: 824px;
}
.pin-num07_04 {
    top: 332px;
    left: 743px;
}
/* 10号棟 */
.pin-num10_01{
  top: 342px;
  left: 788px;
}
.pin-num10_02{
  top: 470px;
  left: 704px;
}
.pin-num10_03 {
  top: 306px;
  left: 367px;
}
.pin-num10_04{
  top: 60px;
  left: 355px;
}


/* ポップアップ内の文字デザイン */
.popup-box h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #9D8250;
  line-height: 2;
}
.box-num10_03 h3 .sic-full {
  font-size: 87.5%;
}
.popup-box p {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.71;
  text-align: justify;
  margin-top: 0.4em;
}


@media all and (min-width: 681px) {
  .madori_hygge{
    width: 360px;
    position: absolute;
    top: 45px;
    right: 65px;

    &::before{
      content: '';
      width: 1px;
      height: 100%;
      background-color: #9D8250;
      position: absolute;
      top: 0;
      left: -33px;
    }
  }

  .madori_wrap{
    .inner {
      > .btn_pill_wrap{
        .btn_pill:hover{
          color: #9A742E;
          border-color: #9A742E;
          background-color: #fff;
        }
      }
    }
  }

  /*タブ*/
  .tab-container {
    display: flex;
    gap: 0 5px;
    margin-top: 75px;
  }

  .tab {
    width: 281px;
    height: 58px;
    border-radius: 20px 20px 0 0;
    background-color: #D1C1A2;
    color: #EEEEEA;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    .tab_txt1{
      font-size: 16px;

      span{
        font-size: 32px;
      }
    }
    .tab_txt2{
      font-size: 18px;
      margin-left: 25px;
      padding-top: 5px;
      position: relative;

      &::before{
        content: '';
        width: 1px;
        height: 25px;
        background-color: #EEEEEA;
        position: absolute;
        top: 3px;
        left: -13px;
      }
    }
  }

  .tab.active {
    background-color: #9A742E;
  }

  .madori-container{
    .content {
      height: auto;
      background-color: #EEEEEA;
      padding: 45px 65px;
      display: none;
      position: relative;

      > .btn_pill_wrap{
        width: 312px;
        margin: 60px auto 0;

        .btn_pill{
          width: 100%;
          font-size: 16px;
        }
      }
    }

    .content.show {
      display: block;
    }
    
  }

  /* 解説ポップアップ（吹き出し） */
  .popup-box {
    display: none; /* 最初は非表示 */
    width: 347px;
    border: 1px solid #9D8250;
    border-radius: 5px;
    background-color: #fff;
    padding: 12px 25px 20px;
    position: absolute;
    z-index: 10;
    cursor: pointer;

    &::after{
      content: '';
      width: 18px;
      height: 10px;
      background: url(../img/houseplan/madori_arrow.svg) center / 100% no-repeat;
      position: absolute;
    }
  }
  /*2号棟*/
  .box-num02_01{
    top: -37px;
    left: 438px;
    &::after{
      bottom: -10px;
      left: 42px;
      transform: rotate(180deg);
    }
  }
  .box-num02_02{
    top: -32px;
    left: 292px;
    &::after{
      top: 36px;
      left: -15px;
      transform: rotate(-90deg);
    }
  }
  .box-num02_03 {
    top: 144px;
    left: -30px;
    &::after{
      bottom: -10px;
      left: 85px;
      transform: rotate(180deg);
    }
  }
  .box-num02_04{
    top: 130px;
    left: -25px;
    &::after{
      top: -10px;
      left: 165px;
    }
  }
  /*7号棟*/
  .box-num07_01{
    top: 67px;
    left: 332px;
    &::after{
      bottom: -10px;
      left: 72px;
      transform: rotate(180deg);
    }
  }
  .box-num07_02{
    top: 27px;
    left: 453px;
    &::after{
      bottom: -10px;
      left: 295px;
      transform: rotate(180deg);
    }
  }
  .box-num07_03{
    top: 61px;
    left: 665px;
    &::after{
      top: -10px;
      left: 164px;
    }
  }
  .box-num07_04 {
    top: 280px;
    left: 381px;
    &::after{
      top: 61px;
      right: -15px;
      transform: rotate(90deg);
    }
  }
  /*10号棟*/
  .box-num10_01{
    top: 197px;
    left: 736px;
    &::after{
      bottom: -10px;
      left: 57px;
      transform: rotate(180deg);
    }
  }
  .box-num10_02{
    top: 426px;
    left: 749px;
    &::after{
      top: 53px;
      left: -15px;
      transform: rotate(270deg);
    }
  }
  .box-num10_03{
    top: 350px;
    left: 104px;
    &::after{
      top: -10px;
      left: 268px;
    }
  }
  .box-num10_04{
    top: 107px;
    left: 60px;
    &::after{
      top: -10px;
      left: 299px;
    }
  }

  /* 右上の「×」ボタン */
  .close-x {
    width: 26px;
    height: 26px;
    background-color: #9D8250;
    border-radius: 20px;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 13px;
    right: 13px;
    cursor: pointer;
    padding: 0.25em 0 0.4em;
  }


}

@media all and (max-width: 680px) {
  .madori_wrap{
    margin-top: 65px;
    padding-top: 55px;
    padding-block: 65px;
    scroll-margin-top: var(--header-height-sp, 60px);

    .inner {
       > .btn_pill_wrap{
        width: 325px;
        margin: 40px auto 0;
      }

      .contact_btnWrap{
        margin-top: 40px;
      }
    }
  }

  .madori_mainTtl{
    font-size: 24px;
  }
  .madori_lead{
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
  }

  .madori-container{
    .content {
      background-color: #EEEEEA;
      padding: 25px 0;
      margin-top: 45px;

      > .btn_pill_wrap{
        width: 242px;
        margin: 30px auto 0;

        .btn_pill{
          width: 100%;
          font-size: 14px;
          padding: 0 20px;
        }
      }
    }

    .content + .content{
      margin-top: 40px;
    }
  }

  .madori_ttlWrap{
    padding: 0 25px;
  }

  .madori_ttl{
    flex-direction: column;
    align-items: center;
    padding-top: 0;

    > p{
      font-size: 20px;

      span{
        font-size: 42px;
      }
    }

    > h3{
      font-size: 20px;
      text-align: center;
      white-space: nowrap;
      margin-left: 0;
      margin-top: 20px;

      &::before{
        content: none;
      }
    }
  }

  .madori_detail_01{
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    border-top: 1px solid #B1A2A2;
    margin-top: 20px;
    padding-top: 10px;
  }
  #madori-7 .madori_detail_plan--num07{
    letter-spacing: -0.02em;
  }
  .madori_detail_note{
    font-size: 12px;
    margin-top: 0.5em;
  }
  .madori_detail_02{
    font-size: 14px;
    line-height: 1.42;
    border-top: 1px solid #B1A2A2;
    border-bottom: 1px solid #B1A2A2;
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;

    > div{
      display: flex;
      flex-direction: column;
      p{
        width: 100%;
      }
      p + p{
        margin-top: 0.25em;
      }
    }
    > p{
      margin-top: 0.25em;
    }
  }

  .madori_hygge{
    padding: 0 25px;
  }

  .madori_hygge_name{
    display: block;
    width: 269px;
    text-align: center;
    margin: 35px auto 0;
  }

  .madori_hygge_ttl{
    text-align: center;
    line-height: 1.5;
  }


  .madori_txt{
    font-size: 14px;
    display: inline-block;
    padding: 0.2em 0.9em 0.5em;
    line-height: 1.4;
    margin: 17px 25px 0;

    span{ 
      position: relative;
      top: 2px;
    }
  }

  /* madori_imgWrap */
  .madori_img{
    /*margin-top: 35px;*/
    width: 300px;
    margin: 35px auto 0;
    position: relative;
  }


  /* -- 数字ピン配置 -- */
  /* 2号棟 */
  .pin-num02_01{
    top: 60px;
    left: 271px;
  }
  .pin-num02_02 {
    top: -16px;
    left: 125px;
  }
  .pin-num02_03{
    top: 162px;
    left: 26px;
  }
  .pin-num02_04{
    top: -5px;
    left: 70px;
  }

  /*7号棟*/
  .pin-num07_01{
    top: 117px;
    left: 244px;
  }
  .pin-num07_02 {
    top: 409px;
    left: 171px;
  }
  .pin-num07_03{
    top: 288px;
    left: 219px;
  }
  .pin-num07_04{
    top: 484px;
    left: 171px;
  }

  /*10号棟*/
  .pin-num10_01{
    top: 658px;
    left: 173px;
  }
  .pin-num10_02 {
    top: 738px;
    left: 118px;
  }
  .pin-num10_03{
    top: 248px;
    left: 156px;
  }
  .pin-num10_04{
    top: 66px;
    left: 145px;
  }


  /* ポップアップ本体（画面中央に配置） */
  .popup-box {
    display: none;
    position: fixed !important;
    top: 50% !important; 
    left: 50% !important;
    transform: translate(-50%, -50%); 
    width: 86.8% !important;
    max-width: 330px;
    background-color: #fff;
    padding: 14px 25px 20px;
    border-radius: 5px;
    z-index: 1000;
    cursor: pointer;
  }

  /* 右上の丸い「×」ボタン */
  .close-x {
    position: absolute;
    top: -50px;
    right: 0;
    width: 36px;
    height: 36px; 
    background-color: #fff; 
    color: #9D8250;  
    border-radius: 50%; 
    font-size: 20px;
    text-align: center;
    line-height: 34px;
  }

  /* 💡画像のように、スマホの時だけ背景を暗くするための設定 */
  /* JavaScript不要で、ポップアップが開いた時だけ自動で背景を暗くします */
  .madori-container::after {
    content: "";
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55); /* 暗さの度合い（0.4） */
    z-index: 999; /* ポップアップのすぐ後ろ */
  }
  
  /* ポップアップがどれか1つでも開いている時、背景カバーを表示する */
  .madori-container:has(.popup-box[style*="display: block"])::after,
  .madori-container:has(.popup-box[style*="display: block "])::after {
    display: block;
  }

  



}




/* aaa
---------------------------------------*/


@media all and (min-width: 681px) {
}

@media all and (max-width: 680px) {
}