@charset "UTF-8";
/* =========================================
   style-smart.css  (SP/Tablet <= 768px)
   — PC用 style.css の補完・上書き —
   ========================================= */
@media only screen and (max-width: 768px) {
/* 基本タイポ・余白（SPはやや大きめ行間で読みやすく） */
html, body { font-size: 16px; line-height: 1.9; }
main { display:block; }
img { max-width: 100%; height: auto; }

/* ====== ヘッダー / ナビ ====== */
.header{
  position: fixed; top:0; left:0; right:0;
  height: 64px; background:#fff; z-index: 9;
  display:flex; align-items:center; justify-content: space-between;
  padding: 0 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.header-company h1 img{ width: 170px; height:auto; }
.disktop, .header-nav__desktop{ display:none !important; }

/* ハンバーガー（既存の .header-nav__mobile を縮小調整） */
.header-nav__mobile{
  display:block; position: fixed; right: 12px; top: 12px;
  width: 40px; height: 40px; z-index: 30000;
}
.header-nav__mobile span{ left: 5px; width: 30px; }
.header-nav__mobile span:nth-child(1){ top: 10px; }
.header-nav__mobile span:nth-child(2){ top: 19px; }
.header-nav__mobile span:nth-child(3){ top: 28px; }

/* ドロワー */
.header-mobile{
  display:none; position: fixed; inset: 64px 0 0 0; z-index: 29999;
  background:#fff; padding: 24px 18px; overflow:auto;
}
.header-mobile.active{ display:block; }
.header-mobile ul li{
  font-size: 18px; padding: 0px 12px; border-radius: 14px; margin: 10px 0;
}
.header-mobile ul li img{
    width: 24px;
    margin-right: 5px;
}
.header-mobile ul li:nth-last-child(1){
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    text-decoration: none;
}
.header-mobile ul li:nth-last-child(1) img{
    margin-top: -5px;
    margin-bottom: 3px;
}
.header-mobile ul li:nth-last-child(1) span{
    display: block;
    padding-left: 29px;
    font-size: 14px;
    line-height: 20px;
}
.header-mobile ul li:nth-last-child(1) b{
    display: block;
}
.header-mobile ul li:nth-last-child(4) a, .header-mobile ul li:nth-last-child(3) a, .header-mobile ul li:nth-last-child(2) a{
    background:none;
    box-shadow: none;
}
.header-mobile ul li:nth-last-child(4), .header-mobile ul li:nth-last-child(3), .header-mobile ul li:nth-last-child(2){
    display: inline-block;
}
.header-mobile ul li:nth-last-child(4) img, .header-mobile ul li:nth-last-child(3) img, .header-mobile ul li:nth-last-child(2) img{
    width: 30px;
    margin-right: 10px;
    height: 30px;
}
.main{ 
  margin-top: 64px;
  width: 100%;
  overflow: hidden; 
}

/* ====== ヒーロー ====== */
.hero{ position: relative; }
.hero img{ width:100%; padding: 16px; position: static; }
.hero ul li{ height: auto; }
.hero-bottom{ position: static !important; padding: 0 !important; }

/* ====== Welcome ====== */
.welcome{
  text-align:center; padding: 56px 18px; background:#F5F5F5;
}
.welcome-inner{ max-width: 680px; margin: 0 auto; }
.welcome h2{
  font-size: 28px; line-height: 1.4; margin-bottom: 22px; font-family:'myfont-exbold';
}
.welcome h3{
  font-size: 18px; line-height: 1.6; margin-bottom: 40px; display:inline-block; position:relative;
  font-family:'myfont-medium';
}
.welcome h3:before, .welcome h3:after{ display:none; } /* 装飾はSPでは省略 */
.welcome-contents{
  background:#fff; border:2px solid #E7473E; border-radius: 16px;
  padding: 28px 16px 12px; position: relative;
}
.welcome-contents h4{
  font-size: 20px; line-height: 1.5; margin: -60px 0 12px;
  background: url(../../assets/images/icon-welcome-ribon.png) center/300px no-repeat;
  padding: 12px 0; font-family:'myfont-bold';
}
.welcome-contents img[alt*="所要時間"]{ width: 120px; margin: 8px auto 12px; display:block; }
.welcome-contents p{ font-family:'myfont-semi'; }
.welcome-contents ul{ font-family: "myfont-semi"; width:auto; margin: 8px auto 12px; line-height: 30px; text-align:left; display:inline-block; }
.welcome-contents h5{ font-size: 14px; line-height: 1.8; margin-top: 16px; }

.welcome-contact{
  display:flex; flex-direction: column; gap: 12px;
  margin-top: 20px; font-size:20px; line-height: 1.4; font-family:'myfont-exbold';
}
.welcome-contact img{ width: 26px; margin-right: 8px; }
.welcome-contact .left a,
.welcome-contact .right a{
  display:flex; align-items:center; justify-content:center; padding: 12px 16px; border-radius: 999px; color:#fff;
}
.welcome-contact .left a{ background:#F4743E; }
.welcome-contact .right a{ background:#E84B42; }

/* 2段目（持ち物一覧） */
.welcome-contents.second{ margin-top: 28px; }
.welcome-contents.second h6{
  font-size: 18px; color:#E84B42; margin: 0 0 8px; font-family:'myfont-medium'; line-height:1.5;
}
.welcome-contents.second .welcome-contents-inner{ padding-top: 14px; border-top: 1px solid #BAB9A9; }
.welcome-contents.second .welcome-contents-inner p{ width:auto; margin: 0 auto 6px; text-align:left; }
.welcome-contents.second .second-ul{
  display:grid; grid-template-columns: 1fr; gap: 6px 12px; width:auto;
}

/* ====== Merit ====== */
.merit{ text-align:center; padding: 60px 18px; }
.merit-inner{ max-width: 680px; margin:0 auto; }
.merit h2{
  font-size: 26px; line-height:1.45; margin-bottom: 10px; font-family:'myfont-exbold';
}
.merit h2:before, .merit h2:after{ display:none; } /* SPでの左右大型装飾はオフ */
.merit h2 span{ color:#F4743E; }
.merit h3{
  font-size: 18px; line-height:1.6; margin: 18px 0; padding-top: 18px;
  border-top: 2px solid #eee; color:#1A1311; font-family:'myfont-semi';
}
.merit p{ font-size: 14px; line-height: 1.9; text-align: justify;}

/* =========================================
   About セクション（SP/Tablet 上書き）
   ========================================= */

/* コンテナはクリップしない（アニメの初期位置で切れないように） */
.about{ overflow: visible; }
.about h2{
    font-family: "myfont-bold";
    font-size: 20px;
    padding: 0 10px;
    text-align: center;
}
.about h3{
    font-family: "myfont-bold";
    font-size: 19px;
    padding: 0 10px;
    text-align: center;
}
.voice-content {
    flex: 1;
    background: hwb(0deg 100% 0% / 92%);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    max-width: 670px;
    border-width: 1px;
    border-color: #707070;
}
.voice-content {
  padding: 35px 20px !important;
}
.about-box.is-show .point-img {
    margin: 0 auto;
}
/* 1カラム（大きめ端末は2カラム）に再配置 */
.about-contents{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;   /* 既存の100pxは少し控えめに */
}

/* 横幅が広いスマホ/タブで2カラムに */
@media (min-width: 560px){
  .about-contents{
    grid-template-columns: 1fr 1fr;
  }
}

/* アイテムは高さ自動。余白・幅の固定を解除して自然に伸ばす */
.about-box{
  height: auto;             /* ← 固定高さ解除 */
  max-width: none;          /* ← 幅の上限解除 */
  margin: 0;                /* ← グリッドが間隔を管理 */
  padding: 12px;
}

/* 2番目だけ上にズラす指定を解除（段の欠け防止） */
.about-box:nth-child(2){ margin-top: 0 !important; }

/* タイトル帯の横幅制限を解除（改行してもはみ出さない） */
.about-box h5{
  max-width: none;
  line-height: 1.6;
  font-size: 20px;
  padding: 30px 2px 10px;
  font-family: "myfont-medium";
}
.about-box h5 br{
    display:none;
}
.about-box h5::after {
    left: -15px;
    width: 90% !important;
    bottom: 2px;
}

/* テキストも読みやすい行間に */
.about-box p{
  max-width: none;
  font-size: 15px;
  line-height: 1.9;
  margin-top: 12px;
}

/* 画像はコンテナ幅にフィット */
.point-img{ width: 100%; height: auto; max-width: 360px; }
.point-icon{ width: 72px; height: auto; margin-right: 10px; }

/* 見出し行（アイコン＋画像）の段組み崩れ対策 */
.about-box h4{
  margin-top: 0;
  justify-content: flex-start;   /* 左寄せ */
  gap: 8px;
}

/* スクロール演出が原因で初期位置が下にズレて見切れる対策：
   “未発火時でも”最低限見えるように初期値を弱める */
@media (prefers-reduced-motion: no-preference){
  .about-box{
    transform: translateY(10px) scale(.995); /* 既存より弱め */
  }
}

/* さらに高さの小さい横長端末でも確実に全部出す */
@media (max-height: 560px){
  .about-contents{ gap: 14px; }
  .about-box h5{ font-size: 17px; }
  .about-box p{ font-size: 14.5px; }
}

/* ====== Detail（2カラム→縦積み） ====== */
.detail{ padding: 10px 0; }
.detail-inner{ display:block; }
.detail-inner .left,
.detail-inner .right{ width: 100%; text-align:center; }
.detail-inner .left img,
.detail-inner .right img{ width: 100%; padding: 14px; }
.detail h6{ font-size: 18px; line-height: 1.6; padding: 0 10px; }
.detail .left a, .detail .right a{
  font-size: 16px; line-height: 1.4; border-width: 4px; padding: 10px 18px; margin-bottom: 18px; display:inline-flex; align-items:center;
}
.detail .left a img, .detail .right a img{ width: 10px; margin-left: 10px; }
.detail.is-inview .left h6, .detail.is-inview  .right h6 {
    font-family: "myfont-exbold";
    margin-bottom: 20px;
}
.detail .left a {
    line-height: 35px;
    display: flex;
    border-radius: 45px;
    padding: 11px 30px;
    background: white;
    border-width: 5px;
    border-color: #5A66FA;
    font-family: 'myfont-semi';
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 30px;
    justify-content: center;
}
.detail .left a img{
    display: inline-block;
}
.detail .right a {
    line-height: 35px;
    display: flex;
    border-radius: 45px;
    padding: 11px 30px;
    background: white;
    border-width: 5px;
    border-color: #E84B42;
    font-family: 'myfont-semi';
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 30px;
    justify-content: center;
}
.detail .right a img{
    display: inline-block;
}



/* ====== Company（指導者紹介：縦積み） ====== */
.company{
  background:#f5f5f5; text-align:center; padding: 80px 16px 60px;
}
.company-inner{ max-width: 700px; margin: 0 auto; }
.company-inner h2{
  font-size: 28px; line-height: 1.4; margin-bottom: 32px; position: relative; font-family:'myfont-semi';
}
.company-inner h2:before{ display:none; } /* 大型シルエットはSPでは非表示 */
.company-contents{ display: grid; grid-template-columns: 1fr; gap: 22px; }
.company-box{
    display: flex;
    text-align: left;
    background: transparent;
    margin: 0;
    flex-direction: column;
}
.company-box .left, .company-box .right{ padding: 0; }
.company-box img{ width:100%; border-radius: 12px; }
.company-box .right{
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    line-height: 1.9;
    margin-top: 10px;
}
.company-box h3{ font-size: 18px; margin-bottom: 8px; font-family:'myfont-semi'; }
.company-box h3 b{
  background:#E84B42; color:#fff; padding: 2px 10px; font-size: 13px; margin-right: 8px; border-radius: 6px;
}
.company-box table{ width:100%; font-size: 14px; }
.company-box th{ color:#E84B42; width: 5.8em; padding: 6px 8px 6px 0; font-family:'myfont-bold'; }
.company-box td{ padding: 6px 0; font-family:'myfont-medium'; }
.company-box h4{
  color:#E84B42; font-size: 15px; margin-top: 14px; padding: 0; font-family:'myfont-bold';
}
.company-box p{ font-size: 14px; font-family:'myfont-medium'; }
.company-box ul, .company-box ol{ padding-left: 1.2em; font-size: 14px; }
.company-box:nth-child(1) .left, .company-box:nth-child(3) .left{

  }
  .company-box:nth-child(1) .right, .company-box:nth-child(3) .right{

    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 3px 6px #e3e3e3;
    text-align: left;
    line-height: 36px;
    max-width: 710px;
  }
  .company-box:nth-child(2) .right{
    order: 1;
    margin-bottom: 10px;
  }
  .company-box:nth-child(2) .left{
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 3px 6px #e3e3e3;
    text-align: left;
    line-height: 36px;
    max-width: 710px;
    order: 2;
  }
  .company-box h3{
    font-size: 24px;
    font-family: 'myfont-semi';
  }
  .company-box h3 b{
    background: #E84B42;
    color: white;
    padding: 0 30px;
    font-size: 18px;
    margin-right: 10px;
    font-family: 'myfont-semi';
  }
  .company-box th{
    color:#E84B42;
    font-size:18px;
    padding: 0 25px 0 0;
    font-family: 'myfont-bold';
  }
  .company-box td{
    font-family: 'myfont-medium';
  }
  .company-box h4{
    color:#E84B42;
    font-size:18px;
    padding: 0 25px 0 0;
    font-family: 'myfont-bold';
  }
  .company-box p{
    font-family: 'myfont-medium';
  }
  .company-box ul{
    list-style: disc;
    padding-left: 19px;
    font-family: 'myfont-medium';
  }
  .company-box ol{
    list-style: decimal;
    padding-left: 19px;
    font-family: 'myfont-medium';
  }




/* ====== Welcome2（持ち物） ====== */
.welcome.welcome2{
  background:#FFF9CB; padding: 56px 16px;
}
.welcome.welcome2 .welcome-contents{ padding: 40px 14px 12px; }
.welcome.welcome2 .welcome-contents::before,
.welcome.welcome2 .welcome-contents::after{ /* 枠演出はSPでも控えめに残す */
  border-radius: 14px;
}

/* ====== Shop（店舗情報） ====== */
.shop{
  background:#F5F5F5; text-align:center; padding: 70px 16px 60px;
}
.shop-inner{ max-width: 700px; margin: 0 auto; }
.shop h2{ font-size: 28px; line-height: 1.3; margin-bottom: 22px; font-family:'myfont-semi'; }
.shop h2 span{ font-size: 15px; line-height: 1.6; color:#FF9500; margin-top: 6px; }

.shop-contents{ display:block; margin-bottom: 16px; }
.shop-contents .left{ margin-bottom: 12px; }
.shop-contents .left img{ padding: 0; }
.shop-contents .right{ text-align:left; line-height: 1.9; font-size: 14px; }
.shop-contents .right table{ width:100%; }
.shop-contents .right th{
  border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
  padding: 10px 10px 10px 0; width: 6.2em; font-size: 14px; font-family:'myfont-medium';
}
.shop-contents .right td{
  border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
  padding: 10px 0; font-size: 14px; font-family:'myfont';
}

/* Google Map：縦長端末で見切れにくい高さ */
.shop iframe{
  width: 100%; aspect-ratio: 16 / 9;
  height: auto; min-height: 240px; border:0; border-radius: 0px;
}

/* 駐車場案内 */
.cararea{ padding: 36px 0 0; }
.cararea h3{
  font-size: 18px; line-height: 1.5; color:#003366; margin-bottom: 16px; display:inline-block; position:relative; font-family:'myfont-semi';
}
.cararea h3:before{ display:none; }
.cararea p{ font-size: 14px; line-height: 1.9; margin-bottom: 16px; font-family:'myfont-medium'; }
.cararea-contents{ display:grid; grid-template-columns: 1fr; gap: 10px; }
.cararea-contents .left, .cararea-contents .right{ padding: 0; }

/* ====== Plan（料金プラン） ====== */
.plan{
  background:#FFF9CB; text-align:center; padding: 56px 14px;
}
.plan-inner{
  max-width: 700px; margin: 0 auto; background:#fff; padding: 20px 14px 28px;
  border:2px solid #E7473E; border-radius: 14px;
}
.plan h2{
  font-size: 24px; line-height: 1.3; margin-bottom: 6px; font-family:'myfont-semi';
}
.plan h2:before{ left: -52px; top: 4px; width: 40px; height: 38px; background-size: 40px; }
.plan p{
  font-size: 14px; line-height: 1.9; margin: 12px 0 24px; padding-top: 16px; border-top: 1px solid #BAB9A9;
}
.plan-contents{
  display:grid; grid-template-columns: 1fr; gap: 12px; justify-items: center;
}
.plan-contents a{
  font-size: 16px; padding: 12px 18px; border-width: 4px; border-radius: 999px; display:inline-flex; align-items:center;
}
.plan-contents img{ width: 10px; margin-left: 8px; }
.plan-contents .left a{
    border-width: 5px;
    border-radius: 45px;
    border-color: #5A66FA;
    padding: 11px 20px;
    font-size: 15px;
    display: flex;
    align-items: center;
    width: 350px;
    justify-content: center;
  }    
  .plan-contents .right a{
    border-width: 5px;
    border-radius: 45px;
    border-color: #E84B42;
    padding: 11px 20px;
    font-size: 15px;
    display: flex;
    align-items: center;
    width: 350px;
    justify-content: center;
  }

/* ====== YouTube ====== */
.youtube{
  background:#fff9cb url(../../assets/images/background-youtube.png) center/cover no-repeat;
  padding: 40px 12px 40px;
}
.youtube-inner{ max-width: 700px; margin: 0 auto; }
.youtube h2{ margin-bottom: 14px; }
.youtube h2 img{ width: 100%; max-width: 520px; margin: 0 auto; display:block; }
.youtube-contents{ margin-bottom: 36px; }
.youtube iframe{
    max-width: 100%; width: 100%; aspect-ratio: 16 / 9; height: auto; border:0; border-radius: 10px;
}
.youtube video{
    max-width: 100%; width: 100%; aspect-ratio: 16 / 9; height: auto; border:0; border-radius: 10px;
}
.youtube h3{
  font-size: 14px; line-height: 1.8; color:#fff; background:#003366; margin: 14px 0 0; padding: 10px;
  border-radius: 8px; font-family:'myfont-semi';
}

/* ====== News ====== */
.news{
  background:#fff9cb url(../../assets/images/background-news.png) center/cover no-repeat;
  text-align:center; padding: 40px 12px 56px;
}
.news-inner{ max-width: 700px; margin: 0 auto; }
.news .news-title{ max-width: 320px; width: 80%; margin: 0 auto; }
.news-contents{
  background:#FFD010; padding: 14px 12px; margin-top: 20px;
  display:grid; grid-template-columns: 1fr; gap: 12px; justify-items: center; border-radius: 12px;
}
.news-info{ width: 160px; margin-top: -20px; }
.news-contents a{
  background:#fff; width: 100%; max-width: 520px; height: auto; padding: 12px;
  border-radius: 12px; display:flex; align-items:center; justify-content:center;
}
.news-line{ width: 100%; max-width: 420px; }
.news-insta{ width: 100%; max-width: 420px; }

/* ====== フッター ====== */
footer{
  color:#fff; background:#E84B42; font-size: 14px;
}
.footer-inner{ padding: 24px 14px; }
.footer-contents{
  display: grid; grid-template-columns: 1fr; gap: 14px; justify-items: center; text-align: center;
}
.footer-contents img{ width: 200px; margin: 0 0 6px; }
.footer-contents ul{ line-height: 22px; font-family:'myfont-medium'; }
.footer-menu{
  display:flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; justify-content:center; align-items:center;
}
.footer-menu li img{ width: 26px; }
footer small{
  display:block; text-align:center; background:#D10B00; font-size: 12px; padding: 8px; font-family:'myfont-semi';
}

/* ====== 触り心地（アクセシビリティ） ====== */
a, button{ -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible{
  outline: 3px solid #1e90ff; outline-offset: 2px;
}

/* ====== モーション最適化（SPは控えめ） ====== */
@media (prefers-reduced-motion: no-preference){
  /* モバイルは移動距離を少し短く、時間も短めに */
  .welcome .welcome-contents,
  .merit h2, .merit h3, .merit p .seg,
  .about-box, .detail .left, .detail .right, .detail h6,
  .company-inner h2, .company-box,
  .shop h2, .shop-contents .left img, .shop-contents .right tr,
  .plan-inner::before, .plan h2, .plan p, .plan-contents .left, .plan-contents .right,
  .youtube h2 img, .youtube-contents, .news .news-title, .news-contents {
    transition-duration: .45s !important;
  }
}

/* ====== タブレット軽微調整（769px未満の中で少し広い端末） ====== */
@media screen and (min-width: 641px) and (max-width: 768px){
  .about-contents{ grid-template-columns: 1fr 1fr; }
  .about-box{ min-height: 360px; }
  .plan-contents{ grid-template-columns: 1fr 1fr; }
  .news-contents{ grid-template-columns: 1fr 1fr; }
}

}
@media only screen and (max-width: 768px){
  .acc-inner{ display:block; padding-top:16px; }
  .acc-text{ padding-right:0; }
  .acc-inner .thumb{ max-width:100%; }
}
@media only screen and (max-width: 768px){
  .table-box table{ width:100%; border-collapse:separate; border-spacing:0; }
  .table-box thead{ display:none; }
  .table-box tbody, .table-box tr, .table-box th, .table-box td{ display:block; width:100%; text-align:center; }
  .table-box tbody tr{ border:1px solid #e5e7eb; border-radius:12px; padding:10px 12px; margin:12px 0; background:#fff; }
  .table-box th{ background:transparent; border:0; padding:0 0 6px; font-size:14px; color:#6b7280; }
  .table-box td{ border:0; padding:4px 0; }
  .table-box .price{ font-size:32px; font-weight:800; color:#E84B42; }
  .table-box .age{ color:#374151; font-size: 15px;}
}

@media only screen and (max-width: 768px){

  /* セクション全体 */
  .parents-voice{
    background:#FF9500;
    text-align:center;
    padding: 56px 14px 0;
  }
  .parents-voice-inner{ max-width:700px; margin:0 auto; }

  /* 見出し */
  .parents-voice h2{
    font-size: 28px;
    line-height: 1.35;
    color:#fff;
    padding: 0 0 18px;
    letter-spacing: .08em;
    position: relative;
    display: inline-block;
  }
  /* メガホンの大きな装飾はSPでは省略（崩れ防止） */
  .parents-voice h2:before,
  .parents-voice h2:after{ display:none; }

  /* 背景柄は上部だけに薄く表示 */
  .parents-voice-contents{
    background: #fff url(../../assets/images/background-parents-voice.png) top center / 560px no-repeat;
  }

  /* 各ボックスを縦積み・カード化 */
  .parents-voice-box{
    display:block;
    margin: 0 auto 24px;
    padding: 0 6px;
    max-width: 720px;
  }

  /* 左カラム（画像＋テキスト）をカードに */
  .parents-voice-box .left{
    display:block;
    background:#fff;
    border: 2px solid #FF9500;
    border-radius: 16px;
    padding: 14px;
    text-align:left;
    margin-top: -20px; /* 背景柄との重なりを少し演出 */
  }

  /* 写真は横幅いっぱい → テキストの前に */
  .img-parents-voice{
    width:100%;
    height:auto;
    display:block;
    border-radius: 10px;
  }

  /* テキスト */
  .parents-voice-box .left p{
    padding: 10px 2px 0;
    font-size: 15.5px;
    line-height: 1.9;
    color:#0A2540;
    text-align: left;
  }

  /* 右カラム（アイコン類）は写真カードの上下に置く */
  .parents-voice-box .right{
    text-align:center;
    margin: 8px 0 10px;
  }
  .icon-human2{ width: 140px; height:auto; }
  .icon-glove-red,
  .icon-glove-blue{ width: 160px; height:auto; }

  /* デスクトップ用の大きめサイズ指定を上書き */
  .icon-human2,
  .icon-glove-red,
  .icon-glove-blue{ max-width: 60vw; }

  /* 最終ボックスの下余白を少し控えめに */
  .parents-voice-box:nth-last-child(1){
    margin-bottom: 0;
    padding-bottom: 40px;
    background: #cdf1ff;
  }
}

@media only screen and (max-width: 768px){

  /* ===== 親御さんのお声（SP修正） ===== */

  /* PC側の nth-child セレクタで付いた flex 指定を完全に上書き */
  .parents-voice-box .left,
  .parents-voice-box:nth-child(1) .left,
  .parents-voice-box:nth-child(2) .left,
  .parents-voice-box:nth-child(3) .left{
    display: block !important;
    background:#fff;
    border: 2px solid #FF9500;
    border-radius: 16px;
    padding: 14px;
    text-align: left;
    max-width: none;
    margin-top: 0;          /* -margin 解除 */
  }

  /* 画像 → テキストの縦積みレイアウト */
  .img-parents-voice{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 0 0 12px 0;
  }

  /* 文字が1文字ずつ折りになるのを防ぐ */
  .parents-voice-box .left p{
    padding: 2px 2px 0;
    font-size: 14.5px;
    line-height: 1.8;
    color:#0A2540;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* 外側のラッパー余白を少し詰める */
  .parents-voice-box{
    display: block;
    margin: 0 auto 24px;
    padding: 0 10px;
    max-width: 720px;
    padding-top: 10px;
  }

  /* 右カラムのアイコンを中央に（上下に独立表示） */
  .parents-voice-box .right{
    text-align: center;
    margin: 10px 0 14px;
  }
  .icon-human2{ width: 140px; height:auto; }
  .icon-glove-red,
  .icon-glove-blue{ width: 160px; height:auto; }

  /* 最終ブロックの下の余白を調整 */
  .parents-voice-box:nth-last-child(1){
    margin-bottom: 0;
    padding-bottom: 40px;
    background: #cdf1ff; /* 既存に合わせて残すならOK。不要なら削除 */
  }

  .junior-course h2 {
    font-size: 29px;
    line-height: 42px;
}
.junior-course h2:before {
  background: url(../../assets/images/icon-human-jr.png);
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 103px;
  height: 258px;
  background-size: contain;
  top: 25px;
  z-index: -1;
  background-repeat: no-repeat;
}
.junior-course.fitness h2:before {
  background: url(../../assets/images/icon-human-fitness.png);
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 103px;
  height: 258px;
  background-size: contain;
  top: 25px;
  z-index: -1;
  background-repeat: no-repeat;
}
.training-inner {
  width: 100%;
  font-size: 15px;
  line-height: 27px;
}
.about.fitness {
  padding-top: 80px !important;
}
.muted {
  color: var(--muted);
  font-size: 15px;
  line-height: 25px;
}
.voice-item:nth-child(2) .voice-meta {
  top: -61px;
  right: 5px;
}
.list {
  margin: 0;
  padding: 0 0 0 1.1em;
  font-family: "myfont-semi";
  line-height: 25px;
  margin-bottom: 12px;
  font-size: 16px;
}
.junior-traning h2 {
  font-size: 30px;
  line-height: 50px;
  color: white;
  padding-bottom: 100px;
  position: relative;
  background: #42C8E8;
  padding-top: 100px;
  z-index: 2;
  font-family: "myfont-semi";
}
.junior-traning-inner h3 {
  font-size: 23px;
  line-height: 45px;
  color: #F4743E;
  font-family: "myfont-semi";
}
.junior-traning-inner h3 span {
  display: block;
  font-size: 15px;
  line-height: 24px;
}
.timeline-item:before {
  width: 50px !important;
  height: 50px !important;
}
.title {
  font-weight: 700;
  font-size: 18px;
  color: #42C8E8;
  margin-bottom: 6px;
  font-family: "myfont-semi";
  padding: 8px 0;
  line-height: 23px;
}

.title {
  font-weight: 700;
  font-size: 18px;
  color: #42C8E8;
  margin-bottom: 6px;
  font-family: "myfont-semi";
  padding: 8px 0;
  line-height: 23px;
}
.desc {
  font-size: 15px;
  color: #444;
  margin-bottom: 10px;
  font-family: "myfont-semi";
  line-height: 25px;
}
.junior-traning-inner {
  border-radius: 20px;
  max-width: 1320px;
  margin: 0 auto;
  background: white;
  padding: 50px 20px 50px 30px;
}
.timeline-item:before {
  top: -7px !important;
  left: -60px !important;
}
.timeline {
  position: relative;
  max-width: 650px;
  margin: 0 auto;
  padding-left: 35px;
  border-left: 2px solid #1d1d1b;
  margin-top: 50px;
  text-align: left;
}
.junior-plan-inner h2 {
  font-size: 40px;
  line-height: 70px;
  font-family: "myfont-semi";
}
.pankuzu{
  position: relative;
  left: 0;
}
.training-text{
  background: white;
  padding: 10px;
  border-width: 1px;
  border-radius: 5px;
  border-color: #ff9898;
  color: #cf4848;
}
.pt {
  background-position-y: 140px;
}
.training-section {
  margin-bottom: 20px;
  text-align: left;
}
.pt-table thead th, .pt-table thead td {
  font-size: 15px;
}
.pt-table .menu {
  padding-left: 0px;
}
.pt-table .price {
  font-size: 20px !important;
}
.pt-effect {
  flex-basis: calc(50% - 15px);
}
.lesson75 {
  position: relative;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 205px;
  margin-top: 0;
  background: #ff9898;
  padding: 15px 15px 5px;
  border-radius: 8px;
  border-width: 1px;
  border-color: #ff9898;
}
.pt-effects-title {
  padding: 0;
  margin-bottom: 90px;
  padding-left: 0;
  font-size: 24px;
  line-height: 42px;
}
.pt-effects li:nth-child(1), .pt-effects li:nth-child(3) {
  margin-top: 0px;
}
.pt-effects {
  flex-wrap: wrap;
  justify-content: space-around;
}
.section-title {
  font-size: 18px;
  font-weight: 800;
  color: #333;
  background: #fffacd;
  padding: 11px 0 11px 7px;
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-align: center;
  z-index: 2;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  width: 14%;
  height: 100%;
  background: #69c4e6;
  clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 11% 100%);
}
.small {
  color: var(--muted);
  font-size: 15px;
  line-height: 26px;
  text-align: justify;
}
.junior-plan .table-box.dropin th, .junior-plan .table-box.dropin td {
  width: 100% !important;
}
.about.junior {
  background: url(../../assets/images/background-about-junior.png);
  background-position: center;
  background-size: cover;
  padding-top: 140px;
}
.note{
  text-align:center !important;
}
.voice-stars {
  font-size: 29px;
  top: -29px;
}
.voice {
  padding: 50px 10px 80px;
}
.voice-meta {
  left: -22px;
  top: -58px;
}
.hero{
  display: none;
}
.hero-sp{
  background:#f5f5f5;
}
.voice-item {
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
  margin-top: 50px;
}
.voice-content {
  transform: none !important;
  width: 100%;
}
.voice-age {
  width: 90px;
  height: 90px;
  line-height: 81px;
  font-size: 12px;
  margin-bottom: 16px;
}
.voice h2 {
  font-size: 24px;
  margin-bottom: 40px;
}
}

/* --------- レスポンシブ --------- */
@media (max-width: 920px){
  .pt-table td{ font-size: 14px !important; }
}

@media (max-width: 768px){
  .pt{ padding-bottom: 72px; text-align: center;}
  .pt-hero-note{
    position: static;
    width:auto; margin:12px 12px -8px; /* 画像の下に移動 */
  }
  .pt-title{
    display: block;
  } 
  .pt-hero::before{ display:none; }
  .pt-duration{
    right: 16px; bottom: 8%;
  }
  .pt-table-wrap{ margin: 18px 0 46px; }
  .pt-effects{
    grid-template-columns: repeat(2,1fr);
  }
  /* スマホ専用TOPボタン */
.top-button-sp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F4743E; /* ジムのテーマカラー */
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  z-index: 9999;
}
.top-button-sp img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
.top-button-sp.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
}

@media (max-width: 460px){
  .pt-effects{ grid-template-columns: 1fr; }
  .pt-badge{ font-size: 14px; }
  .pt-title::after{ height:.28em; }
}
