@charset "UTF-8";

/* ===================================
   リセット・ベース
=================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

html {
  height: 100%;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.scroll-enabled {
  height: auto;
  overflow-y: scroll;
}

body.scroll-enabled {
  height: auto;
  overflow-y: scroll;
}

img {
  width: 100%;
}

/* PC/SP表示切替 */
.pc_only {
  display: block;
}

.sp_only {
  display: none !important;
}

a:hover img {
  opacity: 0.8;
}

/* ===================================
   ヘッダー
=================================== */


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #000;
}



header .header_inner {
  /* max-width: 1830px; */
  padding: 0 3.23vw;
  height: 7.86vh;
  /* max-height: 110px; */
  margin: 0 auto;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  header .header_inner {
  /* max-width: 1830px; */
  padding: 0 3.23vw;
  height: 6.76vh;
  /* max-height: 110px; */
  margin: 0 auto;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
}


header .header_inner .logo {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
  margin-top: 10px;
}
@media (max-width: 768px) {
  header .header_inner .logo {
  display: block;
  width: 14.5vw;
  /* max-width: 278.4505px; */
  height: auto;
  margin-top: 10px;
}
}

main .orenge {
background: #ff7600;
}



/* ===================================
   MVセクション
=================================== */
#mv {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  background: #ff7600;
  padding-top: 7.86vh;
  overflow: hidden;
  z-index: 10;
}

.container {
  position: relative;
  width: 100%;
  height: 100dvh;
}

/* ===================================
   アイコンアニメーション
=================================== */
.icon_item {
  position: absolute;
  opacity: 0;
  z-index: 10;
}

/* 出現アニメーション */
.icon_item.is-visible {
  animation: iconPop .75s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards !important;
}

.item_4.is-visible,
.item_6.is-visible,
.item_7.is-visible {
  animation: dxPop .95s cubic-bezier(0.18, 0.89, 0.32, 1.35) forwards !important;
}



/* 位置指定 */
.item_1 { width: min(54%); top: 22%; left: 22%; z-index: 12; }
.item_2 { width: min(58%); top: 4%; left: 8%; transform: translateX(-50%); z-index: 11; }
.item_3 { width: min(68%); top: 2%; left: 26%; z-index: 13; }
.item_4 { width: min(36%); left: 30%; top: 20%; transform: translateX(-50%); z-index: 20; }
.item_5 { width: min(12%); right: 18%; top: 60%; z-index: 15; }
.item_6 { width: min(32%); left: 10%; top: 20%; z-index: 14; }
.item_7 { width: min(32%); right: 10%; top: 20%; z-index: 14; }

/* アニメーション定義 */
@keyframes iconPop {
  0%   { opacity: 0; transform: scale(0.3); }
  60%  { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes dxPop {
  0%   { opacity: 0; transform: scale(0.15); }
  55%  { opacity: 1; transform: scale(1.25); }
  100% { opacity: 1; transform: scale(1); }
}



/* ====================== scrolled_contents ====================== */
.scrolled_contents {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: #ff7600;
  transform: translateY(100%);
  opacity: 1;

  transition:
    transform 0.8s cubic-bezier(0.22,0.8,0.15,1);
}

.scrolled_contents.active {
  transform: translateY(12%);
}


body.scroll-enabled #mv {
  min-height: 100vh;
}

.scrolled_bg {
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

/* SP調整 */
@media (max-width: 768px) {

html.mv-stop,
body.mv-stop{
  overflow:hidden;
  touch-action:none;
  overscroll-behavior:none;
}


  .container { padding-top: 10px; }
  .scrolled_contents {
  position:absolute;
    inset:0;
    width:100%;
    height:105dvh;
    top:-4dvh;

    transform:translate3d(0,100%,0);

    transition:
      transform 1.0s cubic-bezier(.22,.61,.36,1);

    will-change:transform;
  }

.scrolled_contents.active {
  transform: translateY(8%);
}

 .scrolled_bg{
  align-items:flex-start;
    min-height:105dvh;
  }

    .scrolled_bg .text_wrap{
    padding-top:12dvh;
  }


  .mv_wappen { width: 55%; margin: auto; padding: 10px 0 20px; }

}




.scrolled_bg .text_wrap {
  color: #fff;
  margin: auto;
  padding: 2vh 0 0;
}

.scrolled_bg .text_wrap h3 {
  width: 800px;
  max-width: 100%;
  margin: auto;
}

.scrolled_bg .text_wrap p {
  width: 660px;
  margin: 10px auto 0;
  padding: 10px 0 0px;
}

@media (max-width: 768px) {
  .scrolled_bg .text_wrap h3 { width: 90%; }
  .scrolled_bg .text_wrap p { width: 75%; margin: 20px auto; padding: 10px 0 70px; }
}



/* ===================================
   レスポンシブ対応
=================================== */

@media (max-width: 768px) {
  .pc_only {
    display: none !important;
  }

  .sp_only {
    display: block !important;
  }

  /* body {
    overflow: hidden !important;
  } */

  /* ===================================
   ヘッダー
=================================== */


  header .header_inner {
    padding: 0 4vw;
    height: 45px;
  }

  header .header_inner .logo {
    width: 113.9116px;
    margin-top: 8px;
  }


  /* ===================================
   コンテナ
=================================== */


  /* グッド */
  .item_1 {
    width: 82%;
    top: 24%;
    left: 8%;
  }

  /* 虫眼鏡 */
  .item_2 {
    width: 82%;
    top: 53%;
    left: 8%;
  }

  /* グラフ */
  .item_3 {
    width: 86%;
    top: 5%;
    left: 8%;
  }

  /* ハートSNS */
  .item_4 {
    width: 94%;
    top: 40%;
    left: 2%;
  }

  /* 電球 */
  .item_5 {
    width: 80%;
    top: 100%;
    left: 30.6%;
  }

  /* 点吹き出し */
  .item_6 {
    width: 52%;
    top: 25%;
    left: 5%;
  }

  /* マップピン */
  .item_7 {
    width: 52%;
    top: 30%;
    right: 5%;
  }



  /* ===================================
   スクロールしたら表示されるコンテンツ
=================================== */

 

  /* ===================================
   テキストコンテンツ
=================================== */

  #sec_1 {
    padding: 48px 0 74px 20px;
    background-color: #0000d8;
  }

  #sec_1 .inner {
    max-width: 324px;
    /* padding: 0; */
    margin: 0 auto 0;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
  }

  #sec_1 .inner .title {
    font-size: 50px;
    font-weight: 200;
    line-height: 1.3;
    letter-spacing: 1px;
    margin-bottom: 18px;
  }

  #sec_1 .inner .title .date {
    font-size: 30px;
    letter-spacing: 7px;
  }

  #sec_1 .inner .title .year {
    font-size: 24px;
    margin-left: -16px;
    margin-right: -7px;
  }

  #sec_1 .inner .title .month {
    font-size: 24px;
    margin-left: -13px;
  }

  #sec_1 .inner .remark {
    font-size: 10px;
    line-height: 2;
    margin-bottom: 50px;
  }

  #sec_1 .inner .description {
    font-size: 15px;
    line-height: 2.6;
  }
}

@media (max-width: 768px) and (min-height: 1024px) {}



@media (max-width: 768px) and (max-height: 600px) {}





/* ===================================
   MV以下を仮設置
=================================== */

.under {
  width: 100%;
  background-color: #dfeaee;
  position: relative;
  z-index: 10;
  /* margin-top: 107.86vh; */
  font-size: 1.06rem;
  padding: 50px 0 0;
}

body.scroll-enabled .under {
  margin-top: 0;
}


#navi-bar {
width: 100%;
max-width: 100%;
margin: auto;
padding: 50px 0;
}

#navi-bar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 0px 0;
}

#navi-bar .flexd {
width: 100%;
max-width: 100%;
margin: auto;
padding: 0 3.23vw;
display: flex;
justify-content: space-between;
align-items: center;
background-image: linear-gradient(90deg, #006eff, #0000d8);
}

#navi-bar .flexd h3 {
  
  display: block;
    width: 14.5vw;
    /* max-width: 278.4505px; */
    height: auto;
    margin-top: 10px;
}

#navi-bar .flexd ul {
  width: 600px;
  max-width: 100%;
  margin: auto 0;
  padding-top: 10px;
display: flex;
justify-content: flex-end;
align-items: center;
}

#navi-bar .flexd li {
list-style: none;
padding-left: 60px;
}

@media (max-width: 768px) {
#navi-bar .flexd {
width: 100%;
max-width: 100%;
margin: auto;
padding: 0 3.23vw;
display: block;
justify-content: space-between;
align-items: center;
background-image: linear-gradient(90deg, #006eff, #0000d8);
}


#navi-bar .flexd h3 {
  display: block;
    width: 28.5vw;
    /* max-width: 278.4505px; */
    height: auto;
    margin-top: 10px;
    padding: 10px 0 0 0px;
}

#navi-bar .flexd ul {
  width: 100%;
  max-width: 100%;
  margin: auto;
  padding-top: 10px;
display: flex;
justify-content: flex-start;
align-items: flex-start;
}

#navi-bar .flexd li {
list-style: none;
padding-left: 0px;
padding-right: 15px;
}

}






/* YouTube専用モーダル */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.active {
  display: flex;
}

/* 閉じるボタン（枠の右上外側へ） */
.video-close {
  position: absolute;
  top: -40px;          /* 枠の上に20pxはみ出す（調整可能） */
  right: -40px;        /* 枠の右に20pxはみ出す（調整可能） */
  width: 44px;
  height: 44px;
  background: none;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  line-height: 44px;   /* 縦中央揃え */
  text-align: center;
  cursor: pointer;
  z-index: 10010;
  transition: all 0.2s ease;
}

.video-close:hover {
  background: #000;
  transform: scale(1.12);
}

/* モーダルの中身（動画枠） */
/* 動画枠本体 */
.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #000;
  border-radius: 12px;
  /* overflow: hidden;  ← これをコメントアウトまたは削除 */
  overflow: visible;     /* ← これに変更（はみ出しを許可） */
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}


/* 動画ラッパー（比率維持） */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 既存の #movie スタイルはそのまま */
#movie {
  width: 100%;
  max-width: 100%;
  margin: 50px auto 20px;
  padding: 0;
  border-top:#000000 50px solid;
  border-bottom:#000000 50px solid;
  text-align: center;
  background-color: #ff7600;
}

@media (max-width: 768px) {
  #movie {
  width: 100%;
  background-color: #ff7600;
  max-width: 100%;
  margin: 40px auto;
  padding: 0;
  border-top:#000000 25px solid;
  border-bottom:#000000 25px solid;
  text-align: center;
}

  .video-close {
    top: -18px;
    right: -18px;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 40px;
  }
}

.movie-img img {
  height: auto;
  transition: transform .6s ease; /* ゆっくり変化させる */
}
.movie-img:hover img {
  transform: scale(1.1); /* 拡大 */
}


/* モーダル背景 */
.movie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 9999;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* 中身 */
.movie-modal-inner {
  position: relative;
  width: 90%;
  max-width: 800px;
}

/* iframe比率維持 */
.movie-iframe-wrap {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
}

.movie-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 閉じるボタン */
.movie-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}

/* trigger */
#movie button {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  font-size: 0;
}









/* ===================================
   komatta
=================================== */

#komatta {
   width: 100%;
   max-width: 100%;
   background-color: #ff7600;
   padding-top: 100px;
}

@media (max-width: 768px) {
  #komatta {
  width: 100%;
   max-width: 100%;
   padding-top: 40px;
}
}

#komatta h3.komatta_title { 
  margin: auto;
 width: 790px;
}
@media (max-width: 768px) {
  #komatta h3 {
  width: 90%;
   max-width: 100%;
   margin: 0;
   padding-left: 8%;
}
}

#komatta .komatta_komatta {
  display: flex;
  justify-content: space-between;
  width: 860px;
  max-width: 100%;
  margin: auto;
  padding: 20px 0 100px;
}

#komatta .komatta_komatta p {
  width: 680px;
  line-height: 2.4;
  font-size: 1.14rem;
  letter-spacing: 0.1em;
  padding-top: 40px;
  padding-left: 50px;
  font-weight: 900;
}

@media (max-width: 768px) {
#komatta .komatta_komatta p {
  width: 100%;
  line-height: 2.4;
  font-size: 0.80rem;
  letter-spacing: 0;
  padding-top: 10px;
  padding-left: 8%;

}
}

#komatta .komatta_komatta .komatta_tate {
  width: 160px;
}


/* ===================================
   nara
=================================== */

#nara {
   width: 100%;
   max-width: 100%;
   padding: 80px 0 0;
   background-color: #fff;
}

@media (max-width: 768px) {
  #nara {
  width: 100%;
   max-width: 100%;
    padding: 40px 0 0;
}
}


#nara .nara_nara {
  width: 100%;
  background-image: url(../images/nara_back.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size:cover;
}

#nara .nara_nara ul {
  display: flex;
  justify-content: space-between;
  width: 890px;
  margin: auto;
  padding: 20px 0 300px;
}
#nara .nara_nara ul li.nara_tate {
  width: 150px;
  margin-right: 20px;
}

#nara .nara_nara h3 {
  width: 140px;
}

#nara .nara_nara ul li {
  margin: 0;
}

#nara .nara_nara ul li p {
  width: 600px;
  line-height: 2.4;
  font-size: 1.14rem;
  letter-spacing: 0.1em;
  font-weight: 800;
}

@media (max-width: 768px) {
  #nara .nara_nara {
  width: 100%;
  background-image: url(../images/nara_back_sp.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size:cover;
}
#nara .nara_nara .nara_wappen {
  width: 100%;
  text-align: right;
  position: relative;
}
#nara .nara_nara .nara_wappen img {
  width: 30%;
  position: absolute;
  text-align: right;
  top: -80px;
  right: 20px;
  bottom: 0;
}

  #nara .nara_nara ul {
  display: block;
  justify-content: space-between;
  width: 100%;
  margin: auto;
  padding: 00px 0 300px;
}


#nara .nara_nara h3 {
  width: 80%;
  margin: 0 0 20px;
  padding-left: 10%;
}

#nara .nara_nara ul li p {
  width: 100%;
  line-height: 2.4;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  margin: auto;
  padding-top: 2%;
  padding-left: 10%;

}

}




#nara .nara_sumo {
background-color: #0223be;
width: 100%;
   max-width: 100%;
   padding-top: 80px;
}
@media (max-width: 768px) {
  #nara .nara_sumo {
background-color: #0223be;
width: 100%;
   max-width: 100%;
   padding-top: 80px;
}

}

#nara .nara_sumo .nara_dx01 {
width: 100%;
   max-width: 100%;
   margin: auto;
   position: relative;
}

#nara .nara_sumo .nara_dx01 img {
width: 510px;
   max-width: 100%;
   margin: auto;
   position: absolute;
   z-index: 2;
   top:-360px;
   left: 0;
   right: 0;
   bottom: 0;

}
@media (max-width: 768px) {
  #nara .nara_sumo .nara_dx01 img {
width: 90%;
   max-width: 100%;
   margin: auto;
   position: absolute;
   z-index: 2;
   top:-120px;
   left: 0;
   right: 0;
   bottom: 0;

}

}

#nara .nara_sumo .nara_dx02 {
width: 100%;
   max-width: 1800px;
   margin: auto;
   padding-top: 0px;
}
@media (max-width: 768px) {
  #nara .nara_sumo .nara_dx02 {
width: 100%;
   max-width: 100%;
   margin: auto;
   padding-top: 0px;
}

}


/* ===================================
   tatoeba
=================================== */

#tatoeba {
   width: 100%;
   max-width: 100%;
   background-color: #ff7600;
   position: relative;
}

@media (max-width: 768px) {
  #tatoeba {
  width: 100%;
   max-width: 100%;
}
}

#tatoeba .tatoeba_data {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 0;
  bottom: 0;
}

#tatoeba .tatoeba_data img {
  width: 70px;
}

#tatoeba h3 {
  width: 900px;
  margin: auto ;
  padding: 120px 0 80px;
}
@media (max-width: 768px) {
  #tatoeba h3 {
  width: 80%;
  margin: auto ;
  padding: 100px 0 60px;
}
}

#tatoeba h4 {
  width: 700px;
  margin: 30px auto ;
  padding: 100px 0 30px;
}
@media (max-width: 768px) {
  #tatoeba h4 {
  width: 80%;
  margin: 20px auto 0;
  padding: 40px 0 10px;
}
}

#tatoeba .point_topics {
  width: 800px;
  max-width: 90%;
  margin: 20px auto 40px;
}



.card-galley {
  width: 100%;         /* 必要に応じて調整 */
  margin: 40px auto;
  overflow: hidden;           /* 超重要！ここで隠す */
  position: relative;
}

.card-galley .slideshow2 {
  display: flex;
  width: max-content;         /* 超重要！内容に合わせて幅が伸びる */
  will-change: transform;     /* パフォーマンス向上 */
}

.card-galley .slideshow2 li {
  flex: 0 0 auto;
  width: 332px;
  height: 430px;
  margin-right: 10px;         /* 画像同士の間隔 */
  list-style: none;
}

.card-galley .slideshow2 li:last-child {
  margin-right: 0;
}

.card-galley .slideshow2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 必要に応じて contain でもOK */
  display: block;
}

/* スクロールバー完全非表示 */
.card-galley::-webkit-scrollbar {
  display: none;
}
.card-galley {
  -ms-overflow-style: none;     /* IE, Edge */
  scrollbar-width: none;        /* Firefox */
}



@media (max-width: 768px) {
  .card-galley {
    margin: 0;

}
.card-galley #card-slide li {
  flex: 0 0 auto;
  margin-right: 6px;         /* 画像同士の間隔 */
  list-style: none;
}

}


.card-galley .arrow {
  width: 230px;
  max-width: 60%;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}

.card-galley .arrow li {
  cursor: pointer;
  transition: transform 0.2s;
}

.card-galley .arrow li:hover {
  opacity: 0.8;;
}

.card-galley .arrow img {
  width: 100%;
  max-width: 55px;
  display: block;
}

.arrow img{
  cursor:pointer;
}

#cardSplide{
  width:100%;
}

#cardSplide .splide__slide img{
  width:100%;
  display:block;
}

.slider-wrap{
  overflow:hidden;
  width:100%;
}

#card-slide{
  display:flex;
  gap:2px;
  width:max-content;
  margin:0;
  padding:0;
  list-style:none;
  will-change:transform;
}

#card-slide li{
  flex-shrink:0;
  width:calc((100vw - 40px)/6);
}
@media (max-width:1024px){

  #card-slide li{
    width:30vw;
  }

}
@media (max-width:768px){

  #card-slide li{
    width:48vw;
    height:auto;
  }

}

#card-slide img{
  display:block;
  width:100%;
  height:auto;
}

.arrow img{
  cursor:pointer;
}

#card-slide{
  user-select:none;
  -webkit-user-select:none;
  touch-action:pan-y;
}

#card-slide img{
  pointer-events:none;
}





/* ===================================
   t4step
=================================== */

#t4step {
   width: 100%;
   max-width: 100%;
   background-color: #ff7600;
}

@media (max-width: 768px) {
  #t4step {
  width: 100%;
   max-width: 100%;
}

}

#t4step .t4step-title {
 background-color: #ff7600;
 margin: auto;
 padding: 80px 0 60px;
}

#t4step .t4step-title h3 {
  width: 720px;
  max-width: 90%;
  margin: auto;
}

#t4step .t4step-title p {
  width: 510px;
  max-width: 80%;
  margin: auto;
  padding: 40px 0 10px;
}


@media (max-width: 768px) {
  #t4step .t4step-title {
 background-color: #ff7600;
 margin: auto;
 padding: 80px 0 40px;
}
  #t4step h3 {
  width: 90%;
   max-width: 100%;
}

}


#t4step .white-base {
background: #fff;
width: 100%;
margin: auto;
padding: 60px 0;
}

#t4step .t4step_step {
    margin: auto;
    padding: 0 0 0;
}

#t4step .inner {
    margin: 0 auto;
    max-width: 90%;
}

@media (max-width: 768px) {
  #t4step .white-base {
background: #fff;
width: 100%;
margin: auto;
padding: 30px 0;
}

#t4step .inner {
        margin: 0 auto;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

}





#t4step .t4step_shikaku {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 0;
  color: #fff;
}

#t4step .t4step_shikaku h4 {
  margin: 0 auto 10px;
  padding: 20px 15px 15px;
  color: #fff;
  background-color: #0223BE;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 1000px;
  max-width: 100%;
}

#t4step .t4step_shikaku .center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 190px;
}

#t4step .t4step_shikaku .right {
    /* 右端に配置される */
    width: 120px;
}
@media (max-width: 768px) {
  #t4step .t4step_shikaku h4 {
  margin: 0 auto 10px;
  padding: 20px 15px 15px;
  color: #fff;
  background-color: #0223BE;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1000px;
  max-width: 100%;
}
#t4step .t4step_shikaku .center {
    position:unset;
    left: 20%;
    padding-right: 10px;
    transform: translateX(0);
    width: 45%;
}

#t4step .t4step_shikaku .right {
    /* 右端に配置される */
    width: 30%;
    padding-top: 5px;
}

}

#t4step .t4step_shikaku ul {
  padding: 10px 0 20px; 
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:10px 20px;
}

#t4step .t4step_shikaku ul li {
    width:calc((100% - 40px) / 3);
}

#t4step .t4step_shikaku ul li:last-child {
        width: 4%;
        text-align: left;
        padding-top: 6%;
        vertical-align: bottom;
}
@media (max-width: 768px) {
  #t4step .t4step_shikaku ul {
  padding: 10px 0 20px; 
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px 20px;
}

#t4step .t4step_shikaku ul li {
    width:75%
}

#t4step .t4step_shikaku ul li:last-child {
        width: 75%;
        text-align: right;
        padding-top: 0%;
        padding-left: 6%;
        vertical-align: top;
}
#t4step .t4step_shikaku ul li:last-child  img {
        width: 20%;
        text-align: right;
        padding-top: 0%;
        padding-left: 6%;
        vertical-align: top;
}
}


#t4step .t4step_mirai h4 {
  margin: 0 auto;
  padding: 15px 15px 10px;
  color: #fff;
  background-color: #0223BE;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1000px;
  max-width: 100%;
}

#t4step .t4step_mirai .center {
    width: 190px;
}
@media (max-width: 768px) {
#t4step .t4step_mirai .center {
    width: 45%;
}
}

#t4step .t4step_mirai .t4step_mirai_read {
    /* 右端に配置される */
    width: 850px;
    max-width: 70%;
    margin: 20px auto;
    padding: 0;
}


#t4step .t4step_mirai ul {
  width: 1000px;
    max-width: 100%;
    margin: auto;
    padding: 10px 0 20px; 
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:10px 10px;
}

#t4step .t4step_mirai ul li {
    width:calc((100% - 20px) / 2);
}

#t4step .t4step_mirai ul li.mirai_couse01 {
    background-color: #F6AB00;
    padding: 30px 60px;
}
#t4step .t4step_mirai ul li.mirai_couse02 {
    background-color: #009FB9;
    padding: 30px 60px;
}

@media (max-width: 768px) {
#t4step .t4step_mirai ul {
  width: 1000px;
    max-width: 100%;
    margin: auto;
    padding: 10px 0 20px; 
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:20px 20px;
}

#t4step .t4step_mirai ul li {
    width:90%;
    margin: auto;
}

#t4step .t4step_mirai ul li.mirai_couse01 {
    background-color: #F6AB00;
    padding: 30px 20px;
}
#t4step .t4step_mirai ul li.mirai_couse02 {
    background-color: #009FB9;
    padding: 30px 20px;
}
}




/* ===================================
   point
=================================== */

#point {
   width: 100%;
   max-width: 100%;
   background-color: #ff7600;
}

@media (max-width: 768px) {
  #point {
  width: 100%;
   max-width: 100%;
}

}

#point .point-title {
 background-color: #ff7600;
 margin: auto;
 padding: 80px 0 60px;
}

#point h3 {
  width: 800px;
  margin: auto;
}
@media (max-width: 768px) {
  #point .point-title {
 background-color: #ff7600;
 margin: auto;
 padding: 80px 0 40px;
}
  #point h3 {
  width: 90%;
   max-width: 100%;
}

}


#point .white-base {
background: #fff;
width: 100%;
margin: auto;
padding: 0 0 100px;
}

#point .whats_reason {
      margin: auto;
      padding: 60px 0;
        width: 800px;
        max-width: 100%;
    }

#point .whats_reason p {
      margin: auto;
      padding: 60px 0;
      font-size: 1.04rem;
      line-height: 1.8;
      font-weight: 800;
    }


@media (max-width: 768px) {
  #point .whats_reason h4 {
      margin: auto;
      padding: 10px 0 0;
      width: 84%;
      max-width: 100%;
    }

#point .whats_reason p {
    width: 84%;
      margin: auto;
      padding: 30px 0 0;
      font-size: 0.84rem;
      line-height: 2.0;
      font-weight: 800;
    }

}

    
#point ul.whats_point {
    width: 1000px;
    max-width: 100%;
    margin: auto;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    }
  
  #point .whats_point li {
        width: 32%;
    max-width: 100%;
    }

  #point .whats_point li:last-child {
        width: 100%;
    max-width: 100%;
    padding: 20px 0;
    }

  @media (max-width: 768px) {
  #point ul.whats_point {
    width: 85%;
    max-width: 100%;
    margin: auto;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    }
  
  #point .whats_point li {
        width: 100%;
    max-width: 100%;
    padding: 10px 0 20px;
    }

  #point .whats_point li:last-child {
        width: 100%;
    max-width: 100%;
    padding: 10px 0;
    }
  }


      #point ul.point_point {
    width: 680px;
    max-width: 100%;
    margin: auto;
    padding: 60px 0;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    }


  #point .point_point li {
        width: 47%;
    max-width: 100%;
    margin: auto;
    padding: 0 0 20px;
    }

    @media (max-width: 768px) {
    #point ul.point_point {
    width: 60%;
    max-width: 100%;
    margin: auto;
    padding: 60px 0 0;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    }


  #point .point_point li {
        width: 100%;
    max-width: 100%;
    margin: auto;
    padding: 0 0 20px;
    }
  }


@media screen and (max-width: 768px) {

    .sec_07 {
        position: relative;
        padding: 0px 0 0;
        box-sizing: border-box;
        font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "ヒラギノ角ゴシック", "メイリオ", Meiryo, "ＭＳ ゴシック", "MS Gothic", sans-serif;
    }

      #point .sec_07_bg_02 {
        position: relative;
        padding-top: 20px;
        padding-bottom: 20px;
        background: #ffff01;
    }


}



/* ===================================
   campus
=================================== */

#campus {
   width: 100%;
   max-width: 100%;
   margin: 0 auto 0;
   padding: 0 0;
    position: relative;
}

@media (max-width: 768px) {
  #campus {
  width: 100%;
   max-width: 100%;
}

}



#campus .campus-wappen {
  width: 100%;
 max-width: 100%;
 margin: 0 auto 0;
 padding: 0 35% 0 0;
 text-align: right;
 position: relative;
 z-index: 10;
}

#campus .campus-wappen img {
  width: 260px;
 max-width: 100%;
 margin: 0 auto 0;
 text-align: right;
 position: absolute;
 top:-50px;
 z-index: 10;
}
@media (max-width: 768px) {
  #campus .campus-wappen img {
  width: 35%;
 max-width: 100%;
 margin: 0 auto 0;
 text-align: right;
 position: absolute;
 top:-10px
}
}

/* ===================================
   open
=================================== */

#open {
   width: 100%;
   max-width: 100%;
    margin: 0 auto;
    padding-bottom: 220px;
    background-color: #fff;
}

@media (max-width: 768px) {
  #open {
  width: 100%;
   max-width: 100%;
    margin: 0 auto;
    padding-bottom: 180px;
}

}
#open .open-title {
background-color: #ff7600;
padding: 140px 0;
margin: auto;
position:relative;
}
@media (max-width: 768px) {
  #open .open-title {
background-color: #ff7600;
padding: 80px 0;
margin: auto;
position:relative;
}
}

#open .open-title h3 {
  width: 700px;
 max-width: 100%;
 margin: 0 auto 0;
position: absolute;
z-index: 2;
top: 140px;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

@media (max-width: 768px) {
  #open .open-title h3 {
  width: 80%;
 max-width: 100%;
 margin: 0 auto 0;
position: absolute;
z-index: 2;
top: 100px;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
}

.cumpus-galley {
  width: 100%;         /* 必要に応じて調整 */
  margin: 0 auto 0;
  padding: 80px 0;
  overflow: hidden;           /* 超重要！ここで隠す */
  position: relative;
  background: #44479f;
}
@media (max-width: 768px) {
  .cumpus-galley {
  width: 100%;         /* 必要に応じて調整 */
  margin: 0 auto 0;
  padding: 40px 0;
  overflow: hidden;           /* 超重要！ここで隠す */
  position: relative;
  background: #44479f;
}
}

.cumpus-galley .slideshow1 {
  display: flex;
  width: max-content;         /* 超重要！内容に合わせて幅が伸びる */
  animation: infiniteSlide1 48s linear infinite;  /* 24秒で1周が目安 */
  will-change: transform;     /* パフォーマンス向上 */
}
@media (max-width: 768px) {
  .cumpus-galley .slideshow1 {
  display: flex;
  width: max-content;         /* 超重要！内容に合わせて幅が伸びる */
  animation: infiniteSlide1 24s linear infinite;  /* 24秒で1周が目安 */
  will-change: transform;     /* パフォーマンス向上 */
}
}

.cumpus-galley .slideshow1 li {
  flex: 0 0 auto;
  width: 460px;
  height: 300px;
  margin-right: 0;         /* 画像同士の間隔 */
  list-style: none;
}
@media (max-width: 768px) {
  .cumpus-galley .slideshow1 li {
  flex: 0 0 auto;
  width: 260px;
  height: 174px;
  margin-right: 0;         /* 画像同士の間隔 */
  list-style: none;
}
}

.cumpus-galley .slideshow1 li:last-child {
  margin-right: 0;
}

.cumpus-galley .slideshow1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;  
  display: block;
}

/* スクロールバー完全非表示 */
.cumpus-galley::-webkit-scrollbar {
  display: none;
}
.cumpus-galley {
  -ms-overflow-style: none;     /* IE, Edge */
  scrollbar-width: none;        /* Firefox */
}

/* 基本スタイル（PC） */
.cumpus-galley .splide__slide {
  width: 460px;
  height: 300px;
}

.cumpus-galley .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== スマホ用 ==================== */
@media (max-width: 768px) {
  .cumpus-galley {
    padding: 40px 0;
  }

  /* 各スライドを小さくする */
  .cumpus-galley .splide__slide {
    width: 240px !important;   /* ← ここを好みで調整（220〜260pxくらいがおすすめ） */
    height: 160px !important;  /* 16:10.67くらいの比率を維持 */
    margin-right: 12px;        /* 画像間の隙間（好みで調整） */
  }

  /* 最後の余白を調整したい場合は */
  .cumpus-galley .splide__slide:last-child {
    margin-right: 0;
  }
}

/* 自動スクロールアニメーション */
@keyframes infiniteSlide1 {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);   /* 画像を8枚分（元4枚×2）なので半分でループ */
  }
}


#open .open-wappen {
  width: 100%;
 max-width: 100%;
 margin: -100px auto 0;
 padding: 0 35% 0 0;
 text-align: right;
 position: relative;
}

#open .open-wappen img {
  width: 160px;
 max-width: 100%;
 margin: 0 auto 0;
 text-align: right;
 position: absolute;
}

@media (max-width: 768px) {
  #open .open-wappen {
  width: 100%;
 max-width: 100%;
 margin: -80px auto 0;
 padding: 0 30% 0 0;
 text-align: right;
 position: relative;
} 
  #open .open-wappen img {
  width: 22%;
 max-width: 100%;
 margin: 30px auto 0;
 text-align: right;
 position: absolute;
}
}


/* ===================================
   access
=================================== */

#access {
   width: 100%;
   max-width: 100%;
   margin: 0 auto 0;
   padding: 60px 0;
   background: #0223be
}

@media (max-width: 768px) {
  #access {
  width: 100%;
   max-width: 100%;
   margin: 0 auto 0;
}

}



.access-title {
  width: 100%;
  max-width: 740px;
  margin: auto;
  padding: 50px 0 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .access-title {
  width: 70%;
  max-width: 100%;
  margin: auto;
  padding: 0px 0 20px;
  text-align: center;
}
}

.access_route {
  width: 980px;
  max-width: 100%;
  margin: auto;
  padding: 50px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .access_route {
  width: 90%;
  max-width: 100%;
  margin: auto;
  padding: 20px 0 20px;
  text-align: center;
}



}

.access-map {
width: 1180px;
max-width: 100%;
  margin: auto;
  padding: 10px 90px 30px 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
}

.access-map dt {
  width: 9%;
  padding: 0 20px;
}

.access-map dd {
  width: 90%;
}


.map-container {
  width: 100%;
  aspect-ratio: 16 / 9; /* 横16:縦9の比率 */
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .access-map {
width: 1180px;
max-width: 100%;
  margin: auto;
  padding: 10px 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
}

  .access-map dt {
  display: none;
  width: 0;
}

.access-map dd {
  width: 100%;


}
.map-container iframe {
  width: 100%;
  height: 360px;
}



}
/* ===================================
   footer
=================================== */


footer {
 width: 100%;
 margin: 0 auto 0;
 padding: 30px 0 0;
background: #fff;
}

footer .sns {
 width: 100%;
 margin: auto;
  padding: 30px 0;
 background: #fff;
}

footer .m-auto {
 display: flex;
 justify-content: center;
}

footer .m-auto li {
 margin: 0 10px;
}

footer .m-auto li img {
    width: 40px;
}

footer .black-base {
  width: 100%;
  max-width: 100%;
  margin: auto;
  padding: 40px 0;
   background: #000000;
}

footer .black-base .inner {
  width: 80%;
  max-width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items:center;
  flex-wrap: wrap;
  margin: 0;
  padding-left: 10vw;
   background: #000000;
}

footer .black-base .footer-logo {
  width: 220px;
  margin: auto;
  padding: 20px 0 20px;
  text-align: center;
}


footer .black-base .address {
  color: #fff;
  font-size: 0.64rem;
  margin: 20px auto 20px;
  padding: 0 20px;
}

footer .black-base .nav_area {
  color: #fff;
  font-size: 0.64rem;
  margin: 0px auto 0px;
  padding: 0 20px;
}

footer .black-base .nav_area ul {
  color: #fff;
  font-size: 0.64rem;
  margin: auto;
}
footer .black-base .nav_area ul li a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  line-height: 1.714;
  color: #fff;
}

@media (max-width: 768px) {
  footer .black-base {
    width: 100%;
    padding: 5% 15%;
    margin: auto;

}
footer .black-base .inner {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items:center;
  flex-wrap: wrap;
  margin: 0;
  padding-left: 1vw;
   background: #000000;
}

footer .black-base .address {
  color: #fff;
  font-size: 0.64rem;
  margin: 0 auto 20px;
}

footer .black-base .nav_area ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}


footer .recruit {
  padding: 30px 20px;
}
footer .recruit img {
  width: 258px;
}
@media print, screen and (max-width: 768px) {
  footer .recruit {
    padding: 30px 10px 90px;
  }
}


/* =================================
   Fade Up
================================= */

.fadeup {
  opacity: 0;
  transform: translateY(80px);

  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.22,.61,.36,1);

  will-change: opacity, transform;
}

.fadeup.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* =================================
   Floating Banner
================================= */

.floating-banner {
  position: fixed;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .4s ease,
    transform .4s ease,
    visibility .4s ease;
}

/* 表示時 */
.floating-banner.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ------------------
 PC
------------------ */


  .floating-banner {
    right: 20px;
    bottom: 0;
    transform: translateX(30px) translateY(-50%);
    background: none;
  }

  .floating-banner.is-show {
    transform: translateX(0) translateY(0);
    background: none;
  }

  .floating-banner img {
    width: 220px;
    height: auto;
    display: block;
  }



/* ------------------
 SP
------------------ */
@media screen and (max-width: 768px) {

  .floating-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 75%;
    margin: auto;
    transform: translateY(100%);
  }

  .floating-banner.is-show {
    transform:  translateX(0%) translateY(0);
  }

  .floating-banner a {
    display: block;
    width: 100%;
  }

  .floating-banner img {
    width: 100%;
    height: auto;
    display: block;
  }

}

/* フェードイン用のスタイル */
.inview {
  opacity: 0; /* 初期状態で透明 */
  transform: translateY(80px); /* 下に50pxずらす */
  transition: opacity 0.9s ease-out, transform 0.9s ease-out; /* 滑らかなアニメーション */
}

.inview.is-show {
  opacity: 1; /* 表示状態で不透明 */
  transform: translateY(0); /* 元の位置に戻す */
}

/* 各セクションや要素に適用する場合は必要に応じて調整 */
section, .inview > * {
  will-change: opacity, transform; /* パフォーマンス最適化 */
}




.sch {
	width: 1000px;
	max-width: 100%;
	margin: 0px auto 0;
	padding: 0 0 10px;
	color: #fff;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
	text-align: center;
}

.sch2 {
	width: 1000px;
	max-width: 100%;
	margin: 0px auto 0;
	padding: 0 0 10px;
	color: #fff;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
	text-align: center;
}

@media only screen and (max-width: 768px) {


  .sch, .sch2 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-x: scroll;
    position: relative; /* アイコンを絶対位置で配置するための基準 */
    -webkit-overflow-scrolling: touch; /* iOSでのスムーズなスクロール */
  }

  .sch img {
    width: 640px;
	max-width: 640px;
    margin: 0 1px;
    padding: 0 0 10px;
  }

  .sch2 img {
        width: 640px;
	max-width: 640px;
    margin: 0 1px;
    padding: 0 0 10px;
  }

}

  /* =========================================
   横スクロール案内
   SPのみ表示
========================================= */

.schScroll.schScroll-sch,
.schScroll.schScroll-sch2 {
  display: none;
}


@media screen and (max-width: 768px) {

  /* -----------------------------------------
     横スクロールコンテナ
  ----------------------------------------- */

  .sch,
  .sch2 {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;

    scrollbar-width: none;
  }

  .sch::-webkit-scrollbar,
  .sch2::-webkit-scrollbar {
    display: none;
  }


  /* -----------------------------------------
     スクロール案内
  ----------------------------------------- */

  .schScroll.schScroll-sch,
  .schScroll.schScroll-sch2 {

    display: block;

    position: absolute;

    width: 128px;
    height: 128px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 100;

    pointer-events: none;

    opacity: 1;
  padding: 4px;
    visibility: visible;

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;

    /* .inview の影響を打ち消す */
    will-change: opacity;
  }


  /* -----------------------------------------
     scroll.png
  ----------------------------------------- */

  .schScroll.schScroll-sch::before,
  .schScroll.schScroll-sch2::before {

    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 120px;
    height: 120px;

    transform: translate(-50%, -50%);

    background-image: url("../images/scroll.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;

    background-color: rgba(0, 0, 0, 0.6);

    border-radius: 8px;
    padding: 4px;
    opacity: 1;

    transition: opacity 0.25s ease;

    pointer-events: none;
  }


  /* -----------------------------------------
     横スクロール開始後
  ----------------------------------------- */

  .schScroll.scroll-hide,
  .schScroll.scroll-hide::before {

    opacity: 0 !important;
    visibility: hidden;
  }


  /* -----------------------------------------
     .inview の共通アニメーションを無効化
     この2つは「最初から表示」するため
  ----------------------------------------- */

  .schScroll.schScroll-sch.inview,
  .schScroll.schScroll-sch2.inview {

    opacity: 1;

    transform: translate(-50%, -50%);
  }

  .schScroll.schScroll-sch.inview.is-show,
  .schScroll.schScroll-sch2.inview.is-show {

    opacity: 1;

    transform: translate(-50%, -50%);
  }

}


/* -----------------------------------------
   PCでは完全に非表示
----------------------------------------- */

@media screen and (min-width: 769px) {

  .schScroll.schScroll-sch,
  .schScroll.schScroll-sch2 {
    display: none !important;
  }

}

/* スクロールバーのカスタマイズ */
@media screen and (max-width: 768px) {
  .sch::-webkit-scrollbar,
  .sch2::-webkit-scrollbar {
    height: 4px;
  }
  .sch::-webkit-scrollbar-track,
  .sch2::-webkit-scrollbar-track {
    background: #eee;
  }
  .sch::-webkit-scrollbar-thumb,
  .sch2::-webkit-scrollbar-thumb {
    background: #aaa;
    border: none;
  }
  .sch::-webkit-scrollbar-thumb:hover,
  .sch2::-webkit-scrollbar-thumb:hover {
    background: #999;
  }
}



.t4step_step .sch {
	width: 100%;
	max-width: 100%;
	margin: 0px auto 0;
	padding: 0 0 10px;
	color: #fff;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
	text-align: center;
}

.access_route .sch2 {
	width: 100%;
	max-width: 100%;
	margin: 0px auto 0;
	padding: 0 0 10px;
	color: #fff;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
	text-align: center;
}

@media only screen and (max-width: 768px){

.t4step_step .sch {
width: 100%;
max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start; 
  overflow-x: scroll; 
  }


.t4step_step .sch img {
    width: 1000px;
	  max-width: 1000px;
    margin: 0 1px;
    padding: 0 0 10px;
    }

.access_route .sch2 {
	width: 100%;
max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start; 
  overflow-x: scroll; 
}


.access_route .sch2 img {
    width: 1000px;
	  max-width: 1000px;
    margin: 0 1px;
    padding: 0 0 10px;
    }

.arrow02 {
      width: 40px;
      margin: 0;
      text-align: left;
      padding: 20px;
  }
}
