@charset "UTF-8";

body{
  font-family: 'GenJyuuGothic';
  font-weight: 700;
}

#content {
  position: relative;
  margin-bottom: 100px;
}
@media (max-width: 480px) {
  #content {
    margin-bottom: 60px;
  }
}

/* ----------------------------
ページタイトル
---------------------------- */
.page-head {
  margin-bottom: 100px;
  padding: 6% 20px 12%;
  text-align: center;
  background: url(../common/img/bg-pagettl__blue.png) no-repeat center top / 100% 100%;
  box-sizing: border-box;
}
.page-head-ttl {
  position: relative;
  display: inline-block;
  padding-inline: 20%;
  font-weight: 900;
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: #703600;
  text-align: center;
  line-height: 1;
}
.page-head-ttl::before,
.page-head-ttl::after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  background: no-repeat center / contain;
}
.page-head-ttl::before {
  width: 28.3%;
  left: 0;
  aspect-ratio: 440 / 282;
  background-image: url(./img/page-ttl-deco__left.png);
}
.page-head-ttl::after {
  width: 23.5%;
  right: 4%;
  aspect-ratio: 367 / 158;
  background-image: url(./img/page-ttl-deco__right.png);
}

.page-head-ttl .ttl-ja {
  font-size: clamp(20px, 2vw , 33px);
  letter-spacing: 0.05em;
}
.page-head-ttl .ttl-en {
  display: block;
  margin-top: 5px;
  font-size: clamp(57px, 5.7vw , 92px);
}

@media (max-width: 480px) {
  .page-head {
    margin-bottom: 40px;
    padding: 10% 20px 20%;
    background-size: cover;
  }
  .page-head-ttl {
    display: block;
    padding-inline: 0;
  }
  .page-head-ttl::before {
    left: -2%;
  }
  .page-head-ttl::after {
    right: 2%;
  }

  .page-head-ttl .ttl-ja {
    font-size: 16px;
  }
  .page-head-ttl .ttl-en {
    margin-top: 3px;
    font-size: 44px;
  }
}


/* ----------------------------
タブ切り替え
---------------------------- */
.news-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2%;
  width: 85%;
  margin-inline: auto;
  margin-bottom: 60px;
}
.news-tab button {
  width: 23.5%;
  padding: 12px;
  font-size: 15px;
  font-family: 'GenJyuuGothic';
  font-weight: 700;
  background: #fff;
  border: solid 2px #f08200;
  color: #f08200;
  border-radius: 50px;
  line-height: 1.2;
  transition: all 0.2s;
  cursor: pointer;
}
.news-tab button.is-active,
.news-tab button:hover,
.news-tab button:focus{
  background: #f08200;
  color: #fff;
  outline: none;
}
@media (max-width: 480px) {
  .news-tab {
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
    margin-bottom: 40px;
  }
  .news-tab button {
    padding: 11px;
    width: calc((100% - 10px) / 2);
    font-size: 13px;
  }
}


/* ----------------------------
お知らせ一覧
---------------------------- */
.news-list{
  display: flex;
  flex-wrap: wrap;
  gap: 55px 3.5%;
}
.news-item{
  position: relative;
  display: flex;
  width: 31%;
  padding: 10px 12px 0 10px;
  z-index: 1;
  box-sizing: border-box;
}
.news-item.is-hide{
  display: none;
}
.news-wrap{
  position: relative;
  display: block;
  padding: 18px 18px 25px;
  border-radius: 10px;
  color: #703600;
  text-decoration: none;
  transition: all 0.3s;
}
.news-wrap::before,
.news-wrap::after{
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: no-repeat center / cover;
}
.news-wrap::before{
  background-image: url(./img/news-con__after.jpg);
  transform: rotate(4deg);
}
.news-wrap::after{
  background-image: url(./img/news-con__bg.jpg);
}

.news-wrap__clip{
  position: absolute;
  content: "";
  top: -15px;
  left: 16%;
  width: 20px;
  aspect-ratio: 40 / 68;
  background: url(./img/news-clip.png) no-repeat center / contain;
  z-index: 2;
}
.news-wrap .news-item__img{
  position: relative;
  margin-bottom: 16px;
  border-radius: 10px;
  z-index: 1;
}
.news-wrap .news-item__img img{
  border-radius: 10px;
}
a.news-wrap .news-item__img img{
  transition: transform 0.3s;
}
a.news-wrap:hover{
  transform: translateY(-20px);
  opacity: 0.8;
}
.news-wrap .news-item__info{
  position: relative;
  display: block;
  margin-bottom: 5px;
  z-index: 1;
}
.news-wrap .news-item__date{
  font-size: 13px;
}
.news-wrap .news-item__cat{
  display: inline-block;
  margin-left: 10px;
  padding: 5px 10px;
  font-size: 11px;
  background: #f08200;
  color: #fff;
  border-radius: 50px;
  line-height: 1.2;
}
.news-wrap .news-item__txt{
  position: relative;
  display: inline;
  padding-bottom: 2px;
  border-bottom: dashed 2px #c2aa88;
  line-height: 2.375;
  z-index: 1;
}

@media (max-width: 480px) {
  .news-list{
    /* gap: 20px 4%; */
    width: 80%;
    gap: 25px;
    margin-inline: auto;
  }
  .news-item{
    width: 100%;
    /* padding: 7px 8px 0 7px;
    box-sizing: border-box; */
  }

  /* .news-wrap{
    padding: 12px 12px 18px;
    border-radius: 5px;
  }
  .news-wrap::before{
    border-radius: 5px;
  } */
  a.news-wrap .news-item__txt{
    color: #f08200;
  }
  a.news-wrap:hover{
    transform: translateY(-10px);
  }
  /* .news-wrap__clip{
    top: -9px;
    width: 13px;
  }
  .news-wrap .news-item__img{
    margin-bottom: 10px;
  }
  .news-wrap .news-item__img img {
    border-radius: 5px;
  }
  .news-wrap .news-item__info{
    margin-bottom: 5px;
    line-height: 1.35;
  }
  .news-wrap .news-item__date{
    display: block;
    font-size: 10px;
  }
  .news-wrap .news-item__cat{
    margin-left: 0;
    padding: 4px 9px;
    font-size: 9px;
  }
  .news-wrap .news-item__txt{
    font-size: 12px;
    line-height: 1.8;
  }
   */
  .news-wrap .news-item__txt{
    font-size: 14px;
  }
}


/* ----------------------------
お知らせ詳細
---------------------------- */
.news-detail{
  padding-bottom: 75px;
  border-bottom: dashed 2px #c2aa88;
}

.detail-header{
  margin-bottom: 50px;
  padding-bottom: 15px;
  color: #703600;
  border-bottom: dashed 2px #c2aa88;
}
.detail-header .detail-date{
  font-size: 15px;
}
.detail-header .detail-cat{
  display: inline-block;
  margin-left: 12px;
  padding: 5px 15px;
  font-size: 11px;
  background: #f08200;
  color: #fff;
  border-radius: 50px;
  line-height: 1.3;
}
.detail-header .detail-ttl{
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.6;
}
.detail-subttl{
  margin-bottom: 20px;
  font-size: 20px;
  color: #703600;
  line-height: 1.6;
}
.m-indent{
  line-height: 1.8;
}
.m-indent:nth-of-type(n+2){
  margin-top: 1em;
}

.img-column{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}
.img-column.col-1 .img-column-item{
  width: 60%;
}
.img-column.col-2 .img-column-item{
  width: calc((100% - 40px) / 2);
}
.img-column.col-3 .img-column-item{
  width: calc((100% - 80px) / 3);
}
.img-column.col-4 .img-column-item{
  width: calc((100% - 120px) / 4);
}

@media (max-width: 480px) {
  .news-detail{
    padding-bottom: 40px;
  }

  .detail-header{
    margin-bottom: 30px;
    padding-bottom: 10px;
  }
  .detail-header .detail-date{
    font-size: 13px;
  }
  .detail-header .detail-cat{
    font-size: 10px;
  }
  .detail-header .detail-ttl{
    margin-top: 9px;
    font-size: 21px;
    line-height: 1.5;
  }
  .detail-subttl{
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .img-column{
    margin-top: 30px;
    gap: 10px;
  }
  .img-column.col-1 .img-column-item{
    width: 100%;
  }
  .img-column.col-2 .img-column-item{
    width: 100%;
  }
  .img-column.col-3 .img-column-item{
    width: 100%;
  }
  .img-column.col-4 .img-column-item{
    width: calc((100% - 10px) / 2);
  }
}