/* ==========================================================================
   英語ページ（/us/ /uk/）専用。テンプレート lp-en.php だけが読み込む。
   日本語ページ用の style_top.css / style_etc.css とは独立（クラスは en- で始める）。
   ========================================================================== */

:root {
    --en-blue: #1f5f99;
    --en-blue-dark: #153f66;
    --en-ink: #1c2733;
    --en-muted: #55616d;
    --en-line: #d9e2ea;
    --en-tint: #f3f7fa;
    --en-wa: #25d366;
    --en-wa-ink: #06281c;
    --en-warn-bg: #fff7e0;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.en-lp {
    margin: 0;
    color: var(--en-ink);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

.en-lp h1, .en-lp h2, .en-lp h3, .en-lp p, .en-lp ul, .en-lp ol, .en-lp dl, .en-lp dd, .en-lp table { margin: 0; padding: 0; }
.en-lp ul, .en-lp ol { list-style: none; }
.en-lp a { color: var(--en-blue); }
.en-lp a:focus-visible, .en-lp summary:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }
.en-lp img { max-width: 100%; height: auto; }

.en-wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.en-narrow { max-width: 780px; }

.en-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.en-skip:focus { left: 8px; top: 8px; }

/* ---------- ヘッダー ---------- */
.en-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--en-line); }
.en-header__inner { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.en-brand { display: flex; flex-direction: column; margin-right: auto; text-decoration: none; line-height: 1.2; min-width: 0; }
.en-brand__name { color: var(--en-ink); font-weight: 700; font-size: 16px; white-space: nowrap; }
.en-brand__sub { color: var(--en-muted); font-size: 11px; white-space: nowrap; }
.en-region { display: flex; flex: none; border: 1px solid var(--en-line); border-radius: 999px; overflow: hidden; font-size: 13px; }
.en-region a { padding: 8px 10px; text-decoration: none; color: var(--en-muted); font-weight: 600; }
.en-region a[aria-current="page"] { background: var(--en-blue); color: #fff; }
.en-header__cta { flex: none; background: var(--en-wa); color: var(--en-wa-ink) !important; font-weight: 700; font-size: 14px; text-decoration: none; padding: 9px 12px; border-radius: 999px; white-space: nowrap; }

/* ---------- ヒーロー ---------- */
.en-hero { background: linear-gradient(160deg, var(--en-blue-dark) 0%, var(--en-blue) 100%); color: #fff; padding: 44px 0 48px; }
.en-eyebrow { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: 12px !important; }
.en-hero h1 { font-size: 30px; line-height: 1.22; font-weight: 800; max-width: 20em; }
.en-hero__lead { font-size: 18px; margin-top: 16px !important; max-width: 38em; opacity: .96; }
.en-hero__points { margin-top: 20px !important; display: grid; gap: 8px; }
.en-hero__points li { position: relative; padding-left: 28px; }
.en-hero__points li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--en-wa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.3l3 3 6-6.3' fill='none' stroke='%2306281c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.en-hero__price { margin-top: 22px !important; font-size: 18px; font-weight: 700; }
.en-hero__price small { font-weight: 400; font-size: 14px; opacity: .9; }
.en-hero__small { font-size: 14px; opacity: .88; margin-top: 12px !important; }
.en-hero .en-btn-wa { margin-top: 18px; }

/* ---------- ボタン ---------- */
.en-btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--en-wa); color: var(--en-wa-ink) !important; font-weight: 800; font-size: 18px; text-decoration: none; padding: 15px 28px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); min-height: 54px; }
.en-btn-wa::before { content: ""; width: 24px; height: 24px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 0 0-7.7 13.6L3 21l4.5-1.2A9 9 0 1 0 12 3z' fill='none' stroke='%2306281c' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8.5 8.5c0 3.5 3 6.5 7 7' fill='none' stroke='%2306281c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/24px no-repeat; }
.en-btn-wa:hover { filter: brightness(1.05); }
.en-cta { text-align: center; margin-top: 32px; }
.en-cta p { font-size: 14px; color: var(--en-muted); margin-top: 10px !important; }

/* ---------- セクション共通 ---------- */
.en-section { padding: 52px 0; }
.en-section--tint { background: var(--en-tint); }
.en-section h2 { font-size: 26px; line-height: 1.25; font-weight: 800; margin-bottom: 18px !important; }
.en-section h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }
.en-lead { font-size: 18px; margin-bottom: 24px !important; max-width: 44em; }
.en-section p + p { margin-top: 12px !important; }
.en-note { font-size: 14px; color: var(--en-muted); margin-top: 14px !important; }

.en-checks { display: grid; gap: 12px; }
.en-checks li { position: relative; padding: 14px 16px 14px 48px; background: #fff; border: 1px solid var(--en-line); border-radius: 10px; }
.en-checks li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 4px; border: 2px solid var(--en-blue); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.3l3.2 3.2L14 5.8' fill='none' stroke='%231f5f99' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.en-cards { display: grid; gap: 16px; }
.en-card { background: #fff; border: 1px solid var(--en-line); border-radius: 12px; padding: 22px; }
.en-card h3 { margin-bottom: 8px !important; color: var(--en-blue-dark); }

/* ---------- 表 ---------- */
.en-table-wrap { overflow-x: auto; }
.en-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--en-line); font-size: 16px; }
.en-table th, .en-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--en-line); vertical-align: top; }
.en-table thead th { background: var(--en-blue-dark); color: #fff; font-weight: 600; font-size: 14px; }
.en-table tbody tr:last-child td, .en-table tbody tr:last-child th { border-bottom: 0; }
.en-table tbody th { font-weight: 700; width: 42%; }

/* ---------- 料金 ---------- */
.en-plans { display: grid; gap: 16px; }
.en-plan { background: #fff; border: 2px solid var(--en-line); border-radius: 14px; padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.en-plan--featured { border-color: var(--en-blue); }
.en-plan__tag { align-self: flex-start; background: var(--en-blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.en-plan__price { font-size: 34px; font-weight: 800; line-height: 1.1; color: var(--en-blue-dark); }
.en-plan__approx { font-size: 15px; color: var(--en-muted); }
.en-plan__summary { font-size: 16px; }
.en-notes { margin-top: 22px !important; display: grid; gap: 8px; font-size: 15px; color: var(--en-muted); }
.en-notes li { position: relative; padding-left: 18px; }
.en-notes li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--en-muted); }

/* ---------- 流れ ---------- */
.en-steps { counter-reset: en-step; display: grid; gap: 16px; }
.en-steps > li { counter-increment: en-step; position: relative; background: #fff; border: 1px solid var(--en-line); border-radius: 12px; padding: 20px 20px 20px 72px; }
.en-steps > li::before { content: counter(en-step); position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--en-blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.en-steps h3 { margin-bottom: 6px !important; }

.en-bullets { display: grid; gap: 8px; margin-top: 14px !important; }
.en-bullets li { position: relative; padding-left: 20px; }
.en-bullets li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--en-blue); }

.en-subhead { margin-top: 32px !important; }
.en-center { text-align: center; }

.en-callout { background: var(--en-warn-bg); border-left: 4px solid #f0a500; border-radius: 6px; padding: 16px 18px; margin-top: 20px; }

/* ---------- よくある質問 ---------- */
.en-faq { display: grid; gap: 10px; }
.en-faq details { background: #fff; border: 1px solid var(--en-line); border-radius: 10px; }
.en-faq summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 700; position: relative; list-style: none; }
.en-faq summary::-webkit-details-marker { display: none; }
.en-faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--en-blue); border-bottom: 2px solid var(--en-blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.en-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.en-faq__a { padding: 0 18px 18px; }

/* ---------- 事務所情報 ---------- */
.en-about { display: grid; gap: 0; border: 1px solid var(--en-line); border-radius: 12px; overflow: hidden; background: #fff; margin-top: 20px !important; }
.en-about > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--en-line); }
.en-about > div:last-child { border-bottom: 0; }
.en-about dt { font-size: 13px; font-weight: 700; color: var(--en-muted); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Google マップ（米国＝埋め込み・英国＝リンクだけ。2026-11-13） ---------- */
.en-reviews { margin-top: 32px; }
.en-map { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--en-line); border-radius: 12px; overflow: hidden; background: #fff; margin: 16px 0 10px; }
.en-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.en-btn-outline { display: inline-block; margin-top: 8px; padding: 10px 20px; border: 2px solid var(--en-blue); border-radius: 999px; color: var(--en-blue); font-weight: 700; text-decoration: none; }
.en-btn-outline:hover { background: var(--en-blue); color: #fff; }
@media (min-width: 760px) { .en-map { aspect-ratio: 16 / 9; } }

/* ---------- 英語の解説記事（/touketsu/en/。2026-11-13） ---------- */
.en-articles { display: grid; gap: 12px; margin-top: 18px !important; }
.en-articles a { display: grid; gap: 4px; padding: 16px 18px; background: #fff; border: 1px solid var(--en-line); border-radius: 12px; text-decoration: none; color: var(--en-ink); }
.en-articles a:hover { border-color: var(--en-blue); }
.en-articles__date { font-size: 13px; color: var(--en-muted); }
.en-articles__title { font-weight: 700; color: var(--en-blue); line-height: 1.4; }
.en-articles__excerpt { font-size: 15px; color: var(--en-muted); }
.en-articles__notice { font-size: 14px; color: var(--en-muted); background: var(--en-warn-bg); border-radius: 10px; padding: 12px 14px; margin-top: 12px !important; }
.en-crumbs { font-size: 14px; margin-bottom: 12px; }
.en-article__title { font-size: 28px; line-height: 1.25; font-weight: 800; }
.en-article__meta { font-size: 14px; color: var(--en-muted); margin-top: 10px !important; }
.en-article__body { margin-top: 24px; }
.en-article__body > * + * { margin-top: 16px !important; }
.en-article__body h2 { font-size: 23px; line-height: 1.3; margin-top: 40px !important; padding-bottom: 6px; border-bottom: 2px solid var(--en-line); }
.en-article__body h3 { font-size: 19px; margin-top: 28px !important; }
.en-article__body ul, .en-article__body ol { display: grid; gap: 8px; }
.en-article__body ul li { position: relative; padding-left: 20px; }
.en-article__body ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--en-blue); }
.en-article__body ol { list-style: decimal; padding-left: 1.4em; }
.en-article__body blockquote { margin: 0; padding: 12px 16px; border-left: 4px solid var(--en-line); color: var(--en-muted); }
.en-article__disclaimer { background: var(--en-warn-bg); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.en-article__case { background: var(--en-tint); border: 1px solid var(--en-line); border-radius: 12px; padding: 18px 18px 20px; }
.en-article__case > * + * { margin-top: 12px !important; }
.en-article__case-label { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--en-muted); }
.en-article__sources { font-size: 14px; color: var(--en-muted); }
.en-article__cta { margin-top: 40px; padding: 22px 20px; border-radius: 14px; background: var(--en-tint); border: 1px solid var(--en-line); }
.en-article__cta > * + * { margin-top: 10px !important; }
.en-article__cta-title { font-weight: 800; font-size: 19px; }
.en-article__cta-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.en-article__cta-links .en-btn-outline { margin-top: 0; }
/* 画像（2026-11-13 追加: アイキャッチ・挿絵・一覧のサムネイル） */
.en-articles a { grid-template-columns: 1fr; }
.en-articles__thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.en-articles__text { display: grid; gap: 4px; }
.en-article__eyecatch, .en-article__figure { margin: 0; }
.en-article__eyecatch { margin-top: 20px; }
.en-article__eyecatch img, .en-article__figure img { display: block; width: 100%; height: auto; border-radius: 10px; }
.en-article__figure img { max-width: 640px; margin: 0 auto; }
@media (min-width: 600px) {
  .en-articles a:has(.en-articles__thumb) { grid-template-columns: 200px 1fr; gap: 16px; align-items: start; }
}
@media (min-width: 760px) { .en-article__title { font-size: 36px; } }

/* ---------- 仮置き（公開前に必ず埋める。build.py が検出する） ---------- */
.en-tbd { background: #ffe14d; color: #000; padding: 0 4px; border-radius: 3px; font-weight: 700; }

/* ---------- フッター ---------- */
.en-footer { background: #0f2233; color: #c9d5df; padding: 40px 0 28px; font-size: 14px; }
.en-footer a { color: #fff; }
.en-footer__grid { display: grid; gap: 24px; }
.en-footer__name { color: #fff; font-weight: 700; font-size: 17px; }
.en-footer__ja { margin-bottom: 8px !important; }
.en-footer p + p { margin-top: 6px !important; }
.en-footer__nav { display: grid; gap: 8px; align-content: start; }
.en-footer__note { margin-top: 24px !important; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; line-height: 1.6; }
.en-footer__copy { margin-top: 12px !important; font-size: 13px; }

/* ---------- 広い画面 ---------- */
@media (min-width: 760px) {
    body.en-lp { font-size: 18px; }
    .en-wrap { padding: 0 28px; }
    .en-hero { padding: 72px 0 76px; }
    .en-hero h1 { font-size: 44px; }
    .en-hero__lead { font-size: 20px; }
    .en-section { padding: 76px 0; }
    .en-section h2 { font-size: 32px; }
    .en-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .en-plans { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
    .en-plans--single { grid-template-columns: minmax(0, 460px); }
    .en-about > div { grid-template-columns: 220px 1fr; gap: 16px; }
    .en-footer__grid { grid-template-columns: 2fr 1fr; }
    .en-header__inner { gap: 12px; }
    .en-brand__name { font-size: 19px; }
    .en-brand__sub { font-size: 12px; }
    .en-region a { padding: 8px 14px; }
    .en-header__cta { font-size: 15px; padding: 9px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .en-faq summary::after { transition: none; }
}

/* Legal Notice（/touketsu/legal-notice/。2026-11-14） */
.en-legal-page h1 { font-size: 30px; line-height: 1.3; color: var(--en-blue-dark); margin-bottom: 12px !important; }
.en-legal-page p { margin-top: 14px !important; }
.en-legal-page .en-table-wrap { margin-top: 20px; }
.en-table.en-legal tbody th { width: 30%; }
@media (max-width: 600px) {
    .en-table.en-legal th, .en-table.en-legal td { display: block; width: auto; }
    .en-table.en-legal tbody th { border-bottom: 0; padding-bottom: 2px; }
}
