/* =========================================================
   taisaku-erabi.com テーマ
   色：ネイビー1色＋強調にゴールドを少し。グラデーション・影は使わない。
   ========================================================= */

:root{
  --te-navy:#1F3864;
  --te-navy-dark:#162a4d;
  --te-gold:#e6b422;
  --te-ink:#1f2328;
  --te-sub:#5b6470;
  --te-line:#d9dde3;
  --te-bg:#f5f6f8;
  --te-font:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
}

/* ---------- 土台 ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--te-font);
  color:var(--te-ink);
  background:#fff;
  font-size:16px;
  line-height:1.8;
  letter-spacing:.02em;
  word-break:normal;
  overflow-wrap:anywhere;
  line-break:strict;
}
img,svg,video{max-width:100%;height:auto}
a{color:var(--te-navy);text-underline-offset:3px}
a:hover{color:var(--te-navy-dark)}
:focus-visible{outline:2px solid var(--te-gold);outline-offset:2px}

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

/* ---------- ヘッダー ---------- */
.te-header{background:#fff;border-top:3px solid var(--te-navy);border-bottom:1px solid var(--te-line)}
.te-header-in{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px}
.te-logo{display:flex;flex-direction:column;text-decoration:none;color:var(--te-ink);line-height:1.3;padding:10px 0}
.te-logo img{display:block;max-height:44px;width:auto}
.te-logo-name{font-size:19px;font-weight:700;color:var(--te-navy)}
.te-logo-desc{font-size:12px;color:var(--te-sub);margin-top:2px}

.te-gnav .te-menu{display:flex;flex-wrap:wrap;gap:4px 24px;margin:0;padding:0;list-style:none;font-size:15px}
.te-gnav a{color:var(--te-ink);text-decoration:none;font-weight:700;display:block;padding:8px 0}
.te-gnav a:hover,.te-gnav .current-menu-item>a,.te-gnav .current_page_item>a,.te-gnav .current-menu-ancestor>a,.te-gnav .current_page_ancestor>a{color:var(--te-navy);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}

.te-nav-toggle{display:none;font:inherit;font-size:14px;font-weight:700;color:var(--te-navy);background:#fff;border:1px solid var(--te-navy);border-radius:4px;padding:6px 14px;cursor:pointer}

/* ---------- フッター ---------- */
.te-footer{background:var(--te-navy-dark);color:#fff;padding:40px 0 24px;font-size:14px}
.te-footer a{color:#fff}
.te-footer-in{display:flex;justify-content:space-between;align-items:flex-start;gap:24px 48px;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid rgba(255,255,255,.2)}
.te-footer-name{font-size:17px;font-weight:700;text-decoration:none}
.te-footer-desc{margin:4px 0 0;color:rgba(255,255,255,.75);font-size:13px}
.te-fnav .te-menu{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0;padding:0;list-style:none}
.te-footer-pr{margin:20px 0 4px;color:rgba(255,255,255,.75);font-size:12px}
.te-copy{margin:0;color:rgba(255,255,255,.75);font-size:12px}

/* =========================================================
   ページ本体（仮サイトのデザインをそのまま引き継ぎ）
   ========================================================= */
.te-page{
  font-family:var(--te-font);
  color:var(--te-ink);
  font-size:16px;
  line-height:1.8;
  letter-spacing:.02em;
  margin-top:0 !important;
}
.te-page *{box-sizing:border-box}
.te-wrap{max-width:1040px;margin:0 auto;padding:0 20px}
.te-page a{color:var(--te-navy);text-underline-offset:3px}
.te-nw{display:inline-block}

/* 見出し */
.te-page :where(h1,h2,h3){font-family:inherit;color:var(--te-ink);letter-spacing:.02em;margin:0}
.te-page h1{font-size:30px;line-height:1.45;font-weight:700}
.te-page h2{font-size:24px;line-height:1.5;font-weight:700;margin:0 0 12px}
.te-page h3{font-size:18px;line-height:1.6;font-weight:700}
.te-page :where(p){margin:0 0 1em}

/* パンくず */
.te-bc{font-size:13px;color:var(--te-sub);margin-bottom:20px}
.te-bc ol{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.te-bc li+li::before{content:"＞";margin:0 .4em}
.te-bc a{color:var(--te-sub)}

/* メインビジュアル */
.te-mv{background:var(--te-bg);border-bottom:1px solid var(--te-line);padding:28px 0 36px}
.te-mv-s{padding:24px 0 32px}
.te-mv-s .te-lead{margin-bottom:0}
.te-mv-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:48px;align-items:center}
.te-kicker{font-size:14px;font-weight:700;color:var(--te-navy);margin-bottom:8px}
.te-lead{font-size:16px;color:var(--te-ink);margin:16px 0 20px;max-width:34em}
.te-facts{display:flex;flex-wrap:wrap;gap:4px 20px;margin:0 0 24px;padding:0;list-style:none;font-size:14px;color:var(--te-sub)}
.te-mv-s .te-facts{margin:12px 0 0}
.te-facts strong{color:var(--te-ink);font-weight:700;margin-left:4px}
.te-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.te-pr{font-size:12px;color:var(--te-sub);margin:16px 0 0}
.te-mv-fig svg{width:100%;height:auto;display:block}

/* ボタン：単色・影なし・矢印なし */
.te-btn{display:inline-block;background:var(--te-navy);color:#fff !important;text-decoration:none;font-weight:700;font-size:16px;padding:13px 28px;border-radius:4px;border:1px solid var(--te-navy);line-height:1.4}
.te-btn:hover{background:var(--te-navy-dark)}
.te-btn-line{background:#fff;color:var(--te-navy) !important}
.te-btn-line:hover{background:var(--te-bg)}
.te-btn-s{font-size:14px;padding:8px 14px;white-space:nowrap}

/* セクション */
.te-sec{padding:56px 0;border-bottom:1px solid var(--te-line)}
.te-sec:last-of-type{border-bottom:0}
.te-sec-lead{color:var(--te-sub);margin-bottom:24px}
.te-note{font-size:13px;color:var(--te-sub);margin-top:12px}

/* 比較表 */
.te-table-wrap{overflow-x:auto;border:1px solid var(--te-line);border-radius:4px;-webkit-overflow-scrolling:touch}
.te-table{border-collapse:collapse;width:100%;min-width:860px;font-size:15px;line-height:1.6;margin:0}
.te-table th,.te-table td{padding:14px 12px;border-bottom:1px solid var(--te-line);text-align:left;vertical-align:top}
.te-table thead th{background:var(--te-navy);color:#fff;font-weight:700;font-size:14px;white-space:nowrap}
.te-table tbody th{font-weight:700;background:#fff;white-space:nowrap}
.te-table tbody tr:last-child th,.te-table tbody tr:last-child td{border-bottom:0}
.te-table th:first-child{position:sticky;left:0;z-index:1;border-right:1px solid var(--te-line)}
.te-table thead th:first-child{background:var(--te-navy)}
.te-table .te-muted{color:var(--te-sub)}
.te-table td:nth-child(3),.te-table td:nth-child(4),.te-table td:nth-child(6){white-space:nowrap}

/* 選び方 */
.te-key{font-size:20px;font-weight:700;line-height:1.6;margin:8px 0 28px}
.te-points{margin:0;border-top:1px solid var(--te-line)}
.te-point{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:20px 0;border-bottom:1px solid var(--te-line)}
.te-point dt{font-weight:700}
.te-point dd{margin:0}
.te-more{margin-top:20px}

/* 地域 */
.te-areas{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 12px;padding:0;list-style:none}

/* よくある質問 */
.te-faq{border-top:1px solid var(--te-line)}
.te-faq details{border-bottom:1px solid var(--te-line);padding:0}
.te-faq summary{cursor:pointer;font-weight:700;padding:18px 32px 18px 0;list-style:none;position:relative}
.te-faq summary::-webkit-details-marker{display:none}
.te-faq summary::after{content:"";position:absolute;right:6px;top:26px;width:9px;height:9px;border-right:2px solid var(--te-navy);border-bottom:2px solid var(--te-navy);transform:rotate(45deg)}
.te-faq details[open] summary::after{transform:rotate(-135deg);top:30px}
.te-faq details p{padding:0 0 18px;margin:0}

/* このページについて */
.te-about{display:grid;grid-template-columns:160px minmax(0,1fr);gap:10px 24px;margin:0 0 20px}
.te-about dt{font-weight:700}
.te-about dd{margin:0}
.te-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0;padding:0;list-style:none;font-size:15px}

/* =========================================================
   通常ページ・コラムの本文
   ========================================================= */
.te-entry{max-width:760px;padding:40px 0 64px}
.te-entry>*:first-child{margin-top:0}
.te-entry h2{font-size:22px;margin:48px 0 16px;padding-bottom:8px;border-bottom:2px solid var(--te-navy)}
.te-entry h3{font-size:18px;margin:32px 0 12px}
.te-entry p{margin:0 0 1.2em}
.te-entry ul,.te-entry ol{padding-left:1.4em;margin:0 0 1.2em}
.te-entry li{margin-bottom:.3em}
.te-entry table{border-collapse:collapse;width:100%;margin:0 0 1.5em;font-size:15px}
.te-entry th,.te-entry td{border:1px solid var(--te-line);padding:10px 12px;text-align:left;vertical-align:top}
.te-entry th{background:var(--te-bg);font-weight:700}
.te-entry blockquote{margin:0 0 1.5em;padding:12px 20px;border-left:3px solid var(--te-line);color:var(--te-sub)}
.te-entry figure{margin:0 0 1.5em}
.te-entry figcaption{font-size:13px;color:var(--te-sub)}

/* 一覧 */
.te-list{list-style:none;margin:0;padding:32px 0 16px;max-width:760px}
.te-list-item{padding:20px 0;border-bottom:1px solid var(--te-line)}
.te-list-date{display:block;font-size:13px;color:var(--te-sub)}
.te-list-title{font-size:18px;font-weight:700;line-height:1.6}
.te-list-excerpt{margin:6px 0 0;color:var(--te-sub);font-size:15px}
.te-empty{padding:40px 0}
.te-pager{padding:0 0 56px}
.te-pager .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.te-pager .page-numbers{display:inline-block;min-width:40px;padding:6px 12px;border:1px solid var(--te-line);border-radius:4px;text-align:center;text-decoration:none}
.te-pager .current{background:var(--te-navy);border-color:var(--te-navy);color:#fff}

/* WordPressのブロックが本文に入ったとき */
.te-main-lp>.wp-block-group{margin:0}
.alignfull{width:100%}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width:768px){
  .te-header-in{min-height:56px;flex-wrap:wrap;gap:0 12px}
  .te-logo-name{font-size:17px}
  .te-logo-desc{font-size:11px}
  .te-nav-toggle{display:block}
  .te-gnav{display:none;width:100%;border-top:1px solid var(--te-line)}
  .te-gnav.is-open{display:block}
  .te-gnav .te-menu{flex-direction:column;gap:0;padding:4px 0 12px}
  .te-gnav a{padding:10px 0;border-bottom:1px solid var(--te-line)}

  .te-footer{padding:32px 0 20px}
  .te-footer-in{flex-direction:column}

  .te-page h1{font-size:23px}
  .te-page h2{font-size:20px}
  .te-mv{padding:16px 0 24px}
  .te-bc{margin-bottom:12px}
  .te-mv-grid{grid-template-columns:1fr;gap:0}
  .te-mv-fig{display:none}
  .te-lead{font-size:15px;margin:12px 0 14px}
  .te-facts{font-size:13px;margin-bottom:16px}
  .te-btn{width:100%;text-align:center}
  .te-actions{gap:8px}
  .te-actions .te-btn-line{width:auto;border:0;background:none;padding:4px 0;font-size:15px;text-decoration:underline}
  .te-pr{margin-top:10px}
  .te-sec{padding:40px 0}
  .te-key{font-size:18px}
  .te-point{grid-template-columns:1fr;gap:4px;padding:16px 0}
  .te-about{grid-template-columns:1fr;gap:2px}
  .te-about dd{margin-bottom:10px}
  .te-table{font-size:14px}
  .te-table th,.te-table td{padding:12px}
  .te-table .te-btn{width:auto}

  .te-entry{padding:28px 0 48px}
  .te-entry h2{font-size:20px;margin-top:40px}
}
