@charset "utf-8";


.mv {
    margin: 96px auto 0;
}
@media screen and (max-width: 768px) {
    .mv {
        margin: 64px auto 0;
    }
}


/* OP動画 */
body.is-fixed {
  overflow: hidden;
  height: 100vh; /* スマホでのバウンススクロールを防ぐため */
}
/* --- メインコンテンツの初期状態 --- */
#contents {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* フェードイン用クラス（JSで付与） */
#contents.is-visible {
  opacity: 1;
  visibility: visible;
}

/* --- オープニングムービーのレイヤー --- */
#opening-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000; /* 動画読み込み中の背景色 */
  z-index: 9999; /* 最前面に配置 */
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* フェードアウト用クラス（JSで付与） */
#opening-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* 動画のレスポンシブ全画面表示 */
#opening-video {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
   /* 画面いっぱいにトリミング */
}

/* スキップボタンのデザインと配置 */
#skip-btn,#replay-btn {
  position: absolute;
  bottom: 24px;
  right: 16px;
  z-index: 10000; /* 動画より上に配置 */
  background: rgba(255, 255, 255, 0.6);
  color: var(--dark);
  border: 1px solid var(--dark);
  padding: 5px 16px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background-color 0.3s ease;
}

#skip-btn:hover,
#replay-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

@media screen and (max-width: 768px) {
  #skip-btn {
        bottom: 85px;
  }
}



/* actionArea
---------------------------------------------- */
.actionArea {
  background-color: var(--beije);
  color: var(--dark);
}
.actionArea__inner {
  padding: 15px 20px 10px;
}
.actionArea__text {
  font-size: clamp(18px, 2.4vw, 32px);
  line-height: 1.4;
  text-align: center;
}
.actionArea__text--num {
  font-family: 'Arial', 'メイリオ', serif;
  font-size: 150%;
  vertical-align: -3px;
}
.actionArea__text--num .comma {
  font-size: 66.667%;
}


@media screen and (max-width: 768px) {
  .actionArea {
  background-color: var(--light);
}
  .actionArea__inner {
    padding-inline: 10px;
  }
  .actionArea__text {
    font-size: 16px;
  }
  .actionArea__text--num {
    vertical-align: -1px;
  }
  .mv__img{
          margin: 64px auto 0;
}
}

/* merit_area
---------------------------------------------- */

.merit_area{
  background: var(--yellow);
  padding: 30px 0;
}
.merit_area ul{
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.merit_area li{
  flex: 1;
}
.merit_area li img{width: 100%;}
@media screen and (max-width: 768px) {
  .merit_area ul{
    flex-direction: column;
    gap: 10px;
}
}

/* newsArea
---------------------------------------------- */
.newsArea--top {
  background-color: var(--light);
  padding: 30px 30px 40px;
}
.newsArea .news_ttl{
  text-align: center;
  font-weight: 600;
  font-size: 32px;
}
.newsArea dl{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  margin-bottom: 30px;
}
.newsArea dt{
  text-align: center;
  font-size: 24px;
}
.newsArea dd{
  text-align: center;
  font-size: 32px;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
}

@media screen and (max-width: 768px) {
  .newsArea--top {
  padding: 10px 10px 40px;
}
.newsArea .news_ttl{
  font-size: 24px;
}
.newsArea dl{
  margin-bottom: 20px;
}
.newsArea dt{
  text-align: center;
  font-size: 16px;
}
.newsArea dd{
  text-align: center;
  font-size: 20px;
  line-height: 1.5;
}
}

/* contents
---------------------------------------------- */
.contents {
  padding-block: 100px;
  background: var(--gray);
  /* margin-top: 50px; */
}
@media screen and (max-width: 768px) {
  .contents {
    padding-block: 40px;
  }
}

/* コンセプト
---------------------------------------------- */

.top_concept dl{
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}
.top_concept dt{
  text-align: center;
  font-size: clamp(56px, 4.0vw, 80px);
}
.top_concept dd{
  text-align: center;
  font-size: clamp(18px, 2.0vw, 24px);
  line-height: 2.2;
}
.top_concept .fix_copy{
  text-align: center;
  font-size: 32px;
  line-height: 1.5;
  padding-top: 40px;
  margin-bottom: 32px;
}
.top_concept{
  max-width: 1920px;
  margin: auto;
  text-align: center;
}
.top_concept .concept_movie{
  max-width: 480px;
  margin: auto;
}



@media screen and (max-width: 767px) {
  
.top_concept dl{
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: -20px;
}
.top_concept dt{
  text-align: center;
  font-size: 24px;
}
.top_concept dd{
  text-align: center;
  font-size: 13px;
}
.top_concept .fix_copy{
    font-size: 16px;
    padding-top: 24px;
}
}


/* 30の魅力
---------------------------------------------- */

.top_kando{
  padding-block: 40px;
}
.top_kando h3{
  text-align: center;
  margin: 0 auto 50px;
}
.top_kando small{
  display: block;
  text-align: center;
  font-size: 20px;
  letter-spacing: .5em;
}
.top_kando span.img{
  display: block;
  text-align: center;
  max-width: 360px;
  width: 32%;
  margin: 16px auto 0;
}
.top_kando .kando_btn,
.top_kando .s-good{
  display: none;
}
.kando_block .txt_area{
  min-height: unset !important;
}

@media screen and (max-width: 767px) {
  .top_kando h3 {
    margin: 0 auto 20px;
}
.top_kando small{
  font-size: 12px;
}
  .top_kando span.img{
  max-width: 100%;
  width: 50%;
  margin: 8px auto 0;
}
}



:root {
  /* 共通設定：スライド間のマージン */
  --slide-gap: 20px; 
}

/* スライダー全体 */
.slider-wrapper {
  display: flex;
  overflow: hidden; /* スマホの overflow-x: auto はJSで制御するため hidden に統一 */
  width: 100%;
  flex-direction: column; /* ドットを下部に配置するため縦並びに */
  position: relative;
}

/* スライドのグループ */
.slider {
  display: flex;
  flex-shrink: 0;
  gap: var(--slide-gap);
  padding-right: var(--slide-gap);
  /* 【追加】JavaScriptでスッと動かす際のアニメーション速度（0.6秒） */
  transition: transform 0.6s ease;
}

/* スライドの画像 */
.slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* -----------------------------------------
 * PC用の設定（画面幅768px以上）
 * ----------------------------------------- */
@media screen and (min-width: 768px) {
  /* 不要になった等速アニメーション（animation: scroll-left...）は削除しました */
  .slide {
    flex-shrink: 0;
    /* 元のデザインサイズ：画面幅に5枚並ぶ大きさ */
    width: calc((100vw - (var(--slide-gap) * 4)) / 5); 
  }
}

/* -----------------------------------------
 * スマホ用の設定（画面幅767px以下）
 * ----------------------------------------- */
@media screen and (max-width: 767px) {
  .slider-wrapper {
    /* JSで位置を制御するため、手動のスクロールやスナップは無効化（hidden） */
    overflow: hidden; 
    box-sizing: border-box;
    /* スライダー全体を少し右にずらして、左側に40pxの余白を作る */
    padding-left: 40px; 
  }
  .slide {
    flex-shrink: 0;
    /* 元のデザインサイズ：左右にチラ見せする大きさ */
    width: calc(100vw - 80px - var(--slide-gap)); 
  }
}

/* -----------------------------------------
 * 【追加】下部ドット（インジケーター）のスタイル
 * ----------------------------------------- */
.slider_dots {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 25px 0 0 0;
  /* ★追加：幅が狭くなったら自動で折り返し（カラム落ち）させる */
  flex-wrap: wrap; 
  gap: 12px 6px; /* 横の隙間6px、縦の隙間12px（折り返し時用） */
  margin-left: -40px; 
  width: calc(100% + 40px); /* 引っ張った分、横幅を補正して中央に合わせます */
  box-sizing: border-box;
}
/* PC（画面幅768px以上）の時は左余白がないため、打ち消し用マージンを0に戻します */
@media screen and (min-width: 768px) {
  .slider_dots {
    margin-left: 0;
    width: 100%;
  }
}
.slider_dots li {
  margin: 0; /* 隙間は上の gap で制御するためリセット */
}
.slider_dots button {
  border: none;
  background: #dcdcdc;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  text-indent: -9999px;
  transition: background 0.3s;
}
.slider_dots li.active button {
  background: var(--dark, #333);
}
/* -----------------------------------------
 * 【追加】左右矢印ボタンの共通スタイル
 * ----------------------------------------- */
.slider_arrow {
  position: absolute;
  top: 50%;
  /* 上下中央配置（ドットの高さを除いたスライダー画像付近の中央に合わせるため少し上に） */
  transform: translateY(-70%); 
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.9); /* 白背景（うっすら透過） */
  background-image: url(../common/images/btn_arrow_dark.svg); /* 既存の矢印画像を流用 */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: opacity 0.3s, background-color 0.3s;
}
.slider_arrow:hover {
  background-color: #fff;
}

/* 左矢印の位置と向き（反転させる） */
.prev_arrow {
  left: 15px;
  transform: translateY(-70%) scaleX(-1); /* 横方向に反転させて左向きにする */
}

/* 右矢印の位置 */
.next_arrow {
  right: 15px;
}

/* スライドが1枚以下で動く必要がない時は矢印を非表示にする（JSで制御） */
.slider_arrow.is-disabled {
  opacity: 0;
  pointer-events: none;
}

/* スマホ表示（幅狭時）の調整 */
@media screen and (max-width: 767px) {
  .slider_arrow {
    /* スマホは画面が狭いため、矢印を少し小さく、端に寄せる */
    width: 36px;
    height: 36px;
    background-size: 12px;
  }
  .prev_arrow { left: 8px; }
  .next_arrow { right: 8px; }
}


/* タブコンテンツ全体の入れ物 */
.tab__content {
  position: relative;
  /* overflow: hidden; は一旦削除かコメントアウトしてください（自作スライダーの幅計算を狂わせないため） */
}

/* -----------------------------------------
 * 自作スライダー用：完全にバグを防ぐ非表示設定
 * ----------------------------------------- */
.tab__content-item {
  /* display: none も absolute も使わず、高さを0にして画面外へ「見えない状態で置く」 */
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* アクティブ（表示時）の状態 */
.tab__content-item.is-show {
  height: auto;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}



/* 下層動線
---------------------------------------------- */



.page_contents{
  padding-block: 40px;
}
.page_contents ul{
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.page_contents li{
  flex-basis: 48%;
  box-shadow: 5px 5px 5px rgba(0 0 0 / .3);
  position: relative;
}
.page_contents li a{transition: .5s;}
@media (hover: hover) and (pointer: fine) {
  .page_contents li a:hover{
    filter: brightness(.8);
    box-shadow: 3px 3px 5px rgba(0 0 0 / .3);
  }
}
.page_contents li .icon{
     position: absolute;
    max-width: 55%;
    top: -2%;
    left: -5%;
}
.page_contents li .icon img{width: 100%;}

.page_contents li.soon::before{
  content: 'COMING SOON';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Blinker", sans-serif;
  text-align: center;
  font-size: 32px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--light);
  z-index: 1;

}
@media screen and (max-width: 767px) {
  .page_contents ul{
  gap: 15px;
}
  .page_contents li{
  flex-basis: 98%;
}
.page_contents li:nth-of-type(5),
.page_contents li:nth-of-type(6){
  flex-basis: 47%;
}
}




@media (hover: hover) and (pointer: fine) {
}
@media screen and (max-width: 767px) {}

.kando_bnr{display: none;}



/* APLICA */

.aplica_wrap{
  padding: 8% 0;
}
.aplica{
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.aplica .ttl{
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.aplica .ttl dt{
  text-align: center;
  font-size: 32px;
  line-height: 1.5;
}
.aplica .ttl dd{
  text-align: center;
  font-size: 16px;
}
.aplica .aplica_merit{
}
.aplica .aplica_merit p{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70px;
    text-align: center;
    background: var(--beije);
    text-align: center;
    color: var(--brown);
    font-weight: 600;
    line-height: 1;
    font-size: 24px;
    padding: 3px ;
    outline: 2px solid var(--yellow);
    outline-offset: -5px;
    /* box-shadow: 5px 5px 5px rgba(0 0 0 / .3); */
    max-width: 400px;
    margin: auto;
}
.aplica .aplica_merit ul{
  max-width: 300px;
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  gap: 10%;
}

.aplica .aplica_merit li:nth-of-type(1){flex-basis: 42%;}
.aplica .aplica_merit li:nth-of-type(2){flex-basis: 29%;}
.aplica .aplica_merit li:nth-of-type(3){flex-basis: 29%;}
.aplica .aplica_merit li img{width: 100%;}

.aplica_flow{
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.aplica_flow .box{
  box-shadow: 5px 5px 5px rgba(0 0 0 / .3);
  background: var(--light);
}
.aplica_flow .box .ttl{
  text-align: center;
  background: var(--dark);
  font-size: 20px;
  line-height: 1;
  padding: 6px 0 8px;
  color: var(--light);
}
.aplica_flow .box .flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
  gap: 16px;
}
.aplica_flow .box{
  flex: 1;
}
.aplica_flow .box .flex dl{
  flex: 1;
}
.aplica_flow .box .flex dl dt{
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 6px;
  margin-bottom: 8px;
}
.aplica_flow .box .flex dl dd{
  text-align: center;
  font-size: 13px;
  line-height: 1.3;
}
.aplica_flow .box .flex .img{
  flex-basis: 33%;
}
.aplica .push{
  max-width: 480px;
  width: 80svw;
  margin: auto;
  padding: 8px;
}
.aplica .push .bg{
  background: url(../images/top/aplika_bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 24px;
  position: relative;
}
.aplica .push .flex{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.aplica .push .flex .icon{
  flex-basis: 20%;
  text-align: center;
}
.aplica .push .flex .icon img{width: 70%; text-align: center;}
.aplica .push .flex .txt{
  flex: 1;
}
.aplica .push .flex .txt dt{
  color: var(--yellow);
  font-size: 24px;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 16px;
}
.aplica .push .flex .txt{
  font-size: 16px;
  line-height: 1.4;
  color: var(--light);
}
.aplica .push .flex .txt small{
  display: block;
  font-size: 12px;
  color: var(--light);
  padding-top: 8px;
}
.aplica .btn_wrap{
  width: 480px;
}



@media screen and (max-width: 767px) {
.aplica_wrap{
  padding: 12% 0;
}
.aplica{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.aplica .ttl{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.aplica .ttl dt{
  text-align: center;
  font-size: 22px;
  line-height: 1.5;
}
.aplica .ttl dd{
  text-align: center;
  font-size: 13px;
}
.aplica .aplica_merit{
}
.aplica .aplica_merit p{
            min-height: 60px;
        font-size: 20px;
}
.aplica .aplica_merit ul{
  max-width: 80%;
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
  gap: 15%;
}

.aplica .aplica_merit li:nth-of-type(1){flex-basis: 42%;}
.aplica .aplica_merit li:nth-of-type(2){flex-basis: 29%;}
.aplica .aplica_merit li:nth-of-type(3){flex-basis: 29%;}
.aplica .aplica_merit li img{width: 100%;}

.aplica_flow{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.aplica_flow .box{
  box-shadow: 5px 5px 5px rgba(0 0 0 / .3);
  background: var(--light);
}
.aplica_flow .box .ttl{
  text-align: center;
  background: var(--dark);
  font-size: 18px;
  line-height: 1;
  padding: 6px 0 8px;
  color: var(--light);
}
.aplica_flow .box .flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px;
  gap: 8px;
}
.aplica_flow .box{
  flex: 1;
}
.aplica_flow .box .flex dl{
  flex: 1;
}
.aplica_flow .box .flex dl dt{
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 6px;
  margin-bottom: 8px;
}
.aplica_flow .box .flex dl dd{
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
}
.aplica_flow .box .flex .img{
  flex-basis: 33%;
}
.aplica .push{
  max-width: 100%;
  width: 100svw;
  margin: auto;
  padding: 8px;
  
}
.aplica .push .bg{
  background: url(../images/top/aplika_bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 16px;
  position: relative;
}
.aplica .push .flex{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.aplica .push .flex .icon{
  flex-basis: 20%;
  text-align: center;
}
.aplica .push .flex .icon img{width: 100%; text-align: center;}
.aplica .push .flex .txt{
  flex: 1;
}
.aplica .push .flex .txt dt{
  color: var(--yellow);
  font-size: 20px;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 8px;
}
.aplica .push .flex .txt{
  font-size: 15px;
  line-height: 1.4;
  color: var(--light);
}
.aplica .push .flex .txt small{
  display: block;
  font-size: 10px;
  color: var(--light);
  padding-top: 8px;
}
.aplica .btn_wrap{
  width: 100%;
}
}

