/* ============================================
   TOP PAGE
   ============================================ */
body{
  overflow-x: hidden;
}
/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
}

.top_image{
  object-fit: contain;
  position: absolute;
  top: 110px;
  right: -200px;
  width: 848.17px;
}
.top_text{
  color: #DC0010;
  font-size: 28px;
  letter-spacing: .5em;
  position: absolute;
  top: 100px;
  left: 50px;
}
.top_text span{
  font-size: 22px;
}
/* ============================================
   
   ============================================ */
.upper_layer{
  margin: 250px 0 200px 50px;
  position: relative;
}
.concept{
  position: relative;
  margin-bottom: 100px;
}
.concept h3{
  color: #DC0010;
  font-size: 34px;
  padding-left: 85px;
  margin-bottom: 30px;
}
.concept h3 span{
  margin-left: -20px;
}
.concept p{
  color: #191919;
  font-size: 14px;
  padding-left: 85px;
}
.concept::before{
  content: "";
  background-image: url(../img/aboutus/mark.png);
  background-repeat: no-repeat;
  display: inline-block;
  width: 70.31px;
  height: 70.31px;
  background-size:contain;
  top: -35px;
  left: 5px;
  position: absolute;
}
/* 私たちについて  --------------------- */
.aboutus_detail{
  display: flex;
  margin: 0 50px 100px;
  gap: 30px;
}
.aboutus_detail_left img{
  max-width: 279px;
  object-fit: contain;
}
.aboutus_detail_right h4{
  color: #001E46;
  font-size: 24px;
  margin-bottom: 30px;
}

.aboutus_detail_right p{
  color: #001E46;
  font-size: 14px;
  line-height: 1.5rem;
}

.aboutus .section_title {
  align-items: normal;
  margin: 50px;
}
.aboutus .section_title img {
  left: -80px;
}
.aboutus_instructor{
  display: flex;
  width: 80%;
  margin: 0 auto 100px;
  gap: 30px;
}
.aboutus_instructor_left p{
  color: #191919;
  font-size: 16px;
  line-height: 1.5rem;
}
.aboutus_instructor_left .section_title{
  margin: 0 0 50px;
}
.aboutus_instructor_left .section_title img {
  width: 100%;
  left: -40px;
}
.aboutus_instructor_right img{
  max-width: 407px;
}

/* スライダー  --------------------- */

.slider-container{
  width: calc(100% - 100px);
  max-width: 1000px;
  margin: 0 auto;
}

/* メイン画像 */
.slider-for img{
  width: 623px;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ナビ画像 */
.slider-nav img{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.slider-nav-item{
  padding: 10px;
}
/* ============================================
   Information セクション
   ============================================ */

   .information {
    display: flex;
    color: #001E46;
    margin: 0 50px 100px;
  }
  
  .information_label {
    flex-shrink: 0;
    width: 110px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: rgba(0, 30, 70, .27);
  }
  
  .information_label span {
    writing-mode: vertical-rl;       
    font-size: 80px;
    font-weight: 400;
    color: rgba(0, 30, 70, .27);                  
    letter-spacing: 0.05em;
    line-height: 1;
  }
  
  .information_body {
    flex: 1;
    /* background: rgba(200, 141, 56, .2); */
    padding: 50px 60px;
  }
  .outline-table {
    width: 100%;
    border-collapse: collapse;
  }
  .outline-table tr {
    border-bottom: 1px solid #006092;
  }
  .outline-table th {
    width: 160px;
    padding: 16px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #001E46;
    vertical-align: top;
    white-space: nowrap;
  }
  .outline-table td {
    padding: 16px 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #191919;
  }
  .outline-table td p{
    font-size: 13px;
    line-height: 1rem;
  }

/* ============================================
   Flow セクション
   ============================================ */
    .flow{
      margin: 0 50px 200px;
    }
   .flow_inner {
    display: flex;
    color: #4A4A4A;
    padding-bottom: 60px;
    
  }
  
  /* 左側：縦書きの「Flow」 */
  .flow_label {
    flex-shrink: 0;
    width: 110px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: rgba(200, 141, 56, .27);
  }
  
  .flow_label span {
    writing-mode: vertical-rl;       /* 縦書き */
    font-size: 80px;
    font-weight: 400;
    color: #C88D38;                  /* 薄いピンク文字 */
    letter-spacing: 0.05em;
    line-height: 1;
    height: fit-content;
  }
  
  /* 右側：ステップ一覧 */
  .flow_body {
    flex: 1;
    position: relative;
    padding: 40px 60px;
    background: rgba(200, 141, 56, .2);
  }
  
  /* タイムラインの縦線 */
  .flow_body::before {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 150px;
    /* 画像幅(45%)の中央あたりに線を置く */
    left: calc(50% / 2);
    width: 1px;
    background: #C88D38;
  }
  
  /* 各ステップ */
  .flow_step {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 70px;
    position: relative;
  }
  
  .flow_step:last-child {
    margin-bottom: 0;
  }
  
  /* 画像 */
  .flow_image {
    flex-shrink: 0;
    width: 45%;
    max-width: 460px;
    position: relative;
    z-index: 1;
  }
  
  .flow_image img {
    width: 100%;
    aspect-ratio: 552 / 374;
    object-fit: cover;
    display: block;
  }
  
  /* テキスト側 */
  .flow_text {
    flex: 1;
    padding-top: 10px;
  }
  
  /* step番号（白い角丸ピル） */
  .flow_num {
    display: inline-block;
    background: #fff;
    color: #C88D38;
    font-size: 19px;
    letter-spacing: 0.05em;
    padding: 6px 28px;
    border-radius: 999px;
    margin-bottom: 22px;
  }
  
  /* 見出し */
  .flow_title {
    font-size: 22px;
    font-weight: 500;
    color: #C88D38;
    margin: 0 0 20px;
    letter-spacing: 0.04em;
  }
  
  /* 説明文 */
  .flow_desc {
    font-size: 16px;
    line-height: 1.9;
    color: #4A4A4A;
    margin: 0;
  }
  .upper_layer_reservation_btn_aria{
    margin-left: 110px;
  }
  .upper_layer_reservation_btn{
    display: block;
    width: 255px;
    margin: 0 auto;
  }
  .upper_layer_reservation_btn:hover{
    filter: brightness(120%);
    transition: 0.2s;
  }
/* ============================================
   world map
   ============================================ */
.world_map_top_inner{
  color: #001E46;
  margin: 0 auto;
  background-image: url(../img/common/logo_gray.png);
  background-repeat: no-repeat;
  background-size: 339.4px;
  height: 331.42px;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}
.world_map_title{
  font-size: 22px;
  text-align: center;
}
.world_map_sub_title{
  font-size: 17px;
}
.world {
  width: 100%;
  overflow: hidden;
  margin-bottom: 100px;
}

/* ---- マーキー（流れる帯）共通 ---- */
.marquee {
  width: 100%;
  overflow: hidden;
}

.marquee_track {
  display: flex;
  width: max-content;          /* 中身の幅に合わせる */
}

.marquee_track img {
  width: 117px;                /* 画像1枚の表示幅 */
  height: 117px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  margin: 0 5px;
}

/*
   画像10枚（5枚×2セット）で track が構成されているので、
   1セット分＝全体の50%だけ移動させると、複製とシームレスに繋がり
   無限ループに見える。
*/

/* 上段：右へ流れる */
.marquee_right {
  animation: scroll-right 90s linear infinite;
  margin-bottom: 10px;
}

/* 下段：左へ流れる */
.marquee_left {
  animation: scroll-left 90s linear infinite;
  margin-top: 10px;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ---- 世界地図 ---- */
.world_map {
  width: 100%;
  line-height: 0;
}

.world_map img {
  width: 100%;
  height: auto;
  display: block;
}
   
@media (max-width: 768px) {
  .top_text {
    top: 50px;
    left: 30px;
}
.top_image {
  top: 110px;
  right: -90px;
  width: 848.17px;
} 
.upper_layer {
  margin: 550px 0 200px 10%;
}
.concept::before {
  width: 45px;
  left: 0;
}
.concept h3 {
  font-size: 23px;
  padding-left: 45px;
}
.concept p {
  padding-left: 45px;
  padding-right: 45px;
}
.aboutus_detail {
  flex-direction: column;
}
.aboutus_instructor {
  flex-direction: column;
}
.aboutus_detail {
  margin: 0 10% 100px;
}
.aboutus_instructor_right img {
  width: 100%;
}
.information {
  flex-direction: column;
}
.information_label {
  flex-shrink: unset;
  width: 100%;
  display: block;
}
.information_label span {
  writing-mode: horizontal-tb;
    font-size: 48px;
  }
  .information {
    margin: 0 10% 100px;
}
.information_body {
  padding: 0;
}
.outline-table th {
  width: 30%;
  padding: 16px 0px;
  font-size: 16px;
  vertical-align: top;
}
.outline-table td span{
  font-size: 13px;
}
.outline-table td {
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.3rem;
}
.outline-table td p {
  margin-top: 10px;
}
.outline-table td a{
  color: #191919;
}
html,
body {
  overflow-x: hidden;
}
.main {
  overflow-x: clip;
}

}
@media (min-width: 1500px) {
  .top_image{
    right: -200px;
    width: 65%;
  }
}
