/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */

/* カスタマイズする場合にはこれより下に追記してください  */
.bottom-bar {
    background-color: #e0e0e0; /* グレーの背景色 */
    color: #000; /* テキストの色 */
    text-align: center; /* テキストを中央揃え */
    padding: 15px 0; /* 上下の余白 */
    position: relative;
    width: 100%; /* フル幅 */
}

@media screen and (max-width: 1200px) {
  #lp-wrap .content {
    width: 100%;
    padding-top: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 0px !important;
  }

}

@media screen and (min-width: 1201px) {
  #lp-wrap .content {
    width: 100%;
    padding-top: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 0px !important;
  }
	
}

#ff5,#ff5 *,#ff5 *::before,#ff5 *::after{box-sizing:border-box;margin:0;padding:0;}
#ff5 img{max-width:100%;display:block;}
#ff5 a{color:inherit;text-decoration:none;}

#ff5{
  --org:#FF6D00;
  --org-mid:#FF8C37;
  --org-lt:#FFB36A;
  --org-pale:#FFF3E0;
  --coral:#FF5722;
  --dark:#1A0800;
  --text:#271200;
  --sub:#7A5533;
  --line:#FFD4A8;
  --white:#FFFFFF;
  --bg:#FFFAF5;
  --bg-warm:#FFF8F0;
  --sh:0 4px 24px rgba(45,24,0,.10);
  --sh-org:0 6px 28px rgba(255,109,0,.22);
  font-family:'Noto Sans JP','Hiragino Sans','Yu Gothic','Meiryo',sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.8;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  word-break:keep-all;
  overflow-wrap:break-word;
  overflow-x:hidden;
  max-width:100%;
}

/* ─── UTILITIES ─── */
#ff5 .wrap{overflow:hidden;}
#ff5 .inner{width:min(1100px,calc(100% - 40px));margin:0 auto;}
#ff5 .sec{padding:64px 0;}
#ff5 .eyebrow{
  display:inline-block;
  background:var(--org);color:#fff;
  font-size:11px;font-weight:700;letter-spacing:.2em;
  padding:5px 16px;border-radius:999px;margin-bottom:18px;
}
#ff5 .h2{
  font-size:clamp(26px,4.5vw,42px);
  font-weight:900;line-height:1.3;letter-spacing:-.01em;
  color:var(--dark);margin-bottom:14px;
}
#ff5 .h2 em{color:var(--org);font-style:normal;}
#ff5 .lead{font-size:16px;color:var(--sub);line-height:1.9;max-width:740px;}
#ff5 .center{text-align:center;}
#ff5 .center .lead{margin:0 auto;}
#ff5 .btn-main{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--org);color:#fff;
  font-weight:800;font-size:17px;
  padding:18px 40px;border-radius:999px;
  box-shadow:var(--sh-org);transition:all .2s;
  font-family:inherit;
}
#ff5 .btn-main:hover{background:var(--coral);transform:translateY(-2px);}
#ff5 .btn-white{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:#fff;color:var(--org);
  font-weight:800;font-size:17px;
  padding:18px 40px;border-radius:999px;
  box-shadow:0 8px 28px rgba(0,0,0,.15);transition:all .2s;
}
#ff5 .btn-white:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(0,0,0,.2);}

/* ─── LINE登録ボタン ─── */
#ff5 .cta-btn-row{
  display:flex;align-items:center;justify-content:center;
  gap:14px;flex-wrap:wrap;position:relative;
}
/* WordPress autopがボタン間に挿入する<br>を無効化 */
#ff5 .cta-btn-row br,
#ff5 .hd-btns br{display:none;}
#ff5 .hero-cta .cta-btn-row{justify-content:flex-start;}
#ff5 .btn-line{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:#06C755;color:#fff;
  font-weight:800;font-size:17px;
  padding:18px 32px;border-radius:999px;
  box-shadow:0 8px 28px rgba(6,199,85,.35);transition:all .2s;
}
#ff5 .btn-line:hover{transform:translateY(-2px);background:#05B34C;box-shadow:0 12px 32px rgba(6,199,85,.4);}
#ff5 .btn-line svg{width:22px;height:22px;flex-shrink:0;fill:currentColor;}
#ff5 .final-cta .btn-line{font-weight:900;font-size:18px;padding:22px 40px;}
#ff5 .final-cta .btn-line svg{width:24px;height:24px;}

/* ─── HEADER ─── */
#ff5 .hd{
  position:sticky;top:0;z-index:100;
  background:rgba(255,250,245,.96);
  backdrop-filter:blur(10px);
  border-bottom:2px solid var(--org-pale);
}
#ff5 .hd-in{
  width:min(1100px,calc(100% - 32px));margin:0 auto;
  height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px;
}
#ff5 .hd-logo{height:36px;width:auto;object-fit:contain;}
#ff5 .hd-nav{
  display:flex;align-items:center;gap:24px;
  font-size:14px;color:var(--sub);font-weight:500;
}
#ff5 .hd-nav a:hover{color:var(--org);}
#ff5 .hd-cta{
  background:var(--org);color:#fff;
  padding:10px 22px;border-radius:999px;
  font-weight:700;font-size:14px;
  box-shadow:0 4px 14px rgba(255,109,0,.25);
}
#ff5 .hd-cta:hover{background:var(--coral);}
#ff5 .hd-btns{display:flex;align-items:center;gap:10px;flex-shrink:0;}
#ff5 .hd-line{
  display:inline-flex;align-items:center;gap:6px;
  background:#06C755;color:#fff;
  padding:10px 18px;border-radius:999px;
  font-weight:700;font-size:14px;
  box-shadow:0 4px 14px rgba(6,199,85,.3);
}
#ff5 .hd-line:hover{background:#05B34C;}
#ff5 .hd-line svg{width:18px;height:18px;flex-shrink:0;fill:currentColor;}
#ff5 .hd-trainer{
  display:flex;align-items:center;gap:8px;flex-shrink:0;
}
#ff5 .hd-trainer-photo{
  width:42px;height:42px;border-radius:50%;
  object-fit:cover;object-position:center top;
  border:2px solid var(--org);
  display:block;flex-shrink:0;
}
#ff5 .hd-trainer-name{
  font-size:12px;font-weight:700;color:var(--text);white-space:nowrap;
}
#ff5 .hd-trainer{display:none;}

/* ─── HERO ─── */
#ff5 .hero{
  background:linear-gradient(135deg,#FF6D00 0%,#FF8C37 45%,#FFAB5E 100%);
  padding:80px 0 96px;position:relative;overflow:hidden;
}
#ff5 .hero::before{
  content:'';position:absolute;
  width:700px;height:700px;border-radius:50%;
  right:-150px;top:-250px;
  background:rgba(255,255,255,.07);pointer-events:none;
}
#ff5 .hero::after{
  content:'';position:absolute;
  width:400px;height:400px;border-radius:50%;
  left:-100px;bottom:-180px;
  background:rgba(200,50,0,.15);pointer-events:none;
}
#ff5 .hero-grid{
  display:grid;
  grid-template-columns:1fr 400px;
  gap:40px;align-items:center;
  position:relative;z-index:1;
  padding-right:24px;
}
#ff5 .hero-label{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.2);backdrop-filter:blur(4px);
  border:1px solid rgba(255,255,255,.4);
  color:#fff;font-size:12px;font-weight:700;letter-spacing:.16em;
  padding:7px 16px;border-radius:999px;margin-bottom:22px;
}
#ff5 .hero-title{
  font-size:clamp(30px,5vw,52px);
  font-weight:900;line-height:1.25;
  color:#fff;margin-bottom:20px;letter-spacing:-.02em;
}
#ff5 .hero-title em{
  font-style:normal;
  background:rgba(255,255,255,.22);
  border-radius:6px;padding:0 6px;
}
#ff5 .hero-copy{
  color:rgba(255,255,255,.9);
  font-size:16px;line-height:1.85;
  margin-bottom:32px;max-width:560px;
  word-break:normal;overflow-wrap:anywhere;
}
#ff5 .hero-cta{margin-bottom:36px;}
#ff5 .hero-note{color:rgba(255,255,255,.78);font-size:13px;margin-top:10px;}
#ff5 .hero-stats{
  display:grid;grid-template-columns:repeat(4,1fr);
  background:rgba(255,255,255,.16);
  backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.28);
  border-radius:18px;overflow:hidden;
}
#ff5 .hero-stat{
  text-align:center;padding:16px 8px;
  border-right:1px solid rgba(255,255,255,.2);
}
#ff5 .hero-stat:last-child{border-right:none;}
#ff5 .hero-stat strong{
  display:block;color:#fff;
  font-size:clamp(20px,3.5vw,28px);
  font-weight:900;line-height:1.1;margin-bottom:4px;
}
#ff5 .hero-stat strong small{font-size:.62em;}
#ff5 .hero-stat span{color:rgba(255,255,255,.82);font-size:11px;line-height:1.4;}

/* Force hero grid placement (WP editor inserts extra elements) */
#ff5 .hero-grid > div:first-child{grid-column:1;grid-row:1;}
#ff5 .hero-photo-wrap{grid-column:2;grid-row:1;}

/* Hero photo (desktop right) */
#ff5 .hero-photo-wrap{position:relative;min-width:0;padding-right:32px;}
#ff5 .hero-photo-frame{
  border-radius:28px;overflow:hidden;
  border:3px solid rgba(255,255,255,.4);
  box-shadow:-12px 14px 20px rgba(150,60,0,.25);
  aspect-ratio:3/4;
  max-width:100%;
}
#ff5 .hero-photo-frame img{
  width:100%;height:100%;
  object-fit:cover;object-position:center top;
}
#ff5 .hero-photo-badge{
  position:absolute;bottom:-18px;left:50%;transform:translateX(-50%);
  background:#fff;color:var(--org);
  font-weight:800;font-size:13px;
  padding:10px 22px;border-radius:999px;
  box-shadow:0 8px 24px rgba(255,109,0,.25);
  white-space:nowrap;
}
/* Mobile photo (hidden on desktop) */
#ff5 .hero-mobile-card{
  display:none;
  background:rgba(255,255,255,.15);
  border:2px solid rgba(255,255,255,.35);
  border-radius:22px;
  padding:20px;
  align-items:center;gap:18px;
  margin-bottom:28px;
}
#ff5 .hero-mobile-photo{
  width:88px;height:110px;border-radius:16px;
  overflow:hidden;flex-shrink:0;
  border:3px solid rgba(255,255,255,.5);
}
#ff5 .hero-mobile-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;}
#ff5 .hero-mob-title-bar{display:none;}
#ff5 .hero-mobile-info{display:none;}
#ff5 .hero-mobile-name{display:block;color:#fff;font-size:18px;font-weight:800;margin-bottom:4px;}
#ff5 .hero-mobile-role{display:block;color:rgba(255,255,255,.85);font-size:12px;font-weight:600;letter-spacing:.1em;margin-bottom:10px;}
#ff5 .hero-mobile-tag{
  display:inline-flex;
  background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.35);
  color:#fff;font-size:12px;font-weight:700;
  padding:5px 12px;border-radius:999px;
}

/* ─── BAND ─── */
#ff5 .band{display:none!important;}
#ff5 .band-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:0;
}
#ff5 .band-item{
  text-align:center;padding:22px 12px;
  border-right:1px solid rgba(255,255,255,.1);
}
#ff5 .band-item:last-child{border-right:none;}
#ff5 .band-item strong{
  display:block;color:var(--org);
  font-size:clamp(22px,3vw,30px);font-weight:900;
  line-height:1.1;margin-bottom:6px;
}
#ff5 .band-item strong small{font-size:.62em;}
#ff5 .band-item span{color:rgba(255,255,255,.65);font-size:12px;}

/* ─── PAIN (split layout) ─── */
#ff5 .pain{background:var(--white);}
#ff5 .pain-note{
  background:var(--org-pale);
  border-left:4px solid var(--org);
  border-radius:0 14px 14px 0;
  padding:18px 22px;
  margin-bottom:36px;
  font-size:15px;color:var(--text);line-height:1.8;
}
#ff5 .pain-split{display:grid;gap:12px;}
#ff5 .pain-row{
  display:grid;
  grid-template-columns:40% 60%;
  grid-template-rows:auto;
  grid-auto-rows:0px;
  border-radius:18px;
  overflow:hidden;
  border:2px solid var(--line);
  box-shadow:var(--sh);
}
#ff5 .pain-illust{
  background:var(--org-pale);
  display:block;
  padding:0;order:0;
  overflow:hidden;
  aspect-ratio:3/2;
  grid-column:1;grid-row:1;
}
#ff5 .pain-illust svg{width:100%;max-width:180px;height:auto;display:block;}
#ff5 .pain-img{
  width:100%;height:100%;
  object-fit:cover;object-position:center center;
  display:block;margin:0;
  max-width:none;border-radius:0;box-shadow:none;
}
#ff5 .pain-txt{
  background:var(--white);
  display:flex;flex-direction:column;justify-content:flex-start;
  padding:24px 20px;order:1;
  gap:12px;
  grid-column:2;grid-row:1;
}
/* reverse: text left(60%), illust right(40%) — image always 40% wide */
#ff5 .pain-row.rev{grid-template-columns:60% 40%;}
#ff5 .pain-row.rev .pain-illust{order:1;grid-column:2;grid-row:1;}
#ff5 .pain-row.rev .pain-txt{order:0;grid-column:1;grid-row:1;}
#ff5 .pain-tag{
  display:inline-block;
  background:var(--org);color:#fff;
  font-size:11px;font-weight:700;letter-spacing:.14em;
  padding:5px 14px;border-radius:999px;
  align-self:flex-start;
}
#ff5 .pain-txt h3{
  font-size:clamp(17px,2.5vw,24px);
  font-weight:800;color:var(--dark);
  line-height:1.5;
}
#ff5 .pain-txt h3 em{color:var(--org);font-style:normal;font-weight:900;}
#ff5 .pain-txt p{font-size:15px;color:var(--sub);line-height:1.75;}
#ff5 .pain-txt .reason-point{font-size:13px;}

/* ─── ABOUT ─── */
#ff5 .about{background:linear-gradient(135deg,var(--org-pale) 0%,#FFF8F0 100%);}
#ff5 .about-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:36px;margin-top:44px;align-items:stretch;
}
#ff5 .strength-list{display:grid;gap:18px;height:100%;}
#ff5 .strength-item{
  background:var(--white);border-radius:18px;padding:22px;
  display:flex;gap:16px;align-items:flex-start;
  box-shadow:var(--sh);border-left:4px solid var(--org);
}
#ff5 .strength-num{
  width:38px;height:38px;border-radius:10px;
  background:var(--org);color:#fff;
  font-weight:900;font-size:17px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
#ff5 .strength-item h3{font-size:16px;font-weight:700;margin-bottom:5px;color:var(--dark);}
#ff5 .strength-item p{font-size:14px;color:var(--sub);line-height:1.75;}

#ff5 .flow-card{background:var(--white);border-radius:22px;padding:28px;box-shadow:var(--sh);}
#ff5 .flow-card h3{font-size:20px;font-weight:800;color:var(--dark);margin-bottom:8px;line-height:1.45;}
#ff5 .flow-card > p{font-size:14px;color:var(--sub);margin-bottom:24px;}
#ff5 .flow-steps{display:grid;gap:0;}
#ff5 .flow-step{
  display:grid;grid-template-columns:46px 1fr;
  gap:14px;padding:18px 0;
  border-bottom:1px solid var(--org-pale);align-items:start;
}
#ff5 .flow-step:last-child{border-bottom:none;padding-bottom:0;}
#ff5 .flow-dot{
  width:46px;height:46px;border-radius:50%;
  background:var(--org);color:#fff;
  font-weight:900;font-size:12px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  box-shadow:0 4px 14px rgba(255,109,0,.3);
}
#ff5 .flow-step h4{font-size:16px;font-weight:700;margin-bottom:4px;color:var(--dark);}
#ff5 .flow-step p{font-size:14px;color:var(--sub);line-height:1.7;margin:0;}

/* ─── PROGRAM ─── */
#ff5 .program{background:var(--white);}
#ff5 .reason-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:18px;margin-top:36px;
}
#ff5 .reason-card{
  background:var(--bg-warm);
  border:2px solid var(--line);
  border-radius:18px;padding:22px;
  position:relative;overflow:hidden;
}
#ff5 .reason-card::before{
  content:'';position:absolute;
  top:0;left:0;right:0;height:4px;background:var(--org);
}
#ff5 .reason-num{color:var(--org);font-size:11px;font-weight:700;letter-spacing:.18em;margin-bottom:10px;}
#ff5 .reason-card h3{font-size:18px;font-weight:800;color:var(--dark);margin-bottom:8px;line-height:1.4;}
#ff5 .reason-card p{font-size:14px;color:var(--sub);line-height:1.75;}
#ff5 .reason-point{
  margin-top:12px;padding-top:12px;
  border-top:1px dashed var(--line);
  font-size:13px;font-weight:700;color:var(--org);
}

/* ─── CURRICULUM ─── */
#ff5 .curriculum{background:var(--org-pale);}
#ff5 .curriculum-note{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--org);color:#fff;
  padding:10px 20px;border-radius:999px;
  font-size:14px;font-weight:700;margin-bottom:28px;
}
#ff5 .curriculum-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:16px;
}
#ff5 .curriculum-card{
  background:var(--white);border-radius:18px;padding:22px;
  box-shadow:var(--sh);position:relative;overflow:hidden;
}
#ff5 .curriculum-card::after{
  content:'';position:absolute;
  right:-18px;bottom:-18px;
  width:72px;height:72px;border-radius:50%;
  background:var(--org-pale);
}
#ff5 .curriculum-no{color:var(--org);font-size:11px;font-weight:700;letter-spacing:.18em;margin-bottom:8px;}
#ff5 .curriculum-card h3{font-size:20px;font-weight:800;color:var(--dark);margin-bottom:6px;position:relative;z-index:1;}
#ff5 .curriculum-card p{font-size:14px;color:var(--sub);line-height:1.7;position:relative;z-index:1;}
#ff5 .curriculum-output{
  margin-top:12px;padding-top:12px;
  border-top:1px dashed rgba(255,109,0,.25);
  font-size:13px;font-weight:700;color:var(--org);
  position:relative;z-index:1;
}

/* ─── VOICES ─── */
#ff5 .voices{background:var(--white);}
#ff5 .voice-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:22px;margin-top:36px;
}
#ff5 .voice-card{
  background:var(--bg-warm);
  border:2px solid var(--line);
  border-radius:22px;overflow:hidden;
}
#ff5 .voice-head{
  background:linear-gradient(135deg,#fff3e0 0%,#fff8f0 100%);
  padding:22px;border-bottom:2px solid var(--line);
}
#ff5 .voice-person{display:flex;align-items:center;gap:16px;}
#ff5 .voice-photo{
  width:110px;height:110px;border-radius:50%;overflow:hidden;
  border:4px solid var(--org);flex-shrink:0;
  box-shadow:0 4px 16px rgba(255,109,0,0.2);
}
#ff5 .voice-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;}
#ff5 .voice-name{font-size:20px;font-weight:800;color:var(--dark);margin-bottom:6px;}
#ff5 .voice-tag{font-size:14px;color:var(--sub);line-height:1.55;}
#ff5 .voice-body{padding:20px;}
#ff5 .ba{border-radius:12px;padding:14px;margin-bottom:10px;}
#ff5 .ba-before{background:#f5f0ea;}
#ff5 .ba-after{background:var(--org-pale);border:1px solid rgba(255,109,0,.18);}
#ff5 .ba strong{display:block;font-size:10px;font-weight:700;letter-spacing:.16em;margin-bottom:5px;}
#ff5 .ba-before strong{color:#8a7060;}
#ff5 .ba-after strong{color:var(--org);}
#ff5 .ba p{font-size:14px;line-height:1.7;color:var(--text);}
#ff5 .voice-income{
  margin-top:12px;padding-top:12px;
  border-top:1px dashed var(--line);
  font-size:14px;color:var(--text);
}
#ff5 .voice-income b{color:var(--org);}

/* ─── MID CTA ─── */
#ff5 .mid-cta{
  background:linear-gradient(135deg,var(--org) 0%,var(--coral) 100%);
  padding:56px 0;text-align:center;
}
#ff5 .mid-cta h2{
  font-size:clamp(19px,3.5vw,28px);
  font-weight:800;color:#fff;margin-bottom:10px;line-height:1.5;
  text-align:center;background:none!important;background-color:transparent!important;
}
#ff5 .mid-cta h2 *{background:none!important;background-color:transparent!important;color:#fff!important;}
#ff5 .mid-cta p{color:rgba(255,255,255,.88);font-size:15px;margin-bottom:26px;}

/* ─── PROFILE ─── */
#ff5 .profile{background:var(--bg-warm);}
#ff5 .profile-grid{
  display:grid;grid-template-columns:320px 1fr;
  gap:40px;margin-top:44px;align-items:start;
}
#ff5 .profile-photo-wrap{position:relative;}
#ff5 .profile-photo{
  border-radius:22px;overflow:hidden;
  box-shadow:var(--sh-org);
}
#ff5 .profile-photo img{width:100%;display:block;object-fit:cover;}
#ff5 .profile-badge{
  position:absolute;bottom:-18px;left:16px;right:16px;
  background:var(--org);color:#fff;
  border-radius:14px;padding:14px 18px;
  box-shadow:var(--sh-org);
}
#ff5 .profile-badge strong{display:block;font-size:21px;font-weight:800;}
#ff5 .profile-badge span{font-size:13px;opacity:.9;}
#ff5 .profile-content{padding-top:6px;}
#ff5 .profile-name{font-size:30px;font-weight:900;color:var(--dark);margin-bottom:6px;}
#ff5 .profile-role{color:var(--org);font-size:14px;font-weight:700;letter-spacing:.12em;margin-bottom:18px;}
#ff5 .profile-desc{font-size:15px;color:var(--sub);line-height:1.85;margin-bottom:22px;}
#ff5 .profile-cards{display:grid;gap:12px;}
#ff5 .profile-card{
  background:var(--white);border-radius:14px;
  padding:16px 18px;border-left:4px solid var(--org);box-shadow:var(--sh);
}
#ff5 .profile-card strong{
  display:block;color:var(--org);
  font-size:11px;font-weight:700;letter-spacing:.16em;margin-bottom:5px;
}
#ff5 .profile-card p{font-size:14px;color:var(--sub);line-height:1.7;}

/* ─── FINAL CTA ─── */
#ff5 .final-cta{
  background:linear-gradient(150deg,#FF6D00 0%,#FF4500 55%,#E53100 100%);
  padding:96px 0;text-align:center;position:relative;overflow:hidden;
}
#ff5 .final-cta::before{
  content:'';position:absolute;
  width:520px;height:520px;border-radius:50%;
  background:rgba(255,255,255,.06);
  top:-200px;right:-100px;pointer-events:none;
}
#ff5 .final-cta h2{
  font-size:clamp(22px,4vw,38px);
  font-weight:900;color:#fff;
  line-height:1.4;margin-bottom:14px;position:relative;
  text-align:center;background:none!important;background-color:transparent!important;
}
#ff5 .final-cta h2 *{background:none!important;background-color:transparent!important;color:#fff!important;}
#ff5 .final-cta p{
  color:rgba(255,255,255,.88);font-size:16px;
  max-width:660px;margin:0 auto 32px;
  line-height:1.85;position:relative;
}
#ff5 .final-cta-mobile{display:none;}
#ff5 .final-cta-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:#fff;color:var(--org);
  font-weight:900;font-size:18px;
  padding:22px 52px;border-radius:999px;
  box-shadow:0 10px 36px rgba(0,0,0,.2);
  transition:all .2s;position:relative;
}
#ff5 .final-cta-btn:hover{transform:translateY(-3px);box-shadow:0 14px 40px rgba(0,0,0,.25);}
#ff5 .final-cta-note{color:rgba(255,255,255,.72);font-size:13px;margin-top:14px;position:relative;}

/* ─── FOOTER ─── */
#ff5 .footer{background:var(--dark);padding:28px 0 36px;}
#ff5 .footer-in{
  width:min(1100px,calc(100% - 40px));margin:0 auto;
  padding-top:20px;border-top:1px solid rgba(255,255,255,.1);
  display:flex;justify-content:space-between;align-items:center;
  gap:16px;color:rgba(255,255,255,.45);font-size:13px;
}

/* ─── RESPONSIVE 1024px ─── */
@media(max-width:1024px){
  #ff5 .hd-nav{gap:14px;font-size:13px;}
  #ff5 .band-grid{grid-template-columns:repeat(2,1fr);}
  #ff5 .about-grid{grid-template-columns:1fr;}
  #ff5 .reason-grid{grid-template-columns:repeat(2,1fr);}
  #ff5 .curriculum-grid{grid-template-columns:repeat(2,1fr);}
  #ff5 .voice-grid{grid-template-columns:1fr;}
  #ff5 .profile-grid{grid-template-columns:1fr;}
  #ff5 .profile-photo-wrap{max-width:320px;margin:0 auto 52px;}
  #ff5 .footer-in{flex-direction:column;text-align:center;}
}

/* ─── RESPONSIVE 900px ─── */
@media(max-width:900px){
  #ff5 .hd-nav{display:none;}
  #ff5 .hero-grid{grid-template-columns:1fr 300px;gap:28px;padding-right:20px;}
  #ff5 .band-grid{grid-template-columns:repeat(2,1fr);}
  #ff5 .about-grid{grid-template-columns:1fr;}
  #ff5 .reason-grid{grid-template-columns:repeat(2,1fr);}
  #ff5 .curriculum-grid{grid-template-columns:repeat(2,1fr);}
  #ff5 .voice-grid{grid-template-columns:1fr;}
  #ff5 .profile-grid{grid-template-columns:1fr;}
  #ff5 .profile-photo-wrap{max-width:320px;margin:0 auto 52px;}
  #ff5 .footer-in{flex-direction:column;text-align:center;}
}

/* ─── RESPONSIVE 700px ─── */
@media(max-width:700px){
  #ff5 .hero-grid{grid-template-columns:1fr;}
  #ff5 .hero-photo-wrap{display:none;}
  #ff5 .hero-mobile-card{display:flex;}
}

/* ─── RESPONSIVE 640px ─── */
@media(max-width:640px){

  /* ===== 横スクロール防止：overflow+min-width ===== */
  #ff5,#ff5 .wrap{overflow-x:hidden;}
  #ff5 .pain-split,#ff5 .pain-row,#ff5 .about-grid,#ff5 .strength-list,
  #ff5 .flow-steps,#ff5 .reason-grid,#ff5 .curriculum-grid,#ff5 .band-grid,
  #ff5 .hero-stats{overflow:hidden;}
  #ff5 .pain-row > *,#ff5 .about-grid > *,#ff5 .flow-step > *,
  #ff5 .strength-item > *,#ff5 .band-grid > *,
  #ff5 .profile-grid > *{min-width:0;overflow:hidden;}
  #ff5 .pain-txt *,#ff5 .flow-card *,#ff5 .strength-item *,
  #ff5 .reason-card *,#ff5 .curriculum-card *,
  #ff5 .profile-desc,#ff5 .profile-card p,
  #ff5 .lead{overflow-wrap:anywhere;word-break:break-all;}

  /* ===== 共通 ===== */
  #ff5 .sec{padding:48px 0;}
  #ff5 .inner{width:calc(100% - 32px);}
  #ff5 .h2{font-size:clamp(16px,4.5vw,20px);word-break:keep-all;overflow-wrap:anywhere;}
  #ff5 .lead{font-size:13px;}
  /* ヘッダーCTA縮小 */
  #ff5 .hd-logo{height:28px;}
  #ff5 .hd-cta{font-size:11px;padding:6px 10px;white-space:nowrap;}
  #ff5 .hd-btns{gap:6px;}
  #ff5 .hd-line{font-size:11px;padding:6px 10px;white-space:nowrap;}
  #ff5 .hd-line svg{width:14px;height:14px;}
  #ff5 .hd-trainer-name{display:none;}
  #ff5 .hd-trainer-photo{width:34px;height:34px;}

  /* ===== 1. HERO Pattern B：写真を上部に大きく、テキストを下に ===== */
  #ff5 .hero{
    padding:0;
    overflow:hidden;
    background:linear-gradient(135deg,#FF6D00 0%,#FF8C37 45%,#FFAB5E 100%);
  }
  /* 装飾円を非表示 */
  #ff5 .hero::before,#ff5 .hero::after{content:none !important;display:none;}

  /* inner-grid を縦積みブロックに変更 */
  #ff5 .inner.hero-grid{
    position:static;
    display:block;
    width:100%;
    max-width:100%;
    margin:0;
    padding:0;
  }

  /* 写真エリア：全身が映るよう縦長に */
  #ff5 .hero-mobile-card{
    display:block !important;
    position:relative !important;
    width:100% !important;
    height:115vw !important;
    min-height:400px !important;
    margin:0 !important;
    padding:0 !important;
    border:none !important;
    border-radius:0 !important;
    background:none !important;
    overflow:hidden;
    z-index:auto;
  }
  #ff5 .hero-mobile-photo{
    position:absolute;
    inset:0;
    width:100% !important;
    height:100% !important;
    border-radius:0;
    border:none;
    overflow:hidden;
  }
  #ff5 .hero-mobile-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
  }
  /* 名前情報非表示（オーバーレイに置き換え） */
  #ff5 .hero-mobile-info{display:none !important;}

  /* タイトルオーバーレイ：写真の下端に被せる */
  #ff5 .hero-mob-title-bar{
    display:block !important;
    position:absolute;
    bottom:0;left:0;right:0;
    background:var(--org);
    color:#fff;
    font-size:18px;font-weight:900;line-height:1.4;
    padding:16px 20px 20px;
    z-index:2;
  }
  #ff5 .hero-mob-title-bar em{
    font-style:normal;
    background:rgba(255,255,255,.22);
    border-radius:4px;padding:0 5px;
  }

  /* テキストコンテンツ：CTA・statsのみ表示 */
  #ff5 .hero-label{display:none !important;}
  #ff5 .hero-title{display:none !important;}
  #ff5 .hero-copy{display:none !important;}
  #ff5 .inner.hero-grid > div:first-child{
    padding:20px 20px 28px;
  }
  #ff5 .btn-white,#ff5 .btn-main,#ff5 .btn-line{font-size:15px;padding:16px 28px;width:100%;justify-content:center;}
  #ff5 .hero-stats{grid-template-columns:1fr 1fr;}
  #ff5 .hero-stat{border-right:1px solid rgba(255,255,255,.2);border-bottom:1px solid rgba(255,255,255,.2);}
  #ff5 .hero-stat:nth-child(even){border-right:none;}
  #ff5 .hero-stat:nth-child(3),#ff5 .hero-stat:nth-child(4){border-bottom:none;}

  /* ===== 2. バンドセクション：モバイルでは非表示（ヒーロースタッツと重複） ===== */
  #ff5 .band{display:none !important;}

  /* h2のWordPress由来の背景を除去 */
  #ff5 .h2,#ff5 .h2 *{background:none !important;background-color:transparent !important;}
  /* h2内emのオレンジ文字：白背景では見やすいがオレンジ背景セクション内では白に */
  #ff5 .final-cta .h2 em,#ff5 .mid-cta .h2 em{color:#fff !important;}

  /* オレンジ文字のコントラスト修正 */
  #ff5 .reason-num{color:var(--dark) !important;font-weight:900;}
  #ff5 .reason-point{color:var(--dark) !important;font-size:13px;}
  #ff5 .curriculum-no{color:var(--dark) !important;}
  #ff5 .profile-role{color:var(--dark) !important;}

  /* ===== pain-row: 縦積み ===== */
  #ff5 .pain-row{display:flex;flex-direction:column;}
  #ff5 .pain-illust{width:100%;aspect-ratio:3/2;order:0 !important;flex-shrink:0;}
  #ff5 .pain-img{width:100%;height:100%;object-fit:cover;object-position:center center;}
  #ff5 .pain-txt{width:100%;padding:18px 16px;order:1 !important;justify-content:flex-start;box-sizing:border-box;}
  #ff5 .pain-row.rev .pain-illust{order:0 !important;}
  #ff5 .pain-row.rev .pain-txt{order:1 !important;}
  #ff5 .pain-tag{font-size:10px;margin-bottom:10px;padding:3px 10px;}
  #ff5 .pain-txt h3{font-size:16px;margin-bottom:8px;line-height:1.5;}
  #ff5 .pain-txt p,#ff5 .reason-point{font-size:13px;line-height:1.7;}

  /* ===== flow-card ===== */
  #ff5 .flow-card{padding:20px 16px;}
  #ff5 .flow-card h3{font-size:15px;line-height:1.5;word-break:keep-all;}
  #ff5 .flow-step h4{font-size:14px;}
  #ff5 .flow-step p{font-size:13px;}
  #ff5 .strength-item h3{font-size:14px;}
  #ff5 .strength-item p{font-size:13px;}

  /* ===== 3. final-cta テキスト改行修正 ===== */
  #ff5 .final-cta{padding:56px 20px;text-align:left;}
  #ff5 .final-cta h2 br{display:none;}
  #ff5 .final-cta h2{font-size:18px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere;}
  #ff5 .final-cta p{font-size:14px;line-height:1.85;word-break:normal;overflow-wrap:anywhere;text-align:left;margin:0 0 24px;}
  #ff5 .final-cta-note{word-break:keep-all;overflow-wrap:anywhere;text-align:center;}
  #ff5 .final-cta-btn{font-size:16px;padding:18px 32px;width:100%;}
  #ff5 .final-cta .btn-line{font-size:16px;padding:18px 32px;width:100%;}
  /* PC版テキスト非表示、モバイル版表示 */
  #ff5 .final-cta-pc{display:none !important;}
  #ff5 .final-cta-mobile{display:block !important;}

  /* ===== 4. トレーナー写真を大きく ===== */
  #ff5 .profile-grid{grid-template-columns:1fr;gap:24px;}
  #ff5 .profile-photo-wrap{
    max-width:100% !important;
    margin:0 0 24px !important;
  }
  #ff5 .profile-photo{
    border-radius:16px;
    min-height:260px;
  }
  #ff5 .profile-photo img{
    width:100%;
    min-height:260px;
    object-fit:cover;
    object-position:center top;
  }
  #ff5 .profile-badge{
    position:absolute;
    bottom:0;left:0;right:0;
    border-radius:0 0 16px 16px;
    padding:12px 16px;
  }
  #ff5 .profile-badge strong{font-size:17px;}
  #ff5 .profile-badge span{font-size:12px;}
  #ff5 .profile-photo-wrap{margin:0 0 16px !important;}
  #ff5 .profile-name{font-size:22px;}
  #ff5 .profile-desc{font-size:14px;word-break:keep-all;overflow-wrap:anywhere;}
  #ff5 .profile-card p{font-size:13px;word-break:keep-all;overflow-wrap:anywhere;}

  /* ===== グリッド系 ===== */
  #ff5 .reason-grid{grid-template-columns:1fr;}
  #ff5 .curriculum-grid{grid-template-columns:1fr;}
  #ff5 .band-grid{grid-template-columns:repeat(2,1fr);}
  /* 中間CTA：ボタン2つを縦積み（横並びだと640px以下で溢れる） */
  #ff5 .mid-cta .btn-white,#ff5 .mid-cta .btn-line{width:100%;}
}

/* ─── WordPress テーマ要素の非表示（page_id=945 専用） ─── */
body.page-id-945 .entry-title,
body.page-id-945 .page-header,
body.page-id-945 .wp-block-post-title,
body.page-id-945 h1.entry-title,
body.page-id-945 h1.page_title {
  display:none !important;
}
body.page-id-945 #banners,
body.page-id-945 #sticky-banner {
  display:none !important;
}

/* ─── CTA出し分け（LINE集客特化） ───
   公開版（通常アクセス）: LINE登録ボタンのみ表示、面談予約は非表示
   LINE内配布用（?from=line 付きURL）: 面談予約のみ表示、LINE登録は非表示
   切り替えはHTML末尾のJSが #ff5 に .from-line を付与して行う */
#ff5:not(.from-line) a[href*="timerex.net"],
#ff5:not(.from-line) a[href*="ff-mendan-form-001"]{display:none !important;}
#ff5:not(.from-line) .hero-note,
#ff5:not(.from-line) .final-cta-note{display:none !important;}
#ff5.from-line a[href*="line-harness"]{display:none !important;}

/* ─── 受講者の声 8枚スライダー ─── */
#ff5 .slider-viewport{width:100%;overflow:hidden;border-radius:18px;box-shadow:var(--sh);margin-top:28px;}
#ff5 .slider-track{display:flex;flex-wrap:nowrap;transition:transform .45s cubic-bezier(.25,.46,.45,.94);will-change:transform;}
#ff5 .ff-card{
  min-width:100%;width:100%;flex-shrink:0;
  display:grid;grid-template-columns:360px 1fr;
  background:var(--white);border-radius:18px;overflow:hidden;
}
#ff5 .ff-card__photo{position:relative;overflow:hidden;background:#DDD;}
#ff5 .ff-card__photo img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;}
#ff5 .ff-card__nameplate{
  position:absolute;bottom:0;left:0;right:0;padding:56px 18px 16px;
  background:linear-gradient(to top,rgba(26,8,0,.88) 0%,transparent 100%);color:#fff;
}
#ff5 .ff-card__name{font-size:20px;font-weight:800;letter-spacing:.02em;line-height:1.2;}
#ff5 .ff-card__age{font-size:12.5px;opacity:.72;margin-top:3px;}
#ff5 .ff-card__right{display:flex;flex-direction:column;border-left:1px solid var(--line);}
#ff5 .ff-before{padding:16px 22px;border-bottom:1px solid var(--line);background:var(--bg-warm);flex-shrink:0;}
#ff5 .ff-section-label{font-size:9px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;display:block;margin-bottom:7px;}
#ff5 .ff-before .ff-section-label{color:var(--sub);}
#ff5 .ff-before__text{font-size:13px;color:var(--sub);line-height:1.78;}
#ff5 .ff-after{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:12px;flex-shrink:0;}
#ff5 .ff-after .ff-section-label{color:var(--org);}
#ff5 .ff-result{background:var(--org);color:#fff;border-radius:12px;padding:14px 16px 16px;}
#ff5 .ff-result__badge{
  display:inline-block;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  background:#fff;color:var(--org);border-radius:100px;padding:3px 11px;margin-bottom:9px;
}
#ff5 .ff-result__text{font-size:17px;font-weight:800;line-height:1.55;letter-spacing:-.01em;color:#fff;}
#ff5 .ff-after__list{list-style:none;display:flex;flex-direction:column;gap:10px;margin:0;padding:0;}
#ff5 .ff-after__item{display:flex;align-items:flex-start;gap:9px;font-size:14px;color:var(--text);line-height:1.72;}
#ff5 .ff-tag{
  flex-shrink:0;background:var(--org-pale);color:var(--org);
  font-size:9.5px;font-weight:700;letter-spacing:.04em;
  padding:3px 10px;border-radius:100px;margin-top:3px;white-space:nowrap;
}
#ff5 .ff-comment{padding:16px 22px 20px;display:flex;gap:12px;align-items:flex-start;flex:1;}
#ff5 .ff-quote-icon{
  flex-shrink:0;width:34px;height:34px;border-radius:50%;
  background:var(--org-pale);border:1.5px solid var(--org);
  display:flex;align-items:center;justify-content:center;
  font-size:17px;color:var(--org);line-height:1;margin-top:1px;
}
#ff5 .ff-comment__who{font-size:9.5px;font-weight:700;color:var(--sub);letter-spacing:.1em;text-transform:uppercase;margin-bottom:6px;}
#ff5 .ff-comment__text{font-size:13.5px;color:var(--sub);line-height:1.85;}
#ff5 .slider-nav{display:flex;align-items:center;justify-content:space-between;margin-top:20px;}
#ff5 .slider-counter{font-size:13px;color:var(--sub);font-variant-numeric:tabular-nums;letter-spacing:.05em;}
#ff5 .slider-counter strong{color:var(--org);font-weight:800;font-size:15px;}
#ff5 .slider-dots{display:flex;gap:5px;}
#ff5 .slider-dot{
  width:7px;height:7px;border-radius:100px;background:var(--line);
  border:none;cursor:pointer;padding:0;transition:all .22s;
}
#ff5 .slider-dot.is-active{width:24px;background:var(--org);}
#ff5 .slider-arrows{display:flex !important;gap:8px;}
#ff5 .slider-arrow{
  width:42px !important;height:42px !important;border-radius:50% !important;
  border:1.5px solid var(--line) !important;background:var(--white) !important;
  cursor:pointer !important;display:flex !important;align-items:center !important;
  justify-content:center !important;color:var(--text) !important;
  transition:all .18s;padding:0 !important;margin:0 !important;
  box-shadow:none !important;text-indent:0 !important;line-height:1 !important;
}
#ff5 .slider-arrow:hover{border-color:var(--org) !important;color:var(--org) !important;background:var(--org-pale) !important;}
#ff5 .slider-arrow svg{
  width:15px !important;height:15px !important;stroke:currentColor;stroke-width:2.2;
  fill:none !important;stroke-linecap:round;stroke-linejoin:round;display:block !important;
}
@media(max-width:640px){
  #ff5 .ff-card{grid-template-columns:1fr;}
  #ff5 .ff-card__photo{height:260px;}
  #ff5 .ff-card__right{border-left:none;border-top:1px solid var(--line);}
}
@media(prefers-reduced-motion:reduce){#ff5 .slider-track{transition:none;}}

/* ─── FAQ セクション ─── */
#ff5 .faq{background:var(--bg-warm);}
#ff5 .faq-list{max-width:760px;margin:28px auto 0;display:flex;flex-direction:column;gap:10px;}
#ff5 .faq-item{
  background:var(--white);border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--sh);overflow:hidden;
}
#ff5 .faq-q{
  display:flex;align-items:flex-start;gap:12px;
  padding:16px 18px;cursor:pointer;list-style:none;
  font-weight:700;font-size:15px;color:var(--text);line-height:1.6;
}
#ff5 .faq-q::-webkit-details-marker{display:none;}
#ff5 .faq-q::before{
  content:'Q';flex-shrink:0;width:26px;height:26px;border-radius:50%;
  background:var(--org-pale);color:var(--org);
  font-size:12px;font-weight:800;
  display:flex;align-items:center;justify-content:center;margin-top:1px;
}
#ff5 .faq-a{padding:0 18px 16px 56px;font-size:14px;color:var(--sub);line-height:1.85;}
@media(max-width:640px){
  #ff5 .faq-q{font-size:13.5px;padding:14px 14px;}
  #ff5 .faq-a{padding:0 14px 14px 52px;font-size:13px;}
}

/* Ful Force: split-screen and tablet layout */
body.page-id-945 #main-wrap,
body.page-id-945 .l-main-container,
body.page-id-945 #page-main,
body.page-id-945 #post-945,
body.page-id-945 .single-post-main,
body.page-id-945 .single-post-main > .content{
  width:100%!important;max-width:none!important;
  margin-left:0!important;margin-right:0!important;
  padding-left:0!important;padding-right:0!important;
}
@media(max-width:1100px){
  #ff5 .hd-nav{display:none;}
  #ff5 .hero-grid{grid-template-columns:1fr!important;padding-right:0!important;}
  #ff5 .hero-photo-wrap{display:none!important;}
}
@media(min-width:641px) and (max-width:1100px){
  #ff5 .hero-mobile-card{display:none!important;}
  #ff5 .hero-grid>div:first-child{max-width:780px;margin:0 auto;}
  #ff5 .hero{padding-top:76px;padding-bottom:76px;}
  #ff5 .ff-card{grid-template-columns:1fr;}
  #ff5 .ff-card__photo{height:clamp(360px,58vw,520px);}
  #ff5 .ff-card__right{min-width:0;border-left:none;border-top:1px solid var(--line);}
  #ff5 .ff-before,#ff5 .ff-after,#ff5 .ff-comment{min-width:0;}
  #ff5 .ff-before__text,#ff5 .ff-result__text,#ff5 .ff-after__item,#ff5 .ff-comment__text{overflow-wrap:anywhere;word-break:normal;}
}

/* Ful Force: keep testimonial content inside mobile cards */
@media(max-width:640px){
  #ff5 .ff-card{grid-template-columns:minmax(0,1fr)!important;max-width:100%!important;}
  #ff5 .ff-card__right{width:100%!important;min-width:0!important;border-left:none!important;border-top:1px solid var(--line)!important;}
  #ff5 .ff-before,#ff5 .ff-after,#ff5 .ff-comment{width:100%!important;min-width:0!important;box-sizing:border-box!important;}
  #ff5 .ff-before__text,#ff5 .ff-result__text,#ff5 .ff-after__item,#ff5 .ff-comment__text{min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important;}
}


/* page_id=945: ヘッダーメニューとモバイル組版の調整 */
#ff5 .hd-nav br{display:none;}
#ff5 .hd-nav a{white-space:nowrap;line-height:1.4;}

@media(max-width:640px){
  #ff5 .pain-txt *,#ff5 .flow-card *,#ff5 .strength-item *,
  #ff5 .reason-card *,#ff5 .curriculum-card *,
  #ff5 .profile-desc,#ff5 .profile-card p,
  #ff5 .lead{overflow-wrap:break-word;word-break:normal;}
}
