/* =========================================================
   あいぷれ (speakeigo) TOP — Figma node 1:3 準拠
   colors: orange #FF751F / blue #055C9D / lightblue #E0F0FC / text #333
   fonts : Noto Sans JP (JP) / REM (English display)
   ========================================================= */

:where(.sr-only){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
:root{
  --orange:#FF751F;
  --blue:#055C9D;
  /* Figma のカード枠・区切り線は #055C9D / #FF751F の opacity 0.5 指定 */
  --blue50:rgba(5,92,157,.5);
  --orange50:rgba(255,117,31,.5);
  --lightblue:#E0F0FC;
  --text:#333333;
  --white:#fff;
  --sans:"Noto Sans JP",sans-serif;
  --rem:"REM","Noto Sans JP",sans-serif;
  --wrap:1166px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px} /* 固定ヘッダー(93px)分、アンカー着地を全体でオフセット */
/* フォーム系はUAスタイルでfont非継承(Arial等になる)ため明示継承 */
button,input,textarea,select{font-family:inherit}
/* SP専用改行(PCでは無効)。PC専用は.pcbr(640px以下で非表示) */
.spbr{display:none}
@media (max-width:640px){ .spbr{display:inline} }
/* BudouX: 文節単位の折返し(改行候補はJSが挿入) */
budoux-ja{word-break:keep-all;overflow-wrap:anywhere}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:var(--white);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,p{margin:0}

.container{width:100%;max-width:calc(var(--wrap) + 40px);margin:0 auto;padding:0 20px}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:22px;
  min-width:0;height:68px;padding:0 37px;
  font-family:var(--sans);font-weight:700;font-size:20px;line-height:36px;letter-spacing:3px;color:var(--white);
  border-radius:85px;transition:.2s opacity;
}
.btn__arrow{margin-left:-3px}
.btn:hover{opacity:.9}
.btn--orange{background:var(--orange)}
.btn--blue{background:var(--blue)}
/* Figma 'Arrow 1'(84:473 / 66:12111 / 54:71641 / 77:351,361,369 / 75:342 / 92:51 / 70:225 は同一)
   軸 24px + 先端から 45度・長さ8のヒゲ、strokeWeight 2。viewBox は 0 -6 24 12 */
.btn__arrow{width:24px;height:14.9232px;flex:none;overflow:visible}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{position:sticky;top:0;z-index:100;background:var(--white);height:93px;box-shadow:0 1px 6px rgba(0,0,0,.05)}
.site-header__inner{max-width:1366px;margin:0 auto;height:93px;display:flex;align-items:center;gap:65px;padding:0 50px}
/* Figma 2:2 は 185x61(素材370x122と同比率)。flex:noneで潰れ防止、heightはautoで比率固定 */
.site-header__logo{flex:none}
.site-header__logo img{width:185px;height:auto}
.gnav{display:flex;flex-wrap:nowrap;gap:32px;margin-left:12px}
.gnav a{position:relative;font-weight:700;font-size:16px;line-height:19.2px;letter-spacing:.8px;color:var(--text);white-space:nowrap}
.gnav a:hover{color:var(--orange)}
/* 現在ページ + hover の下線バー(hoverは中央から広がるアニメーション) */
.gnav a::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:3px;border-radius:999px;background:var(--orange);transform:scaleX(0);transform-origin:center;transition:transform .25s ease}
.gnav a:hover::after,.gnav a.is-current::after{transform:scaleX(1)}
.site-header__actions{margin-left:auto;display:flex;gap:16px;height:56px}
.hbtn{display:flex;align-items:center;justify-content:center;gap:8px;width:200px;height:56px;color:var(--white);font-weight:700;font-size:16px;line-height:19.2px;letter-spacing:.8px;border-radius:92px;white-space:nowrap}
.hbtn--login{background:var(--orange)}
.hbtn--signup{background:var(--blue)}
.hbtn__icon{width:24px;height:24px;flex:none}
.site-header__burger{display:none}

/* 全ページ共通: 常時見えるLINE導線 */
.line-dock{position:fixed;right:18px;bottom:18px;z-index:120;filter:drop-shadow(0 10px 22px rgba(0,0,0,.16))}
.line-dock__btn{display:flex;align-items:center;gap:11px;min-height:58px;padding:10px 16px;border-radius:14px;background:#06c755;color:#fff;font-size:14px;font-weight:700;line-height:1.45;letter-spacing:.03em;transition:transform .2s,filter .2s}
.line-dock__btn:hover{transform:translateY(-2px);filter:brightness(1.04)}
.line-dock__btn:focus-visible{outline:3px solid #fff;outline-offset:2px}
.line-dock__icon{flex:none;display:grid;place-items:center;width:46px;height:30px;border-radius:999px;background:#fff;color:#06a947;font-family:Arial,sans-serif;font-size:11px;font-weight:800;letter-spacing:0}

/* =========================================================
   section header (English big + plane + underline + JP)
   ========================================================= */
.sechead{margin-bottom:40px}
.sechead__top{display:flex;align-items:center;position:relative}
.sechead__cog{width:60px;height:61px;position:absolute;left:-27px;top:-8px;z-index:0}
/* Figma: 先頭1文字だけ #FF751F、2文字目以降は #055C9D（文字レベルの fill override） */
.sechead__en{
  font-family:var(--rem);font-weight:700;font-size:64px;line-height:1.25;
  color:var(--blue);position:relative;z-index:1;letter-spacing:.05em;
}
.sechead__en-first{color:var(--orange)}
.sechead__ja{display:flex;align-items:center;gap:5px;font-weight:700;font-size:16px;line-height:19.2px;letter-spacing:2.4px;color:var(--blue);margin-top:0}
.sechead__bar{width:36px;height:2px;background:var(--orange);display:inline-block}

.sec__intro{font-weight:500;font-size:16px;line-height:32px;letter-spacing:2.4px;color:var(--text);margin:0 0 40px}
.sec__btnrow{display:flex;justify-content:center;margin-top:40px}

/* generic section paddings */
.sec{padding:100px 0}
/* Figma: Features見出しはセクション上端(パディング0)、下は117px。Instagramは下パディング0 */
.sec--features{padding-top:0;padding-bottom:100px}
.sec--insta{padding-bottom:0}
.sec--features .sec__intro{margin-bottom:80px}
.sec--news .sec__intro{margin-bottom:47px}
.sec--news .sec__btnrow{margin-top:33px}
.sec--about,.sec--flow,.sec--news{background:var(--lightblue)}
.sec--features,.sec--qa,.sec--insta{background:var(--white)}
/* 下端の波形セクション境界 (Figma: 各セクション直下の "Vector 17/18")
   セクション背景は波の上側の色、.secwave が波の下側の色を描く */
.sec--about,.sec--features,.sec--flow,.sec--qa,.sec--news{position:relative;overflow:hidden}
.sec--about>.container,.sec--features>.container,.sec--flow>.container,
.sec--qa>.container,.sec--news>.container{position:relative;z-index:1}
.secwave{position:absolute;left:0;right:0;bottom:0;width:100%;display:block;pointer-events:none;z-index:0}
.secwave--about{height:376px}
.secwave--features{height:295px}
.secwave--flow{height:270px}
.secwave--qa{height:386px}
.secwave--news{height:192px}

/* =========================================================
   HERO
   ========================================================= */
.hero{position:relative;background:var(--white);overflow:hidden;container-type:inline-size}
.hero__defs{position:absolute;width:0;height:0;overflow:hidden}
.hero__canvas{position:relative;width:100%;aspect-ratio:1366/731}
.hero__canvas>*{position:absolute}

/* --- wave band (#E0F0FC, wavy top edge) --- */
.hero__wave{left:0;top:61.286%;width:100%;height:38.714%;background:var(--lightblue);clip-path:url(#hpc-waveband);z-index:1}
/* --- Sydney line illustration (transparent PNG), bleeds off bottom-left --- */
.hero__sydney{left:-12.591%;top:58.96%;width:42.533%;height:52.941%;object-fit:contain;object-position:left bottom;z-index:2}

/* --- diagonal photo panels --- */
.hero__panels{position:absolute;inset:0;z-index:3}
.hp{position:absolute;margin:0}
.hp__mask{position:absolute;inset:0;overflow:hidden}
/* 写真は Figma の画像ノード AABB にそのまま貼る(回転・色補正は書出しPNGに焼込み済)ので fill */
.hp__photo{position:absolute;max-width:none;object-fit:fill}
.hp__label{position:absolute}
.hp--study{left:26.078%;top:1.077%;width:29.379%;height:98.87%}
.hp--study .hp__mask{clip-path:url(#hpc-study)}
.hp--study .hp__photo{left:-144.187%;top:-.632%;width:292.936%;height:108.388%}
.hp--study .hp__label{left:43.25%;top:11.17%;width:35.58%;height:14.36%}
.hp--step{left:44.496%;top:.921%;width:27.665%;height:90.814%}
.hp--step .hp__mask{clip-path:url(#hpc-step)}
.hp--step .hp__photo{left:-109.037%;top:-1.744%;width:287.846%;height:111.224%}
.hp--step .hp__label{left:40.48%;top:6.08%;width:37.6%;height:10.79%}
.hp--work{left:61.157%;top:4.518%;width:27.786%;height:90.13%}
.hp--work .hp__mask{clip-path:url(#hpc-work)}
.hp--work .hp__photo{left:-32.248%;top:-6.986%;width:435.736%;height:122.897%}
.hp--work .hp__label{left:57.28%;top:7.84%;width:25.53%;height:8.38%}
.hp--challenge{left:77.9%;top:-4.399%;width:28.813%;height:98.705%}
.hp--challenge .hp__mask{clip-path:url(#hpc-challenge)}
.hp--challenge .hp__photo{left:-176.368%;top:-1.744%;width:331.239%;height:101.753%}
.hp--challenge .hp__label{left:34.78%;top:25.11%;width:40.14%;height:12.28%}

/* --- copy block --- */
.hero__copy{position:absolute;inset:0;z-index:4;pointer-events:none}
.hero__copy>*{pointer-events:auto}
.hero__badge{position:absolute;left:3.661%;top:4.514%;width:26.794%;height:27.497%;object-fit:fill}
.hero__title{position:absolute;left:3.661%;top:35.2%;margin:0;font-family:var(--sans);font-weight:700;font-size:2.05cqw;line-height:2.108cqw;letter-spacing:.176cqw;color:var(--text);white-space:nowrap}
.hero__title .is-orange{color:#FF751F;font-size:2.343cqw;letter-spacing:.234cqw}
.hero__lead{position:absolute;left:3.661%;top:44%;margin:0;font-family:var(--sans);font-weight:700;font-size:1.171cqw;line-height:2.108cqw;letter-spacing:.176cqw;color:var(--text)}
.hero__lead .is-blue{color:var(--blue);font-size:1.464cqw}
.hero__cta{position:absolute;left:3.661%;top:60.192%;width:22.035%;height:9.302%;background:#FF751F;color:#fff;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:1.1cqw;font-family:var(--sans);font-weight:700;font-size:1.464cqw;line-height:2.635cqw;letter-spacing:.219cqw;text-decoration:none}
.hero__cta .btn__arrow{width:1.76cqw;height:auto;flex:none}

/* --- orange dashed flight path + plane --- */
.hero__dash{left:64.121%;top:94.802%;width:18.564%;height:auto;z-index:4}
.hero__plane{left:83.309%;top:86.32%;width:4.978%;height:auto;z-index:5}

/* =========================================================
   ABOUT
   ========================================================= */
.about__intro{display:grid;grid-template-columns:613px 424px;gap:40px;align-items:center;max-width:1077px;margin:0 auto 40px 50px}
.about__lead{font-weight:700;font-size:20px;line-height:36px;letter-spacing:3px;margin-right:-3px;margin-bottom:24px}
.about__lead .is-orange{color:var(--orange);font-size:24px}
.about__desc{font-weight:500;font-size:16px;line-height:32px;letter-spacing:2.4px;margin-right:-2.4px}
/* 素材は Figma 画像ノード 49:426 を images API で書き出したもの(fills[0].imageTransform の
   クロップが焼き込み済で AABB と同アスペクト)。cover だと再クロップされるので fill で貼る */
.about__img img{width:424px;height:195px;object-fit:fill;border-radius:0}

.about__box{background:var(--blue);border-radius:16px;padding:40px 40px 12px 17px;display:grid;grid-template-columns:317px 1fr;gap:19.5px;align-items:start;max-width:1066px;margin:0 auto}
.about__wants li{white-space:nowrap}
.about__box-title{color:var(--white);font-weight:700;font-size:16px;line-height:20.8px;letter-spacing:2.4px;text-align:center;margin-bottom:28px}
.about__box-title .big{display:block;font-size:32px;line-height:41.6px;letter-spacing:3.2px;margin-top:2px}
/* 同上: Figma 47:341 の書き出し(クロップ焼き込み済) */
.about__box-img{width:317px;height:168px;object-fit:fill;border-radius:0}
.about__wants{display:flex;flex-direction:column;gap:24px}
.about__wants li{display:flex;align-items:center;gap:24px;color:var(--white);font-weight:700;font-size:20px;line-height:30px;letter-spacing:2px;min-height:40px}
.wico{width:40px;height:40px;flex:none}

/* =========================================================
   FEATURES
   ========================================================= */
.feat{display:flex;flex-direction:column;gap:0}
.feat__row{display:grid;grid-template-columns:540px 1fr;gap:80px;align-items:center}
.feat__row--rev{grid-template-columns:1fr 540px}
.feat__row--rev .feat__img{order:2}
.feat__row--rev .feat__body{order:1}
/* --- wavy banner image with blue offset backing --- */
.feat__img{position:relative;aspect-ratio:540/361;margin:0}
.feat__back,.feat__mask{position:absolute;width:96.77426%;height:95.17662%;-webkit-clip-path:url(#feat-wave);clip-path:url(#feat-wave)}
/* 51:560 mask 522.581x343.741 @ 0,0 / 51:555 back 同寸 @ +17.419,+17.420(容器 540x361.161) */
.feat__back{left:3.22573%;top:4.82327%;background:var(--blue)}
.feat__mask{left:0;top:0;overflow:hidden;background:#d9d9d9}
/* 2行目は波形そのものが左右反転(Figma 51:555 / 51:560 の relativeTransform = scaleX(-1)) */
.feat__row--rev .feat__back,.feat__row--rev .feat__mask{-webkit-clip-path:url(#feat-wave-rev);clip-path:url(#feat-wave-rev)}
/* マスク(523.58x343.74)に対し画像ノードは一回り大きく、行ごとに揃え方が違う。
   中央cover(object-position:50% 50%)ではFigmaのクロップ位置と一致しないので、
   Figmaの画像ノード実寸(=マスク比%)と整列をそのまま再現する。
   ズーム% = 画像ノードW / マスクW(522.581)、H / マスクH(343.741) */
.feat__mask img{position:absolute;top:0;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0}
/* 51:584 594x396 / 右揃え・上揃え(左71px・下52pxをクロップ) */
.feat__mask--i1 img{right:0;width:113.67%;height:115.20%}
/* 51:582 523x349 / 左揃え・上揃え(下5pxをクロップ) */
.feat__mask--i2 img{left:0;width:100.08%;height:101.53%}
/* 51:602 546x364 / 左揃え・上揃え(右23px・下20pxをクロップ) */
.feat__mask--i3 img{left:0;width:104.48%;height:105.89%}
/* Figma 51:584 の relativeTransform は [[-1,0,523],[0,1,0]] = scaleX(-1)。
   素材PNGは反転前の元画像なので、実装側で左右反転して Figma の見えに合わせる */
.feat__mask--flip img{transform:scaleX(-1)}
/* POINT bubble badge, sits at body's top-left corner; title starts to its right */
.feat__body{position:relative;padding:50px 0;min-height:0}
.feat__point{
  position:absolute;left:-62px;top:0;width:79px;height:79px;border-radius:50%;z-index:3;
  background:var(--orange);color:var(--white);font-family:var(--rem);font-weight:700;
  font-size:16px;line-height:16px;letter-spacing:2.4px;display:flex;flex-direction:column;align-items:center;justify-content:center;
}
.feat__point b{font-size:20px;line-height:20px;font-weight:700;margin-top:2px}
/* 吹き出しの尻尾: Figma "Vector 14"(53:609)。円(Ellipse 2 53:610)の左上を原点に
   left 55.91 / top 59.27 / 23.168x20.231、6.681°回転済みの三角形をパスに焼き込み。
   従来の CSS ボーダー三角形は下中央16x8で、Figma実測(右下45°方向・23x20)と別物だった。 */
.feat__tail{position:absolute;left:55.91px;top:59.27px;width:23.168px;height:20.231px;overflow:visible}
.feat__row--rev .feat__point{left:-40px}
.feat__title{font-weight:700;font-size:20px;line-height:30px;letter-spacing:3px;color:var(--blue);text-align:center;margin-bottom:18px;padding-top:0}
.feat__text{font-weight:500;font-size:16px;line-height:28.8px;letter-spacing:2.4px;margin-right:-2.4px;color:var(--text)}
/* orange dashed flight connector between rows */
.feat__flight{position:relative;height:80px;margin:0 -13px}
.feat__line{position:absolute;top:50%;height:0;border-top:3px dashed var(--orange50)}
.feat__plane{position:absolute;top:50%;width:68px;height:68px;transform:translateY(-50%)}
.feat__plane .planeicon{width:68px;height:68px;transform:rotate(90deg)}
.feat__flight--r .feat__line{left:0;right:82px}
.feat__flight--r .feat__plane{right:0}
.feat__flight--l .feat__line{left:82px;right:0}
.feat__flight--l .feat__plane{left:0}
/* connector-2 (Figma 51:600) は親グループ scaleX(-1) の鏡映=左向き(←)。rotateだけ(det+)では不可、水平鏡映で合わせる */
.feat__flight--l .feat__plane .planeicon{transform:scaleX(-1) rotate(90deg)}

/* =========================================================
   CTA banner
   ========================================================= */
.cta{padding:0}
.cta--onblue{background:var(--lightblue);padding:0}
.cta--onwhite{background:var(--white);padding:100px 0}
.cta__card{
  position:relative;background:var(--white);border:2px solid var(--blue50);border-radius:16px;
  max-width:1000px;margin:0 auto;padding:60px 20px 40px;text-align:center;overflow:hidden;
}
.cta__lead{position:relative;display:block;width:-moz-fit-content;width:fit-content;margin:0 auto 44px}
/* 集中線/波線は Figma Frame 64 の座標系(1000x345)そのままでカードに重ねる */
.cta__spark{position:absolute;left:-2px;top:-2px;width:1000px;height:345px;pointer-events:none;overflow:visible}
.cta__title{font-family:var(--rem);font-weight:700;font-size:32px;line-height:40px;letter-spacing:3.2px;color:var(--text)}
.cta__title .is-orange{color:var(--orange);font-size:1.125em}
.cta__title .is-blue{color:var(--blue)}
/* Figma 66:12204 は relativeTransform に -0.845度の回転を持つ(右端が 8.54px 上がる)。
   素材SVGに行列を焼き込み、外形は回転後の strokeGeometry 実測(582.157x11.756)。
   ローカル原点(0,0) はカード左上から (212.0, 115.05) → viewBox 原点ぶん引いて padding box 基準 */
.cta__underline{position:absolute;left:208.486px;top:108.897px;width:582.157px;height:11.756px;pointer-events:none}
.cta__text{font-family:var(--rem);font-weight:700;font-size:16px;line-height:32px;letter-spacing:2.4px;color:var(--text);margin-bottom:24px}
/* Figma Frame 64 内の装飾画像5枚。left/top/width/height は PHP 側でノード実測値を直指定。
   Figma の stroke は INSIDE なので bbox 原点はボーダー外辺 = 実装のパディングボックス -2px。 */
.cta__deco{position:absolute;margin:-2px 0 0 -2px;object-fit:fill;pointer-events:none}

/* =========================================================
   FLOW
   ========================================================= */
.flow{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;position:relative;margin-top:193px}
/* horizontal connector line with left dot + right arrow, at STEP-badge center */
.flow__line{position:absolute;left:0;right:0;top:-69px;height:0;border-top:3px solid var(--blue);z-index:0}
.flow__dot{position:absolute;left:0;top:-7.5px;width:15px;height:15px;border-radius:50%;background:var(--blue)}
.flow__arrow{position:absolute;right:-2px;top:-7px;width:0;height:0;border:7px solid transparent;border-left:12px solid var(--blue);border-right:0}
.flow__card{background:var(--white);border:3px solid var(--blue);border-radius:19px;padding:21px 23px 20px;position:relative}
.flow__step{
  position:absolute;left:50%;top:-114px;transform:translateX(-50%);width:90px;height:90px;border-radius:50%;background:var(--white);
  border:3px solid var(--blue);color:var(--orange);font-family:var(--rem);font-weight:700;font-size:20px;letter-spacing:0;
  line-height:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;z-index:1;
}
.flow__step b{font-size:36px;line-height:36px;font-weight:700;margin-top:1px}
.flow__step::after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);width:3px;height:24px;background:var(--blue)}
.flow__img{position:relative;margin:0 0 40px;height:220px}
/* 画像はマスクからはみ出す実寸で貼るので、丸角クリップは専用ラッパで行う。
   .flow__img に overflow:hidden を付けると下にはみ出す .flow__icon まで切れる */
.flow__clip{position:absolute;inset:0;display:block;overflow:hidden;border-radius:8px}
/* Figma は Mask group(Rectangle 15 r8)に画像ノードを一回り大きく重ねている。
   素材は画像ノードを images API で書き出したものなので、マスクに対する実寸%で貼る。
   cover はマスク比でクロップし直してしまうので使わない(hero と同じ直し方)。 */
.flow__img img{position:absolute;max-width:none;object-fit:fill;border-radius:0}
/* 70:166 mask 310x220 / 70:167 img 403.954x225.500 @ -26.827,-0.483 */
.flow__card:nth-child(2) .flow__img img{left:-8.65392%;top:-0.21973%;width:130.30776%;height:102.49994%}
/* 70:180 mask 314x220 / 70:181 img 398.538x220.000 @ -42.269,-0.483 */
.flow__card:nth-child(3) .flow__img{margin-left:-2px;margin-right:-2px}
.flow__card:nth-child(3) .flow__img img{left:-13.46163%;top:-0.21973%;width:126.92307%;height:100.00000%}
/* 70:194 mask 314x220 / 70:195 img 488.874x227.700 @ -163.038,-4.483 */
.flow__card:nth-child(4) .flow__img{margin-left:-2px;margin-right:-2px}
.flow__card:nth-child(4) .flow__img img{left:-51.92296%;top:-2.03791%;width:155.69232%;height:103.50005%}
.flow__icon{position:absolute;left:50%;bottom:-40px;transform:translateX(-50%);width:80px;height:80px;border-radius:50%;background:var(--blue);border:4px solid var(--white);display:flex;align-items:center;justify-content:center}
/* Figma のアイコンフレーム 70:170 / 70:184 / 70:198 は 53.3333px 角 */
.flow__icon svg{width:53.3333px;height:53.3333px}
.flow__title{font-weight:700;font-size:20px;line-height:40px;letter-spacing:1px;color:var(--blue);text-align:center;padding-bottom:5px;margin-bottom:15px;border-bottom:1px solid var(--blue50)}
.flow__text{font-weight:500;font-size:16px;line-height:32px;letter-spacing:2.4px;margin-right:-5px;color:#000}

/* =========================================================
   Q&A
   ========================================================= */
.qa{display:flex;flex-direction:column;gap:24px;max-width:1066px;margin:0 auto}
.qa__item{background:var(--white);border:2px solid var(--blue50);border-radius:8px;overflow:hidden}
.qa__item summary{list-style:none;display:flex;align-items:center;gap:22px;padding:9px 22px;cursor:pointer;position:relative}
.qa__item summary::-webkit-details-marker{display:none}
.qa__q{font-family:var(--rem);font-weight:500;font-size:20px;line-height:40px;letter-spacing:3px;color:var(--blue);flex:none}
.qa__label{font-family:var(--rem);font-weight:700;font-size:16px;line-height:32px;letter-spacing:2.4px;color:var(--text);flex:1}
/* Figma 54:71594 'Vector 15' は 16x7(頂点 x=8.18605)。open が素の向き、
   閉じている 4件は relativeTransform [[1,0,1003],[0,-1,10.5]] = scaleY(-1) */
.qa__chev{width:16px;height:7px;flex:none;overflow:visible;transition:transform .2s;transform:scaleY(-1)}
/* Figma も open が素の向き(識別変換)、閉じている4件が scaleY(-1)。同じ構造で持つ */
.qa__item[open] .qa__chev{transform:none}
/* Figma 54:71596 'Line 8' は x=174..1193(w1019)/strokeWeight 2/dash[4,4]/#055C9D 50%。
   .qa__item は border 2px なので padding box は 152..1214 → 左22px 右21px で 1019 */
.qa__a{display:flex;gap:22px;padding:11px 0 14px;border-top:2px dashed var(--blue50);margin:0 21px 0 22px}
.qa__aicon{font-family:var(--rem);font-weight:500;font-size:20px;line-height:40px;letter-spacing:3px;color:var(--orange);flex:none}
.qa__a p{font-family:var(--rem);font-weight:500;font-size:16px;line-height:32px;letter-spacing:2.4px;margin-right:-2.4px;color:var(--text)}

/* =========================================================
   NEWS
   ========================================================= */
.news{display:flex;flex-direction:column;max-width:1066px;margin:0 auto}
.news__row{display:flex;align-items:center;gap:40px;padding:32px 0;border-bottom:1px solid var(--blue50)}
.news__date{font-family:var(--rem);font-weight:700;font-size:16px;line-height:32px;letter-spacing:.8px;color:var(--blue50);flex:none}
.news__cat{background:var(--blue);color:var(--white);font-weight:500;font-size:16px;line-height:24px;letter-spacing:2.4px;padding:2px 16px;border-radius:4px;flex:none;width:122px;text-align:center}
.news__title{font-weight:500;font-size:16px;line-height:32px;letter-spacing:2.4px;margin-right:-2.4px;color:var(--text);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.news__row .btn__arrow{color:var(--blue);flex:none}
.news__row:hover .news__title{color:var(--blue)}

/* =========================================================
   INSTAGRAM
   ========================================================= */
.insta__grid{display:grid;grid-template-columns:repeat(4,255px);justify-content:center;gap:16px}
/* Figma 93:58 ほか 8枚とも cornerRadius なし(=0)。6px は実装側の独断だったので外す */
.insta__item{display:block;aspect-ratio:1/1;background:#D3D3D3;border-radius:0;overflow:hidden;transition:.2s opacity}
.insta__item img{display:block;width:100%;height:100%;object-fit:cover}
.insta__item:hover{opacity:.85}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{background:var(--blue);padding:80px 0}
.site-footer__inner{display:flex;gap:136px;flex-wrap:wrap}
.fcol{width:183px}
.fcol__head{display:flex;align-items:center;gap:10px;color:var(--white);font-weight:700;font-size:20px;line-height:32px;letter-spacing:1px;margin-bottom:24px}
.fcol__bar{width:15px;height:2px;background:var(--orange);display:inline-block}
.fcol__list li{margin-bottom:16px}
.fcol__list li:last-child{margin-bottom:0}
.fcol__list a{display:flex;align-items:center;color:var(--white);font-weight:500;font-size:16px;line-height:25.6px;letter-spacing:.8px}
/* Figma 54:89311 'Vector 16' は 6x12.5 の > 形(strokeWeight 1)。
   6x6 の border 45度回転(実効 2px 幅・8.5px 角)は別物だったので実パスにする */
.fcol__list a::after{content:"";width:7.0607px;height:13.1927px;margin-left:auto;flex:none;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="7.0607" height="13.1927" viewBox="-0.3674 -0.3391 7.0607 13.1927"><path fill='%23ffffff' d='M6 6.5L6.35355 6.85355L6.69325 6.51386L6.3674 6.16086L6 6.5ZM0 0L-0.367402 0.33914L5.6326 6.83914L6 6.5L6.3674 6.16086L0.367402 -0.33914L0 0ZM6 6.5L5.64645 6.14645L-0.353553 12.1464L0 12.5L0.353553 12.8536L6.35355 6.85355L6 6.5Z'/></svg>') no-repeat center}
.fcol__list a:hover{opacity:.8}
.fcol--logo{margin-left:auto;display:flex;align-items:flex-start}
/* Figma 71:241 は 208x69。img{max-width:100%} で 183px に縮んでいた */
.fcol--logo img{width:208px;height:69px;max-width:none;flex:none;object-fit:fill}
/* 中間幅: .fcol汎用の183px固定列に208px画像がはみ出し、右端で横スクロールを起こすため列幅を画像に合わせる */
@media (max-width:1280px){
  .fcol--logo{width:auto}
}
.copyright{background:var(--white);padding:8px 0;text-align:center}
.copyright p{font-weight:500;font-size:16px;line-height:25.6px;letter-spacing:.8px;color:var(--text)}

/* =========================================================
   LOWER PAGES  (下層共通 + あいぷれとは)
   ========================================================= */
.lower{padding-bottom:0}

/* 下層ヘッダー帯(ヒーロー): 左見出し + 右ベクターイラスト */
.lowerhead{position:relative;overflow:hidden;background:var(--lightblue);padding:36px 0;margin-bottom:72px;display:flex;align-items:center;min-height:360px}
.lowerhead .container{position:relative;z-index:2}
.lowerhead .sechead{margin:0}
/* 下層ヘッダー見出しは行高を詰めてバンド内で光学的に中央へ(TOPのsecheadには不干渉) */
.lowerhead .sechead__en{line-height:1.1}
/* イラストは3:2素材。blobごと僅かに上下ブリードさせて帯と馴染ませる */
.lowerhead__art{position:absolute;z-index:1;top:50%;transform:translateY(-50%);right:3%;height:106%}
.lowerhead__art img{height:100%;width:auto;display:block}

/* あいぷれとは(intro) 2カラム + イラスト + 装飾 */
.sec--intro{position:relative;padding-top:8px;padding-bottom:96px}
.intro__grid{display:grid;grid-template-columns:1fr 400px;gap:56px;align-items:center}
.intro__lead{font-size:24px;font-weight:700;line-height:1.75;letter-spacing:.04em;margin-bottom:24px}
.intro__lead .is-blue{color:var(--blue)}
.intro__lead--hero{font-size:26px;font-weight:700;line-height:1.45;letter-spacing:.09em;margin-bottom:28px;color:var(--text)}
.intro__lead--hero .ln{display:block;padding:5px 0}
.intro__lead--hero .k{font-size:48px;font-weight:800;line-height:1;color:var(--blue);white-space:nowrap}
.intro__body p{font-size:16px;line-height:1.8;letter-spacing:.03em;margin-bottom:13px;color:#444}
.intro__body p:last-child{margin-bottom:0}
.intro__visual{position:relative;display:flex;justify-content:center;align-items:center}
.intro__img{position:relative;z-index:2;width:100%;max-width:390px}
.intro__blob{position:absolute;z-index:1;width:86%;aspect-ratio:1;border-radius:46% 54% 52% 48%/52% 46% 54% 48%;background:var(--lightblue);left:8%;top:5%}
.intro__dots{position:absolute;z-index:1;right:-4px;bottom:6px;width:96px;height:72px;
  background-image:radial-gradient(var(--blue50) 2.3px,transparent 2.5px);background-size:16px 16px;opacity:.5}

/* 代表挨拶(message) 波divider + カード + 装飾 */
.sec--message{position:relative;background:var(--lightblue);margin-top:40px;padding:96px 0 104px;overflow:hidden}
.msgwave{position:absolute;left:0;top:-1px;width:100%;height:70px;line-height:0}
.msgwave svg{width:100%;height:100%;display:block}
.message__wrap{max-width:920px;margin:0 auto;position:relative;z-index:2}
.message__title{font-size:28px;font-weight:700;line-height:1.75;letter-spacing:.04em;color:var(--blue);text-align:center;margin:12px 0 44px}
.message__card{position:relative;background:var(--white);border-radius:20px;padding:56px 60px;box-shadow:0 18px 48px rgba(5,92,157,.10)}
/* 代表挨拶: 冒頭に顔写真+氏名の見出し */
.message__head{display:flex;align-items:center;gap:32px;margin-bottom:32px;padding-bottom:30px;border-bottom:1px solid var(--lightblue)}
.message__portrait{flex:none;width:160px;margin:0}
.message__portrait img{width:160px;height:160px;object-fit:cover;border-radius:18px;display:block}
.message__headrole{font-size:15px;font-weight:700;color:var(--blue);letter-spacing:.08em;margin-bottom:6px}
.message__headname{font-size:26px;font-weight:700;color:var(--text);letter-spacing:.12em;margin-bottom:12px}
.message__headnote{font-size:14px;line-height:1.7;color:#666}
.message__body p{font-size:16px;line-height:1.8;letter-spacing:.03em;margin-bottom:15px}
.message__voices{margin:10px 0 24px;padding:26px 30px;background:var(--lightblue);border-radius:14px;display:grid;gap:12px}
.message__voices li{position:relative;font-size:16px;line-height:1.85;color:var(--blue);font-weight:500;padding-left:26px}
.message__voices li::before{content:"";position:absolute;left:2px;top:.7em;width:11px;height:11px;border-radius:50%;background:var(--orange)}
.message__sign{text-align:right;margin-top:32px;padding-top:22px;border-top:1px solid var(--lightblue)}
.message__sign-role{font-size:15px;color:var(--text);font-weight:700;margin-right:14px}
.message__sign-name{font-size:24px;color:var(--blue);font-weight:700;letter-spacing:.14em}

@media (max-width:900px){
  .intro__grid{grid-template-columns:1fr;gap:12px}
  .intro__visual{order:-1;margin-bottom:4px}
  .intro__img{max-width:300px}
  .intro__dots{display:none}
}
@media (max-width:640px){
  /* SPは横並びだと長タイトル(First Step等)とインクが被るため
     「見出し上・イラスト下(中央寄せ)」の2段構成。下端は少しブリードさせて帯と馴染ませる */
  .lowerhead{padding:24px 0 0;margin-bottom:44px;min-height:0;flex-direction:column;align-items:stretch}
  .lowerhead .container{width:100%;order:-1}
  .lowerhead__art{position:static;transform:none;height:auto;width:min(74%,300px);margin:8px auto -14px}
  .lowerhead__art img{width:100%;height:auto}
  /* lowerhead直後の先頭セクションはSPで上を詰める。
     後方のTOP用 .sec{padding:56px 0} と同特異度の個別指定は負けるため2クラスで勝たせる */
  /* sechead__cog(top:-8px)がoverflow:hiddenで切れないよう、PC同様8px確保 */
  .lowerhead+.sec{padding-top:8px}
  .sec--intro{padding-bottom:56px}
  .intro__lead{font-size:20px;line-height:1.85;margin-bottom:20px}
  .intro__lead--hero{font-size:19px;line-height:1.4;margin-bottom:22px}
  .intro__lead--hero .ln{padding:3px 0}
  .intro__lead--hero .k{font-size:33px}
  .intro__body p{font-size:15px;line-height:1.8}
  .sec--message{margin-top:24px;padding:56px 0 64px}
  .message__title{font-size:21px;line-height:1.7;margin-bottom:32px}
  .message__card{padding:30px 22px;border-radius:14px}
  .message__head{flex-direction:column;text-align:center;gap:16px;margin-bottom:24px;padding-bottom:22px}
  .message__portrait,.message__portrait img{width:132px;height:auto}
  .message__portrait img{height:132px}
  .message__headname{font-size:22px}
  .message__body p{font-size:15px;line-height:1.8}
  .message__voices{padding:20px 18px}
  .message__voices li{font-size:14px}
  .message__sign-name{font-size:20px}
  .pcbr{display:none}
}

/* ---- コース紹介 (coaching / online course) — 横長カード+アイコン(モック参考) ---- */
.sec--coaching{position:relative;padding:8px 0 96px;overflow:hidden}
.sec--onlinecourse{position:relative;background:var(--lightblue);margin-top:40px;padding:96px 0 104px;overflow:hidden}
.sec--coaching .sechead,.sec--onlinecourse .sechead{margin-bottom:36px}
.cintro{max-width:840px;margin:0 auto 56px;text-align:center}
.cintro__lead{font-size:24px;font-weight:700;line-height:1.6;letter-spacing:.05em;margin-bottom:22px}
.cintro__lead .is-blue{color:var(--blue);font-size:36px;font-weight:800;letter-spacing:.02em}
.cintro__body p{font-size:16px;line-height:1.8;letter-spacing:.02em;color:#444;margin-bottom:10px}
.cintro__body p:last-child{margin-bottom:0}
.cchange{max-width:600px;margin:34px auto 0;background:var(--white);border-radius:16px;padding:28px 40px;text-align:left;box-shadow:0 10px 30px rgba(5,92,157,.08)}
.cchange__title{font-size:17px;font-weight:700;color:var(--blue);text-align:center;margin-bottom:16px}
.cchange__list li{position:relative;padding-left:30px;font-size:16px;font-weight:500;line-height:1.9}
.cchange__list li+li{margin-top:8px}
.cchange__list li::before{content:"";position:absolute;left:4px;top:.55em;width:14px;height:14px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 4px rgba(255,117,31,.18)}

/* コーチング導入: 左テキスト+右イラストの2カラム、目指す変化は横並びチェック */
.cintro--split{max-width:none;display:grid;grid-template-columns:1fr 440px;gap:56px;align-items:center;text-align:left;margin-bottom:36px}
.cintro__art img{width:100%;height:auto;display:block}
.cchange--row{max-width:none;margin:0 0 56px;background:var(--lightblue);box-shadow:none;border-radius:18px;padding:30px 38px 34px}
.cchange--row .cchange__title{text-align:left;margin-bottom:18px}
.cchange--row .cchange__list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cchange--row .cchange__list li{background:var(--white);border-radius:14px;padding:16px 18px;display:flex;align-items:center;gap:12px;font-size:15px;line-height:1.7;box-shadow:0 8px 22px rgba(5,92,157,.07)}
.cchange--row .cchange__list li+li{margin-top:0}
.cchange--row .cchange__list li::before{display:none}
.cchange__check{flex:none;width:26px;height:26px;border-radius:50%;background:var(--orange);display:flex;align-items:center;justify-content:center}
.cchange__check svg{width:14px;height:14px;stroke:#fff;stroke-width:3.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.cstack{display:grid;gap:22px;max-width:1000px;margin:0 auto;position:relative;z-index:2}
.ccard{display:grid;grid-template-columns:176px 1fr;gap:40px;align-items:center;background:var(--white);border-radius:22px;padding:34px 46px;box-shadow:0 14px 38px rgba(5,92,157,.10);transition:transform .2s,box-shadow .2s}
.ccard:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(5,92,157,.17)}
/* ミニシーンイラスト(blob背景込み・白地素材)。タイル枠は持たせない */
.ccard__art{width:176px}
.ccard__art img{width:100%;height:auto;display:block}
.ccard--noart{grid-template-columns:1fr}
.cicon{width:62px;height:62px;display:block}
.ccard__head{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.ccard__no{flex:none;width:34px;height:34px;border-radius:50%;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--rem);font-weight:700;font-size:16px}
.ccard__name{font-size:22px;font-weight:700}
.ccard__lead{font-size:18px;font-weight:700;line-height:1.6;color:var(--blue);margin-bottom:12px}
.ccard__text{font-size:15px;line-height:1.8;color:#444;margin-bottom:7px}
.ccard__text:last-child{margin-bottom:0}
.cstack--course .ccard__no{background:var(--blue)}
@media (max-width:820px){
  .ccard{grid-template-columns:1fr;gap:18px;padding:28px 26px}
  .cintro--split{grid-template-columns:1fr;gap:22px}
  .cintro__art{max-width:340px;margin:0 auto}
  .ccard__art{width:132px;margin:0 auto}
  .cicon{width:42px;height:42px}
}

/* ---- 料金表 ---- */
.sec--pricing{padding:24px 0 110px}
.pricing-notice{position:relative;max-width:820px;margin:0 auto;padding:72px 40px;text-align:center;background:#fff;border:2px solid var(--lightblue);border-radius:24px;box-shadow:0 18px 48px rgba(5,92,157,.10);overflow:hidden}
.pricing-notice::before,.pricing-notice::after{content:"";position:absolute;border-radius:50%;background:var(--lightblue);opacity:.7}
.pricing-notice::before{width:180px;height:180px;left:-90px;top:-100px}
.pricing-notice::after{width:120px;height:120px;right:-55px;bottom:-65px}
.pricing-notice__label{display:inline-block;margin-bottom:15px;color:var(--orange);font-family:var(--rem);font-weight:700;font-size:13px;letter-spacing:.18em}
.pricing-notice__title{font-size:30px;line-height:1.5;color:var(--blue);margin-bottom:18px}
.pricing-notice__text{font-size:17px;line-height:1.8;margin-bottom:34px}

@media (max-width:640px){
  body{padding-bottom:104px}
  .line-dock{right:0;bottom:0;left:0;filter:drop-shadow(0 -4px 16px rgba(0,0,0,.14))}
  .line-dock__btn{justify-content:center;min-height:64px;padding:8px 6px;border-radius:0;font-size:12.5px;text-align:left;letter-spacing:0}
  .line-dock__btn:hover{transform:none}
  .line-dock__icon{width:38px;height:26px;font-size:10px}
  .sec--pricing{padding:0 0 64px}
  .pricing-notice{padding:50px 22px;border-radius:18px}
  .pricing-notice__title{font-size:23px}
  .pricing-notice__text{font-size:15px}
}
@media (max-width:640px){
  .sec--coaching{padding:0 0 56px}
  .sec--onlinecourse{margin-top:24px;padding:56px 0 64px}
  .cintro{margin-bottom:36px}
  .cintro__lead{font-size:18px;line-height:1.6}
  .cintro__lead .is-blue{font-size:26px}
  .cintro__body p{font-size:15px;line-height:2}
  .cchange{padding:22px 22px}
  .cintro--split{gap:18px;margin-bottom:28px}
  .cintro__art{max-width:300px}
  .cchange--row{padding:22px 18px 24px;margin-bottom:40px}
  .cchange--row .cchange__title{text-align:center}
  .cchange--row .cchange__list{grid-template-columns:1fr;gap:10px}
  .ccard__name{font-size:19px}
  .ccard__lead{font-size:16px}
}

/* ---- 利用規約 (terms) — 左TOC + 本文(モック参考) ---- */
.sec--terms{padding:8px 0 100px}
.terms{display:grid;grid-template-columns:236px 1fr;gap:56px;max-width:1080px;margin:0 auto}
.terms__toc{position:sticky;top:112px;align-self:start;border-right:1px solid var(--lightblue);padding-right:28px}
.terms__toc-head{font-family:var(--rem);font-weight:700;font-size:20px;color:var(--blue);margin-bottom:18px}
.terms__toc-list li+li{margin-top:2px}
.terms__toc-list a{display:flex;gap:8px;align-items:baseline;padding:7px 10px;border-radius:8px;font-size:13.5px;line-height:1.5;color:#555;transition:.15s}
.terms__toc-list a:hover{background:var(--lightblue);color:var(--blue)}
.terms__toc-no{flex:none;font-weight:700;color:var(--blue)}
.terms__toc-ttl{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.terms__body{min-width:0}
.terms__intro{background:var(--lightblue);border-radius:14px;padding:22px 28px;margin-bottom:44px}
.terms__intro p{font-size:15.5px;line-height:1.8}
.terms__art{margin-bottom:36px}
.terms__art-head{font-size:21px;font-weight:700;color:var(--blue);line-height:1.5;margin-bottom:14px;padding-bottom:12px;border-bottom:2px solid var(--lightblue)}
.terms__art-no{display:inline-block;margin-right:12px}
.terms__art-body p{font-size:15px;line-height:1.8;color:#444;margin-bottom:9px}
.terms__art-body p:last-child{margin-bottom:0}
.terms__ol{margin:8px 0 4px;padding-left:0;counter-reset:tol}
.terms__ol li{position:relative;list-style:none;padding-left:34px;font-size:15px;line-height:1.8;color:#444;margin-bottom:5px}
.terms__ol li::before{counter-increment:tol;content:counter(tol);position:absolute;left:0;top:.15em;width:22px;height:22px;border-radius:50%;background:var(--lightblue);color:var(--blue);font-family:var(--rem);font-weight:700;font-size:12px;display:flex;align-items:center;justify-content:center}
.terms__fusoku{margin-top:40px;padding-top:22px;border-top:1px solid var(--lightblue);font-size:15px;font-weight:500}
@media (max-width:860px){
  .terms{grid-template-columns:1fr;gap:0}
  .terms__toc{position:static;border-right:none;border-bottom:1px solid var(--lightblue);padding-right:0;padding-bottom:20px;margin-bottom:32px}
  .terms__toc-list{columns:2;column-gap:20px}
}
@media (max-width:640px){
  .sec--terms{padding:0 0 64px}
  .terms__toc-list{columns:1}
  .terms__intro{padding:18px 20px;margin-bottom:32px}
  .terms__art-head{font-size:18px}
}

/* ---- はじめての方へ (first) — おすすめ✓/特長/3コース(モック参考) ---- */
.sec--recommend{position:relative;background:var(--lightblue);padding:88px 0 92px;overflow:hidden}
.recommend__title{text-align:center;font-size:28px;font-weight:700;line-height:1.6;margin-bottom:38px}
.recommend__title .is-blue{color:var(--blue)}
/* おすすめ: 左イラスト + 右チェックリスト(2カラム) */
.recommend__grid{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:minmax(0,440px) 1fr;gap:48px;align-items:center}
.recommend__visual{position:relative}
.recommend__visual img{width:100%;height:auto;display:block;border-radius:24px;box-shadow:0 16px 40px rgba(5,92,157,.16)}
.reclist{display:flex;flex-direction:column;gap:14px;margin:0}
.reclist li{display:flex;align-items:center;gap:16px;background:var(--white);border-radius:14px;padding:18px 24px;font-size:16px;font-weight:600;line-height:1.55;box-shadow:0 8px 22px rgba(5,92,157,.08)}
.reclist__text{color:var(--text)}
.reclist__check{flex:none;width:34px;height:34px;border-radius:50%;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(255,117,31,.28)}
.reclist__check .cicon{width:17px;height:17px}
/* 装飾ドット */
.recommend__dots{position:absolute;z-index:0;width:120px;height:120px;background-image:radial-gradient(rgba(5,92,157,.18) 3px,transparent 3px);background-size:20px 20px}
.recommend__dots--tl{top:40px;left:36px}
.recommend__dots--br{bottom:40px;right:36px}
.sec--recommend .container{position:relative;z-index:1}
.sec--point{position:relative;padding:88px 0 92px;overflow:hidden}
.sec--point .sechead{margin-bottom:40px}
.fstack{display:grid;gap:22px;max-width:1000px;margin:0 auto}
.fcard{display:grid;grid-template-columns:172px 1fr;gap:40px;align-items:center;background:var(--white);border-radius:22px;padding:34px 46px;box-shadow:0 14px 38px rgba(5,92,157,.10)}
.fcard--noart{grid-template-columns:1fr}
.fcard__art{width:172px}
.fcard__art img{width:100%;height:auto;display:block}
.fcard__title{display:flex;align-items:center;gap:14px;font-size:21px;font-weight:700;color:var(--blue);line-height:1.5;margin-bottom:12px}
.fcard__no{flex:none;width:34px;height:34px;border-radius:50%;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--rem);font-weight:700;font-size:16px}
.fcard__text{font-size:15px;line-height:1.8;color:#444;margin-bottom:7px}
.fcard__text:last-child{margin-bottom:0}
.sec--course3{position:relative;background:var(--lightblue);padding:88px 0 96px;overflow:hidden}
.course3__lead{text-align:center;font-size:16px;line-height:1.8;color:#444;max-width:760px;margin:0 auto 40px}
.course3grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1000px;margin:0 auto;position:relative;z-index:2}
.c3card{background:var(--white);border-radius:20px;padding:38px 30px 34px;text-align:center;box-shadow:0 14px 38px rgba(5,92,157,.10)}
.c3card__icon{width:88px;height:88px;border-radius:50%;background:rgba(255,117,31,.12);color:var(--orange);display:flex;align-items:center;justify-content:center;margin:0 auto 20px}
.c3card__icon .cicon{width:46px;height:46px}
.c3card__name{font-size:19px;font-weight:700;color:var(--blue);margin-bottom:14px}
.c3card__text{font-size:15px;line-height:1.8;color:#444;text-align:left}
.course3__note{text-align:center;font-size:15px;font-weight:500;margin-top:36px}
@media (max-width:820px){
  .fcard{grid-template-columns:1fr;gap:16px;padding:28px 26px}
  .fcard__art{width:132px;margin:0 auto}
}
@media (max-width:640px){
  .sec--recommend,.sec--point,.sec--course3{padding:52px 0 58px}
  .recommend__title{font-size:21px}
  .recommend__grid{grid-template-columns:1fr;gap:24px;max-width:520px}
  .recommend__visual img{border-radius:18px}
  .reclist{gap:10px}
  .reclist li{font-size:14.5px;padding:15px 18px;gap:13px}
  .reclist__check{width:30px;height:30px}
  .recommend__dots{width:80px;height:80px;background-size:16px 16px}
  .recommend__dots--tl{top:12px;left:10px}
  .recommend__dots--br{bottom:12px;right:10px}
  .fcard__title{font-size:18px}
  .course3grid{grid-template-columns:1fr;gap:16px}
}

/* ---- よくあるご質問 (faq) — カテゴリ + 丸Q/Aアコーディオン(モック参考) ---- */
.sec--faq{padding:8px 0 100px}
.faq{max-width:920px;margin:0 auto}
.faqcat{margin-bottom:44px}
.faqcat__head{display:flex;align-items:center;gap:14px;font-size:22px;font-weight:700;color:var(--blue);background:var(--lightblue);border-radius:12px;padding:16px 26px;margin-bottom:20px}
.faqcat__bar{flex:none;width:6px;height:24px;border-radius:3px;background:var(--orange)}
.faqcat__intro{font-size:15px;line-height:1.8;color:#555;margin:-6px 6px 20px}
.faqlist{display:grid;gap:14px}
.faqitem{background:var(--white);border:1.5px solid var(--lightblue);border-radius:14px;overflow:hidden;transition:box-shadow .2s}
.faqitem[open]{box-shadow:0 12px 30px rgba(5,92,157,.10)}
.faqitem summary{list-style:none;display:flex;align-items:center;gap:16px;padding:20px 24px;cursor:pointer}
.faqitem summary::-webkit-details-marker{display:none}
.faqitem__q{flex:none;width:34px;height:34px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--rem);font-weight:700;font-size:17px}
.faqitem__ttl{flex:1;font-size:16.5px;font-weight:700;line-height:1.55}
.faqitem__chev{flex:none;width:15px;height:9px;color:var(--blue);transition:transform .2s}
.faqitem[open] .faqitem__chev{transform:rotate(180deg)}
.faqitem__a{display:flex;gap:16px;padding:4px 24px 24px 24px;align-items:flex-start}
.faqitem__aicon{flex:none;width:34px;height:34px;border-radius:50%;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--rem);font-weight:700;font-size:17px}
.faqitem__body{flex:1;padding-top:3px}
.faqitem__body p{font-size:15px;line-height:1.8;color:#444;margin-bottom:9px}
.faqitem__body p:last-child{margin-bottom:0}
@media (max-width:640px){
  .sec--faq{padding:0 0 64px}
  .faqcat__head{font-size:18px;padding:13px 18px}
  .faqitem summary{padding:16px 18px;gap:12px}
  .faqitem__q,.faqitem__aicon{width:30px;height:30px;font-size:15px}
  .faqitem__ttl{font-size:15px}
  .faqitem__a{padding:2px 18px 20px 18px;gap:12px}
}

/* ---- 運営会社概要 (company) — 会社概要 定義テーブル ---- */
.sec--company{padding:8px 0 100px}
.company__intro{text-align:center;font-size:17px;line-height:1.8;margin-bottom:44px}
.company__intro .is-blue{color:var(--blue);font-weight:700}
.company-visual{position:relative;max-width:860px;height:400px;margin:0 auto 58px;border-radius:26px;overflow:hidden;background:#cfe8f7;box-shadow:0 20px 48px rgba(5,92,157,.16)}
.company-visual__photo{width:100%;height:100%;object-fit:cover;object-position:center 44%}
.company-visual__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,54,94,.72) 0%,rgba(3,54,94,.24) 48%,rgba(3,54,94,0) 74%)}
.company-visual__copy{position:absolute;z-index:2;left:58px;top:50%;transform:translateY(-50%);color:#fff;font-size:31px;font-weight:700;line-height:1.55;letter-spacing:.05em;text-shadow:0 2px 12px rgba(0,31,58,.24)}
.company-visual__copy span{display:block;margin-bottom:10px;font-family:var(--rem);font-size:12px;font-weight:700;letter-spacing:.19em;color:#aee7ff}
.company-visual__since{position:absolute;z-index:3;right:24px;top:22px;width:98px;height:98px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--orange);color:#fff;transform:rotate(5deg);box-shadow:0 10px 26px rgba(121,55,13,.24);font-family:var(--rem);line-height:1}
.company-visual__since span{font-size:11px;letter-spacing:.1em;margin-bottom:5px}
.company-visual__since strong{font-size:25px}
.company-visual__sydney{position:absolute;z-index:2;right:-14px;bottom:-14px;width:360px;height:auto;opacity:.72;filter:brightness(0) invert(1)}
.cotable{max-width:860px;margin:0 auto;border-radius:18px;overflow:hidden;box-shadow:0 14px 38px rgba(5,92,157,.10);border:1px solid var(--lightblue)}
.cotable__row{display:grid;grid-template-columns:240px 1fr}
.cotable__row+.cotable__row{border-top:1px solid var(--lightblue)}
.cotable__label{background:var(--lightblue);color:var(--blue);font-weight:700;font-size:16px;padding:24px 30px}
.cotable__val{background:var(--white);padding:24px 34px;font-size:16px;line-height:1.8}
.cotable__list{display:grid;gap:6px}
.cotable__list li{position:relative;padding-left:18px;line-height:1.8}
.cotable__list li::before{content:"";position:absolute;left:0;top:.72em;width:7px;height:7px;border-radius:50%;background:var(--orange)}
.company-story{max-width:860px;margin:56px auto 0;display:grid;gap:32px}
.company-story__section{background:var(--white);border:1px solid var(--lightblue);border-radius:18px;padding:36px 42px;box-shadow:0 14px 38px rgba(5,92,157,.08)}
.company-story__title{color:var(--blue);font-size:24px;line-height:1.5;margin-bottom:20px;padding-bottom:14px;border-bottom:2px solid var(--lightblue)}
.company-story p{font-size:16px;line-height:2;color:#444}
.company-story p+p{margin-top:14px}
.company-network{margin:24px 0;display:grid;gap:1px;background:var(--lightblue);border:1px solid var(--lightblue);border-radius:12px;overflow:hidden}
.company-network div{display:grid;grid-template-columns:220px 1fr;background:var(--white)}
.company-network dt{background:var(--lightblue);color:var(--blue);font-weight:700;padding:16px 20px}
.company-network dd{padding:16px 20px;line-height:1.8}
.company-story .company-story__catch{color:var(--orange);font-size:25px;font-weight:700;text-align:center;margin:30px 0 20px}
.company-story__section--experience{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:34px;align-items:stretch}
.company-story__body{min-width:0}
.company-story__section--experience .company-story__catch{text-align:left;line-height:1.45;margin:24px 0 18px}
.company-story__photo{min-height:100%;border-radius:14px;overflow:hidden;position:relative;background:var(--lightblue)}
.company-story__photo::after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.45);border-radius:inherit;pointer-events:none}
.company-story__photo img{width:100%;height:100%;object-fit:cover;object-position:70% 35%;transition:transform .5s ease}
.company-story__section--experience:hover .company-story__photo img{transform:scale(1.025)}
@media (max-width:640px){
  .sec--company{padding:0 0 64px}
  .company__intro{font-size:15.5px;margin-bottom:32px}
  .company-visual{height:280px;margin-bottom:38px;border-radius:18px}
  .company-visual__photo{object-position:57% center}
  .company-visual__shade{background:linear-gradient(90deg,rgba(3,54,94,.74) 0%,rgba(3,54,94,.25) 70%,rgba(3,54,94,.05) 100%)}
  .company-visual__copy{left:24px;top:auto;bottom:25px;transform:none;font-size:21px;line-height:1.55}
  .company-visual__copy span{font-size:9px;margin-bottom:7px}
  .company-visual__since{right:14px;top:14px;width:74px;height:74px}
  .company-visual__since span{font-size:9px;margin-bottom:3px}
  .company-visual__since strong{font-size:20px}
  .company-visual__sydney{right:-28px;bottom:-4px;width:220px;opacity:.42}
  .cotable__row{grid-template-columns:1fr}
  .cotable__label{padding:13px 20px;font-size:15px;border-bottom:1px solid rgba(255,255,255,.7)}
  .cotable__val{padding:16px 20px;font-size:15px}
  .company-story{margin-top:36px;gap:22px}
  .company-story__section{padding:24px 20px;border-radius:14px}
  .company-story__title{font-size:19px;margin-bottom:16px;padding-bottom:11px}
  .company-story p{font-size:15px;line-height:1.9}
  .company-network{margin:20px 0}
  .company-network div{grid-template-columns:1fr}
  .company-network dt{padding:12px 15px}
  .company-network dd{padding:13px 15px;font-size:14.5px}
  .company-story .company-story__catch{font-size:21px;margin:24px 0 16px}
  .company-story__section--experience{grid-template-columns:1fr;gap:22px}
  .company-story__section--experience .company-story__catch{text-align:left}
  .company-story__photo{height:230px;min-height:0;order:-1}
  .company-story__photo img{object-position:70% 35%}
}
@media (prefers-reduced-motion:reduce){.company-story__photo img{transition:none}.company-story__section--experience:hover .company-story__photo img{transform:none}}

/* ---- 講師紹介 (teachers) — 公開WTE講師カード ---- */
.sec--teachers{padding:8px 0 110px;background:linear-gradient(180deg,var(--white) 0,#f5fbff 100%)}
.teachers-wte__head{max-width:760px;margin:0 auto 52px;text-align:center}
.teachers-wte__eyebrow{margin:0 0 8px;color:var(--orange);font-family:var(--rem);font-size:13px;font-weight:700;letter-spacing:.18em}
.teachers-wte__head h2{margin:0;color:var(--blue);font-size:clamp(30px,3vw,42px);line-height:1.35;letter-spacing:.06em}
.teachers-wte__head h2::after{content:"";display:block;width:56px;height:3px;margin:16px auto 20px;border-radius:3px;background:var(--orange)}
.teachers-wte__head>p:last-child{margin:0;color:#425466;font-size:16px;line-height:2}
.wte-teacher-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1060px;margin:0 auto}
.wte-teacher-card{min-width:0;border:1px solid rgba(5,92,157,.1);border-radius:24px;background:var(--white);box-shadow:0 12px 34px rgba(5,92,157,.09);overflow:hidden}
.wte-teacher-card__profile{display:flex;height:100%;min-height:100%;flex-direction:column;align-items:center;padding:28px 24px 24px;color:var(--text);text-align:center;text-decoration:none;transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease}
.wte-teacher-card__profile:hover{background:#fbfdff;transform:translateY(-4px)}
.wte-teacher-card__photo{display:block;width:164px;max-width:72%;aspect-ratio:1;margin-bottom:20px;padding:5px;border:2px solid rgba(5,92,157,.15);border-radius:50%;background:var(--white)}
.wte-teacher-card__photo img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.wte-teacher-card__body{display:flex;min-width:0;flex:1;flex-direction:column;align-items:center}
.wte-teacher-card__label{margin-bottom:5px;color:#7292aa;font-family:var(--rem);font-size:10px;font-weight:700;letter-spacing:.16em}
.wte-teacher-card h3{display:flex;align-items:baseline;gap:7px;margin:0 0 16px;color:var(--blue);font-family:var(--rem);font-size:25px;line-height:1.35}
.wte-teacher-card h3 span{color:#516878;font-family:var(--sans);font-size:13px;font-weight:500}
.wte-teacher-card__tags{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-bottom:21px}
.wte-teacher-card__tags>span{padding:5px 10px;border-radius:999px;background:var(--lightblue);color:#174d74;font-size:11.5px;font-weight:500;line-height:1.45}
.wte-teacher-card__more{display:flex;align-items:center;gap:10px;margin-top:auto;color:var(--blue);font-size:13px;font-weight:700}
.wte-teacher-card__more>span{color:var(--orange);font-size:18px;transition:transform .2s ease}
.wte-teacher-card__profile:hover .wte-teacher-card__more>span{transform:translateX(4px)}
.teachers-wte__actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px;margin-top:50px}
.teachers-wte__button{display:inline-flex;justify-content:center;align-items:center;gap:18px;min-width:280px;min-height:58px;padding:14px 24px;border:2px solid var(--blue);border-radius:999px;font-size:15px;font-weight:700;text-decoration:none;transition:background-color .2s ease,color .2s ease,transform .2s ease}
.teachers-wte__button:hover{transform:translateY(-2px)}
.teachers-wte__button--primary{background:var(--blue);color:var(--white)}
.teachers-wte__button--primary:hover{background:#034b82;color:var(--white)}
.teachers-wte__button--accent{border-color:var(--orange);background:var(--orange);color:var(--white)}
.teachers-wte__button--accent:hover{background:#e9620d;color:var(--white)}
.teachers-wte__login{padding:12px 14px;color:var(--blue);font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:5px}
.wte-teacher-card__profile:focus-visible,.teachers-wte__actions a:focus-visible{outline:3px solid #ffb07b;outline-offset:4px}
@media (max-width:820px){.wte-teacher-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}

/* =========================================================
   お知らせ 一覧(/news/) + 詳細(single)
   ========================================================= */
.sec--newslist,.sec--single{padding:8px 0 100px}
.news--archive{max-width:1066px}
.news__pager{margin-top:44px;display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
.news__pager .page-numbers{min-width:40px;height:40px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;background:var(--lightblue);color:var(--blue);font-weight:700;font-family:var(--rem)}
.news__pager .page-numbers.current{background:var(--blue);color:var(--white)}
.news__pager a.page-numbers:hover{background:var(--blue);color:var(--white)}
.newslist__empty{text-align:center;font-size:16px;color:#555}
.post{max-width:840px;margin:0 auto}
.post__meta{display:flex;align-items:center;gap:18px;margin-bottom:14px}
.post__title{font-size:30px;font-weight:700;line-height:1.6;letter-spacing:.04em;margin-bottom:28px;padding-bottom:22px;border-bottom:2px solid var(--lightblue)}
.post__content p{font-size:16px;line-height:1.8;letter-spacing:.02em;color:#444;margin-bottom:16px}
.post__content h2{font-size:22px;font-weight:700;color:var(--blue);margin:36px 0 14px}
.post__content h3{font-size:18px;font-weight:700;margin:28px 0 10px}
.post__content ul,.post__content ol{margin:0 0 20px 1.4em}
.post__content li{font-size:16px;line-height:1.8;color:#444}
.post__content img{max-width:100%;height:auto;border-radius:12px}
.post__content a{color:var(--blue);text-decoration:underline}
.post__back{margin-top:48px;display:flex;justify-content:center}
@media (max-width:640px){
  .sec--newslist,.sec--single{padding:0 0 64px}
  .news__pager{margin-top:32px}
  .post__title{font-size:22px;margin-bottom:20px;padding-bottom:16px}
  .post__content p,.post__content li{font-size:15px;line-height:1.8}
  .post__back{margin-top:36px}
}
@media (max-width:640px){
  .sec--teachers{padding:4px 0 70px}
  .teachers-wte__head{margin-bottom:34px;padding:0 4px}
  .teachers-wte__eyebrow{font-size:11px}
  .teachers-wte__head h2{font-size:28px}
  .teachers-wte__head h2::after{margin:12px auto 15px}
  .teachers-wte__head>p:last-child{font-size:14px;line-height:1.9;text-align:left}
  .teachers-wte__head>p:last-child br{display:none}
  .wte-teacher-grid{gap:12px}
  .wte-teacher-card{border-radius:17px}
  .wte-teacher-card__profile{padding:17px 10px 16px}
  .wte-teacher-card__photo{width:112px;max-width:82%;margin-bottom:13px;padding:3px}
  .wte-teacher-card__label{font-size:8px;letter-spacing:.12em}
  .wte-teacher-card h3{gap:4px;margin-bottom:11px;font-size:19px}
  .wte-teacher-card h3 span{font-size:10px}
  .wte-teacher-card__tags{gap:5px;margin-bottom:15px}
  .wte-teacher-card__tags>span{padding:4px 7px;font-size:9.5px}
  .wte-teacher-card__more{gap:6px;font-size:11px}
  .wte-teacher-card__more>span{font-size:15px}
  .teachers-wte__actions{flex-direction:column;gap:11px;margin-top:35px}
  .teachers-wte__button{width:100%;min-width:0;min-height:54px;font-size:14px}
  .teachers-wte__login{margin-top:2px}
}
@media (prefers-reduced-motion:reduce){.wte-teacher-card__profile,.wte-teacher-card__more>span,.teachers-wte__button{transition:none}.wte-teacher-card__profile:hover,.teachers-wte__button:hover{transform:none}}

/* =========================================================
   RESPONSIVE  (SP <= 768 / 375 target)
   ========================================================= */
/* フルナビ幅全域: ヘッダーを流動的に縮小してロゴ潰れ・折返しを防ぐ(ハンバーガーは狭幅のみ)
   基準1366でも実測はナビ+ボタンが収まらずロゴがflexに押し潰されていたため、媒体条件なしで常時適用 */
.site-header__inner{gap:clamp(14px,3.6vw,60px);padding:0 clamp(16px,3vw,44px)}
.site-header__logo img{width:clamp(96px,12.5vw,185px);height:auto}
.gnav{gap:clamp(10px,1.7vw,30px);margin-left:0}
.gnav a{font-size:clamp(12px,1.12vw,16px);letter-spacing:.2px}
.site-header__actions{gap:clamp(6px,.9vw,14px);height:auto}
.hbtn{flex:none;width:auto;padding:0 clamp(12px,1.5vw,22px);gap:clamp(4px,.5vw,8px);font-size:clamp(12px,1.05vw,15px);height:clamp(44px,3.9vw,54px)}
.hbtn__icon{width:clamp(17px,1.5vw,22px);height:clamp(17px,1.5vw,22px)}

/* ヘッダーのバーガー化: 768以下だとフルナビが769〜860pxで収まらずはみ出すため860以下に */
@media (max-width:860px){
  .site-header__logo img{width:120px} /* バーガー化でナビ非表示のため余裕あり。従来サイズ維持 */
  .gnav{display:none}
  .site-header__actions{display:none}
  .site-header__burger{display:flex;flex-direction:column;justify-content:center;gap:5px;margin-left:auto;width:40px;height:40px;background:none;border:0;cursor:pointer}
  .site-header__burger span{width:26px;height:2px;background:var(--text);display:block}
  .gnav.is-open{display:flex;flex-direction:column;position:absolute;top:93px;left:0;right:0;background:var(--white);padding:16px 24px;gap:16px;box-shadow:0 6px 16px rgba(0,0,0,.08);margin-left:0}
  /* ドロワー内はリンクを文字幅にして下線バーが全幅に伸びないように */
  .gnav.is-open a{align-self:flex-start}
  .site-header__actions.is-open{display:flex;position:absolute;top:calc(93px + 190px);left:0;right:0;flex-direction:column;height:auto;padding:0 24px 16px;background:var(--white);gap:10px}
  .site-header__actions.is-open .hbtn{width:100%;border-radius:92px}
}

@media (max-width:768px){
  /* ---- HERO: flow layout ---- */
  .hero__canvas{aspect-ratio:auto;max-width:none;padding:28px 20px 34px;display:flex;flex-direction:column}
  .hero__canvas>*{position:static}
  .hero__wave,.hero__sydney,.hero__dash,.hero__plane{display:none}
  .hero__copy{position:static;inset:auto;display:block;order:1}
  .hero__badge{position:static;width:58%;max-width:290px;height:auto;object-fit:contain;margin:0 0 14px}
  .hero__title{position:static;font-size:24px;line-height:1.5;letter-spacing:1px;white-space:normal;margin:0 0 14px}
  .hero__title .is-orange{font-size:26px;letter-spacing:1px}
  .hero__lead{position:static;font-size:15px;line-height:1.9;letter-spacing:.5px;margin:0 0 22px}
  .hero__lead .is-blue{font-size:17px}
  .hero__cta{position:static;width:100%;max-width:320px;height:60px;font-size:18px;letter-spacing:1px;gap:12px;margin:0 0 28px}
  .hero__cta .btn__arrow{width:24px}
  /* SP: PCの4枚コラージュ配置(重なり・傾き)をそのまま縮小再現。パネルが占める領域だけを
     切り出して横幅いっぱいにマップし直す(ろく: 4つがあの形で並んでるのが良い / 形も配置も維持) */
  .hero__panels{position:relative;order:2;inset:auto;width:100%;aspect-ratio:1101/763;margin-top:10px;overflow:visible}
  .hp--study{left:0%;top:5.25%;width:36.44%;height:94.75%}
  .hp--step{left:22.84%;top:5.10%;width:34.31%;height:87.02%}
  .hp--work{left:43.50%;top:8.55%;width:34.46%;height:86.37%}
  .hp--challenge{left:64.26%;top:0%;width:35.73%;height:94.59%}
  /* .hp / .hp__mask / .hp__photo / .hp__label は PC定義そのまま(位置は絶対配置=コラージュ) */
  .feat{gap:40px}
  .feat__row,.feat__row--rev{grid-template-columns:1fr;gap:20px}
  .feat__row--rev .feat__img{order:0}
  .feat__row--rev .feat__body{order:0}
  .feat__img{width:100%;max-width:none;margin:0}
  .feat__body{padding-left:0;padding-top:98px;min-height:0}
  .feat__title{padding-top:0}
  .feat__point,.feat__row--rev .feat__point{left:0;top:0}
  .feat__flight{display:none}
  .about__intro{grid-template-columns:1fr;gap:24px;margin-left:0;max-width:none}
  /* SP は Figma に無い独自レイアウト。PC で入れた object-fit:fill の巻き添えで
     縦横比が崩れないよう、幅可変になるSPでは高さを auto に戻す */
  .about__img img{width:100%;height:auto}
  .about__box-img{width:100%;height:auto}
  .about__box{grid-template-columns:1fr;gap:24px;padding:32px}
  .about__wants li{white-space:normal}
  /* flow: stack cards, hide horizontal connector, badge on card corner */
  .flow{grid-template-columns:1fr;gap:56px;margin-top:24px}
  /* SP はカード幅が可変。PC の実寸%貼り(object-fit:fill)のままだと横に伸びるので
     マスク全面 cover に戻す(hero SP と同じ扱い) */
  .flow__card:nth-child(2) .flow__img img,
  .flow__card:nth-child(3) .flow__img img,
  .flow__card:nth-child(4) .flow__img img{left:0;top:0;width:100%;height:100%;object-fit:cover}
  .flow__card:nth-child(3) .flow__img,
  .flow__card:nth-child(4) .flow__img{margin-left:0;margin-right:0}
  .flow__line{display:none}
  .flow__step{top:-24px;left:50%}
  .flow__step::after{display:none}
  .insta__grid{grid-template-columns:repeat(3,1fr)}
}

@media (max-width:1024px){
  /* 装飾はカード左上原点1000x345のFigma座標で絶対配置しているため、
     カード幅が縮むタブレット以下では位置が破綻する。まとめて非表示にする。 */
  .cta__deco,.cta__spark,.cta__underline{display:none}
}
@media (max-width:640px){
  .sec{padding:56px 0}
  .sechead__en{font-size:44px}
  /* cogはPCでleft:-27pxはみ出し設計。SPはcontainer余白20pxしか無く
     overflow:hiddenな帯/セクションで左端が切れるため内側へ寄せる */
  .sechead__cog{left:-18px}
  .sechead__plane{width:44px;height:44px;left:-14px}
  .hero__title{font-size:21px}
  .hero__title .is-orange{font-size:23px}
  .hero__panels{grid-template-columns:1fr 1fr;gap:10px}
  /* SP: 幅320pxでは padding 37px+gap 22px を引くと文字が入りきらず
     「レッスンを始め/る」で折れていた。詰めて1行に収める(Figma に SP 版は無し) */
  .btn{width:100%;max-width:320px;padding:0 20px;gap:14px;white-space:nowrap}
  .feat__body{padding-left:0;padding-top:98px}
  .feat__title{font-size:22px;padding-top:0}
  .feat__point,.feat__row--rev .feat__point{left:0;top:0}
  .cta__title{font-size:24px}
  .insta__grid{grid-template-columns:repeat(2,1fr)}
  .news__row{flex-wrap:wrap;gap:8px 16px}
  .news__title{flex-basis:100%;white-space:normal}
  .site-footer__inner{gap:32px}
  .fcol--logo{margin-left:0}
  .about__wants li{font-size:16px;gap:16px}
}

/* ---- サイトマップ (sitemap) ---- */
.sec--sitemap{padding:8px 0 100px}
.smtree{max-width:880px;margin:0 auto;display:grid;gap:16px;list-style:none}
.smnode{background:var(--white);border:1px solid var(--lightblue);border-radius:16px;box-shadow:0 10px 30px rgba(5,92,157,.07);padding:22px 28px}
.smnode__link{display:inline-flex;align-items:center;gap:12px;font-size:19px;font-weight:700;color:var(--blue);line-height:1.5}
a.smnode__link:hover{color:var(--orange)}
.smnode__link::before{content:"";flex:none;width:9px;height:9px;border-radius:50%;background:var(--orange)}
.smnode--pending .smnode__link{color:#9aa7b3;cursor:default}
.smnode--pending .smnode__link::before{background:#c8d2db}
.smsub{list-style:none;margin:16px 0 2px;padding-left:21px;border-left:2px solid var(--lightblue);display:grid;gap:14px}
.smsub>li>a{font-size:16px;font-weight:500;color:var(--text);line-height:1.6}
.smsub>li>a:hover{color:var(--orange)}
.smsub__grphead{display:block;font-size:16px;font-weight:700;color:var(--blue);margin-bottom:12px}
.smleaf{list-style:none;display:flex;flex-wrap:wrap;gap:10px}
.smleaf a{display:inline-block;background:var(--lightblue);color:var(--blue);font-size:14px;font-weight:500;line-height:1.4;padding:8px 16px;border-radius:92px}
.smleaf a:hover{background:var(--blue);color:#fff}
@media (max-width:640px){
  .sec--sitemap{padding:0 0 64px}
  .smnode{padding:18px 20px}
  .smnode__link{font-size:17px;gap:10px}
  .smsub{padding-left:16px;margin-top:14px}
  .smleaf a{font-size:13px;padding:7px 13px}
}

/* ---- フッター コピーライト: サイトマップリンク ---- */
.copyright__inner{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap}
.copyright__sitemap{font-weight:500;font-size:14px;letter-spacing:.6px;color:var(--blue)}
.copyright__sitemap:hover{color:var(--orange)}
.copyright__mark{margin:0}
@media (max-width:640px){
  .copyright__inner{gap:6px}
  .copyright__sitemap{font-size:13px}
}

/* ---- お問い合わせ (contact) ---- */
.sec--contact{padding:8px 0 100px}
.cwrap{max-width:760px;margin:0 auto}
.contact__lead{text-align:center;font-size:16.5px;line-height:1.8;margin-bottom:40px}
.formerr{max-width:760px;margin:0 auto 24px;background:#fff2ee;border:1px solid var(--orange);color:#c2410c;border-radius:10px;padding:14px 20px;font-size:15px;font-weight:500;line-height:1.7}
.cform__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cform__row{margin-bottom:26px}
.cform__label{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700;color:var(--blue);margin-bottom:10px}
.cform__req{flex:none;font-size:12px;font-weight:700;color:#fff;background:var(--orange);border-radius:4px;padding:2px 9px;letter-spacing:.4px}
.cform__opt{flex:none;font-size:12px;font-weight:700;color:#6b7785;background:#e7edf2;border-radius:4px;padding:2px 9px;letter-spacing:.4px}
.cform__input{width:100%;font-family:var(--sans);font-size:16px;line-height:1.7;color:var(--text);background:#fff;border:1.5px solid #d6e2ec;border-radius:12px;padding:14px 18px;transition:border-color .15s,box-shadow .15s}
.cform__input::placeholder{color:#aeb9c4}
.cform__input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(5,92,157,.12)}
.cform__textarea{resize:vertical;min-height:150px}
.cform__submit{text-align:center;margin-top:36px}
.cform__submit .btn{min-width:280px}
.formdone{max-width:640px;margin:0 auto;text-align:center;background:var(--lightblue);border-radius:20px;padding:56px 32px}
.formdone__icon{display:inline-block;width:56px;margin-bottom:14px}
.formdone__icon .planeicon{width:100%;height:auto}
.formdone__ttl{font-size:22px;font-weight:700;color:var(--blue);margin-bottom:14px}
.formdone__txt{font-size:16px;line-height:1.8;margin-bottom:32px}
@media (max-width:640px){
  .sec--contact{padding:0 0 64px}
  .contact__lead{font-size:15px;margin-bottom:30px}
  .cform__submit .btn{min-width:0;width:100%}
  .formdone{padding:40px 22px}
  .formdone__ttl{font-size:19px}
}

/* ---- お問い合わせ: ステップ表示 / 確認画面 / セカンダリボタン ---- */
.cstep{display:flex;justify-content:center;gap:0;margin:0 auto 44px;max-width:560px;list-style:none;counter-reset:none}
.cstep__item{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;font-size:14px;font-weight:700;color:#9aa7b3;letter-spacing:.4px}
.cstep__item::before{content:"";position:absolute;top:17px;left:-50%;width:100%;height:2px;background:#e0e7ee;z-index:0}
.cstep__item:first-child::before{display:none}
.cstep__no{position:relative;z-index:1;width:36px;height:36px;border-radius:50%;background:#e7edf2;color:#9aa7b3;display:flex;align-items:center;justify-content:center;font-family:var(--rem);font-size:17px}
.cstep__item.is-active{color:var(--blue)}
.cstep__item.is-active .cstep__no{background:var(--blue);color:#fff}
.cstep__item.is-done{color:var(--blue)}
.cstep__item.is-done .cstep__no{background:var(--lightblue);color:var(--blue)}
.cstep__item.is-done::before,.cstep__item.is-active::before{background:var(--lightblue)}

.btn--ghost{box-sizing:border-box;background:#fff;color:var(--blue);border:2px solid var(--blue)}
.btn--ghost:hover{opacity:1;background:var(--lightblue)}

.cform__input.is-error{border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,117,31,.12)}

.cconfirm{max-width:760px;margin:0 auto;border-radius:18px;overflow:hidden;box-shadow:0 14px 38px rgba(5,92,157,.10);border:1px solid var(--lightblue)}
.cconfirm__row{display:grid;grid-template-columns:220px 1fr}
.cconfirm__row+.cconfirm__row{border-top:1px solid var(--lightblue)}
.cconfirm__dt{background:var(--lightblue);color:var(--blue);font-weight:700;font-size:15.5px;padding:22px 28px}
.cconfirm__dd{background:#fff;padding:22px 30px;font-size:16px;line-height:1.8;word-break:break-word}
.cconfirm__dd--body{white-space:normal}
.cconfirm__empty{color:#9aa7b3}
.cconfirm__actions{display:flex;justify-content:center;gap:20px;margin-top:36px;flex-wrap:wrap}
.cconfirm__form{margin:0}
.cconfirm__actions .btn{min-width:240px}
@media (max-width:640px){
  .cstep{margin-bottom:32px}
  .cstep__item{font-size:12.5px}
  .cstep__no{width:32px;height:32px;font-size:15px}
  .cstep__item::before{top:15px}
  .cconfirm__row{grid-template-columns:1fr}
  .cconfirm__dt{padding:13px 20px;font-size:14.5px}
  .cconfirm__dd{padding:14px 20px;font-size:15px}
  .cconfirm__actions{gap:12px}
  .cconfirm__actions .btn{min-width:0;width:100%}
  .cconfirm__form{width:100%}
}

/* ===== 下層 追加写真ブロック (2026-08-18) ===== */
.sec--lphoto{padding-top:0;padding-bottom:0;margin-bottom:72px}
.lphoto{margin:0;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(5,92,157,.10)}
.lphoto img{width:100%;height:auto;display:block;object-fit:cover}
.lphoto--wide{aspect-ratio:1280/620}
.lphoto--wide img{height:100%}
.lmedia{display:grid;gap:24px;margin-top:24px}
.lmedia--2{grid-template-columns:1fr 1fr}
.lmedia--3{grid-template-columns:repeat(3,1fr)}
.lmedia__item{margin:0;border-radius:16px;overflow:hidden;background:var(--lightblue);box-shadow:0 8px 22px rgba(5,92,157,.08)}
.lmedia__item img{width:100%;aspect-ratio:16/10;height:auto;object-fit:cover;display:block}
.lmedia__item figcaption{padding:12px 16px;font-size:14.5px;font-weight:600;color:var(--blue);text-align:center;background:#fff}
/* 下層セクション内の単発写真(本文横/差し込み) */
.lphoto--inset{border-radius:16px;box-shadow:0 8px 22px rgba(5,92,157,.08)}
@media (max-width:640px){
  .sec--lphoto{margin-bottom:44px}
  .lphoto{border-radius:14px}
  .lphoto--wide{aspect-ratio:16/11}
  .lmedia--2,.lmedia--3{grid-template-columns:1fr;gap:16px}
}
.lphoto--band{max-width:1000px;margin-left:auto;margin-right:auto}

/* =========================================================
   COURSE REDESIGN — 2026-08-24 上條様共有デザイン
   ========================================================= */
.course-r{--cr-blue:#075e9f;--cr-deep:#045488;--cr-orange:#ff711d;--cr-pale:#e8f6ff;color:#222;background:#fff}
.course-r-hero{padding:58px 0 42px;background:linear-gradient(180deg,#dff2ff 0%,#eef9ff 100%)}
.course-r-hero__inner{display:grid;grid-template-columns:minmax(0,1fr) 470px;gap:64px;align-items:center}
.course-r-title{font-family:var(--rem);font-size:64px;font-weight:700;line-height:.92;letter-spacing:.01em;color:var(--cr-blue)}
.course-r-title__accent{color:var(--cr-orange)}
.course-r-title__jp{position:relative;margin:14px 0 44px;padding-left:44px;color:var(--cr-blue);font-size:14px;font-weight:700;letter-spacing:.12em}
.course-r-title__jp::before{content:"";position:absolute;left:0;top:50%;width:34px;height:3px;border-radius:3px;background:var(--cr-orange)}
.course-r-hero h1{font-size:27px;line-height:1.6;letter-spacing:.03em;margin-bottom:18px}
.course-r-hero h1 em{font-style:normal;color:var(--cr-blue);font-size:34px}
.course-r-hero__lead{font-size:16px;line-height:1.9;letter-spacing:.03em}
.course-r-hero__art{width:100%;height:auto;display:block}
.course-r-paths{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:44px}
.course-r-path{display:flex;flex-direction:column;min-width:0;padding:32px 34px 24px;border-radius:20px;background:#fff;box-shadow:0 12px 28px rgba(5,92,157,.10)}
.course-r-path__head{display:grid;grid-template-columns:54px 1fr;gap:18px;align-items:start;min-height:83px}
.course-r-path__no{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--cr-orange);color:#fff;font-family:var(--rem);font-size:21px;font-weight:700}
.course-r-path--blue .course-r-path__no{background:var(--cr-blue)}
.course-r-path__head h2{font-size:23px;line-height:1.45;margin-bottom:7px}
.course-r-path__head p{font-size:15px;line-height:1.55;font-weight:700;color:var(--cr-orange)}
.course-r-path--blue .course-r-path__head p{color:var(--cr-blue)}
.course-r-path__art{width:100%;height:250px;object-fit:contain;display:block;margin:8px auto 14px}
.course-r-checks{display:grid;gap:10px;margin:0 0 26px}
.course-r-checks li{display:flex;align-items:flex-start;gap:9px;font-size:15px;font-weight:600;line-height:1.55}
.course-r-check{display:grid;place-items:center;flex:none;width:18px;height:18px;margin-top:2px;border-radius:50%;background:var(--cr-orange);color:#fff;font-size:12px;font-weight:900}
.course-r-check--blue{background:var(--cr-blue)}
.course-r-btn{position:relative;display:flex;align-items:center;justify-content:center;min-height:58px;padding:13px 50px 13px 22px;border-radius:8px;color:#fff;font-size:16px;font-weight:700;line-height:1.4;letter-spacing:.03em;box-shadow:0 6px 14px rgba(5,92,157,.12);transition:transform .2s,filter .2s}
.course-r-btn:hover{transform:translateY(-2px);filter:brightness(1.04)}
.course-r-btn:focus-visible{outline:3px solid #222;outline-offset:3px}
.course-r-btn--orange{background:var(--cr-orange)}
.course-r-btn--blue{background:var(--cr-blue)}
.course-r-arrow{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.course-r-btn>.course-r-arrow{position:absolute;right:20px}
.course-r-more{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;color:var(--cr-blue);font-size:14px;font-weight:700}
.course-r-more .course-r-arrow{width:12px;height:12px}
.course-r-section-head{text-align:center;color:var(--cr-blue)}
.course-r-section-head h2{font-family:var(--rem);font-size:42px;line-height:1;font-weight:700;letter-spacing:.02em}
.course-r-section-head h2 span{color:var(--cr-orange)}
.course-r-section-head p{margin-top:9px;font-size:12px;font-weight:700;letter-spacing:.11em}
.course-r-section-lead{margin:18px auto 24px;text-align:center;font-size:14px;line-height:1.8}
.course-r-speaking{padding:44px 0 48px;background:var(--cr-pale)}
/* 参考画像実測: Basic 282 / gap 15 / Premium 370 (848px幅) → 43:57の独立2カード */
.course-r-plans{display:grid;grid-template-columns:43fr 57fr;gap:17px;max-width:980px;margin:0 auto}
.course-r-plan{position:relative;padding:24px 36px 28px;text-align:center;border-radius:14px;background:#fff;box-shadow:0 10px 24px rgba(5,92,157,.10)}
.course-r-plan h3{font-family:var(--rem);font-size:31px;line-height:1.15;color:var(--cr-blue)}
.course-r-plan__jp{font-size:11px;font-weight:700;color:var(--cr-blue)}
.course-r-plan img{width:150px;height:100px;object-fit:contain;display:block;margin:6px auto 2px}
.course-r-plan__name{font-size:18px;font-weight:700;line-height:1.6}
.course-r-plan__meta{margin-top:4px;font-size:14px;font-weight:600}
.course-r-plan-note{margin:18px 0 12px;text-align:center;font-size:13px}
.course-r-btn--center{width:max-content;min-width:360px;margin:0 auto}
.course-r-coaching{padding:42px 0 56px;background:#fff}
.course-r-coach-list{display:grid;gap:12px;max-width:1000px;margin:26px auto 20px}
.course-r-coach{display:grid;grid-template-columns:150px 1fr 24px;gap:24px;align-items:center;padding:16px 20px;border:1px solid #c6dfef;border-radius:10px;box-shadow:0 4px 12px rgba(5,92,157,.05)}
.course-r-coach>img{width:150px;height:104px;object-fit:contain;display:block}
.course-r-coach__title{display:flex;align-items:center;gap:12px;margin-bottom:7px}
.course-r-coach__title h3{font-size:21px;line-height:1.4}
.course-r-status{display:inline-block;padding:4px 9px;border-radius:5px;background:var(--cr-blue);color:#fff;font-size:11px;font-weight:700;white-space:nowrap}
.course-r-status--orange{background:var(--cr-orange)}
.course-r-coach__lead{margin-bottom:5px;color:var(--cr-blue);font-size:14px;font-weight:700}
.course-r-coach__body>p:last-child{font-size:13px;line-height:1.7}
.course-r-coach__arrow{color:var(--cr-blue)}
.course-r-consult{display:grid;grid-template-columns:150px 1fr 310px;gap:24px;align-items:center;max-width:1050px;margin:30px auto 0;padding:18px 24px;border:2px solid #b9ddf2;border-radius:12px;background:var(--cr-pale)}
.course-r-consult>img{width:145px;height:100px;object-fit:contain}
.course-r-consult h2{font-size:21px;color:var(--cr-blue);margin-bottom:7px}
.course-r-consult p{font-size:13px;font-weight:600;line-height:1.7}

@media (max-width:900px){
  .course-r-hero__inner{grid-template-columns:1fr 330px;gap:30px}
  .course-r-path{padding:26px 24px 22px}
  .course-r-path__head{grid-template-columns:46px 1fr;gap:12px}
  .course-r-path__no{width:46px;height:46px;font-size:18px}
  .course-r-path__head h2{font-size:19px}
  .course-r-consult{grid-template-columns:120px 1fr}.course-r-consult>.course-r-btn{grid-column:1/-1;width:100%}
}

@media (max-width:640px){
  .course-r-hero{padding:28px 0 30px}
  .course-r-hero__inner{grid-template-columns:1fr;gap:12px}
  .course-r-title{font-size:45px}
  .course-r-title__jp{margin:10px 0 24px;font-size:11px}
  .course-r-hero h1{font-size:18px;line-height:1.65;margin-bottom:12px}
  .course-r-hero h1 em{font-size:24px}
  .course-r-hero__lead{font-size:13px;line-height:1.8}
  .course-r-hero__art{width:82%;margin:-6px auto 0}
  .course-r-paths{grid-template-columns:1fr;gap:18px;margin-top:24px}
  .course-r-path{padding:22px 20px 20px;border-radius:14px}
  .course-r-path__head{min-height:0}
  .course-r-path__head h2{font-size:18px}
  .course-r-path__head p{font-size:13px}
  .course-r-path__art{height:190px;margin:5px auto 8px}
  .course-r-checks{gap:8px;margin-bottom:20px}
  .course-r-checks li{font-size:13px}
  .course-r-btn{min-height:52px;font-size:13px;padding-left:14px;padding-right:38px}
  .course-r-btn>.course-r-arrow{right:14px}
  .course-r-speaking,.course-r-coaching{padding:36px 0 40px}
  .course-r-section-head h2{font-size:34px}
  .course-r-section-lead{font-size:12px;margin-top:14px}
  .course-r-plans{grid-template-columns:1fr}
  .course-r-plan{padding:22px 18px}
  .course-r-plan+.course-r-plan{border-left:0;border-top:1px solid #d8e7ef}
  .course-r-plan img{width:125px;height:84px}
  .course-r-plan h3{font-size:27px}
  .course-r-plan__name{font-size:16px}
  .course-r-plan-note{font-size:11px;line-height:1.7}
  .course-r-btn--center{width:100%;min-width:0}
  .course-r-coach{grid-template-columns:80px 1fr 14px;gap:12px;padding:14px 12px}
  .course-r-coach>img{width:80px;height:76px}
  .course-r-coach__title{align-items:flex-start;flex-direction:column;gap:5px}
  .course-r-coach__title h3{font-size:16px}
  .course-r-coach__lead{font-size:12px;line-height:1.55}
  .course-r-coach__body>p:last-child{font-size:11px;line-height:1.65}
  .course-r-consult{grid-template-columns:72px 1fr;gap:13px;padding:16px 14px}
  .course-r-consult>img{width:72px;height:70px}
  .course-r-consult h2{font-size:16px;line-height:1.5}
  .course-r-consult p{font-size:11px}
  .course-r-consult>.course-r-btn{grid-column:1/-1}
}

/* =========================================================
   WTE teacher detail — WordPress shell, public WTE hierarchy
   ========================================================= */
.teacher-detail{background:#fff;color:var(--text)}
.teacher-breadcrumb{border-bottom:1px solid rgba(5,92,157,.1);background:#f8fbfd}
.teacher-breadcrumb ol{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:15px 0;list-style:none;color:#5d7180;font-size:12px}
.teacher-breadcrumb li+li::before{content:"/";margin-right:8px;color:#9aabb7}
.teacher-breadcrumb a{text-decoration:underline;text-underline-offset:3px}
.teacher-breadcrumb a:hover{color:var(--blue)}
.teacher-profile__hero{padding:64px 0 68px;background:linear-gradient(135deg,#fff 0%,#fff 58%,#eef8ff 100%)}
.teacher-profile__hero-grid{display:grid;grid-template-columns:minmax(260px,400px) minmax(0,1fr);align-items:center;gap:clamp(46px,7vw,88px);max-width:1060px}
.teacher-profile__photo{position:relative;margin:0;padding:10px;border:1px solid rgba(5,92,157,.16);border-radius:50%;background:#fff;box-shadow:0 18px 42px rgba(5,92,157,.12)}
.teacher-profile__photo::after{content:"";position:absolute;right:7%;bottom:7%;width:19%;aspect-ratio:1;border-radius:50%;background:var(--orange);opacity:.9}
.teacher-profile__photo img{width:100%;aspect-ratio:1;border-radius:50%;object-fit:cover}
.teacher-profile__eyebrow{margin:0 0 10px;color:var(--orange);font-family:var(--rem);font-size:12px;font-weight:700;letter-spacing:.18em}
.teacher-profile__intro h1{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;margin:0 0 28px;color:var(--blue);line-height:1.25}
.teacher-profile__intro h1 strong{font-family:var(--rem);font-size:clamp(42px,5vw,66px);letter-spacing:.01em}
.teacher-profile__intro h1 span{font-size:20px;letter-spacing:.04em}
.teacher-profile__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0 0 22px;overflow:hidden;border:1px solid #dbe9f2;border-radius:14px;background:#dbe9f2}
.teacher-profile__facts>div{display:grid;grid-template-columns:78px 1fr;align-items:center;gap:10px;padding:12px 14px;background:#fff}
.teacher-profile__facts dt{color:#6b7d8a;font-size:12px}
.teacher-profile__facts dd{margin:0;color:#253846;font-size:14px;font-weight:700}
.teacher-profile__tags{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.teacher-profile__tags li{padding:6px 11px;border-radius:999px;background:var(--lightblue);color:#174d74;font-size:12px;font-weight:500}
.teacher-profile__section{padding:76px 0}
.teacher-profile__section:nth-of-type(even){background:#f6fafe}
.teacher-profile__content{max-width:900px}
.teacher-profile__section h2{display:flex;align-items:center;gap:13px;margin:0 0 30px;color:var(--blue);font-size:clamp(25px,3vw,34px);line-height:1.45}
.teacher-profile__section h2::before{content:"";width:5px;height:1.35em;flex:none;border-radius:5px;background:var(--orange)}
.teacher-profile__message-text{color:#324653;font-family:var(--sans);font-size:16px;line-height:2.05;overflow-wrap:anywhere}
.teacher-profile__schedule p,.teacher-profile__reviews>div>p{font-size:15px;line-height:1.9}
.teacher-profile__actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:27px}
.teacher-profile__button{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:12px 24px;border:2px solid;border-radius:999px;color:#fff;font-size:14px;font-weight:700;text-align:center;transition:transform .2s ease,background-color .2s ease}
.teacher-profile__button:hover{transform:translateY(-2px)}
.teacher-profile__button--primary{border-color:var(--blue);background:var(--blue)}
.teacher-profile__button--accent{border-color:var(--orange);background:var(--orange)}
.teacher-detail__source-link{color:var(--blue);font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:5px}
.teacher-profile__empty{margin-top:20px!important;padding:20px 22px;border-left:4px solid var(--blue);border-radius:0 12px 12px 0;background:#f0f7fc;color:#445a68}
.teacher-profile__back{padding:40px 0 70px}
.teacher-profile__back .container{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.teacher-profile__back a{min-width:220px;padding:12px 20px;border:1px solid rgba(5,92,157,.3);border-radius:999px;color:var(--blue);font-size:14px;font-weight:700;text-align:center}
.teacher-profile a:focus-visible,.teacher-breadcrumb a:focus-visible,.teacher-detail__not-found a:focus-visible{outline:3px solid #ffb07b;outline-offset:4px}
.teacher-detail__not-found{padding:80px 20px;text-align:center}
.teacher-detail__not-found h1{margin-bottom:20px;color:var(--blue);font-size:36px}
.teacher-detail__not-found p{margin-bottom:25px}
@media (max-width:700px){
  .teacher-profile__hero{padding:38px 0 45px}
  .teacher-profile__hero-grid{grid-template-columns:1fr;gap:30px}
  .teacher-profile__photo{width:min(78vw,300px);margin:0 auto}
  .teacher-profile__intro{text-align:center}
  .teacher-profile__intro h1{justify-content:center;gap:7px;margin-bottom:23px}
  .teacher-profile__intro h1 strong{font-size:42px}
  .teacher-profile__intro h1 span{font-size:16px}
  .teacher-profile__facts{text-align:left}
  .teacher-profile__facts>div{grid-template-columns:1fr;gap:2px;padding:10px}
  .teacher-profile__tags{justify-content:center}
  .teacher-profile__tags li{font-size:10.5px}
  .teacher-profile__section{padding:50px 0}
  .teacher-profile__section h2{align-items:flex-start;margin-bottom:22px;font-size:23px}
  .teacher-profile__message-text{font-size:14px;line-height:1.95}
  .teacher-profile__schedule p,.teacher-profile__reviews>div>p{font-size:14px}
  .teacher-profile__actions{flex-direction:column;align-items:stretch}
  .teacher-profile__button{width:100%}
  .teacher-detail__source-link{text-align:center}
  .teacher-profile__back{padding:30px 0 54px}
  .teacher-profile__back .container{flex-direction:column}
  .teacher-profile__back a{width:100%}
}
@media (prefers-reduced-motion:reduce){.teacher-profile__button{transition:none}.teacher-profile__button:hover{transform:none}}

/* WTE public schedule bridge */
.teacher-schedule{margin-top:26px}
.teacher-schedule__status,.teacher-schedule__notice,.teacher-schedule__empty{padding:18px 20px;border-radius:12px;background:#eef7fd;color:#284b63;font-size:14px;line-height:1.7}
.teacher-schedule__status.is-error{border-left:4px solid #c74425;background:#fff2ee;color:#742b1c}
.teacher-schedule__nav{display:grid;grid-template-columns:minmax(120px,1fr) auto minmax(120px,1fr);align-items:center;gap:16px;margin-bottom:18px}
.teacher-schedule__month{margin:0!important;color:var(--blue);font-family:var(--rem);font-size:24px!important;font-weight:700;text-align:center}
.teacher-schedule__month-button{justify-self:start;width:max-content;min-height:44px;padding:8px 16px;border:1px solid #b9d6e8;border-radius:999px;background:#fff;color:var(--blue);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.teacher-schedule__month-button:last-child{justify-self:end}
.teacher-schedule__month-button:disabled{opacity:.38;cursor:not-allowed}
.teacher-schedule__month-button:not(:disabled):hover{background:#eef8ff}
.teacher-schedule__month-button:focus-visible,.teacher-slot:focus-visible{outline:3px solid #ffb07b;outline-offset:3px}
.teacher-schedule__table-scroll{overflow-x:auto;border:1px solid #ccdfeb;border-radius:14px;background:#fff;overscroll-behavior-inline:contain}
.teacher-schedule__table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed}
.teacher-schedule__table th{padding:11px 4px;border-bottom:1px solid #ccdfeb;background:#edf7fd;color:#36596f;font-size:13px;text-align:center}
.teacher-schedule__table th.is-sunday{color:#c54343}.teacher-schedule__table th.is-saturday{color:#1767a3}
.teacher-schedule__table td{height:112px;padding:8px 6px;border-right:1px solid #e2edf3;border-bottom:1px solid #e2edf3;vertical-align:top;background:#fff}
.teacher-schedule__table tr:last-child td{border-bottom:0}.teacher-schedule__table td:last-child{border-right:0}
.teacher-schedule__table td.is-other-month{background:#f7f9fa;color:#98a7b1}
.teacher-schedule__table td.is-today{box-shadow:inset 0 0 0 2px var(--orange)}
.teacher-schedule__day{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:50%;font-size:13px;font-weight:700}
.teacher-schedule__table td.is-today .teacher-schedule__day{background:var(--orange);color:#fff}
.teacher-schedule__slots{display:grid;gap:4px;margin:6px 0 0;padding:0;list-style:none}
.teacher-slot{display:block;width:100%;padding:5px 3px;border:0;border-radius:5px;font:inherit;font-size:11px;font-weight:700;line-height:1.25;text-align:center;white-space:nowrap}
.teacher-slot--vacant{cursor:pointer;background:#fff0e6;color:#a6440a;text-decoration:none;box-shadow:inset 0 0 0 1px #ffc49f}
.teacher-slot--vacant:hover{background:#ffdfcb}
.teacher-slot--reserved{background:#e8f1f7;color:#5d7180}
.teacher-slot--finished{background:#f0f0f0;color:#828282;text-decoration:none}
.teacher-schedule__legend{display:flex;flex-wrap:wrap;gap:12px 22px;margin:18px 0 0;padding:0;list-style:none;color:#4e6472;font-size:12px}
.teacher-schedule__legend li{display:flex;align-items:center;gap:7px}.teacher-schedule__legend .teacher-slot{width:52px}
.teacher-schedule__note{margin-top:16px!important;color:#4e6472;font-size:13px!important}
.teacher-schedule__empty,.teacher-schedule__notice{margin-top:14px!important}
@media (max-width:700px){
  .teacher-schedule__nav{grid-template-columns:1fr 1fr;gap:10px}.teacher-schedule__month{grid-column:1/-1;grid-row:1}.teacher-schedule__month-button{grid-row:2;min-height:42px;padding:7px 12px}.teacher-schedule__table{min-width:680px}.teacher-schedule__table td{height:100px;padding:6px 4px}.teacher-slot{font-size:10px}.teacher-schedule__table-scroll{border-radius:10px}.teacher-schedule__legend{gap:9px 14px}.teacher-schedule__note{font-size:12px!important}
}
