@charset "utf-8";
:root {
  --dark: #000;
  --black: #333;
  --light: #666;
  --white: #fff;
  --blue: #4184F3;
  --gray: #e6e6e6;
  --orange: #ffae00;
  --about: #5585B4;
  --menu: #7CD9A4;
  --staff: #F5C1F7;

  --shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
}






/* 各セクションの外枠 */
/* 各セクション間の余白 */
.section-wrap {
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
/* 各セクションの横幅を制限する囲み */
.section-box {
  width: 100vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8px;
}

/* seasonal/index.html限定・画像コンテナ */
#seasonal .img-container {
  padding-bottom: 48px;
}


/* 画像コンテナ */
.img-container {
  width: 100%;
}

/* imgの親.img-box-topにアスペクト比を設 */
.img-box-big {
  width: 100%;
  padding-top: 80%;
  position: relative;
}
.img-box-big img{
 position: absolute;
 top:0;
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.img-container ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 4px 1%;
  padding-top: 4px;
}


/* imgの親要素.img-box-smallにアスペクト比を設定 */
.img-box-small {
  width: 49.5%;
  padding-top: 38%;
  position: relative;
}
.img-box-small img{
  position: absolute;
  top:0;
  width: 100%;
  height: 100%;
  object-fit: cover;
 }

 /* スタイルのテキストサイズ */
 .box-style-title h2 {
   font-size: 2.4rem;
   letter-spacing: 0.1em;
   font-family: canada-type-gibson, sans-serif;
   font-weight: 400;
   font-style: normal;
 }
 .box-style-title h2 span {
   color: var(--light);
 }
 .box-style-title .eg-title {
   font-size: 1.6rem;
   letter-spacing: 0.08em;
 }
 .box-style-title .jp-title {
   font-size: 1.6rem;
   letter-spacing: 0.08em;
 }


 /* シーズンスタイルのテキストサイズ */
 .box-style-subtitle {
   padding-top: 16px;
 }
 .box-style-subtitle h3 {
   font-size: 1.6rem;
   letter-spacing: 0.1em;
   font-family: canada-type-gibson, sans-serif;
   font-weight: 400;
   font-style: normal;
 }
 .box-style-subtitle h3 span {
   color: var(--light);
 }


/* LINKテキスト */
.link-title {
  padding-top: 24px;
}
.link-title h2 {
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  font-family: canada-type-gibson, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.link-title h2::before {
  content: "";
  border-left: 5px solid var(--black);
  padding-right: 8px;
}


/* LINKセクション */
#link {
  grid-area: link;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.link-card {
  position: relative;
}

.link-img-box {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.link-img {
  width: 100%;
  padding-top: 100%;
  transition: all .4s ease;
}
.link-img-box:hover .link-img{
  transform: scale(1.1);
  position: relative;
}
.link-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: 600;
  color: var(--white);
  opacity: 0;
  letter-spacing: .15em;
  z-index: 2;
  transition: all .6s ease;
}
.link-img-box:hover .link-text {
 opacity: 1;
}

/* ホバー時のマスク */
.link-img::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  transition: all .6s ease;
}

.link-img:hover::before {
  opacity: 1;
}







@media screen and (min-width: 835px) {
  .box-style-title {
    width: 80%;
    margin: 0 auto;
   }
  .img-container {
    width: 80%;
    margin: 0 auto;
  }
  .img-container ul {
    gap: 3px .5%;
  }
  .img-box-big img {
   max-width: 1000px;
  }
  .img-box-small {
    width: 33%;
    padding-top: 22.2222%;
    position: relative; 
  }
  .link-title {
    width: 90%;
    margin: 0 auto;
  }
#link {
  width: 90%;
  margin: 0 auto;
}


/* スタイル限定・画像コンテナ */
#seasonal .box-style-title {
  width: 100%;
  
 }
 #seasonal .section-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 2%;
}

/* 各シーズンのコンテナ */
#seasonal .img-container {
  width: 49%;
}

#seasonal .img-box-small {
  width: 49.5%;
  padding-top: 32.5%;
  position: relative; 
}
/* small-imgのギャップ */
#seasonal .img-container ul {
 gap: 1%;
}

}