@charset "UTF-8";
/* flagfootball-drills.com 英語版（/en/）だけの見た目。2026-10-13 技術部。
   読み込みは rd-en.php が英語版のページにだけ行う（日本語ページには読み込まれない）。
   さらに html[lang^="en"] で絞っているので、万一日本語側に読み込まれても影響しない。
   色・角丸などは rd-pro.css の変数（--rd-*）をそのまま使う。 */

/* ---------- 書体（英語は欧文向けのシステム書体） ---------- */
html[lang^="en"] body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
}
html[lang^="en"] body .article .entry-content{font-size:17px;line-height:1.85;}
html[lang^="en"] body .entry-title{font-size:30px;line-height:1.3;letter-spacing:-.005em;}
html[lang^="en"] body .article h2{font-size:25px;line-height:1.3;letter-spacing:0;}
html[lang^="en"] body .article h3{font-size:19px;line-height:1.35;}
html[lang^="en"] body .article .entry-content p{margin-bottom:1.1em;}
@media screen and (max-width:600px){
  html[lang^="en"] body .entry-title{font-size:25px;}
  html[lang^="en"] body .article h2{font-size:22px;}
}

/* ---------- ヘッダーのサイト名（"Flag Football Drills"） ---------- */
html[lang^="en"] .logo-header .site-name-text{
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  font-size:50px;font-weight:800;letter-spacing:.03em;line-height:1.05;
  color:var(--brand-yellow,#f4c20d) !important;
  text-shadow:0 1px 5px rgba(0,0,0,.5);
}
@media screen and (max-width:600px){
  html[lang^="en"] .logo-header .site-name-text{font-size:25px;}
}

/* 動画の幅はCocoonが iframe を .video-container で包んで16:9に合わせる（日本語側と同じ）ので、ここでは触らない */

/* ---------- 公開前の注意（RD_EN_LIVE が false の間だけ body に rd-en-prelaunch が付く） ---------- */
body.rd-en-prelaunch::before{
  content:"English section - not public yet. Only visible to logged-in users and preview links.";
  display:block;background:#fff3cd;color:#664d03;border-bottom:1px solid #e6cf7a;
  font:600 13px/1.5 -apple-system,"Segoe UI",Arial,sans-serif;text-align:center;padding:6px 12px;
}

/* 固定ページ（英語トップ・About等）には日付を出さない */
body.rd-en.page .date-tags{display:none;}

/* ---------- 英語トップ・ハブ ---------- */
.rd-en-hubs{list-style:none;margin:1.2em 0 2em !important;padding:0 !important;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;}
.rd-en-hubs li{margin:0 !important;padding:0 !important;list-style:none !important;}
.rd-en-hubs a{
  display:flex;flex-direction:column;gap:2px;height:100%;
  padding:16px 18px;border:1.5px solid var(--rd-line,#e2e7e5);border-radius:14px;background:#fff;
  text-decoration:none !important;color:var(--rd-ink,#17291c);transition:border-color .15s,transform .15s,box-shadow .15s;
}
.rd-en-hubs a:hover{border-color:var(--rd-gold,#f4c20d);transform:translateY(-2px);box-shadow:var(--rd-shadow,0 4px 14px rgba(23,41,28,.08));}
.rd-en-hubs b{font-family:var(--rd-num,'Barlow Condensed',sans-serif);font-size:26px;font-weight:800;letter-spacing:.02em;line-height:1.1;color:var(--rd-em-d,#1f6b2c);}
.rd-en-hubs span{font-size:13px;color:var(--rd-mute,#66737f);}
.rd-en-hubs.is-compact{grid-template-columns:1fr;gap:6px;margin:.4em 0 0 !important;}
.rd-en-hubs.is-compact a{flex-direction:row;align-items:center;padding:9px 12px;border-radius:10px;}
.rd-en-hubs.is-compact b{font-size:20px;}
.rd-en-types{list-style:none;margin:.6em 0 1.6em !important;padding:0 !important;display:flex;flex-wrap:wrap;gap:8px;}
.rd-en-types li{margin:0 !important;padding:0 !important;list-style:none !important;}
.rd-en-types a{
  display:inline-block;padding:7px 14px;border-radius:999px;background:var(--rd-em-l,#e8f4ea);color:var(--rd-em-d,#1f6b2c) !important;
  font-size:14px;font-weight:700;text-decoration:none !important;border:1px solid rgba(46,139,61,.25);
}
.rd-en-types a:hover{background:var(--rd-em,#2e8b3d);color:#fff !important;}
.rd-en-lead{font-size:19px;line-height:1.7;color:var(--rd-ink,#17291c);margin:.4em 0 1.4em;}
.rd-en-soon{color:var(--rd-mute,#66737f);font-style:italic;}
.rd-en-hub-intro{font-size:16.5px;line-height:1.8;color:var(--rd-text,#26323f);margin:.6em 0 1.2em;}
.rd-en-hub-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 1.6em;}
.rd-en-hub-nav a{
  padding:6px 14px;border-radius:999px;border:1.5px solid var(--rd-line,#e2e7e5);background:#fff;
  color:var(--rd-text,#26323f) !important;font-size:14px;font-weight:700;text-decoration:none !important;
}
.rd-en-hub-nav a:hover{border-color:var(--rd-em,#2e8b3d);color:var(--rd-em,#2e8b3d) !important;}
.rd-en-hub-nav a.is-current{background:var(--rd-em,#2e8b3d);border-color:var(--rd-em,#2e8b3d);color:#fff !important;}

/* ---------- 記事冒頭の「早見」ボックス（英語記事の本文に入る） ---------- */
.rd-en-facts{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px 18px;
  margin:1.2em 0 1.6em;padding:16px 18px;background:#fff;border:1px solid var(--rd-line,#e2e7e5);
  border-left:4px solid var(--rd-gold,#f4c20d);border-radius:12px;
}
.rd-en-facts div{display:flex;flex-direction:column;gap:2px;font-size:15px;color:var(--rd-ink,#17291c);}
.rd-en-facts span{font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--rd-mute,#66737f);}
.rd-en-source{margin-top:2.4em;padding:14px 18px;background:#f7f9f8;border:1px solid var(--rd-line,#e2e7e5);border-radius:12px;font-size:14.5px;line-height:1.7;}
.rd-en-source p{margin:0 0 .5em !important;}
.rd-en-source p:last-child{margin-bottom:0 !important;}

/* ---------- Privacy の「Turn off analytics」スイッチ（2026-10-15） ---------- */
.rd-en-optout{margin:1em 0 1.6em;padding:14px 18px;background:#f7f9f8;border:1px solid var(--rd-line,#e2e7e5);border-radius:12px;}
.rd-en-optout-status{margin:0 0 .7em !important;font-weight:700;}
.rd-en-optout-btn{cursor:pointer;padding:9px 18px;border:1.5px solid var(--rd-em,#2e8b3d);border-radius:999px;background:#fff;color:var(--rd-em-d,#1f6b2c);font-weight:700;font-size:15px;line-height:1.2;font-family:inherit;}
.rd-en-optout-btn:hover,.rd-en-optout-btn:focus-visible{background:var(--rd-em,#2e8b3d);color:#fff;}

/* ---------- 図解（セットアップ図・プレー図。インラインSVG。2026-10-13 デザイン部） ----------
   図は自前で濃い緑のフィールドを塗るので、ページがライトでもダークでも読める。ここは余白・幅・説明文だけ。 */
.entry-content figure.rd-en-diagram{margin:1.1em auto 1.6em;max-width:560px;}
.entry-content figure.rd-en-diagram svg{display:block;width:100%;height:auto;border-radius:14px;}
.entry-content figure.rd-en-diagram figcaption{margin-top:.55em;font-size:14px;line-height:1.65;color:var(--rd-text,#26323f);}
@media (prefers-color-scheme:dark){
  .entry-content figure.rd-en-diagram svg{outline:1px solid rgba(255,255,255,.22);outline-offset:-1px;}
  .entry-content figure.rd-en-diagram figcaption{color:inherit;}
}
