.trial-price-comparison {
  --comparison-line: #cad7c9;
  --comparison-gold: #ffda82;
  margin-block: clamp(32px, 4.5vw, 54px);
  scroll-margin-top: 96px;
}
.trial-price-comparison-heading { margin-bottom: 16px; }
.trial-price-comparison-heading h3 { margin: 0; font-size: clamp(22px, 2.7vw, 31px); line-height: 1.45; }
.trial-price-comparison-heading h3 span { white-space: nowrap; }
.trial-price-comparison-heading p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.trial-price-comparison-swipe { display: none; }
.trial-price-comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--comparison-line);
  border-radius: 12px;
  background: #fff;
  scrollbar-color: #648674 #e9efe6;
}
.trial-price-comparison-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.trial-price-table { width: 100%; min-width: 670px; border-spacing: 0; table-layout: fixed; font-size: 14px; line-height: 1.55; }
.trial-price-label { width: 19%; }
.trial-price-featured { width: 24%; }
.trial-price-table th, .trial-price-table td {
  padding: 16px 14px;
  border-block-end: 1px solid var(--comparison-line);
  border-inline-end: 1px solid var(--comparison-line);
  vertical-align: middle;
  text-align: left;
}
.trial-price-table tr > :last-child { border-inline-end: 0; }
.trial-price-table tbody tr:last-child > * { border-block-end: 0; }
.trial-price-table thead th { border-block-start: 4px solid transparent; background: #f5f7f1; }
.trial-price-table tr > :first-child { background: #eef2e8; }
.trial-price-table thead strong { display: block; font-size: 16px; }
.trial-price-table small { display: block; margin-top: 4px; color: #526459; font-size: 12px; line-height: 1.55; }
.trial-price-table .trial-price-highlight { border-color: #527466; background: var(--accent); color: #fffdf6; }
.trial-price-table thead .trial-price-highlight { border-block-start-color: var(--comparison-gold); }
.trial-price-table thead .trial-price-highlight strong { font-size: 23px; }
.trial-price-table .trial-price-highlight small { color: #f5e3b7; }
.trial-price-amount { display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; }
.trial-price-amount strong { font-size: clamp(19px, 2.2vw, 25px); line-height: 1.1; }
.trial-price-highlight .trial-price-amount { color: var(--comparison-gold); font-weight: 700; }
.trial-price-highlight .trial-price-amount strong { font-size: clamp(31px, 4vw, 42px); }
.trial-price-rating { display: flex; align-items: flex-start; gap: 6px; }
.trial-price-mark { flex-shrink: 0; font-size: 19px; font-weight: 700; line-height: 1.12; }
.trial-price-highlight .trial-price-mark { color: var(--comparison-gold); font-size: 25px; }
.trial-price-highlight .trial-price-rating strong { font-size: clamp(17px, 2vw, 22px); line-height: 1.25; }
.trial-price-comparison-note, .trial-price-comparison-sources { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.trial-price-comparison-sources a { display: inline-block; margin-inline-end: 8px; color: var(--accent); text-underline-offset: 3px; }
.trial-form { min-width: 0; border: 1px solid #cbd7bf; border-radius: 16px; padding: 26px; color: var(--ink); background: #fffdf6; }
.trial-form h3 { margin: 0 0 17px; font-size: 22px; }
.trial-form fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.trial-form legend { margin-bottom: 9px; font-weight: 700; }
.trial-plan-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.trial-plan-option { display: flex; align-items: flex-start; gap: 7px; padding: 11px; border: 1px solid #a5b69f; border-radius: 9px; cursor: pointer; }
.trial-plan-option:has(input:checked) { border-color: #456d54; background: #edf2e5; }
.trial-plan-option input { margin: 4px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.trial-plan-option b { display: block; font-size: 14px; }
.trial-plan-option small { display: block; font-size: 12px; line-height: 1.6; }
.trial-form .form-field { margin: 14px 0; }
.trial-form .form-field label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 700; }
.trial-form .form-field label span { margin-left: 5px; padding: 1px 5px; border-radius: 4px; color: #fff; background: var(--accent); font-size: 11px; }
.trial-form .form-field input { display: block; width: 100%; min-height: 46px; padding: 9px 11px; border: 1px solid #8eab96; border-radius: 7px; color: var(--ink); background: #fff; font: inherit; font-size: 16px; }
.trial-policy-summary { margin: 16px 0; padding: 13px 15px; border-left: 4px solid #799b78; background: #eef2e8; font-size: 14px; line-height: 1.75; }
.trial-policy-summary p { margin: 0 0 8px; }
.trial-policy-summary a, .trial-consent a, .trial-dialog a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.trial-consent { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0; font-size: 14px; line-height: 1.65; }
.trial-consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--accent); }
.trial-form .cta-button, .trial-dialog .cta-button { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 49px; padding: 10px 14px; border: 1px solid var(--accent); border-radius: 7px; color: #fff; background: var(--accent); font: inherit; font-weight: 700; cursor: pointer; }
.trial-form .cta-button:disabled, .trial-dialog .cta-button:disabled { color: #425448; background: #e6ece3; border-color: #bbc7bb; cursor: default; }
.trial-form-note { margin: 11px 0 0; font-size: 13px; line-height: 1.65; }
.trial-dialog { width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 28px); margin: auto; overflow: auto; padding: 24px; border: 1px solid #729783; border-radius: 16px; color: var(--ink); background: #fffdf6; line-height: 1.7; }
.trial-dialog::backdrop { background: rgb(18 45 34 / .65); }
.trial-dialog h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.4; }
.trial-dialog ul { padding-inline-start: 1.25em; }
.trial-dialog li + li { margin-top: 7px; }
.trial-confirm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.trial-confirm-table th, .trial-confirm-table td { padding: 9px 0; border-bottom: 1px solid #d6dfd5; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.trial-confirm-table th { width: 37%; padding-right: 10px; }
.trial-dialog .cta-button { margin-top: 14px; }
.trial-dialog .trial-back, .trial-policy-link { padding: 8px 0; border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.trial-dialog .trial-back { min-height: 44px; }
.trial-readiness-note { margin: 13px 0 0; padding: 10px 12px; border-radius: 8px; background: #eef2e8; font-size: 13px; }
.trial-error { color: #a02b1d; font-size: 14px; }
.trial-error:empty { display: none; }
.trial-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.trial-form :focus-visible, .trial-dialog :focus-visible { outline: 2px solid #2d6550; outline-offset: 3px; }

:root { --accent: #1e7e34; --muted: var(--sub); }
#apply { scroll-margin-top: 65px; }
.form-card .trial-form { padding: 0; border: 0; background: transparent; }
.form-card .trial-form h3 { margin: 0 0 17px; }
.form-card .trial-form fieldset { margin-inline: 0; }
.trial-policy-link { text-align: left; }
.trial-confirm-table th { background: transparent; }
.trial-dialog .cta-button { white-space: normal; }
.trial-price-comparison-heading h2 { margin: 0 0 8px; }
.trial-price-table th, .trial-price-table td { word-break: normal; }
.shop h3 small { color: var(--sub); font-size: 11px; }
@media (max-width: 760px) {
  .trial-price-comparison-swipe { display: block; text-align: right; font-size: 12px; }
  .trial-price-label { width: 98px; }
  .trial-price-featured { width: 146px; }
  .trial-price-table tr > :first-child { position: sticky; inset-inline-start: 0; z-index: 1; font-size: 12px; }
  .trial-price-table th, .trial-price-table td { padding: 12px 10px; }
  .form-card { padding: 20px 15px; }
  .trial-dialog { padding: 18px 15px; }
}
@media (max-width: 350px) {
  .trial-plan-options { grid-template-columns: minmax(0, 1fr); }
  .cf-node { width: 90px; }
}
/* 「Googleで続ける」（普通のブラウザでスイッチが入っているときだけ trial.js が出す） */
.trial-method { margin: 20px 0 4px; }
.trial-method-title { margin: 0 0 10px; font-size: 15px; font-weight: 700; text-align: center; }
.trial-google-button { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 49px; padding: 10px 14px; border: 1px solid #747775; border-radius: 7px; color: #1f1f1f; background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.trial-google-button:hover { background: #f8f9fa; }
.trial-google-button:disabled { color: #4b5563; background: #f1f3f4; border-color: #bdc1c6; cursor: default; }
.trial-google-button svg { flex-shrink: 0; width: 20px; height: 20px; }
.trial-dialog .trial-google-button { margin-top: 14px; }
.trial-method-note { margin: 6px 0 0; color: var(--sub); font-size: 13px; text-align: center; }
.trial-or { display: flex; align-items: center; gap: 10px; margin: 18px 0 2px; color: var(--sub); font-size: 13px; }
.trial-or::before, .trial-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.trial-form .cta-button.trial-email-button { color: var(--accent); background: #fff; }
.trial-form .cta-button.trial-email-button:disabled { color: #425448; background: #e6ece3; border-color: #bbc7bb; }
