@media screen and (max-width: 769px) {
  .pc {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .sp {
    display: none;
  }
}

@media screen and (min-width: 769px) {

  body,
  h1,
  p,
  text {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: "yu-mincho-pr6n", sans-serif;
  }

  .fv img {
    width: 100%;
  }

  .concept img {
    width: 100%;
  }

  .conceptflex {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
  }

  .conceptmain {
    display: flex;
    font-size: 40px;
    flex: 1;
  }

  .conceptsub {
    display: flex;
    font-size: 28px;
    flex: 1;
  }

  .width1250 {
    margin: auto;
    justify-content: center;
    align-items: center;
    max-width: 90%;
  }

  .semiorder {
    padding-top: 40px;
    font-size: 24px;
    font-weight: bold;
    color: #736357;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    line-height: 1.8;
  }

  .semi40 {
    font-size: 40px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  }

  .semisub {
    font-size: 24px;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
    line-height: 2.2;
    padding-top: 40px;
    letter-spacing: 1px;
  }

  .undertext {
    font-size: 32px;
    text-align: center;
    padding-top: 50px;
    text-decoration: underline;
    font-weight: bold;
  }

  .undertextsub {
    font-size: 20px;
    text-align: center;
    padding-top: 90px;
    line-height: 2;
  }

  .sectiontitle {
    padding-top: 40px;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    padding-bottom: 50px;
  }

  .clicktext {
    font-size: 20px;
    font-weight: normal;
  }

  .flex {
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
  }

  .border {
    border-bottom: solid #000000 0.5px;
    padding-top: 20px;
  }
}



@media screen and (max-width: 768px) {

  body,
  h1,
  p,
  text {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: "yu-mincho-pr6n", sans-serif;
  }

  .width1250 {
    width: 95%;
  }

  .fv img {
    width: 100%;
  }

  .container {
    padding: 20px;
    text-align: center;
  }

  .details {
    background-color: white;
    border: #000000 solid 1px;
  }

  /* ここまで調整用スタイル */

  .summary {
    display: block;
    cursor: pointer;
    font-weight: bold;
    padding: 20px;
  }

  .summary::-webkit-details-marker {
    /* Safari-デフォルトの三角形を削除*/
    display: none;
  }

  .answer {
    overflow: hidden;
    /* padding・marginはここでは設定しない */
  }

  .answerInner {
    padding: 0 20px 20px;
    text-align: left;
  }

  .answerInner img {
    width: 100%;
  }

  .border {
    border-bottom: solid #000000 0.5px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .conceptsp img {
    width: 100%;
  }

  .listTab {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    text-align: center;
    justify-content: center;
  }

  .listTab li {
    margin: 10px;
    background-color: #EAEFF4;
    color: #333;
  }

  .listTab li a {
    color: #333333;

    padding: 14px;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    /* 初期状態で透明な下線 */
  }

  .listTab li.active a {
    color: #333;
    border-bottom: 2px solid #778c80;
    /* アクティブなタブの下線色 */
  }

  .listTab li a:hover {
    border-bottom: 2px solid #778c80;
    /* ホバー時の下線色 */
    color: #333;
  }

  .sectiontitle {
    padding-top: 30px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 10px;
  }


  .sectionsubtitle {
    padding-top: 10px;
    text-align: center;
    font-size: 16px;
    padding-bottom: 10px;
  }

}


.tabContents {
  position: relative;
}

/* スライダー上部にリストタブを配置 */
.inner {
  position: relative;
}

.tabbox {
  display: none;
  /* 最初は全て非表示 */
}

.tabbox.active {
  display: block;
  /* アクティブなタブのみ表示 */
}

.slider {
  /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 94%;
  margin: 0 auto;
}

.slider img {
  width: 100%;
  /*スライダー内の画像を横幅100%に*/
  height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
  margin: 0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute;
  /*絶対配置にする*/
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666;
  /*矢印の色*/
  border-right: 2px solid #666;
  /*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {
  /*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  text-align: center;
  margin: 20px 0 0 0;
  display: none !important;
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

/* .slick-dots button {
  color: transparent;
  outline: none;
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: #ccc;
} */

.slick-dots .slick-active button {
  background: #333;
  color: white
}

/*==================================================
スライダーのためのcss
===================================*/
.slider {
  /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 94%;
  margin: 0 auto;
}

.slider img {
  width: 100%;
  /*スライダー内の画像を横幅100%に*/
  height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
  margin: 0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute;
  /*絶対配置にする*/
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666;
  /*矢印の色*/
  border-right: 2px solid #666;
  /*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {
  /*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  text-align: center;
  margin: 20px 0 0 0;
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

/* .slick-dots button {
  color: transparent;
  outline: none;
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: #ccc;
} */



/*========= レイアウトのためのCSS ===============*/



ul {
  margin: 0;
  padding: 0;
  list-style: none;
}



a:hover,
a:active {
  text-decoration: none;
}

/* tabcss */

.tab-1,
.tab-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  max-width: 1250px;
  width: 1250px;
  padding-top: 60px;
}

.tab-1>label,
.tab-2>label {
  flex: 1 1;
  order: -1;
  opacity: .5;
  min-width: 180px;
  background-color: #000000;
  color: #fff;
  font-size: 24px;
  text-align: center;
  cursor: pointer;
}

.tab-1>label:hover,
.tab-2>label:hover {
  opacity: .8;
}

.tab-1 input,
.tab-2 input {
  display: none;
}

.tab-1>div,
.tab-2>div {
  display: none;
  width: 100%;
  background-color: #fff;
  padding-top: 60px;
}

.tab-1 label:has(:checked),
.tab-2 label:has(:checked) {
  opacity: 1;
}

.tab-1 label:has(:checked)+div,
.tab-2 label:has(:checked)+div {
  display: block;
}

.tab-1 img,
.tab-2 img {
  width: 70%;
}

.tabtext {
  font-size: 20px;
  padding-top: 30px;
  padding-bottom: 60px;
  line-height: 2;
}



/* gridcss */

.grid-container img {
  width: 100%;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 48px 13px;
  grid-auto-flow: row;
  grid-template-areas:
    "living kitchen bath basin"
    "floor closer box door"
    "vent heater lowform .";
  width: 90%;
  /* 画面幅に応じて調整 */
  max-width: 1400px;
  /* 最大幅を設定 */
  height: 1115px;
  margin: auto;
}

.living {
  grid-area: living;
}

.kitchen {
  grid-area: kitchen;
}

.bath {
  grid-area: bath;
}

.basin {
  grid-area: basin;
}

.door {
  grid-area: door;
}

.box {
  grid-area: box;
}

.closer {
  grid-area: closer;
}

.floor {
  grid-area: floor;
}

.vent {
  grid-area: vent;
}

.heater {
  grid-area: heater;
}

.lowform {
  grid-area: lowform;
}

.grid-container2 img {
  width: 100%;
}

.grid-container2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 0.3fr 0.6fr;
  grid-auto-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 48px 13px;
  grid-auto-flow: row;
  grid-template-areas:
    "gr1 gr2 gr3 gr4"
    "gr5 . . .";
  width: 90%;
  /* 画面幅に応じて調整 */
  max-width: 1400px;
  /* 最大幅を設定 */
  height: auto;
  margin: auto;
}

.gr1 {
  grid-area: gr1;
}

.gr2 {
  grid-area: gr2;
}

.gr3 {
  grid-area: gr3;
}

.gr4 {
  grid-area: gr4;
}

.gr5 {
  grid-area: gr5;
}