/* ============================================
   SEED Systems - SP Stylesheet  max-width: 750px
   ============================================ */
   @media (max-width: 768px) {

  body { display: block; }

  /* SIDEBAR 非表示 */
  .sidebar { display: none !important; }
  .hide-sp{
    display: none;
  }
  /* ========== SP HEADER ========== */
  .sp-header {
    display: grid;
    grid-template-columns: 2fr 1fr .5fr;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 2000;
    height: 56px;
    background: #001E46;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
  }
  .sp-header-logo img { 
    height: auto;
    display: block; 
    width: 17%;
    object-fit: contain;
  }
  .sp_header_logo_text{
    width: 80%!important;
    object-fit: contain;
    margin-left: 10px;
  }
  .sp-hamburger {
    width: 44px; height: 44px;
    background: #001E46;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 5px; flex-shrink: 0;
    -webkit-appearance: none;
  }
  .sp-hamburger span {
    display: block; width: 22px; height: 2px;
    background: #fff; border-radius: 2px;
    transition: all 0.3s;
  }
  .sp-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .sp-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .sp-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ========== SP DRAWER ========== */
  .sp-drawer {
    display: block !important;
    position: fixed;
    top: 56px; left: 0; right: 0; bottom: 0;
    background: #001E46;
    z-index: 1900;
    overflow-y: auto;
    padding: 24px 20px 40px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .sp-drawer.is-open { transform: translateX(0); }

  .sp-drawer .sidebar-nav { list-style: none; margin-bottom: 30px; }
  .sp-drawer .sidebar-nav li { width: 100%; margin: 0 0 2px; }
  .sp-drawer .sidebar-nav a {
    display: block; padding: 20px 0 10px;
    border-bottom: 1px solid #fff; text-decoration: none;
  }
  .sp-drawer .sidebar-nav a .nav-jp {
    font-size: 18px; font-weight: 500; color: #fff; display: block;
  }
  .sp-drawer .sidebar-nav a .nav-en {
    font-family: 'Montserrat', sans-serif; font-size: 10px;
    color: #FF6C00; display: block; margin-top: 2px; letter-spacing: 1px;
  }
  .sp-drawer .sidebar-nav a:hover .nav-jp,
  .sp-drawer .sidebar-nav a.active .nav-jp { color: #FF6C00; }

  .sp-drawer .sidebar-btn { margin: 30px 0 50px; }
  
  .sp-drawer .sidebar-btn .btn-icon {
    width: 60%
  }
  .sp-drawer .sidebar-btn .btn-text {
    font-size: 13px; color: #696969; line-height: 1.4; text-align: center;
  }
  .sp-drawer .sidebar-partner { margin-top: 30px; padding-top: 12px; }
  .sp-drawer .sidebar-partner-badge { width: auto; margin: 0; justify-content: center;}
  .sp-drawer .sidebar-partner-badge img { width: 100%; height: auto; }
  .sp-drawer .sidebar-copy { font-size: 13px; color: #fff; margin: 24px 0 0; width: 100%; text-align: center;}

  /* ========== MAIN ========== */
  .main {
    margin-left: 0;
    padding-top: 56px;
    /* background-image:
      linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
      linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
    background-size: 16px 16px; */
  }

  /* HERO */
  .hero { height: 100vh; height: auto; background-color: unset;}
  .hero video{position: relative; height: 100vh;}
  .scrolldown1 { left: 50%; bottom: 100px; }

/* 
  .slider .slick-list { padding-right: 18% !important; margin-left: -8px !important; }
  .case-card { margin: 0 6px; }
  .case-card-img { padding: 6px 6px 0; }
  .case-card-body { padding: 8px 10px 10px; }
  .case-card-title { font-size: 13px; margin-bottom: 6px; }
  .case-card-link { font-size: 12px; margin: 12px auto 10px; width: 80%; padding: 6px; }
  .slick-prev { display: none !important; }
  .slick-next { bottom: -20% !important; width: 20% !important; } */

  /* CONTACT CTA */
  /* .contact-cta { padding: 36px 20px; }
  .contact-cta > p { font-size: 15px; line-height: 1.7; margin-bottom: 18px; }
  .contact-cta-box {
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 22px 18px; max-width: 100%;
  }
  .contact-tel { gap: 10px;justify-content: center; }
  .contact-tel-icon { width: 36px; height: 36px; flex-shrink: 0; }
  .contact-tel-number { font-size: 32px; }
  .contact-tel-hours { font-size: 11px; }
  .contact-cta-box .btn-primary {
    width: 100%; font-size: 14px; padding: 14px 18px;
    white-space: normal;justify-content: space-evenly;
  } */

  /* FOOTER */
  footer { padding: 36px 20px 28px; }
  .footer-grid { display: block; gap: 0; margin-bottom: 0; }
  .footer-logo { justify-content: center; margin-bottom: unset;flex-direction: column; margin: 50px 0;}
  .footer-logo img { width: 75px; margin: 0 0 30px 0;}
  .footer-col { margin-bottom: 22px; }
  .footer-col h4 { font-size: 12px; margin-bottom: 10px; }
  .footer-col ul li a { font-size: 12px; }
  .footer-sp_col{display: flex; gap: 0px;}
  .footer-sp_col .footer-col { width: 50%; }
  /* PAGE HERO（下層ページ） */
  .page-hero { min-height: auto; padding: 0; }
  .page-hero img { width: 100%; height: auto; }
  .footer-p {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
}
  /* ABOUT SECTION */
  /* .about-section { padding: 36px 20px 28px; }
  .section-label.fs60 { font-size: 38px !important; margin-bottom: 28px; }
  .about-content { display: block !important; grid-template-columns: none !important; }
  .about-message-label { font-size: 20px; margin-bottom: 12px; }
  .about-text { font-size: 14px; line-height: 1.9; margin-bottom: 14px; }
  .about-image { width: 100%; margin-top: 22px; }
  .about-image img { width: 100%; border-radius: 4px; } */

  /* OUTLINE TABLE */
  /* .outline-section { padding: 36px 20px 28px; }
  .outline-table th {
    width: 90px; font-size: 13px;
    padding: 14px 8px 14px 0;
    white-space: normal; text-align: left !important;
  }
  .outline-table td { font-size: 13px; padding: 14px 0 14px 10px; line-height: 1.7; } */

  /* ACCESS */
  /* .access-section { padding: 36px 20px 28px; }
  .access-notice { font-size: 13px; margin-bottom: 16px; line-height: 1.7; }
  .access-map { height: 240px; border-radius: 4px; margin-bottom: 16px; }
  .access-legend { flex-direction: column; gap: 10px; }
  .access-legend-item { font-size: 13px; }
  .access-legend-item img { width: 18px !important; } */

  /* PRIVACY POLICY */
  /* .pp_content { padding: 28px 20px 40px; margin-bottom: 40px; }
  .pp_content_detail { margin-bottom: 36px; }
  .pp_content ol { margin-left: 20px; font-size: 14px; }
  .pp_content ol li { margin-bottom: 16px; line-height: 1.9; }
  .aim_note { font-size: 14px; margin-bottom: 20px; line-height: 1.9; }
  .aim ol li { margin-bottom: 20px; }
  .aim ul li { font-size: 13px; line-height: 1.7; } */

  /* CONTACT DETAIL */
  /* .contact_detail { padding: 0 20px 40px; } */



/* ============================================
   書道・印・三味線・茶道　共通 
   ============================================ */

.upper_layer_experience h2 {
  font-size: 28px;
  line-height: 2.5rem;
}
.upper_layer_experience h2 .sub_title {
  font-size: 16px;
}
.upper_layer_experience h2 .zen_sub_title {
  font-size: 14px;
}
.upper_layer_experience .title_aria p {
  margin-left: 10px;
}
.top_title {
  width: 20%;
  top: -100px;
  right: 30px;
}
.top_reservation_btn{
  display: none;
}
.upper_layer_experience {
  margin: 0 10% 20px;
}
.slick-list {
  margin-left: -10px !important;
}
.upper_layer {
  margin-bottom: 100px;
}

hr{
  width: 100%;
}
.instructor_inner {
  margin: 0 10% 100px;
}
.instructor_inner {
  flex-direction: column;
}
.instructor_inner_right {
  width: 100%;
  margin: 50px auto;
}
/* ========== Plan セクション ========== */
   .plan {
    flex-direction: column;
    margin: 0 10% 100px;
  }

  .plan_label {
    width: 100%;
    justify-content: flex-start;
    padding: 20px 0 10px 20px;
  }

  .plan_label span {
    writing-mode: horizontal-tb;   /* スマホでは横書き */
    font-size: 48px;
  }

  .plan_body {
    padding: 20px 20px;
  }

  .plan_title {
    font-size: 22px;
  }

  .plan_info {
    flex-direction: column;
    align-items: unset;
    gap: 10px;
  }

  .plan_info_item span {
    font-size: 24px;
  }

  .plan_note,
  .plan_text {
    font-size: 14px;
  }
  .plan_line {
    margin: 20px 0;
}
/* ========== Flow セクション ========== */
   .flow {
    flex-direction: column;
    margin: 0 10% 100px;
  }
  .flow_inner {
    display: block;
  }
  .flow_label {
    width: 100%;
    justify-content: flex-start;
    padding: 20px 0 10px 20px;
  }

  .flow_label span {
    writing-mode: horizontal-tb;   /* スマホでは横書き */
    font-size: 48px;
  }

  .flow_body {
    padding: 30px 20px 20px;
  }

  /* スマホでは縦線を消す */
  .flow_body::before {
    display: none;
  }

  /* 画像とテキストを縦並びに */
  .flow_step {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 50px;
  }

  .flow_image {
    width: 100%;
    max-width: none;
  }

  .flow_text {
    padding-top: 0;
  }

  .flow_num {
    font-size: 16px;
    padding: 5px 22px;
    margin-bottom: 0;
  }

  .flow_title {
    font-size: 18px;
  }

  .flow_desc {
    font-size: 14px;
  }
  .upper_layer_reservation_btn_aria {
    margin-left: 0;
  }
  .world_map_title {
    font-size: 16px;
}
.world_map_top_inner {
  background-size: 200px;
}
.experience_01, .experience_02, .experience_03, .experience_04{
  text-align: center;
  font-size: 20px;
}

/* ========== 体験プログラム 横スクロール ========== */
  .experience_scroll {
    position: relative;
  }

  /* .experience を付けて詳細度を上げ、style.css の指定を上書き */
  .experience .experience_inner {
    display: flex;
    flex-direction: row;          /* 横並びに（column を打ち消す） */
    flex-wrap: nowrap;            /* 折り返さない */
    justify-content: flex-start;  /* center を打ち消す（1枚目が隠れる原因） */
    overflow-x: auto;            /* 横スクロール有効化 */
    -webkit-overflow-scrolling: touch;
    gap: 0;
    margin: 0;                    /* style.css の margin を打ち消す */
    padding: 0;
    align-items: stretch;         /* flex-end を打ち消す */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;        /* Firefox スクロールバー非表示 */
  }
  .experience .experience_inner::-webkit-scrollbar {
    display: none;               /* Chrome/Safari スクロールバー非表示 */
  }

  /* 1画面に1枚だけ中央表示。左右の padding が中央寄せの余白になる */
  .experience .experience_detail {
    flex: 0 0 100%;              /* 1枚で画面いっぱい＝常に1枚だけ見える */
    scroll-snap-align: center;
    padding: 0 20%;              /* 左右の余白（中央に1枚） */
  }

  .experience .experience_detail img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ＜＞ 矢印ボタン */
  .exp_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 30, 70, 0.7);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .exp_prev { left: 20px; }
  .exp_next { right: 20px; }
  .upper_layer_experience .title_aria{
    align-items: baseline;
  }


} /* end @media */
@media (min-width: 769px) {
  .hide-pc{
    display: none;
  }
  /* PCでは体験プログラムの矢印ボタンは不要 */
  .exp_arrow {
    display: none;
  }
}
