@charset "UTF-8";

#top header h1 figure {
  width:100% !important;
  aspect-ratio: 1800 / 1273;
}
#top header h1 figure img {
  width:100%;
  height:auto;
  display:block;
}

/*intro*/
#intro{
  margin:0 auto;
  position:relative;
  padding:5em 0;
}
#intro .inner{
  display: flex; flex-flow: row wrap; justify-content: center; align-items: center;
  padding:0 0 3.5em;
}
#intro h2 img,#character h2 img,#vivant h2 img{
  margin:0 auto;
  display:block;
  width:auto;
  height:120px;
}
#intro p{
  line-height:180%;
  font-size:clamp(1rem, 1rem + 0.9vw, 2rem);
  text-align:center;
  padding:2em 0;
}
#intro .intro_txt{
  width:50%;
}
#intro figure{
  width:50%;
}
@media all and (max-width: 767px) {
#intro{
  padding:8vw 0;
}
#intro h2 img,#character h2 img,#vivant h2 img{
  height:20vw;
}
#intro .intro_txt{
  width:100%;
  margin:0 auto 3vw;
}
#intro p{
  font-size:4vw;
  text-align:center;
  padding:5vw 0 0;
}
#intro figure{
  width:90%;
}
}

/*character*/
#character{
  margin:0 auto;
  position:relative;
  padding:5em 0 0;
}
#chart_link{
  background:url(../chara/img/chart.png) no-repeat center bottom;
  background-size:cover;
  margin:3em auto 0;
  padding:3em 0 1em;
}
#chart_link h2{
  color:#d71718;
  font-size:300%;
  text-align:center;
  font-family: "anton", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin:0 auto .5em;
}
@media all and (max-width: 767px) {
#character{
  padding:0;
}
#chart_link{
  margin:0 auto;
  padding:6vw 0 5vw;
}
#chart_link h2{
  font-size:9vw;
  margin:0 auto;
}
#chart_link a.btn_1{
  margin:2vw auto 0;
}
}

/*vivant*/
#vivant{
  margin:0 auto;
  position:relative;
  padding:2em 0;
  background-color: rgba(230, 230, 230, 0.9);
}

/*goods*/
#goods{
  margin:0 auto;
  position:relative;
  padding:2.5em 0;
}
#goods ul.itemlist{
  width:100%;
  margin:2em auto 0;
  display: flex; flex-flow: row wrap; justify-content: center;
}
#goods ul.itemlist li{
  width: calc(95% / 4 - 1%) !important;
  margin:0 1% 3vw;
  position: relative;
  display:block;
  width:100%;
  color:#fff;
  padding:0 0 1.5em;
}
#goods ul.itemlist li figure{
  overflow: hidden;
  width:100%;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  display:block;
  border-radius:4px;
  background-color:#D9D9D9;
}
#goods ul.itemlist li p{
  font-size:90%;
  padding:1em 0 0;
  text-align: left;
  line-height:140%;
}
#goods ul.itemlist li span.price{
  font-size:85%;
  padding:0;
  text-align: right;
  position: absolute;
  bottom:0;
  right:0;
}
#goods p.note{
  font-size:85%;
  padding:1em 0 1.5em;
  text-align: center;
  line-height:140%;
}
@media all and (max-width: 767px) {
#goods{
  padding:5vw 0;
}
  #goods ul.itemlist {
  	  margin:5vw auto 5vw;
    flex-flow: row nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 20px; 
    box-sizing: border-box;
  }
  #goods ul.itemlist::-webkit-scrollbar {
    display: none;
  }
  #goods ul.itemlist li {
    width: 41.5% !important;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding:0 0 3vw;
    margin: 0 2.5vw 0 0;
  }
  #goods ul.itemlist li:last-child {
    margin-right: 0;
  }
  #goods ul.itemlist li p{
  padding:1vw 0 2vw;
  font-size:3vw;
}
#goods ul.itemlist li span.price{
  font-size:2.8vw;
}
#goods p.note{
  font-size:2.8vw;
  padding:2vw 0 0;
}
}

/*topics*/
#tbstopics{
  position:relative;
  margin:0 auto 8em;
}
#topics {position:relative; padding:2em 0 0;}
#topics h2,#whatsnew h2,#goods h2{
  color:#d71718;
  line-height:140%;
  text-align:center;
  font-family: "anton", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin:0 auto;
  font-size:350%;
}
#topics h2 span,#whatsnew h2 span,#goods h2 span{
  font-size:1.5rem !important;
  color:#fff;
  line-height:140%;
  font-size:90%;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight:500;
  font-style: normal;
  display:block;
}
@media all and (min-width: 768px) {
#topics{
  max-width:1200px;
  margin:0 auto;
}
}
@media all and (max-width: 767px) {
/*topics*/
#tbstopics{padding:0 0 1%; margin:5vw auto 8vw;}
#topics {padding:3vw 0;}
#topics h2,#whatsnew h2,#goods h2{
  font-size:11vw; 
}
#topics h2 span,#whatsnew h2 span,#goods h2 span{
  font-size:5vw; 
}
}

/*whatsnew*/
#whatsnew{
  margin:0 auto;
  position:relative;
  padding:2.5em 0;
  background-color:#272727;
}
#whatsnew ul#topicslist{
  display: flex; flex-flow: row wrap;
  align-items: center;
  margin:2em auto;
  gap:14px;
}
#whatsnew ul#topicslist li{
  width:47.5%;
  position: relative;
  margin:0 0 .5em;
}
#whatsnew ul#topicslist li a{display:block; width:100%; color:#fff;
  display: flex; flex-flow: row wrap;
  justify-content: start;
  align-items: center;
}
#whatsnew ul#topicslist li a:hover{opacity: 0.5; transition: 0.4s;}
#whatsnew ul#topicslist li a span.thum{
  width:160px;
  aspect-ratio: 16 / 9;
  display:block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  vertical-align:top;
  vertical-align: middle;
  background-color:#D9D9D9;
  border-radius:4px;
  overflow:hidden;
}
#whatsnew ul#topicslist li p{
  line-height:130%;
  padding:.5em 0 0 1.25em;
  width: calc(100% - 180px);
  vertical-align: middle;
  font-size:clamp(1rem, 0.894rem + 0.6vw, 1.5rem);
  color:#fff;
}
#whatsnew ul#topicslist li span.ymd{
  color:#fff;
  font-size:80%;
  display:inline-block;
  position:absolute; top:0; left:180px;
  line-height:100%;
  padding:0 .2em .15em;
  background-color:#D71718;
}
#whatsnew .ytbthum{background-position: center center !important; background-size:contain !important; background-color:rgba(20,21,21,0.7);}
#whatsnew #more-btn {
  color:#fff;
  font-size:90%;
  display: block; 
  text-align: center;
  width: min(50%, 160px);
  margin:0 auto;
  padding:.5em 0;
  border:2px solid #D71718;
  border-radius:4px;
  font-size:100%;
  line-height:140%;
  margin:0 auto 2em;
}

@media all and (max-width: 991px) {
#whatsnew ul#topicslist li{
  width:90%;
  margin:0 auto 1vw;
}
}
@media all and (max-width: 767px) {
#whatsnew{
  padding:5vw 0 2vw;
}
#whatsnew ul#topicslist li{width:95%; height:auto;}
#whatsnew ul#topicslist li a span.thum{width:35%; position:relative;} 
#whatsnew ul#topicslist li p{
  line-height:140%;
  font-size:3.4vw;
  width:65%;
  padding:2% 0 0 4%;
}
#whatsnew ul#topicslist li span.ymd{font-size:2.8vw; left:39%;}
#whatsnew #more-btn {
  margin:0 auto 4vw;
}
}

/*bnr*/
ul.bnr{
  display: flex;
  flex-flow: row wrap;
  margin:0 auto;
  justify-content: center;
  position:relative;
  width: min(90%, 1200px);
}
#whatsnew ul.bnr{
  margin:3em auto 0;
}
ul.bnr li{
  margin:0 1em ;
  width:43%;
  text-align:center;
}
ul.bnr li figure img{
  display:block;
}
ul.bnr li a{
  width:100%;
  aspect-ratio: 200 / 51;
  display:block;
  background-repeat: no-repeat;
  background-position:center center;
  position: relative;
  background-size:contain;
  transition: .5s;
}
a.bn_preview {
  margin:0 auto;
  width: min(85%, 500px);
  aspect-ratio: 200 / 51;
  display:block;
  background:url(../img/top/bn_preview.png) no-repeat center center;
  background-size:contain;
  transition: .5s;
}
ul.bnr li a:hover,
a.bn_preview:hover{
  opacity:0.6;
}

@media all and (max-width: 767px) {
ul.bnr{width:100%; align-items: center;}
#whatsnew ul.bnr{
  margin:5vw auto;
}
ul.bnr li{width:85%; margin:2% auto 0;}
}

/* swiper */
.parallax_content {
  position: relative;
  width: 100%;
  height: 100vh;
  clip-path: inset(0); 
}
/* 高さ可変版：画像＋ギャップ＋セクション本体をまとめてクリップし、
   セクション自身の半透明背景から下の固定画像が透けて見えるようにする */
.parallax_content.parallax_content--tall {
  height: auto;
}
.parallax_content .parallax-gap {
  width: 100%;
  height: 100vh;
}
@media all and (max-width: 767px) {
.parallax_content .parallax-gap {
  height: 600px;
}
}
.parallax_content .imageBg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media all and (min-width: 768px) {
#img_bg_01 { background-image: url(../img/top/pc1.webp); background-position: center top;}
#img_bg_02 { background-image: url(../img/top/pc2.webp);}
#img_bg_03 { background-image: url(../img/top/pc3.webp);}
#img_bg_04 { background-image: url(../img/top/pc4.webp); background-position: center top;}
}
@media screen and (max-width: 767px) {
.parallax_content {
    height: 600px;
  }
#img_bg_01 { background-image: url(../img/top/ph1.webp);}
#img_bg_02 { background-image: url(../img/top/ph2.webp);}
#img_bg_03 { background-image: url(../img/top/ph3.webp);}
#img_bg_04 { background-image: url(../img/top/ph4.webp);}
}

















/* swiper */
#vivant .inner {
  overflow: hidden;
}
#vivant .wrapper {
  width:90%;
  margin:2em auto 1em;
  position: relative;
}
.swiper {
  margin-inline: auto;
  width:90%;
  overflow: hidden;
}
.swiper-button-prev {
  left: -20px;
}
.swiper-button-next {
  right: -20px;
}

.swiper-button-prev,
.swiper-button-next {
  height: 30px;
  width: 30px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 30px;
  margin: auto;
  width: 30px;
}
.swiper-button-prev::after {
  background-image: url(../img/top/slider_arrow_l2.svg);
}
.swiper-button-next::after {
  background-image: url(../img/top/slider_arrow_r2.svg);
}

.swiper-slide{
        width: 200px;
        text-align: left;
        position:relative;
}
.card_img{
        overflow: hidden;
        background-color: #fff;
        border-radius:4px; 
        width: 100%;
        aspect-ratio: 4 / 3;
        position: relative;
}
.card_img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;    
    object-fit: contain !important; 
    transition: 0.3s;
}
.swiper-slide .card_text{
        padding:.5em 0;
}
.swiper-slide .card_text p{
        color: #475950;
        font-size:90%;
        line-height: 150%;
}
.swiper-slide .card_text span{
        color: #fff;
        padding:.2em;
        display:inline-block;
        margin:0 0 .2em;
        font-size:80%;
}
.swiper-slide .card_text span.products{
        background-color: #AF8D6B;
}
.swiper-slide .card_text span.visual{
        background-color: #D4A900;
}
.swiper-slide .card_text span.municipality{
        background-color: #008FFA;
}
.swiper-slide .card_text span.event{
        background-color: #22B4A7;
}
@media all and (max-width: 767px) {
#vivant .wrapper {
  width:100%;
  margin:5vw auto 0;
  position: relative;
}
.swiper {
  width:100%;
}
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}
.swiper-slide{
        width:36vw;
}
}


/* -----------------------------------------------------------------
   共通設定：固定スクロールの基盤（PC用がベースになります）
----------------------------------------------------------------- */
.horiz-section {
  width: 100%;
  position: relative;
  /* ★ PCでのスクロール量。画像枚数やスピードに合わせて調整 */
  height: 3000px; 
}

.horiz-sticky-box {
  position: -webkit-sticky;
  position: sticky;
  top: 80px; /* ★ 追従メニューの高さに合わせて調整してください */
  width: 100%;
  height: calc(100vh - 80px); /* 追従メニューを除いた画面ぴったりサイズ */
  display: flex;
  align-items: center; /* コンテンツ全体を画面の上下中央に配置 */
  overflow: hidden;
  box-sizing: border-box;
}

.horiz-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0 60px; 
  box-sizing: border-box; 
}

/* はみ出たカードを画面外に隠すマスク */
.horiz-overflow-hide {
  width: 100%;
  overflow: hidden;
}

/* 横並びのリスト（GSAPでこの全体を左にスライドさせます） */
.horiz-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: -webkit-max-content !important;
  width: max-content !important;
  margin: 0;
  list-style: none;
  will-change: transform; /* アニメーションのスムーズ化 */
}

.horiz-item {
  position: relative;
  flex-shrink: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.horiz-item figure {
  margin: 0;
  padding: 0;
  width: 100%;
}

.horiz-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


/* -----------------------------------------------------------------
   ★ スマホ用設定 (767px以下) 【縦並び・通常スクロール】
----------------------------------------------------------------- */
@media screen and (max-width: 767px) {
  .horiz-section {
    height: auto !important; 
    position: relative;
    padding: 8vw 0 0 !important;
  }

  .horiz-sticky-box {
    position: static !important; 
    height: auto !important;
    display: block;
    overflow: visible;
  }

  .horiz-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding:0 !important;
  }

  .horiz-overflow-hide {
    width: 100%;
    overflow: visible;
  }

  .horiz-list {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    width: 92% !important;
    gap: 16px !important;
    padding:4vw 0 0 !important;
    margin:0 auto;
  }

  .horiz-item {
    width: 100% !important; 
    max-height: none !important;
    aspect-ratio: 15 / 7 !important; 
    height: auto !important;
    margin: 0 !important;
  }
}


/* -----------------------------------------------------------------
   ★ PC用設定 (768px以上) 
----------------------------------------------------------------- */
@media screen and (min-width: 768px) {
  .horiz-sticky-box {
    height: calc(100vh - 80px); 
    top: 80px; 
  }

  .horiz-content {
    padding-top: 40px !important;
    padding-bottom: 3vh;
    box-sizing: border-box;
    height: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
  }

  .horiz-content h2 {
    margin-top: 0 !important;
    margin-bottom: 2vh; 
  }

  .horiz-overflow-hide {
    width: 100%;
    height: auto !important;
    max-height: none !important; 
    overflow: hidden; 
    display: flex;
    align-items: center;
    margin-top: 4vh !important;
    margin-bottom: 6vh !important; 
  }

  .horiz-list {
    gap: 20px; 
    padding: 0 60px; 
    height: 100% !important;
    display: flex !important;
    align-items: center;
  }

  .horiz-item {
    height: 42vh !important; 
    max-height: 42vh !important;
    
    aspect-ratio: 15 / 7 !important; 
    width: auto !important; 
    max-width: 100% !important; 
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .horiz-item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* 絶対に見切れを許さない設定 */
  }
  
  .horiz-content .btn_1 {
    margin-top: 0;
  }
}