.plan-comparison,.plan-comparison-hint{display:none}.plan-selection-note{padding:12px;background:#f3f7fa;border-left:4px solid #07588b}.plan-change-status{font-size:1.6rem;line-height:1.6;font-weight:600;color:#263238}@media (max-width:767px){.coverage-content{grid-template-columns:minmax(0,1fr)}.coverage-content>*,.negotiation-box{min-width:0}.coverage-content .opt{white-space:normal}.plan-comparison{display:block;max-width:100%;overflow-x:auto;margin-bottom:8px}.plan-comparison table{width:100%;min-width:28rem;border-collapse:collapse;table-layout:fixed;font-size:1.4rem;line-height:1.6}.plan-comparison caption{text-align:left;font-size:1.8rem;font-weight:700;padding-block:8px}.plan-comparison td,.plan-comparison th{padding:8px 4px;border:1px solid #d0dce5;text-align:center;overflow-wrap:anywhere}.plan-comparison th{background:#eef4f8;color:#263238}.plan-comparison tbody th{text-align:left}.plan-comparison-hint{display:block;font-size:1.4rem;line-height:1.6;margin:0 0 16px}.plan-selection-note{font-size:1.5rem;line-height:1.7}.liability-toggle{flex-wrap:wrap}.plans .plan-card.no-liability .liability-fade{opacity:1;filter:none}.plans .plan-card.no-liability .liability-cover .group-sub,.plans .plan-card.no-liability .liability-features,.plans .plan-card.no-liability .plan-plus{display:none}main>section:is(.faq,.flow,.contact,.family-example){padding-block:24px}main>#plans,main>#support-services{padding-top:28px}html:has(.site-header__logo-text){overflow-x:clip}.drawer-close,.hamburger-btn,.menu-toggle,.site-nav__toggle{min-width:44px!important;min-height:44px!important;touch-action:manipulation}.drawer{max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}.drawer a,.site-nav__menu a{min-height:44px;box-sizing:border-box;display:flex;align-items:center}.site-footer__group a,.site-footer__nav a,.site-footer__policies a,footer .footer-bottom a,footer .footer-links a,footer .footer-nav a{display:inline-flex;align-items:center;min-height:44px;padding-block:6px;box-sizing:border-box}a.btn-primary,a.contact-form-btn,a.faq-more-link,a.line-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box}main form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),main form select,main form textarea{font-size:max(16px, 1rem)!important;min-height:44px!important;max-width:100%;box-sizing:border-box}main form button,main form input[type=submit]{min-height:44px}.liability-toggle{min-height:44px;box-sizing:border-box}main a[href]{overflow-wrap:anywhere}main .fade-in{opacity:1!important;transform:none!important}main form fieldset{min-inline-size:0}main form .build-grid{display:grid;grid-template-columns:minmax(64px,1.2fr) minmax(48px,1fr) auto minmax(48px,1fr) auto;gap:6px;align-items:center}main form .build-grid select{min-width:0!important;width:100%!important}main form .birth-inline{display:flex;flex-wrap:wrap;gap:4px}main form .birth-inline select{min-width:0!important;flex:1 1 0;width:auto!important}main form .birth-inline #holderBirthEra{flex:1 0 100%;width:100%!important}main form .field-inline--date,main form .field-inline--zip{display:flex;gap:6px}main form .field-inline--date select,main form .field-inline--zip input{min-width:0!important;flex:1 1 0;width:0!important}main form .field-inline:has(.field-suffix) input{min-width:0!important;flex:1 1 0;width:0!important}.site-header{left:0;right:0;width:100%;max-width:100vw;box-sizing:border-box}.site-header__inner{min-width:0;max-width:100%;box-sizing:border-box;gap:8px}.site-header__logo{min-width:0;flex:1 1 auto}.site-header__logo-text{font-size:clamp(1.4rem,4vw,1.6rem)}.site-header__logo-text span{font-size:1.2rem;letter-spacing:.12em}.site-header .header-line-btn{padding-inline:10px;flex-shrink:0}.floating-cta:has(.floating-cta__toggle){left:calc(100vw - 96px)!important;right:auto!important;width:80px}body:has(main form) .floating-cta{display:none!important}body:has(main form) .line-help{position:static!important;display:flex;width:fit-content;min-height:44px;margin:16px auto;padding:10px 16px;box-sizing:border-box}.form-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-inline:0}.form-steps li{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:flex-start;font-size:1.4rem;white-space:nowrap;min-width:0}.form-steps .step-connector{display:none}main :is(input,select,textarea,button,[id]){scroll-margin-top:96px}:is(a,button,input,select,textarea):focus-visible{outline:3px solid #1466b8;outline-offset:3px}body:not(:has(main form)):has(.floating-cta .cta-btn){padding-bottom:var(--tmn-cta-clearance,calc(73px + env(safe-area-inset-bottom,0px)))}body:not(:has(main form)) .floating-cta:has(.cta-btn){display:flex!important;flex-direction:row!important;align-items:center;inset:auto 0 0!important;width:auto!important;height:auto!important;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));box-sizing:border-box;background:#fff;border-top:1px solid #d9e0e4;box-shadow:0 -2px 10px #00000012}body:not(:has(main form)) .floating-cta .cta-btn{flex:1 1 0;width:auto!important;min-width:0;height:auto!important;min-height:48px;margin:0!important;border-radius:10px!important;display:flex;align-items:center;justify-content:center;box-shadow:none;padding:8px 4px;line-height:1.4;align-self:stretch}body:not(:has(main form)):has(.floating-cta .cta-btn) #to-top{bottom:var(--tmn-cta-clearance,calc(73px + env(safe-area-inset-bottom,0px)))}body:not(:has(main form)) .drawer.open~.floating-cta:has(.cta-btn){display:none!important}}@media (max-width:359px){.site-header__logo{min-width:128px}.site-header .header-line-btn{width:44px;height:44px;min-width:44px;padding:10px;box-sizing:border-box}.site-header .header-line-btn__text{display:none}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}@media (max-width:767px){#plans{--fz-index-plan-title:2.2rem;--fz-index-group-title:1.8rem}#plans .plan-card h3{color:#006b43;line-height:1.4}#plans .group-title{line-height:1.5}.hero-box h1,.hero-box2 h1{-webkit-text-stroke:0.5px #fff;text-shadow:none}}.plan-spoken-prices{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}#about .injury-cover-p{min-block-size:0}body:has(.drawer.open):after{content:"";z-index:1050;background:#00000059;position:fixed;inset:0}@media (max-width:767px){#plans .plan-card .feature-group{padding-block:14px 12px}#plans .plan-card .plan-change-status{margin-block:8px}#plans .plan-card header h3{margin-block:4px 6px}}@media (max-width:767px){html:not(.is-landscape-phone) body:not(:has(main form)) .floating-cta .menu-btn{display:none!important}main [id]:not(input,select,textarea,button){scroll-margin-top:0}}
@media (max-width: 767px){.tmn-mobile-cta[hidden],.tmn-mobile-label[hidden]{display:none!important}@media (max-width:767px){.tmn-mobile-cta[hidden]{display:block!important;box-sizing:border-box;margin:24px 10px;padding:24px 16px;border:1px solid #ead5d5;border-radius:16px;background:#fff9f7;text-align:center;color:#263238}.tmn-mobile-cta .tmn-mobile-cta__title{margin:0 0 16px;font-size:2rem;font-weight:700;line-height:1.5}.tmn-mobile-cta a.tmn-mobile-cta__apply{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:56px;padding:12px;border-radius:10px;background:#117713;color:#fff;font-size:1.7rem;font-weight:700;line-height:1.5;text-decoration:none;overflow-wrap:normal}.tmn-mobile-cta .tmn-mobile-cta__note{margin:12px 0 4px;font-size:1.4rem;line-height:1.7;color:#4b555c}.tmn-mobile-cta a.tmn-mobile-cta__fees{display:inline-flex;align-items:center;min-height:44px;padding:4px 8px;box-sizing:border-box;color:#07588b;font-size:1.5rem;line-height:1.5;text-decoration:underline;text-underline-offset:3px}.floating-cta .tmn-desktop-label{display:none!important}.floating-cta .tmn-mobile-label[hidden]{display:inline!important}.floating-cta:has(.tmn-mobile-label){position:fixed!important;z-index:1500}body:not(:has(main form)) .floating-cta:has(.tmn-mobile-label) .menu-btn{flex:0 0 48px}body:not(:has(main form)) .floating-cta:has(.tmn-mobile-label) .fee-btn{flex:1 1 0;font-size:1.4rem}body:not(:has(main form)) .floating-cta:has(.tmn-mobile-label) .apply-btn{flex:2.2 1 0;font-size:1.6rem;white-space:normal;overflow-wrap:anywhere;background:#117713;color:#fff}.floating-cta:has(.tmn-mobile-label) a:focus-visible,.tmn-mobile-cta a:focus-visible{outline:3px solid #1466b8;outline-offset:3px}}@media (max-width:767px){body:has(.floating-cta .tmn-mobile-label) .to-top{display:none!important}}}
/* Readable word groups and mobile wrapping. */
.wrap-unit { white-space: nowrap; }
@media screen and (max-width: 767px){/* Mobile spacing and type candidate. Load after existing styles. */
@media screen and (max-width: 767px) {
  /* 2026-11-25 ブラウザの文字サイズ設定に追従させるため rem で指定（html は 62.5% なので 1.6rem＝標準で16px）。入力欄は iOS の拡大を防ぐため16px未満にしない */
  body {
    font-size: 1.6rem !important;
    line-height: 1.6 !important;
  }
  body :is(button, input, select, textarea) {
    font-family: inherit !important;
  }
  body form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="image"]), select, textarea, button),
  #email-verification-dialog :is(input, select, textarea, button) {
    font-size: max(16px, 1.6rem) !important;
    line-height: 1.5 !important;
  }
  body form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="image"]), select, button) {
    min-height: 44px;
  }
  main p:not([class*="note"]):not([class*="footnote"]):not([class*="price"]):not([class*="amount"]):not([class*="premium"]):not([class*="caption"]):not([class*="sub"]):not([class*="error"]):not([class*="help"]):not(.risk-matrix p):not(.risk-annotations p):not(.plan-compare p):not(.plan-card p):not(.family-card p):not(.golf-plan-summary p):not(table p):not([class*="fee"]):not([class*="cost"]):not([class*="total"]):not([class*="limit"]):not([class*="money"]):not([class*="yen"]):not(:has([class*="price"], [class*="amount"], [class*="premium"], [class*="yen"], [class*="fee"], [class*="total"], [class*="limit"], [class*="cost"])),
  .site-main p:not([class*="note"]):not([class*="footnote"]):not([class*="price"]):not([class*="amount"]):not([class*="premium"]):not([class*="caption"]):not([class*="sub"]):not([class*="error"]):not([class*="help"]):not(.risk-matrix p):not(.risk-annotations p):not(.plan-compare p):not(.plan-card p):not(.family-card p):not(.golf-plan-summary p):not(table p):not([class*="fee"]):not([class*="cost"]):not([class*="total"]):not([class*="limit"]):not([class*="money"]):not([class*="yen"]):not(:has([class*="price"], [class*="amount"], [class*="premium"], [class*="yen"], [class*="fee"], [class*="total"], [class*="limit"], [class*="cost"])) {
    font-size: 1.6rem !important;
    line-height: 1.6 !important;
  }
  main h1, .hero h1, .section-heading h1 {
    font-size: clamp(2.2rem, 5.8vw, 2.4rem) !important;
    line-height: 1.35 !important;
    overflow-wrap: break-word;
  }
  body main h2.section-title, body main h2.section-title2, body .section-heading h2 {
    font-size: 2rem !important;
    line-height: 1.4 !important;
    margin-block: 0 12px !important;
    overflow-wrap: break-word;
  }
  main h3:not([class]), .block-title, .block-subtitle, .coverage-content h3:not([class]), .negotiation-box h3 {
    font-size: 1.8rem !important;
    line-height: 1.4 !important;
    overflow-wrap: break-word;
  }
  main .mobile-next, main .tmn-mobile-cta, .site-main .mobile-next {
    margin: 16px !important;
    padding: 16px !important;
  }
  main :is(.mobile-next__title, .tmn-mobile-cta__title) {
    margin-block: 0 8px !important;
    line-height: 1.4 !important;
  }
  main :is(.mobile-next__primary, .tmn-mobile-cta__primary),
  main :is(.mobile-next, .tmn-mobile-cta) a {
    min-height: 44px;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: break-word;
  }
  /* Fixed menus, floating bars, safe-area insets, price text and notes retain existing rules. */

  main :is(.about, .coverage-summary, .plans, .family-example, .faq) {
    margin-block: 0 !important;
    padding-block: 12px !important;
  }
  main .coverage-title { margin-bottom: 8px !important; line-height: 1.4 !important; }
  main :is(.coverage-content, .negotiation-box, .family-card, .plan-card) {
    padding: 12px !important;
  }
  main .injury-block { margin-block: 0 12px !important; padding-bottom: 0 !important; }
  main :is(.coverage-content, .negotiation-box, .family-card) > p:not([class*="note"]):not([class*="price"]):not([class*="amount"]) {
    margin-block: 8px !important;
  }
  main .risk-item { padding: 12px !important; gap: 8px !important; }

  main .injury-cover-p { min-block-size: 0 !important; margin-bottom: 12px !important; }


  /* Ordinary QA/form headings; preserve coverage, table and financial roles. */
  main h2:not([class]):not(.coverage-summary h2):not(.plan-card h2):not(.risk-matrix h2):not(.golf-plan-summary h2):not(.family-card h2),
  main h2.page-title, main h2.form-title, main h2.faq-title, main h2.wizard-title {
    font-size: 2rem !important; line-height: 1.4 !important;
    margin-block: 0 12px !important; overflow-wrap: break-word;
  }
  /* Preview correction: tmn-kega.com */
  main .flow-grid { grid-template-columns: minmax(0, 1fr) !important; min-width: 0; }
  main .flow-col.box, main .flow-col.arrow { box-sizing: border-box; width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
  /* Final preview rhythm: tmn-kega.com */
  main .flow-col.box { height: auto !important; padding: 16px !important; }
  main .flow-col.box .flow-icon { margin-bottom: 8px !important; }
  main .flow-col.box .caption { margin-top: 8px !important; }

  main .coverage-content .risk-item { padding: 8px 10px !important; }
  body main .coverage-content .risk-item figcaption { box-sizing: border-box; width: 100%; font-size: 1.4rem !important; line-height: 1.5 !important; word-break: normal; word-break: auto-phrase; }
}

/* Measured phone prose width correction (2026-10-06). */
@media screen and (max-width: 767px) {
  .faq .faq-answer, .faq details > p, .contact-card { padding-inline: 16px !important; }
}

/* 2026-11-25 Large default text on phones (320px at 125%+, 390px at about 125%+; 320/16 = 20em so normal size is untouched): media-query em follows the browser's default size,
   so phrases kept on one line may wrap instead of pushing the page sideways. */
@media screen and (max-width: 19.9em) {
  main .wrap-unit, main .opt { white-space: normal !important; }
  main .wrap-soft, main .opt { display: inline !important; }
  main :is(h1, h2, h3) { overflow-wrap: anywhere; }
}}
/* 2026-10-04: the PC/tablet header is back to the 2026-10-03 look (desktop-rhythm / tablet-header removed).
   Header height = logo (min(100vw,1100px) x 128.73/1100) + nav (25px padding x2 + 1.2 x --fz-nav + 8px) + 1px border.
   It is the anchor offset until main.js sets --fixed-header, so hash links on page load are not hidden. */
@media screen and (min-width: 768px) {
  html { scroll-padding-top: max(var(--fixed-header, 0px), calc(min(100vw, 1100px) * 0.11703 + 59px + 1.2 * clamp(20px, 8.4px + 1.51vw, 25px))); }
  main[id], main section[id], main h1[id], main h2[id], main h3[id], main details[id] { scroll-margin-top: 16px; }
}
/* 768-1023px: keep the 10/3 nav size, but let the six items fit on one row (side padding 40px -> 16px). */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .site-header .main-nav ul { padding-inline: 16px; }
}
/* Landscape phones: the header is static (common.css), so no offset. */
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  html { scroll-padding-top: 0; }
}
/* 2026-10-04 UI audit fixes. Loaded after the other stylesheets on every page. */
.wrap-soft { display: inline-block; }
main :not(.flow-steps) > li > a:not([class]), main td a:not([class]) { text-decoration: underline; }
main h1, main h2, main h3, main h4, main summary, .liability-note, .feature-label { word-break: auto-phrase; }
.breadcrumb a, .agency a { padding-block: 1.2rem; }
.asterisk-note a { padding-block: .6rem; }
#notice-70plus { margin-inline: max(1.6rem, calc((100% - var(--content-max-width, 1100px)) / 2)); }
@media (min-width: 769px) { .family-cards { align-items: stretch; } }
@media (min-width: 768px) and (max-width: 1131px) { #notice-70plus > .container { padding-inline: 2.4rem; } }
@media (max-width: 767px) {
  #notice-70plus > .container { padding-inline: 0; }
  .btn-primary { background: #117713; }
}
/* 2026-10-04 UI audit (2nd pass). */
/* M3: the illustrations are lazy SVGs without a natural size; reserve the square box so #plans lands where the browser scrolled (same size as after load). */
.risk-item img { width: 100%; aspect-ratio: 1 / 1; }
@media (max-width: 767px) {
  /* M2: in-page links land 12px below the sticky header (scroll-padding-top = header, set by main.js). */
  main [id]:not(input, select, textarea, button) { scroll-margin-top: 12px; }
  /* Until main.js sets --fixed-header the offset fell back to 100px (hash links from another page landed ~60px low). Header = logo (100vw x 128.73/1100) + 1px border. */
  html { scroll-padding-top: max(var(--fixed-header, 0px), calc(100vw * .11703 + 1px)); }
  /* M1/M4: card titles keep a role above the 18px h3 of the mobile rhythm. */
  main .family-card h3 { font-size: 2.8rem !important; line-height: 1.2 !important; }
  main .plan-card h3 { font-size: 2.2rem !important; }
  /* L2/L3: hint and contact-box description stay secondary (14px). */
  #main p.plan-comparison-hint, #main .contact-actions p.support-url.small { font-size: 1.4rem !important; }
}
.plan-comparison-hint, .contact-actions .support-url.small { word-break: auto-phrase; }
/* L5: at 960-1067px the three-column cards wrapped the toggle label with one character on line 2; a slightly smaller toggle keeps it on one line inside its box. */
@media (min-width: 960px) and (max-width: 1079px) {
  .liability-toggle { padding-inline: .4rem; gap: .5rem; }
  .toggle-text { font-size: 1.5rem; }
}
.toggle-text { word-break: auto-phrase; }
/* The "(free)" note after the accident phone number never splits (as tmn-golf). */
.contact-card span.small { white-space: nowrap; }
/* Landscape phones: one menu button. The header scrolls away there, so the always-reachable fixed one (#floating-menu,
   same drawer) is kept and the header one is hidden (on 844x390 it also sat on the insurer logo). Pages without the
   fixed bar (404) keep the header button. Same rule as tmn-golf 7bbde65. */
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  body:has(#floating-menu) .site-header .menu-toggle { display: none; }
  html { scroll-padding-top: 0; }
}
/* From 768px the fixed buttons are a right-hand column (60px, 1rem from the edge): keep text clear of it. Below 768px they are the bottom bar. */
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) and (min-width: 768px) {
  body:has(#floating-menu) .container { padding-right: calc(60px + 1rem + 8px); }
}
/* 2026-11-25 ブラウザーの文字の設定を大きくしたとき、768px 以上で3列に固定したプランのカードが切れないよう、カードの最小幅を rem で決めて折り返す（標準の大きさでは3列のまま）。 */
@media (min-width: 768px) {
  main .plans-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
}
/* 2026-11-25 文字を大きくしたとき: 見出し画像の箱を文字に合わせて伸ばし（overflow:clip はスクロール領域にならないので aspect-ratio の箱が中身に合わせて伸びる）、
   文字が大きいときは補償の行の金額を次の行へ回せるようにする。狭い幅（19.5em は標準の大きさの 312px）では保険料の金額の前でも折り返す。長い URL は折り返す。tmn-golf・tmn-cycle と同じ。 */
.hero, .hero2 { overflow: clip; }
main .hero .hero-box, main .hero2 .hero-box2 { max-height: none; }
/* 768px 以上で 47.99em 以下 = 768px なら文字が標準より大きいときだけ当たる（標準の大きさでは 768px が 48em） */
@media (max-width: 19.5em), (min-width: 768px) and (max-width: 47.99em) {
  .plan-card .plan-features li { flex-wrap: wrap; }
  .plan-card .plan-features .amount { margin-left: auto; }
}
@media (max-width: 19.5em) { .plan-card .plan-price strong { display: inline-block; } }
main a[href^="http"] { overflow-wrap: anywhere; }
@media screen and (max-width:767px){main #about:has(+ #coverage) .container > p:last-child{margin-bottom:0!important}main #about:has(+ #coverage){padding-bottom:4px!important}main #about:has(+ #coverage) + #coverage{padding-top:12px!important}}
@media screen and (min-width: 768px){/* 2026-10-09: PCは本文を見出し・表の幅に合わせ、法務本文は親コンテナごと整える。 */
@media(max-width:767px){main p,main li,main dd{max-width:760px}}main p[style*="text-align:center"],main p[style*="text-align: center"],main p[style*="text-align:right"],main p[style*="text-align: right"],main .family-total,main .date,main .injury-cover-p,main[style*="text-align:center"] p,main[style*="text-align: center"] p,main [style*="text-align:center"] p,main [style*="text-align: center"] p,main .error-content p{max-width:none}@media(min-width:768px){main #handling>.container,main #policy>.container,main #salespolicy>.container,main #hikakusuishou>.container{max-width:840px}}}
/* 2026-10-09: the plans' image button ("申込画面に進む", apply.svg) is now the same HTML button as the phone CTA (.tmn-mobile-cta__apply). PC: up to 440px, centered. */
.tmn-apply-cta{margin:2.4rem auto 2rem;text-align:center}
.tmn-apply-cta a.tmn-mobile-cta__apply{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;max-width:440px;min-height:56px;margin-inline:auto;padding:12px 16px;border-radius:10px;background:#117713;color:#fff;font-size:1.7rem;font-weight:700;line-height:1.5;text-decoration:none;overflow-wrap:normal;transition:background-color .2s ease}
.tmn-apply-cta a.tmn-mobile-cta__apply:hover{background:#0c5d0f;color:#fff}
.tmn-apply-cta a.tmn-mobile-cta__apply:focus-visible{outline:3px solid #1466b8;outline-offset:3px}
@media (min-width:768px){.tmn-apply-cta a.tmn-mobile-cta__apply{min-height:60px;font-size:1.8rem}}
/* 2026-10-09 UI balance review (findings S3-S15, tmn-kega). Loaded last on every page. */
/* S3: the first two top-page sections use the same section spacing as the rest (PC 40px; phones 24px between sections). */
@media (min-width:768px){#index #about.about{padding:4rem 0 2rem}#index #about .injury-cover-p{min-block-size:0}#index #coverage.coverage-summary{padding-top:4rem}}
@media (max-width:767px){main #about.about:has(+ #coverage){padding-top:24px!important;padding-bottom:12px!important}main #about.about + #coverage{padding-top:12px!important}}
/* S7: 768-1023px shows the three plans side by side instead of 2 + 1. */
@media (min-width:768px) and (max-width:1023px){
.plans-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}
.plans-grid .plan-card{padding:1.2rem}
.plans-grid .feature-group{padding-inline:.8rem}
.plans-grid .toggle-text{font-size:1.4rem}
.plans-grid .group-title{font-size:1.7rem}
#index .plans-grid .group-sub{font-size:1.4rem}
#index .plans-grid .plan-features li,#index .plans-grid .feature-label{font-size:1.5rem}
.plans-grid .amount{flex:0 0 auto;font-size:1.5rem;min-width:0;white-space:nowrap}
}
/* S8: the start-date diagram is centred under the heading and text. */
.flow-grid{justify-content:center}
/* S11: PC notes band is full width with text on the content column; the 71+ notice box sits on the content column. */
@media (min-width:768px){.disclaimer{max-width:none;padding-inline:max(4rem,calc((100% - 1020px) / 2))}#notice-70plus{margin-inline:max(4rem,calc((100% - 1020px) / 2))}}
@media (max-width:767px){main #coverage .coverage-content{padding-inline:0!important}}
/* S12: the two contact cards share one height and the same inner spacing. */
.contact-cards{align-items:stretch}
.contact-card{align-content:center}
.contact-card--accident{padding-block:2rem}
/* S15: plan names use one colour (the green used on phones); the index footer keeps the caption size of the other pages. */
.plan-card h3{color:#006b43}
#index .agency-insurer p{font-size:var(--fz-caption)}
/* S13: phone header gets an 8px side margin; the menu icon is a little smaller so it no longer touches the insurer mark. */
@media (max-width:767px){
.site-header .site-logo{width:calc(100% - 16px);margin-inline:8px auto}
/* 2026-11-29 ロゴの上の青い帯だけが左右8pxの余白で切れていた。文字の余白は残し、帯は画面の端まで伸ばす（帯の高さはロゴの 23.89/128.73） */
.site-header .site-logo{position:relative}
.site-header .site-logo::before{content:"";position:absolute;top:0;left:-8px;right:-8px;height:18.5%;background:#0071bc;z-index:-1}
.site-header .menu-toggle{right:8px;display:flex;justify-content:flex-end;align-items:center}
.site-header .menu-toggle img{width:32px}
}
/* S5: payments on phones - the illustration sits centred under the heading instead of squeezing the text beside it. */
@media (max-width:767px){
.page-payments #payments .payment-item{display:flex;flex-direction:column}
.page-payments #payments .payment-text{display:contents}
.page-payments #payments .payment-text>*{order:3}
.page-payments #payments .payment-text>h3{order:1}
.page-payments #payments .payment-icon{order:2;float:none;width:140px;margin:.4rem auto 1.2rem}
}
/* S6: coverage illustrations on phones are centred, one height, and grouped with their own heading. */
@media (max-width:600px){
.coverage-item .coverage-icon{float:none;width:auto;margin:2.4rem auto .4rem;padding:0}
.coverage-item .coverage-icon img{width:auto;max-width:100%;height:120px}
}
/* S1 (2026-10-09 22:4x, 河合さん決定): PC keeps only the menu band fixed; the logo scrolls away. main.js sets --site-logo-h and --fixed-header (= the band). Phones unchanged. */
@media (min-width:768px){
.site-header{top:calc(-1 * var(--site-logo-h, calc(min(100vw, 1100px) * .11703)))}
html{scroll-padding-top:var(--fixed-header, calc(59px + 1.2 * clamp(20px, 8.4px + 1.51vw, 25px)))}
}
@media (orientation:landscape) and (max-height:500px) and (pointer:coarse){html{scroll-padding-top:0}}
/* S9 (河合さん決定 a): the four policy pages use the same 1020px text column as the other pages (drops only their 840px cap from text-measure-20261009). */
@media (min-width:768px){main #handling>.container,main #policy>.container,main #salespolicy>.container,main #hikakusuishou>.container{max-width:var(--content-max-width,1100px)}}
/* 2026-10-10 (河合さん決定): PC after scrolling - one-row menu band about 54px (main.js toggles html.is-header-compact; a spacer keeps the full header height). Top of page, phones, landscape phones and no-JS are unchanged. */
:root{--header-band-h:54px}
.site-header-spacer{display:none}
@media (min-width:768px){
html.is-header-compact .site-header{position:fixed;top:0;left:0;right:0}
html.is-header-compact .site-header .site-logo{display:none}
html.is-header-compact .site-header .main-nav ul{flex-wrap:nowrap;align-items:center;min-height:calc(var(--header-band-h) - 1px);padding-block:0}
html.is-header-compact .site-header-spacer{display:block;height:var(--header-full-h,0px)}
html.js-enabled{scroll-padding-top:var(--header-band-h)}
}
@media (orientation:landscape) and (max-height:500px) and (pointer:coarse){html.js-enabled{scroll-padding-top:0}}
/* 2026-10-10: at 768px with a desktop scrollbar (753px wide) the last menu divider (li::after, right:-20px) ended 4px past the edge and made a horizontal scroll (since the 10/4 16px nav padding). Clip only that overflow; nothing visible changes. */
@media (min-width:768px){.site-header .main-nav{overflow-x:clip}}
/* 2026-11-06 UI分析の改善点3・5。
   3: スマホの「補償内容」のイラストを、ケガは3列・個人賠償は2列の小さめの札にして節を短くする（約14画面のうち補償内容が約3画面）。
   5: ヘッダーのメニューの押せる高さを44px以上にする（文字の大きさは変えない）。 */
.site-header .main-nav a{box-sizing:border-box;min-height:44px;display:flex;align-items:center;justify-content:center}
@media (max-width:767px){
#coverage .risk-images{gap:8px}
#coverage .injury-block .risk-item{flex:0 0 calc((100% - 16px) / 3);max-width:calc((100% - 16px) / 3);padding:8px 4px !important}
#coverage .injury-block .risk-item img{max-width:64px}
#coverage .liability .risk-item{flex:0 0 calc((100% - 8px) / 2);max-width:calc((100% - 8px) / 2);padding:8px !important}
#coverage .liability .risk-item img{max-width:88px}
#coverage .risk-item figcaption{margin-top:4px}
}
/* 7: 注記の下限を14pxに（--fz-small・--fz-cta-mini は最小 13px だった。sup の※印は対象外）。 */
:root{--fz-small:1.4rem;--fz-cta-mini:clamp(1.4rem,1.3rem + .35vw,1.5rem)}
.copyright{font-size:1.4rem}
@media (max-width:768px){.hero-box .note--hero,.hero-box2 .note--hero{font-size:clamp(1.4rem,.8rem + 1.04vw,1.6rem)}}
/* 4: スマホの「家族3人の例」。札を「契約・氏名｜補償・保険料」の2列にし、縦の長さを詰める（文言・順序は不変）。 */
@media (max-width:767px){
main .family-example .family-card{display:grid;grid-template-columns:72px 1fr;grid-template-areas:"label desc" "name desc" "name price" "note note";column-gap:12px;align-items:center;width:100%;padding:12px}
main .family-example .family-card .contract-label{grid-area:label;margin:0;font-size:1.6rem}
main .family-example .family-card h3{grid-area:name;align-self:start;margin:0;padding:0}
main .family-example .family-card .desc{grid-area:desc;margin:0}
main .family-example .family-card .price{grid-area:price;margin:4px 0 0}
main .family-example .family-card h4.asterisk-note{grid-area:note;margin:8px 0 0;padding-top:8px}
main .family-example .family-cards .plus{margin:0;font-size:2.4rem;line-height:1.2}
}
/* 2026-11-06 目次（改善点3の残り）。トップの「傷害保険とは」の直後に、節へ飛ぶ入口を並べる（スマホは2列、PCは1行）。 */
.page-toc{margin:1.6rem 0 0;padding:1.2rem 1.6rem;background:#f5fbf5;border:1px solid rgba(17,119,19,.2);border-radius:12px}
.page-toc-title{margin:0 0 .8rem;font-size:1.6rem;font-weight:700;color:#333}
.page-toc ul{display:flex;flex-wrap:wrap;gap:.8rem;margin:0;padding:0;list-style:none}
.page-toc a{box-sizing:border-box;display:flex;align-items:center;min-height:44px;padding:.4rem 1.4rem;font-size:1.6rem;line-height:1.3;color:#006b43;background:#fff;border:1px solid rgba(0,107,67,.35);border-radius:8px;text-decoration:underline;text-underline-offset:3px}
.page-toc a:hover,.page-toc a:focus-visible{background:#006b43;color:#fff}
@media (max-width:767px){
.page-toc{margin-top:.8rem;padding:1rem 1.2rem}
.page-toc ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,max(calc(7em + 2.4rem),calc(50% - .3rem))),1fr));gap:.6rem;font-size:1.6rem}
.page-toc a{padding:.4rem 1rem}
}
/* 2026-11-06 補償内容ページ（hosho）：スマホのイラストを中央の120px から、文章の右に幅96px で添える形へ（10/09 の S6 を上書き。河合さん決定「右に寄せる」）。ページが約470px 短くなる。 */
@media (max-width:600px){
.coverage-item .coverage-icon{float:right;width:96px;margin:.4rem 0 .8rem 1.2rem;padding:0}
.coverage-item .coverage-icon img{width:96px;max-width:100%;height:auto}
}
/* 2026-11-06 スマホのプラン札（3枚）の内側の余白だけを詰める（外枠の12px は家族の例の札とそろえたまま。料金の並び・文字の大きさ・文言は不変。河合さん「プラン札も詰める」）。約120px 短くなる。 */
@media (max-width:767px){
main #plans .plan-card .feature-group{padding:10px 10px 8px}
main #plans .plan-card .group-title,main #plans .plan-card .group-sub{margin-bottom:4px}
main #plans .plan-card .plan-change-status{margin:4px 0}
main #plans .plan-card .liability-toggle{margin-bottom:4px}
}
/* 2026-11-06 目次は PC（768px 以上）では出さない。PC は上のメニューで各節へ飛べるため（河合さん決定「PCでは隠す」）。 */
@media (min-width:768px){.page-toc{display:none}}
/* 2026-11-06 スマホのヒーロー：「通院補償付きで月々…円※」とボタンの間が 3px しかなかったので 12px に（河合さん「少し余白が欲しい」）。 */
@media (max-width:767px){.hero-box small:not(.note){margin-bottom:.5rem}}
/* 2026-11-06 スマホのプラン札：詳細を「〇〇プランの詳細を見る」で開閉（js/plan-details-20261106.js。tmn-golf と同じ形。河合さん決定「A：切替は料金の下に出す」）。 */
.plan-details[hidden],.plan-details-toggle[hidden]{display:none!important}
@media (max-width:767px){
main #plans .plan-card .plan-quick{margin:8px 0 0}
main #plans .plan-card .plan-quick .liability-toggle{justify-content:center;margin:0}
main #plans .plan-card .plan-quick .plan-change-status{text-align:center}
main #plans .plan-details-toggle{display:block;width:100%;min-height:48px;margin:8px 0 0;padding:10px 8px;border:1px solid #07588b;border-radius:8px;background:#fff;color:#07588b;font:inherit;font-size:1.6rem;font-weight:700;line-height:1.5;cursor:pointer}
main #plans .plan-details-toggle[aria-expanded="true"]{background:#e8f0f4}
main #plans .plan-details{margin-top:8px}
}
/* 2026-11-06 申込の入口を tmn-golf・tmn-cycle と同じ赤 #b91520・白文字にそろえる（午前の改善点2の緑 #117713 を戻す。河合さん「ケガは全部赤に戻す」）。料金表の後のボタンはゴルフと同じ「申込画面に進む」の .btn-primary。 */
.btn-primary,.hero-box .btn-primary,.hero-box2 .btn-primary{background:#b91520;color:#fff;box-shadow:0 4px 14px rgba(185,21,32,.3)}
.btn-primary:hover,.btn-primary:focus{background:#9c111b;color:#fff;box-shadow:0 6px 20px rgba(185,21,32,.45)}
.floating-cta .apply-btn,body:not(:has(main form)) .floating-cta:has(.tmn-mobile-label) .apply-btn{background:#b91520;color:#fff}
.floating-cta .apply-btn:hover,.floating-cta .apply-btn:focus-visible{background:#9c111b;color:#fff}
.tmn-mobile-cta a.tmn-mobile-cta__apply,.tmn-apply-cta a.tmn-mobile-cta__apply{background:#b91520;color:#fff}
.tmn-mobile-cta a.tmn-mobile-cta__apply:hover,.tmn-apply-cta a.tmn-mobile-cta__apply:hover{background:#9c111b;color:#fff}
.apply-cta{display:flex;justify-content:center;margin:2rem 0 0}
.apply-cta .btn-primary{text-align:center}
@media (max-width:767px){
#plans .apply-cta{margin-bottom:24px}
.apply-cta .btn-primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:8px 10px;border-radius:6px;font-size:1.6rem}
}
/* 2026-11-07 比較表の行見出し「個人賠償責任」を改行しない（main.js の <br> をやめた。河合さん「改行しないで」）。1列目を広げ、320〜359px は文字を13pxにして金額の列（12,330円）も1行に収める。 */
#plan-comparison th[aria-label="個人賠償責任"]{white-space:nowrap}
#plan-comparison thead th:first-child{width:6.5em}
@media (max-width:359px){#plan-comparison thead th:first-child{width:88px}#plan-comparison th[aria-label="個人賠償責任"]{font-size:1.3rem}#plan-comparison td{padding-left:2px;padding-right:2px}}
/* 2026-11-07 上の目次の列の最小幅に min(100%,…) を足した：幅320px・文字200%で 7em＋余白（272px）が枠より広くなりページが横に広がっていたため、入らないときは1列にする。 */
/* 2026-11-07 目次の項目名を語のまとまり（.wrap-soft）で折り返す：幅320〜375px・文字200%で「プランと保険料」などが語の途中で割れていたため（河合さん「やって」）。リンクは flex なので折り返しを許し、狭い幅では左右の余白を詰める。 */
.page-toc a{flex-wrap:wrap;align-content:center}
@media (max-width:767px){.page-toc a{padding:.4rem .8rem}}
/* 2026-11-07 目次の項目名を札の中央にそろえる（河合さん「Centerにして」）。折り返したときも各行を中央に。 */
.page-toc a{justify-content:center;text-align:center}
/* 2026-11-07 PC（768px 以上）の「傷害保険とは」：説明文は2行なのに4行ぶんの高さ（min-block-size）と下の余白15px・節の下20px が残り、見出し「補償内容」まで大きく空いていた（PC は目次を隠したため）。文の高さを中身どおりにし、見出しまでを約40px に（河合さん「PCだけ約40pxに詰める」）。スマホは不変。 */
@media (min-width:768px){#index #about.about{padding-bottom:0}#index #about .injury-cover-p{min-block-size:0;margin-bottom:0}#index #about+#coverage.coverage-summary{padding-top:3.7rem}}
/* 2026-11-25 補償ページのタブ：「お支払いしない主な場合」を初めから hidden にせず、JavaScript が動かなくても読めるようにする。JS が動くときは :has で選ばれていないパネルを最初から隠し（ちらつかない）、以降は main.js の hidden で切り替える。JS が動かないときはタブの札を隠し、各パネルの頭に見出しを出す。 */
html.js-enabled .index-tabs:has(#tab-nopay-btn[aria-selected="false"]) #tab-nopay{display:none}.tab-nojs-heading{display:none}html.no-js .index-tabs .tab-list{display:none}html.no-js .index-tabs .tab-nojs-heading{display:block;margin:2rem 0 1rem;padding:.6rem 1rem;border-left:6px solid #117713;background:#f1f8f1;font-weight:700;font-size:1.15em}
/* 2026-11-25 トップの「この補償を含める」は JavaScript で金額を変える。JS が動かないときは切替を隠し、外した場合の料金が載っている「よくあるご質問」（#removepl）へ案内する。 */
.liability-nojs-note{display:none}html.no-js .liability-toggle{display:none}html.no-js .liability-nojs-note{display:block;margin:.4rem 0 .8rem;font-size:.9em;line-height:1.6}
/* 2026-11-25 個人賠償責任を外したとき、PC（768px 以上）でも外した補償の説明と金額を表示・読み上げの対象から外す（スマホと同じ。薄く見せるだけだと「家族もまとめて補償」「1億円」が読み上げられていた）。見出しと切替は残す。 */
.plans .plan-card.no-liability .liability-features,.plans .plan-card.no-liability .liability-cover .group-sub,.plans .plan-card.no-liability .plan-plus{display:none}
.drawer a[href^="https://ezoo.jp/"]{background:#b91520;color:#fff;font-weight:700;border-radius:8px;padding-left:.8rem;margin-top:.8rem}.drawer a[href^="https://ezoo.jp/"]:hover,.drawer a[href^="https://ezoo.jp/"]:focus{background:#8f1018;color:#fff;padding-left:.8rem}.drawer a[href^="https://ezoo.jp/"]:after{display:none}@media (max-width:767px){.profile-table,.profile-table tbody,.profile-table tr,.profile-table th,.profile-table td{display:block;width:100%}.profile-table th{width:auto;border-bottom:0;padding:.8rem 1.2rem .4rem;text-align:left}.profile-table td{padding:.4rem 1.2rem 1.2rem}.profile-table tr+tr th{border-top:0}.profile-table th,.profile-table td{border-left:1px solid #0057a426;border-right:1px solid #0057a426}}a[aria-label="トップページへ"]{position:relative}a[aria-label="トップページへ"]:after{content:"";position:absolute;inset:-2px 0}.btn-contact{min-height:44px;box-sizing:border-box}.addr-unit{display:inline-block;max-width:100%}@media (orientation:landscape) and (max-height:500px) and (pointer:coarse) and (max-width:767px){body:has(main form):has(#floating-menu) .site-header .menu-toggle{display:flex}}.drawer a{word-break:keep-all;overflow-wrap:anywhere}.wrap-soft{max-width:100%}.opt{max-width:100%;white-space:normal}@media (max-width:359px){#plan-comparison thead th:first-child{width:max(88px,6em)}}
/* 2026-11-06 3サイト（tmn-cycle・tmn-kega・tmn-golf）の共通部品の見た目をそろえる。3サイトとも同じ内容。
   各ページで最後に読み込み、既存の CSS は変えない。戻すときは各ページの link 1 行を消す。
   商品ごとの演出（上部の画像・golf の金色の補償カード・目次）と文字の段（h1 など）は変えない。 */

/* U1 PC・タブレット：メニューの「申込画面」を赤いボタンに（どこからでも申し込める） */
@media (min-width:768px){
  .main-nav a[href^="https://ezoo.jp/"]{background:#b91520;color:#fff;font-weight:700;border-radius:8px}
  .main-nav a[href^="https://ezoo.jp/"]::after{display:none}
  .main-nav a[href^="https://ezoo.jp/"]:hover,.main-nav a[href^="https://ezoo.jp/"]:focus{background:#9c111b;color:#fff}
  .main-nav a[href^="https://ezoo.jp/"]:focus-visible{outline:3px solid #1466b8;outline-offset:3px}
  .main-nav li:has(> a[href^="https://ezoo.jp/"])::after{display:none}
}

/* U2 PC・タブレットのメニュー帯（golf と同じ：上下 10px、6 項目を 1 行）。ロゴの大きさは各サイトのまま（golf も 11/6 午後に元の大きさへ戻した）。
   メニューの文字は 1200px 以上で 26px、それ未満は 20px。スクロール中にメニュー帯だけ残る動きは各サイトの main.js のまま。 */
@media (min-width:768px){
  .site-header .main-nav ul{display:flex;flex-wrap:nowrap;grid-template-columns:none;width:auto;padding-block:10px}
  .site-header .main-nav a{font-size:20px;line-height:1.2}
  .site-header .main-nav li:nth-child(3):not(:last-child)::after{content:none}
  html{scroll-padding-top:var(--fixed-header,88px)}
}
@media (min-width:768px) and (max-width:1199.98px){
  .site-header .main-nav ul{--nav-gap:clamp(16px,calc(10vw - 56px),40px);column-gap:var(--nav-gap);padding-inline:16px}
  .site-header .main-nav li + li::before,.site-header .main-nav li:first-child::before{left:calc(var(--nav-gap) / -2)}
  .site-header .main-nav li:last-child::after{right:calc(var(--nav-gap) / -2)}
}
@media (min-width:1200px){.site-header .main-nav a{font-size:26px}}
@media (orientation:landscape) and (max-height:500px) and (pointer:coarse){html{scroll-padding-top:0}}

/* U3 本文の行間：商品ページ（申込ボタンのある上部画像を持つページ）の PC は 1.8。方針系ページ（.hero2 に申込ボタンなし）は変えない */
@media (min-width:768px){main:has(> .hero) p,main:has(> .hero2 a.btn-primary) p{line-height:1.8}}

/* U4 フッターのリンク：押しやすいよう上下に 10px */
@media (min-width:768px){footer .footer-links a{padding-block:10px}}

/* U5 お問い合わせフォーム：欄は枠つきの白いカード、入力欄は角丸 8px、送信は角丸 12px、確認コードの送信は緑 */
#generalContactForm .form-fieldset{padding:20px 24px 24px;border:1px solid #cfdccf;border-radius:12px;background:#fff}
#generalContactForm .form-fieldset legend,#generalContactForm legend{width:auto;margin:0;padding:0 8px;border:0;color:#004728;font-weight:700}
#generalContactForm input[type="text"],#generalContactForm input[type="email"],#generalContactForm textarea{border:1px solid #b9c7b9;border-radius:8px;background-color:#f8fbf8;color:#333}
#generalContactForm input:not([type="hidden"]):focus,#generalContactForm textarea:focus{background:#fff;border-color:#117713}
#generalContactForm .btn-submit{border-radius:12px}
#generalContactForm .otp-ui .otp-primary{background:#117713;border-color:#117713;color:#fff}
#generalContactForm .otp-ui .otp-primary:hover:not(:disabled){background:#0c5d0f;border-color:#0c5d0f}
@media (max-width:767px){#generalContactForm .form-fieldset{padding:16px 16px 20px}}

/* U6 送信完了・送信失敗の「トップへ戻る」は緑の塗り（「フォームへ戻る」は枠線のまま） */
body:is(#index,body) main a.btn-return[href="index.html"],body:is(#index,body) main a.btn-primary[href="./"]{align-items:center;justify-content:center;min-height:56px;padding:14px 32px;border:0;border-radius:12px;background:linear-gradient(135deg,#1a9e1d 0%,#117713 100%);color:#fff;font-size:clamp(18px,16px + .5vw,21px);font-weight:700;line-height:1.4;text-decoration:none;box-shadow:0 4px 14px rgba(17,119,19,.3);transform:none}
body:is(#index,body) main a.btn-return[href="index.html"]:hover,body:is(#index,body) main a.btn-return[href="index.html"]:focus-visible,body:is(#index,body) main a.btn-primary[href="./"]:hover,body:is(#index,body) main a.btn-primary[href="./"]:focus-visible{background:linear-gradient(135deg,#117713 0%,#0c5d0f 100%);color:#fff}

/* U7 支払方法：支払方法ごとに白いカード、見出しは青 */
main .payment-item{background:#fff;border:1px solid #eee;border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,.04)}
main .payment-item h3{color:#0057a4}

/* 2026-11-06 文字を大きくした設定（既定の文字 125%）の修正。メニューの文字は px なので、余白も px にして、PC のメニューが語の途中で割れないようにする。
   開いたメニュー（スマホ）は幅を rem にして文字と同じ割合で広げる（既定の文字では今と同じ 170px）。閉じたときは幅の分だけ外へ隠す */
@media (min-width:768px){.site-header .main-nav a{padding:4px 10px;white-space:nowrap}}
@media (min-width:1200px){.site-header .main-nav ul{column-gap:40px;padding-inline:40px}}
.drawer{width:max(170px,17rem)}
.drawer:not(.open){transform:translateX(calc(100% + 40px))}
/* 2026-11-26 1〜2文字だけの行を減らす（hokenkikaku bca49c2f と同じ考え方・子サイトの UI 分析）
   見出しは行の長さをそろえる（balance。Safari 17.5 以降も対応）。longhand の text-wrap-style を使い、nowrap の指定は変えない。 */
:is(h1, h2, h3, h4) { text-wrap-style: balance; }
/* 本文は Chrome 系だけ text-wrap: pretty。iPhone の Safari の pretty は段落全体の行をそろえて文の右に空きが出るので、
   Safari が持たない word-break: auto-phrase の有無で Chrome 系に限る。見出しは語の途中で切らない。 */
@supports (word-break: auto-phrase) {
  :is(h1, h2, h3, h4) { word-break: auto-phrase; }
  :is(p, li, td, th, dd, dt, figcaption, label, a, span) { text-wrap-style: pretty; }
}
/* 2026-11-28 全ページの UI 分析（PC 1280px・スマホ 390px／320px、メニュー・プラン詳細・入力エラーを開いた状態）で見つけた不揃いを直す。
   どのページでも最後に読む。既存の指定は消さず、ここで上書きする。 */

/* 家族3人の例：中央そろえのカードで「※」だけが左端に離れていた。※を文の頭に付けて、文と一緒に中央へ置く */
.family-example article .asterisk-note{padding-left:10px;padding-right:10px}
.family-example article .asterisk-note::before{position:static;display:inline;margin-right:.25em}

/* 東京海上日動へのお問い合わせ：2枚のカードで中身の上下位置がずれていた（短いほうが上下中央に寄る）。見出しを上でそろえる */
.contact-card{align-content:start}

/* お申込み手順：1番目だけ黒い文字で他と色が違っていた。色をそろえ、リンクであることは下線で示す */
.flow-steps li a{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* 取扱代理店のURLだけ黒く浮いていた。まわりの文字色にそろえ、リンクは下線で示す */
.agency-insurer a{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* 支払方法：使えるカードの一覧の行が、箇条書きの文の頭より左に出ていた */
.card-brands{margin-left:16px}

/* 保険開始日：2枚のカードの見出しと説明の高さがずれていた。見出しは上、説明は下でそろえ、絵は間の中央に置く */
.flow-col.box{justify-content:flex-start}
.flow-col.box .flow-icon{flex:1 1 auto;display:flex;align-items:center;justify-content:center}
.flow-col.box .caption{margin-top:auto}

/* 運営者情報：「取扱保険商品」の欄だけ文字が大きかった。表のほかの欄と同じ大きさにする */
#profile .profile-table td p,#profile .profile-table td p strong{font-size:inherit}

/* 問い合わせフォーム：確認コードの差出人の案内で、灰色の枠に文字が貼り付いていた */
#generalContactForm .otp-ui.otp-inline .otp-help.quote-mail-note{padding:8px 12px}

@media (max-width:767px){
  /* メニュー：幅が狭く「よくあるご質問」が2行に割れていた */
  .drawer{width:200px}
  /* 下の固定ボタンの分の余白が、緑のフッターの下に白い帯として出ていた。余白をフッターの中に移す */
  body:not(:has(main form)):has(.floating-cta .cta-btn){padding-bottom:0}
  body:not(:has(main form)):has(.floating-cta .cta-btn) .site-footer{padding-bottom:calc(3rem + var(--tmn-cta-clearance,calc(73px + env(safe-area-inset-bottom,0px))))}
}

/* 2回目（内部ブラウザでの確認） */
/* よくあるご質問：開いたときの「-」が細く小さく、閉じたときの「+」と釣り合っていなかった。数学の「−」にして太さと幅をそろえる */
.faq details[open]>summary:after{content:"\2212"}
@media (min-width:768px){
  /* ※の注記どうしの間が1行分あき、＊1・＊2の注記（間なし）と調子がそろっていなかった。注記どうしは詰め、本文との間は残す */
  main p.asterisk-note{margin-top:8px;margin-bottom:8px}
  main :not(.asterisk-note)+p.asterisk-note{margin-top:16px}
}
@media (max-width:767px){
  /* 写真の上の「オンラインで申し込む」だけ角が小さく字も小さかった。ほかのボタン（角10px・16px）にそろえる */
  .btn-primary{border-radius:10px}
  :is(.hero,.hero2) .btn-primary{font-size:16px}
}

/* 2026-11-29 スマホの3プラン比較表：どの行が保険料か分かりにくかった。「保険料」「補償内容」の見出し行で分け、保険料の金額を太くする */
@media (max-width:767px){
  .plan-comparison tbody th[scope=rowgroup]{background:#0b5394;color:#fff;text-align:left;font-size:1.5rem;padding:6px 10px;border-color:#0b5394}
  /* 2026-11-29 字を大きくすると文字拡大125%で「12,330円」の「円」が落ちていた。大きさはほかの欄と同じにし、太字だけで示す（golf・cycle と同じ） */
  .plan-comparison .plan-group-premium td{font-weight:700;color:#263238}
  /* 2026-11-29 文字拡大で収まらないときは項目ごとの縦並びにする（golf・cycle と同じ形）。測るあいだだけ折り返しを止める */
  .plan-comparison.is-measuring :is(thead th,td){white-space:nowrap!important;overflow-wrap:normal!important}
  .plan-comparison.is-stacked{overflow:visible}
  .plan-comparison.is-stacked :is(table,caption,thead,tbody,tr,th,td){display:block;width:auto!important}
  .plan-comparison.is-stacked table{min-width:0;border:0}
  .plan-comparison.is-stacked thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
  .plan-comparison.is-stacked tbody tr{margin:0 0 8px;border:1px solid #d0dce5;border-radius:8px;background:#fff;overflow:hidden}
  .plan-comparison.is-stacked tbody th{padding:8px 10px;border:0;background:#eef4f8;text-align:left}
  .plan-comparison.is-stacked td{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;padding:8px 10px;border:0;border-top:1px solid #d0dce5;text-align:right;overflow-wrap:anywhere}
  .plan-comparison.is-stacked td::before{content:attr(data-label);font-weight:500;text-align:left}
  .plan-comparison.is-stacked tbody tr:has(>th[scope=rowgroup]){margin:12px 0 8px;border:0;border-radius:6px;background:#0b5394}
  .plan-comparison.is-stacked tbody th[scope=rowgroup]{background:#0b5394;color:#fff;padding:6px 10px}
}
@media (max-width:359px){
  /* 幅320pxでは太字の「12,330円」がぎりぎりなので、字の間を少し詰める */
  .plan-comparison .plan-group-premium td{letter-spacing:-.02em}
}

/* 2026-11-29 キーボードで選んだ「よくあるご質問」の質問の枠を、ほかのリンク・ボタンと同じ 3px #1466b8 にそろえる（tmn-cycle.com 26382d0 と同じ）。
   質問の枠は details の overflow:hidden で外側が切れるので、内側に描く。緑のフッターの上では青が見えにくいので白にする */
summary:focus-visible{outline:3px solid #1466b8;outline-offset:-3px}
.site-footer a:focus-visible{outline-color:#fff}
