@charset "utf-8";



/*swiper
---------------------------------------------------------------------------*/
.swiper-area{
  padding: 3em 0 0;
  margin-bottom: 2rem;
  background-color: #000;
}
.swiper-slide img {
  height: auto;
  width: 100%;
}


/*施工年タブ
---------------------------------------------------------------------------*/

/* タブのスタイル */
.tabs {
    display: flex;
    cursor: pointer;
    width: 100%;
}

.tab {
    flex: 1 1;
    order: -1;
    min-width: 70px;
    padding: .7em 1em .5em;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    background-color: #e9f0f6;
    color: #535353;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}

.tab.active {
    background-color: #fff;
    border-color: #6d6d6d #f0f0f0 #fff;
    border-style: solid;
    border-width: 4px 1px 1px;
    border-radius: 5px;
    color: #333333;
    font-weight: bold;
}

/* タブのデザイン */
.tab-content {
    display: none;
    padding: 4em 0 6rem;
    background-color: #fff;
    margin-bottom: 20px;
    width: 80%;
    margin: 0 auto;
}

/* タブのタイトル */
.tab-content h3 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 0px;
    margin-top: 2em;
}

.tab-content.active {
    display: block;
}

/* テーブルデザイン */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
}

table th:nth-child(1) {
    width: 23%;
}
table th:nth-child(2) {
    width: 47%;
}
table th:nth-child(3) {
    width: 30%;
}

table th,
table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #333;
    color: #fff;
}

table.jirei tr:last-child td {
    border-bottom: none;
}

/* 詳細ボタンのスタイル */
.detail-button {
  display: none;
  position: fixed;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 25px;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(204, 204, 204, 0.8), rgba(180, 180, 180, 0.8));
  color: #333;
  font-weight: bold;
  font-size: 1.1em;
  letter-spacing: .1em;
  border: 1px solid #fff;
  border-radius: 9999px;
  box-shadow: 3px 3px 10px rgba(51, 51, 51, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}







.tab-img {
    display: none;
    width: 80%;
    justify-content: space-between;
    list-style-type: none;
    margin: 4rem auto;
    flex-wrap: wrap;
    padding: 0!important;
  }
  .tab-img li {
    width:  50%;
    display: flex;
    margin-bottom: 3rem;
    vertical-align: middle;
    flex-direction: row;
    justify-content: space-evenly;
  }
  .tab-img li .nendo-img {
    width: 40%;
  }
  .tab-img li .nendo-txt {
    width: 60%;
  }
  .tab-img li .nendo-txt .kouji-wrapper {
    padding: 5px 7px;
    background: #222;
    color: #fff;
    display: inline-block;
    margin: 0 20px;
    border-radius: 3px;
  }
  
  .tab-img li .nendo-txt .kouji {
    font-size: 0.8em;
    letter-spacing: .1em;
    display: inline;
    margin: 0;
  }
  .tab-img li .nendo-txt .genba {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 0em;
  }


  .toggle-bt-wrapper {
    float: right;
    padding: 0px 7px;
    background: #222;
    color: #fff;
    display: inline-block;
    margin: 10px 20px;
    border-radius: 3px;
  }
  
  .toggle-bt {
    /* font-size: 0.8em; */
    /* letter-spacing: .1em; */
    display: inline;
    margin: 0;
  }

/*---------------------------------------------------------------------------
【SP】画面サイズが767px以下
---------------------------------------------------------------------------*/
@media screen and (max-width:767px) { 

/* タブのスタイル */
.tabs {
    flex-wrap: wrap;
}

/* タブのデザイン */
.tab-content {
width: 90%;
}
table th:nth-child(1) {
    width: 30%;
}
table th:nth-child(2) {
    width: 45%;
}
table th:nth-child(3) {
    width: 25%;
}
.kouji-wrapper{
  display: none;
}

.tab-img li .nendo-img {
  width: 90%;
}

.tab-img li {
  width: 50%;
  display: flex;
  margin-bottom: 3rem;
  vertical-align: middle;
  flex-direction: column;
  justify-content: space-evenly;
}

.tab-img li .nendo-txt .kouji-wrapper {

  display: none;

}

main p {
  margin: 0;
}
  
  /*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/
  }
  

/*---------------------------------------------------------------------------
【Tab】画面サイズ768px以上1024px以下
---------------------------------------------------------------------------*/
@media screen and (min-width:768px) and ( max-width:1024px) {



/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/
}





/*---------------------------------------------------------------------------
【PC】画面サイズ1025px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:1025px) {

/*menubarブロック設定
---------------------------------------------------------------------------*/

/*メニュー１個あたりの設定*/
.p #menubar a {
	color: #616161;
}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/
}
