@charset "utf-8";

/* =========================================
   ■ 共通（リセット/ユーティリティ）
   ========================================= */
html { font-size: 62.5%; }
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
}
.top{
  overflow: hidden;
}
h3,h4,p{
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  body {
  font-size: 1.4rem;
}

}
body li { list-style: none; }
body a { text-decoration: none; }

.flex_row { display: flex; }
.column { display: flex; flex-direction: column; }
.s_b {display: flex; justify-content: space-between; }

.content { margin: 0 auto; position: relative;}
.inner { max-width: 1100px; margin: 0 auto;   z-index: 0;}
.box1{margin-top: 80px;}

/* =========================================
   ■ フォント/タイポグラフィ関連
   ========================================= */
body{
  font-family: "Zen Kaku Gothic New", sans-serif;;
}
.blue{
  color:#02519b ;
}
.abc{font-family: "Poppins";}

/* =========================================
   ■ レスポンシブ
   ========================================= */

   /* 共通 */
   @media (min-width: 901px) {
    .pc_hide{display: none;}
   }
@media (max-width: 900px) {
  .sp_hide{display: none;}
  .content{
  margin-top: 40px;
  margin-bottom: 20px;
}
}


/* =========================================
   ■ Header
   ========================================= */

.header{
  width: 100%;
  background: #fff;
    padding: 30px;
    height: 100px;
  display: flex;
  align-items: center;
}

.header_inner{

  margin: 0 auto;
  display: flex;
  align-items: center;
    height: 50px;
    width: 1220px;

}

/* ---------- ロゴ ---------- */
.header_logo img{
  height: 48px;
  width: auto;
  display: block;
  margin-right: 10px;
}

.header_title h3,.header_title h2{margin: 0; padding: 0;}
.header h3{
  font-size: 1.4rem;
  font-weight: 600;

}
.header h2{font-size: 4rem; font-weight: 200;}
.header h2 .blue{font-weight: 700;}





/* ---------- ナビ ---------- */
.header_nav{
  margin-left: auto;
}

.nav_list{
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav_list a{
  font-size: 1.4rem;
  font-weight: 600;
    color:#02519b ;
  letter-spacing: 0.05em;
  position: relative;
  padding: 4px 0;
}

/* hover下線（控えめ） */
.nav_list a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #02519b;
  transition: width .25s ease;
}

.nav_list a:hover::after{
  width: 100%;
}

/* ---------- SP ---------- */
@media (max-width: 900px){
  .header_inner{
    padding: 12px 16px;
  }

  .header_logo img{
    height: 40px;
  }
}
.fv_section{
  margin: 0 30px;

}
.fv_outer{
    position: relative;        /* ← 必須 */
  overflow: hidden;          /* ← 必須（これが無いと丸角から出る） */

    height: 700px;
  background-image: url(../img/fv.jpeg);
    width: 100%;
  background-size: cover;      /* 画面いっぱいに拡大 */
  background-position: center; /* 中央基準 */
  background-repeat: no-repeat;
border-radius: 20px;

}

.fv_outer::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25); /* ← 0.3〜0.6で調整 */
  z-index: 1;
}

/* 中の文字を前に出す */
.fv_outer > *{
  position: relative;
  z-index: 2;
}


.fv_inner{
  position: relative;
  margin: 0 auto;
  max-width: 1100px;
}
.fv_section h2{
  font-size: 2rem;
}
.fv_section h1{
  font-size: 5.6rem;
  line-height: 1.2;
}
.fv_lead_t{
  gap: 10px;
  padding-top: 380px;
}
.fv_lead_t h1,.fv_lead_t h2,.fv_lead_t p{
  margin: 0;
}
.fv_lead_t p{
  margin-top: 10px;
}


.vertical_text h2{
  writing-mode: vertical-rl;      /* 縦書き・右から左 */
  text-orientation: mixed;        /* 日本語を自然な縦書きに */
  line-height: 2;
  letter-spacing: 0.2em;
  position: absolute;
  right: 0;
  top: 75px;
  color: white;
  font-size: 3.2rem;
}

/* ★ 行ごと背景のキモ ★ */
.vertical_text .line_bg{
  background: #02519b;            /* 背景色 */
  padding: 0.1em 0.1em;           /* 行ごとの余白 */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone; /* Safari対策 */
}

/* =========================================
   ■ セクション共通
   ========================================= */
  .content{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }
  .outer{
    position: relative;
    width: 1220px;
    margin: 0 auto;
  }
  .inner{
    width: 1100px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }
.bg_h2{
  color: #f4f4f4;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 10rem;
  z-index: 0;          /* -1にしない */
  pointer-events: none; /* クリック邪魔しない */
  margin: 0;
}
.inner h2,.inner h3{
  color: #02519b;
}
.inner h2{
  font-size: 3.2rem;
  margin: 90px 0 30px ;
    position: relative;
  z-index: 1; 
}
.big_t{
  font-size: 4.8rem;
  margin: 0;
}
.text_1{
  color: #383838;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 2;
}
.text_2{
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 2;
}

.text_3{
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
}
.text_l{
  font-size: 3.2rem;
    line-height: 1.8;

}
.text_1.blue{
  color: #02519b;
}
.text_1.white{
  color: white;
}
.abc.white{
  color: white;
}
.text_2.white{
  color: white;
}



/* =========================================
   ■ セクション1
   ========================================= */
#service{
  margin-top: 50px;
}
.section1 .left_box{
  max-width: 480px;
}
.right_box img{
  border-radius: 30px 0 0 200px;
  max-width: initial;
  height: 563px;
}
#service .big_t{
  margin-bottom: 30px;
}

.right_box{
  width: 50%;
}
/* =========================================
   ■ セクション2  schedule
   ========================================= */

.marker{
  height: 220px;
  position: relative;
  margin: 0;
  margin-right: 40px;
}

/* 点 */
.marker::before{
  content:"";
  position:absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  background: #02519b;
  border-radius: 50%;

/* 半径約40pxに収まるぼかし */
box-shadow:
  0 0 14px 8px rgba(2,81,155,.35),
  0 0 26px 14px rgba(2,81,155,.25);

}


/* 点 */
.point_marker::before{
  content:"";
  position:absolute;
  left: 0;
  top: 8px;
  transform: translateX(100%);
  width: 9px;
  height: 9px;
  background: #02519b;
  border-radius: 50%;

/* 半径約40pxに収まるぼかし */
box-shadow:
  0 0 14px 8px rgba(2,81,155,.35),
  0 0 26px 14px rgba(2,81,155,.25);

}
.point_marker{
  padding-left: 50px;
  padding-bottom: 15px;
}


/* 縦ライン */
.marker::after{
  content:"";
  position:absolute;
  left: 50%;
  top: calc(30px + 9px + 35px); /* 点の下＋距離35px */
  transform: translateX(-50%);
  width: 3px;
  height: 100px;
  background: #02519b;
}

#schedule ul{
  margin-top: 45px;
  gap :40px;
}

#schedule .left_box{
  margin-left: 125px;

}

#schedule .text_box{
  margin-top: 25px;
}

#schedule  .text_l{
  margin-top: 5px;
  line-height: 2;
}
#schedule ul li img{
  width: 300px;
  height: 220px;
  border-radius: 20px;
    object-fit: cover;

}
#schedule ul{gap :40px;}

#schedule li{height: 220px;}
#schedule .left_box .abc{
  font-weight: 600;
}

/* =========================================
   ■ セクション3  point
   ========================================= */
  #point{
    background-color: #e9f4ff;
    padding-top: 45px;
    margin-top: 80px;
    padding-bottom: 80px;

  }
  #point .bg_h2{color: white;}

  #point h4{
  position: relative;          /* 疑似要素の基準 */
  padding-left: 60px;          /* 点ぶんの余白 */
  margin-bottom: 20px;
}


#point .text_l{
  margin-bottom: 20px;
}
#point .left_box{
  max-width: 430px;
  position: relative;
}
#point .right_box{
    width: 462px;

}
#point ul li img{
  width: 462px;
  height: 339px;
  border-radius: 20px;
    object-fit: cover;
    position: relative;
    z-index: 1;

}
#point ul{
  gap: 50px;
  padding-top: 30px;
}
#point li {
  height: 339px;
}

#point .left_box .abc{
  font-weight: 600;
}


/* =========================================
   ■ セクション4  staff
   ========================================= */
#staff{
  margin-bottom: 70px;
  margin-top: 45px;
}

#staff ul li img{
  width: 250px;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 20px;
}
#staff ul{
  margin-top: 40px;
}

#staff li{
  width: 250px;
}
#staff p.text_1{
  line-height:1.8 ;
  font-weight: 600;
  margin-bottom: 15px;
}

/* =========================================
   ■ セクション5  plan
   ========================================= */

#plan{
  margin-bottom:80px ;
}

/* テーブル全体 */
#plan .plan_table_wrap{
  margin-top: 20px;
}

/* テーブル */
#plan .plan_table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* ヘッダー行 */
#plan .plan_table thead th{
  background: #02519b;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 18px 10px;
  border-right: 1px solid rgba(255,255,255,.3);
}
#plan .plan_table thead th:last-child{
  border-right: none;
}

/* ボディ */
#plan .plan_table tbody th,
#plan .plan_table tbody td{
  padding: 22px 10px;
  text-align: center;
  border-right: 1px solid #fff;
  border-top: 1px solid #fff;
  background: #e9f4ff; /* 薄い水色 */
}

#plan .plan_table tbody th{
  color: #02519b;
  font-weight: 700;
}

#plan .plan_table tbody td{
  color: #383838;
  font-weight: 600;
}

#plan .plan_table tbody tr:nth-child(even) th,
#plan .plan_table tbody tr:nth-child(even) td{
  background: #d9eafb; /* 交互に少し濃く */
}

#plan .plan_table tbody td:last-child,
#plan .plan_table tbody th:last-child{
  border-right: none;
}

/* ===== 各ボックスの高さを 53px に固定 ===== */

/* ヘッダー */
#plan .plan_table thead th{
  height: 53px;
  padding: 0;                 /* 高さ固定のためpaddingを消す */
  line-height: 53px;          /* 縦中央揃え */
}

/* ボディ（th / td 共通） */
#plan .plan_table tbody th,
#plan .plan_table tbody td{
  height: 53px;
  padding: 0;                 /* 高さ固定 */
  line-height: 53px;          /* 縦中央揃え */
}


/* スマホ：横スクロール許可（崩れ防止） */
@media (max-width: 700px){
  #plan .plan_table_wrap{
    overflow-x: auto;
  }
  #plan .plan_table{
    min-width: 680px;
  }
}


/* =========================================
   ■ セクション6  faq
   ========================================= */



/* ===== FAQ（スムーズ開閉・最終版） ===== */

#faq ul{
  gap: 40px;
  margin-bottom: 80px;
  margin-top:20px ;
}

/* 1アイテム */
#faq .faq_item{
  background: #eaf4ff;
  border-radius: 16px;
  overflow: hidden;
}

/* ---------- Q ---------- */
#faq .faq_q{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
}

#faq .faq_q_icon{
  font-size: 3rem;
  font-weight: 700;
  color: #02519b;
}

#faq .faq_q_text{
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #02519b;
  flex: 1;
  margin-left: 10px;
}

/* ＋（回転で×に） */
#faq .faq_toggle{
  display: inline-block;
  font-size: 2.4rem;
  font-weight: 700;
  color: #02519b;
  transition: transform .3s ease;
}

/* ---------- A ---------- */
#faq .faq_a{
  display: flex;
  align-items: flex-start;
  gap: 12px;

  background: #fff;
  margin: 0 24px;
  border-radius: 12px;

  max-height: 0;
  opacity: 0;
  padding: 0 24px;
  overflow: hidden;

  transition:
    max-height .4s ease,
    opacity .3s ease,
    padding .3s ease;
}

/* 開いた状態 */
#faq .faq_item.is-open .faq_a{
  margin: 0 30px;
  max-height: 500px;
  opacity: 1;
  padding: 30px;
  margin-bottom: 20px;
}

/* ＋ → × */
#faq .faq_item.is-open .faq_toggle{
  transform: rotate(45deg);
}

/* Aアイコン */
#faq .faq_a_icon{
  font-size: 3rem;
  font-weight: 700;
  color: #02519b;
    line-height: 1;      /* 余白を消す */
  margin-top: 2px;     /* 微調整（0〜4pxで好み） */
  flex-shrink: 0;      /* 潰れ防止 */

}

/* Aテキスト */
#faq .faq_a_text{
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #02519b;
  margin-left: 15px;
}

/* SP */
@media (max-width: 600px){
  #faq .faq_q{
    padding: 16px 18px;
  }

  #faq .faq_a{
    margin: 0 18px;
  }

  #faq .faq_item.is-open .faq_a{
    padding: 18px;
    margin-bottom: 18px;
  }
}


/* =========================================
   ■ セクション7  access
   ========================================= */

#access{
  background-color: #02519b;
  padding-bottom: 80px;
  padding-top:45px ;
}
#access .bg_h2{
  color:#0163be ;
}
#access .inner h2{
  color: white;
}

#access .access_wrap .text_1{
  color: white;
}


/* =========================
   ACCESS
   ========================= */

.access_outer {
  background: #02519b; /* メインの青 */
  border-radius: 0;
  position: relative;
  overflow: hidden;
  padding: 56px 0 44px;
}

/* 右上の薄い大きいロゴっぽい装飾（不要なら削除OK） */


.access_inner {
  position: relative;
  z-index: 1;
}

/* 日本語見出し */
.access_jp {
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.06em;
  margin: 0 0 18px;
}

/* 上段レイアウト */
.access_wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

/* 左：タブ */
.access_tabs {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0;
  border-bottom: 1px solid  #fff;
  margin-bottom: 0;
  padding-bottom: 15px;
}
.access_tabs span:first-child {
  margin-right: 20px;
}
.access_tabs_mid{
  margin-left: 20px;
}
.access_info{
  width: 530px;
}
/* 左：DL */
.access_dl {
  margin: 0;
  padding: 0;
}
.access_row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #fff;
}
.access_row dt {
  margin: 0;
  color:  #fff;
  font-weight: 700;
  font-size:  1.6rem;
  letter-spacing: 0.04em;
  align-self: center;
}
.access_row dd {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.7;
}
.access_row .zip {
  font-weight: 700;
}

/* 右：マップ */
.access_map {
  width: 530px;
  height: 340px;
  background: #fff;
  border-radius: 20px; /* ★指定どおり */
  overflow: hidden;    /* 角丸をiframeに効かせる */
}
.access_map iframe{
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

/* ボタン */
.access_btns {
  display: flex;
  justify-content: center;
  margin: 50px 0 30px;
}
.access_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 50px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: #0b5fa7;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* 下段ギャラリー（横並び） */
.access_gallery {
  display: flex;
  justify-content: center;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 17px;
  align-items: stretch;
}

/* カード */
.access_card {
  background: #f3f3f3;
  border-radius: 18px;
  width: 262px;
  height: 204px;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: #0b5fa7;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}
.access_card_img img {
  width: 262px;
  height: 204px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px) {
  .access_wrap {
    grid-template-columns: 1fr;
  }
  .access_gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .access_card {
    height: 140px;
  }
}

@media (max-width: 520px) {
  .access_outer {
    padding: 42px 0 36px;
  }
  .access_row {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }
  .access_gallery {
    grid-template-columns: 1fr;
  }
}

/* =========================
   contact
   ========================= */
#contact{
  margin: 45px auto 80px;
}


.contact_btn{
  width: 530px;
  height: 133px;
  border-radius: 30px 30px 0 30px;
  align-items: center;
  justify-content: center;
  position: relative;
    pointer-events: none;
}


.tel_btn{
  background-color: #02519b;

}

.line_btn{
  background-color: #58b30e;

}
.btn_box{
  margin-top: 50px;
}
#contact .inner h3{
  color: white;
  font-size: 4rem;
  font-weight: 600;
}
#contact .contact_btn h3,#contact .contact_btn h4,#contact .contact_btn p{
  margin: 0;
  padding: 0;
  line-height: 1;
}
#contact h3.tel{
  padding:7px 0 ;
    position: relative;

}
.tel::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: url("../img/tel_icon.png") no-repeat center / contain;
}
.line_icon{
  width: 34px;
  height: 26px;
}
.line_btn_box{
  align-items: center;
  height: 60px;
}
.arrow_icon{
  position: absolute;
  bottom: 15px;
  right: 15px;
}
/* =========================
   footer 
   ========================= */
.footer{
  background-color: #02519b;
  height: 277px;
  border-radius: 30px 30px 0 0 ;
  overflow: hidden;
}
#footer .inner{
  padding-top: 80px;
}
.logo_title{
  height: 50px;
}
#footer .header_title{
  margin-left: 15px;
}
.header_title h2{
  font-style: italic;
  font-size: 4rem;
}
.header_title h3,.header_title h2{
  line-height: 1;
  margin: 0;
}
#footer .inner h3{
  color: white;
  font-size: 1.4rem;
  font-weight: 400;
}
.header_title .hosoji{
  font-weight: 300;
}

.footer_arrow_circle{
  background-color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  display: flex;
}
.footer_arrow_circle img{
  height: 7px;
  width: 7px;
}
.footer_nav a{
  align-items: center;
  width: 180px;

}
.footer_nav a p{
  line-height: 1;
}
.footer_nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  column-gap: 32px;        /* 横だけ gap */
  row-gap: 0;              /* 縦 gap は使わない */
  height: 50px;           /* ← 2行分の高さ（要調整） */
  align-content: space-between; /* 縦を space-between */
}
.footer_topbox{
  margin-bottom: 30px;
}
.company_box{
  height: 40px;
}
.company_text p{
  line-height: 1;
}
.company_box_t{
  display: flex;
  height: 100%;
  border: solid 1px #fff;
  line-height: 1;
  align-items: center;
  margin: 0 ;
  padding: 10px;
  margin-right: 15px;
}
.footer_fin{
  gap: 30px;
  align-items: center;
}
.fin_2{
  letter-spacing: 0.2em;}
.bg_obj{
  position: absolute;
  z-index: -1;
}
#service .bg_obj{
  top: -300px;
  right: -400px;
}
#schedule .bg_obj{
  top: -400px;
  left: -450px;

}
#staff .bg_obj{
  top: -150px;
  right: -380px;
}
#plan .bg_obj{
  top: -400px;
  left: -500px;

}
#point .outer{
  position: relative;
}

.logo_bg{
  top: -75px;
  right: -120px;
  z-index: 0;
  width: 446px;
  height: 359px;
}
#access .logo_bg{
  top: -25px;

}

#point,#access{
  overflow: hidden;
}

#access .outer{
  position: relative;
}
.access_map{
  position: relative;
  z-index: 1;
}
.hed_line_icon{
  width: 22px;
  height: 17px;
}
.hed_arrow_icon{
  width: 20px;
  height: 20px;
}

.fv_inner{
  position: relative;
}


.cta-badge{
  position: absolute;
  right: 0;
  bottom: 0;
    width: 220px;   /* 好きに */
  height: 220px;  /* 好きに */
    transform: translateX(45px);

  
}

/* 円周文字 */
.ring{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ring-text{
  font-size: 1.2rem;          /* 文字サイズ */
  letter-spacing: 3.3px;      /* 文字間 */
  fill: #02519b;            /* 文字色 */
}


.cta-center{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: #02519b;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  line-height: 1.7;
  font-weight: 700;
}
.ring-text .abc{
  font-weight: 600;
}

/* ホバーやクリックが円周文字に邪魔されないように */
.ring{ pointer-events: none; }

.ring-text{
  transform-origin: 50% 50%;
  animation: rotateText 20s linear infinite;
}

@keyframes rotateText{
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}
/* 円リンク（SVGを包むaタグ）を円全体に広げる */
.cta-ring-link{
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 50%;
  z-index: 1;              /* 中央ボタンより下 */
}

/* SVGはクリックを邪魔しない（既に .ring にあるのでOK） */
.cta-ring-link svg,
.cta-ring-link text,
.cta-ring-link textPath{
  pointer-events: none;
}

/* 中央ボタンは最前面 */
.cta-center{
  z-index: 2;
}
.cta-badge{ z-index: 999; }




/* =========================================================
   ▼ 追記用レスポンシブCSS（既存CSSの一番下に貼る）
   ※ 大きい幅 → 小さい幅 の順に整理
   ========================================================= */

/* 画像・iframeのはみ出し保険（既存にもあるが念のため） */
img{ max-width:100%; height:auto; }
iframe{ max-width:100%; }

/* =========================================================
   1280px以下：FV
   ========================================================= */
@media (max-width: 1280px){
  .fv_outer{
    padding: 0 30px;
  }
  .bg_h2{
    padding-left: 10px;
  }
}

/* =========================================================
   1200px以下：outer/inner・schedule・画像高さなど
   ========================================================= */
@media (max-width: 1200px){
  .outer{
    width: 100%;
    padding: 0 30px;
  }
  .inner{
    padding: 0 30px;
    width: 100%;
  }

  .right_box img{
    height: 450px;
  }

  #schedule li{
    width: 100%;
  }
  #schedule ul li img{
    min-width: 300px;
    margin-left: 15px;
  }
  #schedule .left_box{
    margin-left: 20px;
  }
.access_map{
  width: 100%;
}
}

/* =========================================================
   1160px以下：ヘッダー（ナビ折返し）
   ========================================================= */
@media (max-width: 1160px){


  .nav_list{
    flex-wrap: wrap;
    row-gap: 10px;          /* 2行の縦間隔 */
    column-gap: 22px;       /* 横間隔（既存gap:28pxより少し詰めたいなら） */
    max-width: 450px;       /* ★2行にしたいので幅を制限（値は調整OK） */
  }

  .nav_list li{
    flex: 0 0 auto;         /* 余計に伸びない */
    white-space: nowrap;    /* 文言が折れない */
  }
  #staff li {
    width: 22%;
  }
}

/* =========================================================
   1060px以下：文字サイズ・画像高さ・非表示
   ========================================================= */
@media (max-width: 1060px){
  .big_t{
    font-size: 3.2rem;
  }
  .right_box img{
    height: 380px;
  }
  .hide_1060{
    display: none;
  }
  #point .right_box,#point ul li img{
    width: 370px;
    height: auto;
  }
  .footer_topbox{
    flex-direction: column;
  }
.footer_nav{
  margin-top: 30px;
}



}

/* =========================================================
   960px以下：FV（cta-badge位置調整）
   ========================================================= */
@media (max-width: 960px){
  .cta-badge{
    right: 0;
    bottom: -50px;
  }


}

/* =========================================================
   950px以下：ヘッダー（padding調整）
   ========================================================= */

/* =========================================================
   900px以下：メイン調整（スマホ/タブレット）
   ========================================================= */
@media (max-width: 900px){

  /* ----- Header：固定幅→100%化（header_innerが1220px固定なので上書き） ----- */
  .header{
    height: auto;
    padding: 16px;
    align-items: flex-start;
  }
  .header_inner{
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 0;
  }

  .header_logo{
    flex: 0 0 auto;
  }
  .header_title{
    flex: 1 1 auto;
    min-width: 180px;
  }
  .header_nav{
    padding-right: 0px;
    max-width: 350px;
  }

  .hed_cta{
    position: absolute;
    top: 16px;
    right: 12px;
  }
  .hed_cta a{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 54px;
    background-color: #58b30e;
    border-radius: 10px;
  }
  .cta_box{
    display: flex;
        flex-direction: row;
    gap: 20px;
    align-items: center;
    text-align: center;
    line-height: 1;
  }
  .cta_box p{
    line-height: 1.2;
    padding-top: 2px;
    padding-bottom: 5px;
  }
  .hed_line_icon{
    margin-top: 3px;
    width: 22px;
    height: 17px;
  }
  .hed_arrow_icon{
    width: 20px;
    height: 20px;
  }

  /* ----- FV：外側余白/高さ固定の解除 + 文字サイズ調整 ----- */
  .fv_section{
    margin: 0 12px;
  }
  .fv_outer{
    height: auto;
    min-height: 560px;
    border-radius: 16px;
  }
  .fv_inner{
    max-width: 100%;
    padding: 0 16px;
  }
  .fv_section h1{
    font-size: 3.4rem;
  }
  .fv_section h2{
    font-size: 1.6rem;
  }
  .fv_lead_t{
    padding-top: 260px;
  }

  .vertical_text h2{
    font-size: 2.4rem;
    top: 30px;
    right: 6px;
    line-height: 1.8;
  }

  .cta-badge{
    width: 180px;
    height: 180px;
    transform: translateX(0);
    right: 10px;
    bottom: 10px;
  }
  .cta-center{
    width: 110px;
    height: 110px;
  }

  /* ----- 共通：outer/inner 固定幅を100%へ ----- */
  .outer{
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .inner{
    width: 100%;
  }

  .bg_h2{
    font-size: 6.2rem;
  }
  .big_t{
    font-size: 3.2rem;
  }
  .text_2{
    font-size: 1.8rem;
  }
  .text_l{
    font-size: 2.4rem;
  }

  /* ----- service：2カラム→縦積み ----- */
  #service .flex_row.s_b{
    flex-direction: column;
    gap: 16px;
  }
  .section1 .left_box{
    max-width: none;
  }
  .right_box{
    width: 100%;
  }
  .right_box img{
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
    object-fit: cover;
    height: 300px;
  }

  /* ----- schedule ----- */
  #schedule li{
    height: auto;
  }
  #schedule .left_box{
    margin-left: 0;
  }
  #schedule ul{
    gap: 22px;
  }
  #schedule ul li .flex_row.s_b{
    flex-direction: column;
    gap: 12px;
  }

  .marker{
    height: auto;
    margin-right: 25px;
    padding-left: 35px;
  }
  .marker::after{
    content:"";
    position:absolute;
    left: 50%;
    top: calc(30px + 9px + 12px + 10px);
    bottom: 5px;
    transform: translateX(-50%);
    width: 3px;
    height: auto;
    background: #02519b;
  }

  #schedule ul li img{
    max-width: 300px;
    min-width: 250px;
    height: auto;
  }

  /* ----- point ----- */
  #point li{
    height: auto;
  }
  #point ul{
    gap: 26px;
  }
  #point .s_b{
    flex-direction: column;
    gap: 14px;
  }
  #point .left_box{
    max-width: none;
  }
  #point .right_box{
    width: 400px;
    height: auto;
  }
  #point ul li img{
    width: 100%;
    height: 220px;
  }

  .logo_bg{
    right: -0;
    width: 160px;
    height: auto;
  }
  #access .logo_bg{
    top: -70px;
    right: -50px;
  }


  /* ----- plan ----- */
  #plan .plan_table thead th,
  #plan .plan_table tbody th,
  #plan .plan_table tbody td{
    line-height: 1.4;
  }

  /* ----- access ----- */
  .access_info{
    width: 100%;
  }
  .access_map{
    width: 100%;
    height: 260px;
  }

  .access_gallery{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .access_card{
    width: 100%;
    height: 160px;
  }
  .access_card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .access_card_img img{
    width: 100%;
    height: 100%;
    border-radius: 18px;
  }

  /* ----- contact ----- */
  .btn_box{
    flex-direction: column;
    gap: 12px;
  }
  .contact_btn{
    width: 100%;
    height: 110px;
    border-radius: 18px;
  }
  #contact .inner h3{
    font-size: 3.2rem;
  }
  .tel::before{
    left: -28px;
    width: 24px;
    height: 24px;
  }

  /* ----- footer ----- */
  .footer{
    height: auto;
    padding-bottom: 20px;
  }
  #footer .inner{
    padding-top: 40px;
  }
  .footer_topbox,
  .footer_botbox{
    flex-direction: column;
    gap: 40px;
  }
  .footer_nav{
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    row-gap: 10px;
    align-content: start;
  }
  .footer_nav a{
    width: 100%;
  }
  .footer_fin{
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .company_box_t{
    min-width: 78px;
  }
  .footer_topbox{
    margin-bottom: 40px;
  }
}

/* =========================================================
   700px以下：ヘッダーナビ非表示
   ========================================================= */
@media (max-width: 700px){

  .cta-badge{
    right: -20px;
    bottom: -100px;
  }
  .contact_btn{
    pointer-events: auto;
  } 
}

/* =========================================================
   600px以下：最小スマホ
   ========================================================= */
@media (max-width: 600px){
.inner{
  padding: 0 14px;
}

  .hed_cta{
    position: fixed;          /* ★画面に追従 */
    top: auto;
    right: 50%;
    bottom: 12px;             /* 画面下からの距離 */
    transform: translateX(50%);
    z-index: 999;             /* 他要素より前面に */
    width: calc(100% - 24px); /* 左右12pxずつ余白 */
    display: flex;
    justify-content: center;
  }
    .hed_cta a{ 
      margin: 0 auto;
      width: 90%;
    }


  .fv_outer{
    min-height: 520px;
    padding: 0;
  }
  .fv_lead_t{
    padding-top: 240px;
  }

  .cta-badge{
    width: 160px;
    height: 160px;
    right: -10px;
    bottom: -90px;
  }
  .cta-center{
    width: 100px;
    height: 100px;
  }


  .access_gallery{
    grid-template-columns: 1fr;
  }

  .bg_h2{
    font-size: 5.2rem;
  }

  .big_t{
    font-size: 2.6rem;
  }

.access_row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #fff;
}

.fv_section h1{
  font-size: 2.8rem;
}


}

@media (max-width: 520px){
  .cta-badge{
    top: 80px;
    right: 80px;
  }

}

/* =========================================================
   480px以下：最小スマホ
   ========================================================= */

@media (max-width: 480px){

  .right_box img{
    height: 200px;
  }
  #point .right_box {
        width: 270px;
        height: auto;
    }
#faq .faq_item.is-open .faq_a{
  flex-direction: column;
}
  .footer_nav{
    grid-template-columns: 1fr; /* 1列 */
    row-gap: 12px;              /* 縦の間隔（好みで調整） */
    column-gap: 0;
    height: auto;
    align-content: start;
  }

    .access_tabs {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    row-gap: 6px;
  }

  .access_tabs span:first-child {
    grid-row: 1 / span 2; /* 左に固定 */
    margin-right: 0;
  }

  .access_tabs span:nth-child(2),
  .access_tabs span:nth-child(3) {
    grid-column: 2; /* 常に2列目から */
  }
.fv_lead_t p{
  font-size: 1.4rem;
}



}

@media (max-width: 420px){
  .fv_section h1{
    font-size: 2.4rem;
  }
}


/* =========================================================
   400px以下：最小スマホ
   ========================================================= */

@media (max-width: 400px){
#schedule ul li img{
  width: 250px;
}
.hide_400{
  display: none;
}

    #contact .inner h3 {
        font-size: 2.8rem;
    }
.contact_btn .text_2{
  font-size: 1.6rem;
}
.contact_btn .text_3{
  font-size: 1.2rem;
}
.arrow_icon {
    bottom: 10px;
    right: 10px;
}


}


@media (min-width: 400px){
.hide_401{
  display: none;
}
}

@media (max-width: 366px){
  .hide_366{
    display: none;
  }
}

/* ===============================
   SPメニュー：右から出る（全画面）
================================ */

/* ===== 共通：非表示 ===== */
.sp_nav,
.sp_nav_overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* ===== オーバーレイ ===== */
.sp_nav_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

/* ===== SPナビ本体（全画面・右から） ===== */
.sp_nav {
  position: fixed;
  inset: 0;                 /* ← 画面いっぱい */
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1000;

  /* 右から出す */
  transform: translateX(100%);
  transition: transform 0.25s ease, opacity 0.25s ease;

  padding: 24px;

  /* 中身レイアウト（任意） */
  display: flex;
  flex-direction: column;
}

/* ===== 開いている状態 ===== */
.sp_nav.active,
.sp_nav_overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sp_nav.active {
  transform: translateX(0);
}

/* ===== 閉じるボタン ===== */
.sp_nav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 32px;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ===== ナビリスト ===== */
.sp_nav .nav_list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  margin: 0;
  padding: 0;
}

.sp_nav .nav_list a {
  font-size: 2rem;
  font-weight: 600;
}

/* ===== ハンバーガー ===== */
.hamburger {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #000;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }

.hamburger.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ===== 背景スクロール抑止 ===== */
html.is-menu-open,
body.is-menu-open {
  overflow: hidden;
}
.hamburger_logo{
  align-items: center;
}
.pc_hide .nav_list{
align-items: flex-start;
}
.pc_hide .nav_list{
  margin-top: 80px;
}
.pc_hide .bg_obj{
  right: -120px;
  width: 300px;
}
.pc_hide .bg_obj.bg_obj2{
  bottom: 0px ;
  left: -200px;
  width: 500px;
}


.hamburger_cta{
  width: 90%;
  height: 80px;
  border-radius: 10px;
  background-color: #02519b;
  align-items: center;
  margin: 0 auto;
  margin-top: 80px;
}
.hamburger_cta img{
  width: 24px;
  height: 24px;
  margin-left: 15px;
}
.hamburger_cta a{
  align-items: center;
  margin: 0 auto;
}

.js-fadeUp {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-fadeUp.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 350px){
  .header h3 {
    font-size: 1.2rem;}
      .header h2 {
    font-size: 3.2rem;}

    .header_inner{
      gap: 0;
    }
}



/* =========================================================
   SPだけ：横スクロール（スライダー風）
   - Swiper不要 / JS不要
========================================================= */
@media (max-width: 1200px){

  /* 外枠はレイアウト用（スクロールしない） */
  .slider_box{
    position: relative;
  }

  /* スクロールするのは ul */
  .slider_box .s_b{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;

    padding: 0 16px 22px;

    /* ここが大事：横スワイプを ul 全面で拾う */
    touch-action: pan-x;

    /* iOSでドラッグが途切れる系の保険 */
    overscroll-behavior-x: contain;
  }

  .slider_box .s_b::-webkit-scrollbar{ display:none; }

  .slider_box .s_b > li{
    flex: 0 0 50%;
    scroll-snap-align: start;
    min-width: 300px; /* #staff li じゃなくこっち推奨 */
  }

  .swipe-bar{
    position: sticky;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: 10px;
    height: 4px;
    border-radius: 999px;
    background: rgba(2, 81, 155, 0.18);
    pointer-events: none;
  }

  .swipe-bar__thumb{
    display: block;
    height: 100%;
    width: 28%;
    border-radius: 999px;
    background: #02519b;
    transform: translateX(0);
  }
}



.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1002;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 2.5s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.loading__logo {
  opacity: 0;
  animation: logo_fade 2s 0.5s forwards;
  width: 175px;
}

@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  60% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
  }
}

.bg_obj,
.bg_obj *{
  pointer-events: none;
}
