/* =====================================================================
   Easygo Japan Rental 追加スタイル（スマホ改善・口コミ・注文フォーム・受付コントロール）
   Bootstrap 3 テーマ（primary #337ab7 / success #5cb85c）に合わせた配色。全言語共通。
   ===================================================================== */

/* ---------- ヒーロー（ファーストビュー）の注文導線 ---------- */
.ej-hero { background: linear-gradient(135deg, #1f3a5f 0%, #337ab7 100%); color: #fff; border-radius: 14px; padding: 26px 18px 22px; margin: 0 0 24px; text-align: center; }
.ej-hero h1 { color: #fff; font-size: 1.7rem; line-height: 1.3; margin: 0 0 8px; font-weight: 700; }
.ej-hero .ej-hero-lead { font-size: 1rem; opacity: .95; margin: 0 auto 6px; max-width: 640px; }
@media (min-width: 768px) { .ej-hero { padding: 44px 40px 36px; } .ej-hero h1 { font-size: 2.6rem; } .ej-hero .ej-hero-lead { font-size: 1.2rem; max-width: 760px; } }
.ej-hero-cta { display: flex; flex-direction: column; gap: 10px; align-items: center; margin: 1.1rem auto 0.5rem; width: 100%; max-width: 420px; }
.ej-hero-cta .btn { width: 100%; font-weight: 700; padding: 14px 18px; font-size: 1.05rem; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.18); white-space: normal; }
.ej-hero-cta .btn-default { color: #1f3a5f; }
.ej-hero-status { margin: 0.75rem auto 0; font-size: .95rem; line-height: 1.5; }
.ej-hero-status .ej-sameday { display: inline-block; background: rgba(255,255,255,.92); color: #1a7f37 !important; border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.ej-hero-status .ej-sameday.ej-closed { color: #C7243A !important; }
.ej-hero-status .ej-sameday:empty { display: none; }
.ej-hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 1rem; font-size: .9rem; opacity: .95; }
.ej-hero-points span::before { content: "\2713  "; font-weight: 700; }
@media (min-width: 768px) { .ej-hero-cta { flex-direction: row; max-width: 700px; } }

/* ---------- スマホ用 固定ボタンバー ---------- */
.ej-fixbar { display: none; }
@media (max-width: 767.98px) {
  body.ej-has-fixbar { padding-bottom: 66px; }
  .ej-fixbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid #e5e7eb; box-shadow: 0 -4px 16px rgba(0,0,0,.08); backdrop-filter: blur(6px); }
  .ej-fixbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; border-radius: 10px; font-weight: 700; font-size: .95rem; text-decoration: none; }
  .ej-fixbar .order { background: #5cb85c; color: #fff; flex: 1.6; }
  .ej-fixbar .tel { background: #fff; color: #1f3a5f; border: 2px solid #1f3a5f; }
}

/* ---------- Bootstrap 3 サイト共通の微調整 ---------- */
img { max-width: 100%; height: auto; }
.ej-section-title { font-weight: 700; color: #1f3a5f; margin: 30px 0 10px; }
/* ---------- 画像の読み込み最適化（下の方は遅延） ---------- */
.thumbnail img, .panel img { content-visibility: auto; }

/* ---------- Google 口コミ ---------- */
#ej-reviews { text-align: left; }
.ej-rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; justify-content: center; margin-bottom: 1.5rem; }
.ej-rv-big { display: flex; align-items: center; gap: 10px; }
.ej-rv-score { font-size: 2.8rem; font-weight: 700; color: #1f3a5f; line-height: 1; }
.ej-stars { display: inline-flex; gap: 1px; font-size: 1.25rem; line-height: 1; }
.ej-star { color: #d9d9d9; position: relative; }
.ej-star.full { color: #f5a623; }
.ej-star.half { background: linear-gradient(90deg, #f5a623 50%, #d9d9d9 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ej-rv-meta { font-size: .95rem; color: #333; text-align: center; }
.ej-rv-count { font-weight: 700; font-size: 1.05rem; }
.ej-rv-google { color: #666; font-size: .85rem; margin: 2px 0; }
.ej-g { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid #ddd; color: #4285F4; font-weight: 700; font-size: 12px; line-height: 16px; text-align: center; vertical-align: -3px; }
.ej-rv-link { display: inline-block; margin-top: 2px; color: #337ab7; text-decoration: underline; }
.ej-rv-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .ej-rv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .ej-rv-grid { grid-template-columns: repeat(3, 1fr); } }
.ej-rv-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.04); display: flex; flex-direction: column; }
.ej-rv-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ej-rv-avatar { width: 40px; height: 40px; border-radius: 50%; background: #337ab7; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; flex: none; }
.ej-rv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ej-rv-author { font-weight: 700; color: #1f3a5f; font-size: .95rem; }
.ej-rv-line { display: flex; align-items: center; gap: 8px; }
.ej-rv-line .ej-stars { font-size: .95rem; }
.ej-rv-date { color: #777; font-size: .8rem; }
.ej-rv-text { margin: 0; font-size: .95rem; line-height: 1.7; color: #333; white-space: pre-line; }
.ej-rv-text.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ej-rv-more { align-self: flex-start; background: none; border: 0; padding: 4px 0 0; color: #337ab7; font-weight: 700; cursor: pointer; font-size: .9rem; }
.ej-rv-cta { text-align: center; margin-top: 1.5rem; }
.ej-rv-write { font-weight: 700; border-radius: 10px; }
.ej-rv-thanks { color: #666; font-size: .9rem; margin: 10px 0 0; }
.ej-rv-fallback { text-align: left; }
.ej-rv-fallback .ej-rv-card { margin-bottom: 14px; }

/* ---------- 注文フォーム（スマホ最適化） ---------- */
.ej-order-summary { background: #f3f8fd; border: 1px solid #c5dcf2; border-radius: 12px; padding: 14px 16px; margin: 0 0 1.5rem; }
.ej-order-summary h5 { margin: 0 0 8px; font-size: 1rem; color: #1f3a5f; }
.ej-order-summary ul { list-style: none; padding: 0; margin: 0; }
.ej-order-summary li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px dashed #d5e3f1; }
.ej-order-summary li:first-child { border-top: 0; }
.ej-order-summary img { width: 56px; height: 36px; object-fit: contain; background: #fff; border-radius: 6px; }
.ej-order-summary .name { flex: 1; font-weight: 700; font-size: .95rem; }
.ej-order-summary .price { color: #1f3a5f; font-size: .9rem; white-space: nowrap; }
.ej-order-summary .note { font-size: .8rem; color: #666; margin: 8px 0 0; }
.ej-order-summary a { color: #337ab7; }
.ej-form-status { border-radius: 10px; padding: 10px 14px; margin: 0 0 1rem; font-size: .95rem; background: #ecfdf5; border: 1px solid #a7f3d0; }
.ej-form-status .ej-sameday { display: block; }
.ej-form-status.closed { background: #fef2f2; border-color: #fecaca; }
.ej-form-status small { color: #555; }
.form-horizontal legend { font-size: 1.15rem; font-weight: 700; color: #1f3a5f; border-bottom: 2px solid #337ab7; padding-bottom: 4px; margin: 1.5rem 0 1rem; }
.form-horizontal .control-label { font-weight: 700; font-size: .9rem; color: #333; margin-bottom: 4px; }
.form-horizontal .form-control { font-size: 16px; min-height: 46px; border-radius: 8px; }
.form-horizontal select.form-control { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='2'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form-horizontal .form-group { margin-bottom: 1rem; }
.form-horizontal .btn-success, .form-horizontal .btn-primary { min-height: 48px; padding: 10px 26px; font-weight: 700; border-radius: 10px; }
.form-horizontal .form-check-input { width: 22px; height: 22px; margin-top: 2px; }
.form-horizontal .form-check-label { font-size: 1rem; }
.ej-zip-row { display: flex; gap: 8px; align-items: center; }
.ej-zip-row .form-control { max-width: 160px; }
.ej-zip-row .btn { min-height: 46px; white-space: nowrap; }
.ej-zip-msg { font-size: .85rem; color: #666; margin: 4px 0 0; }
.ej-zip-msg.err { color: #C7243A; }
.ej-submit-row { display: flex; gap: 10px; margin-top: 1.5rem; }
.ej-submit-row .btn-success { flex: 1; font-size: 1.05rem; }
@media (max-width: 991.98px) { .form-horizontal .control-label.col-lg-2 { padding-left: 0; padding-right: 0; } }

/* テーマの「トップへ戻る」ボタンを固定バーの上に逃がす */


.form-horizontal .form-check { padding-left: 2rem; }
.form-horizontal .form-check-input { margin-left: -2rem; }
.ej-trust { display: flex; align-items: center; gap: 14px; margin: 2rem 0 1rem; padding: 12px 14px; background: #f8f9fa; border-radius: 10px; }
.ej-trust form { margin: 0; flex: none; }
.ej-trust p { margin: 0; color: #555; }

/* ---------- お届け先エリア切替（締切の出し分け） ---------- */
.ej-area { margin: 14px auto 0; max-width: 560px; font-size: .9rem; }
.ej-area-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.ej-area-label { flex-basis: 100%; text-align: center; font-size: .85rem; margin-bottom: 2px; color: #555; }
.ej-area-btn { border: 1.5px solid #1f3a5f; background: #fff; color: #1f3a5f; border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 700; cursor: pointer; }
.ej-area-btn.on { background: #1f3a5f; color: #fff; }
.ej-area-result { margin-top: 10px; background: #f3f8fd; border: 1px solid #c5dcf2; color: #1f3a5f; border-radius: 12px; padding: 12px 14px; text-align: center; }
.ej-area-result .k { font-size: .8rem; color: #555; }
.ej-area-result .v { font-size: 1.35rem; font-weight: 700; line-height: 1.3; margin: 2px 0 4px; color: #1a7f37; }
.ej-area-result.closed .v { color: #1f3a5f; }
.ej-area-result .s { font-size: .85rem; color: #333; }
.ej-area-result.closed .s { color: #C7243A; }
.ej-area-result .h { font-size: .75rem; color: #777; margin-top: 4px; }
.ej-area.light .ej-area-btn { border-color: rgba(255,255,255,.85); background: transparent; color: #fff; }
.ej-area.light .ej-area-btn.on { background: #fff; color: #1f3a5f; }
.ej-area.light .ej-area-label { color: #fff; }
.ej-area.light .ej-area-result { background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(0,0,0,.12); border: 0; }
@media (min-width: 768px) { .ej-area-label { flex-basis: auto; margin-right: 6px; } }

/* ---------- ヒーローの評価バッジ ---------- */
.ej-hero-rating { display: inline-flex; align-items: center; gap: 8px; margin: 12px auto 0; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.95); color: #1f3a5f !important; text-decoration: none !important; font-size: .9rem; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.ej-hero-rating .ej-stars { font-size: 1rem; }
.ej-hero-rating-score { font-weight: 700; font-size: 1.05rem; }
.ej-hero-rating-count { color: #555; }
.ej-hero-rating[hidden] { display: none; }
#reviews { scroll-margin-top: 80px; }

/* ---------- 注文ステップ表示（入力→確認→お支払い→完了） ---------- */
.ej-steps { list-style: none; display: flex; justify-content: center; gap: 0; padding: 0; margin: 0 0 1.25rem; counter-reset: none; }
.ej-steps li { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: #999; padding: 0 10px; position: relative; }
.ej-steps li + li::before { content: ""; width: 14px; height: 2px; background: #ddd; margin-right: 8px; }
.ej-steps li span { width: 24px; height: 24px; border-radius: 50%; background: #e5e7eb; color: #666; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.ej-steps li.done span { background: #337ab7; color: #fff; }
.ej-steps li.cur { color: #1f3a5f; font-weight: 700; }
.ej-steps li.cur span { background: #1f3a5f; color: #fff; }
@media (max-width: 480px) { .ej-steps li { padding: 0 4px; font-size: .75rem; } .ej-steps li + li::before { width: 8px; margin-right: 4px; } }

/* ---------- 注文確認画面 ---------- */
.ej-check-title { font-size: 1.3rem; margin: 0; }
.ej-check-lead { color: #555; font-size: .9rem; margin: 6px 0 0; }
.ej-check legend, .ej-check Legend { display: block; font-size: 1rem; font-weight: 700; color: #1f3a5f; border-bottom: 2px solid #337ab7; padding-bottom: 4px; margin: 1.25rem 0 .6rem; }
.ej-check ul { list-style: none; padding: 0 0 0 4px; margin: 0; font-size: .95rem; line-height: 1.7; }
.ej-check li { padding: 4px 0; }
.ej-check img.thumbnail { border-radius: 6px; background: #fff; }
.ej-check u { text-decoration: none; }
.ej-errbox { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 12px; padding: 14px 16px; margin: 0 0 1.25rem; }
.ej-errbox ul { margin: 8px 0 12px; padding-left: 20px; }
.ej-errbox li { margin: 2px 0; }
.ej-errbox .btn { min-height: 44px; font-weight: 700; }
.ej-total { background: #f3f8fd; border: 1px solid #c5dcf2; border-radius: 12px; padding: 14px 16px; margin: 1rem 0; }
.ej-total h5 { margin: 0 0 8px; font-size: 1rem; color: #1f3a5f; }
.ej-total .row1 { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #d5e3f1; font-size: .95rem; }
.ej-total .row1 span:last-child { text-align: right; white-space: nowrap; }
.ej-total .row1.sum { border-bottom: 0; font-size: 1.2rem; font-weight: 700; color: #1f3a5f; padding-top: 10px; }
.ej-total .row1.sum span:last-child { font-size: 1.5rem; color: #1a7f37; }
.ej-total .note { font-size: .8rem; color: #666; margin: 8px 0 0; }

/* ---------- 決済画面 ---------- */
.ej-payhead { background: #1f3a5f; color: #fff; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.ej-payhead a { color: #fff; font-weight: 700; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
.ej-payhead span { font-size: .9rem; opacity: .9; }
.ej-pay #main { max-width: 720px; }
.ej-pay-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .ej-pay-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.ej-paybox { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px 16px; }
.ej-paybox h5 { margin: 0 0 8px; font-size: 1rem; color: #1f3a5f; }
.ej-cards { max-width: 220px; width: 100%; height: auto; display: block; margin-bottom: 10px; }
.ej-pay #fast-checkout { background: transparent; padding: 0; margin: 0; height: auto; max-width: 100%; display: block; border-radius: 0; }
.ej-pay #fast-checkout .wrapper { max-width: 100%; }
.ej-pay #card-container { min-height: 90px; margin-bottom: 10px; }
.ej-pay #card-button { width: 100%; min-height: 50px; font-size: 1.05rem; font-weight: 700; border-radius: 10px; }
.ej-pay #payment-flow-message { height: auto; min-height: 1.5em; font-size: .9rem; }
.ej-pay #payment-flow-message.error { font-size: .9rem; line-height: 1.5; }
.ej-pay-note { font-size: .8rem; color: #666; margin: 10px 0 0; line-height: 1.6; }
.ej-pay-company { color: #888; margin-top: 1.5rem; text-align: center; }

/* ---------- 商品一覧の料金・最短お届け ---------- */
.ej-area-items { max-width: 640px; }
.ej-price-note { color: #666; margin: 8px 0 0; }
.ej-pcard { text-align: left; margin: 10px 0 12px; }
.ej-pname { font-weight: 700; color: #1f3a5f; font-size: 1.05rem; line-height: 1.3; }
.ej-pname small { display: block; font-weight: 400; color: #666; font-size: .8rem; margin-top: 2px; }
.ej-price { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.ej-price .d { font-size: 1.6rem; font-weight: 700; color: #337ab7; line-height: 1; }
.ej-price .d small { font-size: .85rem; color: #1f3a5f; font-weight: 700; margin-left: 2px; }
.ej-price .m { font-size: .9rem; color: #1f3a5f; }
.ej-eta { margin-top: 6px; font-size: .85rem; color: #666; }
.ej-eta.set { color: #1a7f37; font-weight: 700; }
.ej-eta.set.closed { color: #1f3a5f; }
.ej-eta:empty { display: none; }

/* ---------- Bootstrap 3 の form-horizontal 上書き（英語サイト） ---------- */
.ej-form .control-label { text-align: left; }
.ej-form .form-check { padding-left: 0; }
.ej-form .form-check-input { margin-left: 0; margin-right: 8px; vertical-align: middle; }
.ej-form fieldset > p > small { color: #555; }
.ej-cartin { text-align: center; padding: 20px 0 30px; }
.ej-cartin h3 { color: #1f3a5f; }
.ej-cartin .btn { margin: 6px 4px; min-width: 220px; }

/* ---------- PC幅のヒーロー拡大（ファイル末尾＝最優先） ---------- */
@media (min-width: 992px) {
  /* Bootstrap 3 は html が 10px 基準（rem が小さくなる）ため、PC幅は px で指定 */
  .ej-hero { padding: 48px 48px 40px; }
  .ej-hero h1 { font-size: 40px; }
  .ej-hero .ej-hero-lead { font-size: 19px; max-width: 820px; }
  .ej-hero-cta { max-width: 880px; gap: 14px; }
  .ej-hero-cta .btn { font-size: 19px; padding: 16px 20px; }
  .ej-hero-status { font-size: 17px; margin-top: 16px; }
  .ej-hero-status .ej-sameday { padding: 9px 20px; }
  .ej-hero-rating { font-size: 16px; padding: 10px 22px; margin-top: 14px; }
  .ej-hero-rating .ej-stars { font-size: 18px; }
  .ej-hero-rating-score { font-size: 18px; }
  .ej-area { max-width: 720px; font-size: 16px; margin-top: 18px; }
  .ej-area-btn { font-size: 16px; padding: 9px 22px; }
  .ej-area-label { font-size: 16px; }
  .ej-area-result { padding: 16px 20px; }
  .ej-area-result .k { font-size: 14px; }
  .ej-area-result .v { font-size: 28px; }
  .ej-area-result .s { font-size: 16px; }
  .ej-area-result .h { font-size: 13px; }
  .ej-hero-points { font-size: 16px; gap: 8px 22px; margin-top: 18px; }
}

/* ---------- eSIM / SIM ページ（プラン選択・手順・比較） ---------- */
.ej-hero-sim { margin-bottom: 18px; }
.ej-steps3 { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 26px; }
@media (min-width: 768px) { .ej-steps3 { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.ej-step3 { background: #f3f8fd; border: 1px solid #c5dcf2; border-radius: 12px; padding: 14px 16px 14px 56px; position: relative; min-height: 84px; }
.ej-step3 .n { position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: #1f3a5f; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.ej-step3 strong { display: block; color: #1f3a5f; font-size: 15px; margin-bottom: 2px; }
.ej-step3 small { color: #555; font-size: 13px; line-height: 1.5; }
.ej-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 6px; }
@media (min-width: 768px) { .ej-plans { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.ej-plan { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 2px solid #d5e3f1; border-radius: 14px; padding: 18px 10px 14px; text-decoration: none !important; color: #1f3a5f; transition: transform .12s, box-shadow .12s, border-color .12s; }
.ej-plan:hover, .ej-plan:focus { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31,58,95,.14); border-color: #337ab7; color: #1f3a5f; }
.ej-plan.popular { border-color: #337ab7; }
.ej-plan.best { border-color: #5cb85c; }
.ej-plan .badge-pop { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: #337ab7; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.ej-plan.best .badge-pop { background: #5cb85c; }
.ej-plan .days { font-size: 13px; color: #555; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.ej-plan .gb { font-size: 30px; font-weight: 700; line-height: 1.1; margin: 4px 0 6px; color: #1f3a5f; }
.ej-plan .price { font-size: 22px; font-weight: 700; color: #337ab7; }
.ej-plan .per { font-size: 12px; color: #777; margin-bottom: 10px; }
.ej-plan .go { display: block; width: 100%; background: #5cb85c; color: #fff; font-weight: 700; border-radius: 8px; padding: 9px 6px; font-size: 14px; }
.ej-plan.disabled { opacity: .55; pointer-events: none; }
.ej-plan.disabled .go { background: #999; }
.ej-box { background: #f8f9fa; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; height: 100%; }
.ej-box h3 { margin-top: 0 !important; border: 0 !important; font-size: 18px !important; color: #1f3a5f !important; }
.ej-check-list { list-style: none; padding: 0; margin: 0 0 8px; }
.ej-check-list li { padding: 6px 0 6px 26px; position: relative; line-height: 1.55; font-size: 14px; }
.ej-check-list li::before { content: "\2713"; position: absolute; left: 4px; top: 6px; color: #5cb85c; font-weight: 700; }
.ej-cta-bottom { text-align: center; margin: 30px 0 10px; }
.ej-cta-bottom .btn { font-weight: 700; padding: 14px 28px; font-size: 18px; border-radius: 10px; }
.ej-cta-bottom p { margin-top: 10px; color: #666; }
.faq-section h4 { font-weight: 700; color: #1f3a5f; margin-top: 18px; }
@media (min-width: 992px) { .ej-step3 strong { font-size: 17px; } .ej-step3 small { font-size: 14px; } .ej-plan .gb { font-size: 34px; } .ej-plan .price { font-size: 24px; } .ej-check-list li { font-size: 16px; } }

/* ---------- トップページ：商品カード・3時間便・選ばれる理由 ---------- */
.ej-prod { margin-top: 10px; }
.ej-prod .thumbnail.ej-card { display: block; padding: 0; overflow: hidden; border-radius: 12px; border: 1px solid #d5e3f1; text-decoration: none !important; transition: transform .12s, box-shadow .12s; margin-bottom: 20px; }
.ej-prod .thumbnail.ej-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31,58,95,.14); border-color: #337ab7; }
.ej-prod .thumbnail.ej-card > img { width: 100%; height: auto; display: block; }
.ej-prod .ej-pcard { padding: 12px 14px 14px; margin: 0; }
.ej-prod .ej-pname { min-height: 44px; }
.ej-prod .ej-price .d { font-size: 1.5rem; }
.ej-prod .btn-block { margin-top: 8px; }
.ej-3h { display: flex; flex-direction: column; gap: 10px; align-items: stretch; background: #fff8f0; border: 1px solid #f5d9b8; border-radius: 12px; padding: 14px 16px; margin: 6px 0 26px; }
.ej-3h-text { color: #5a3e1b; font-size: 15px; line-height: 1.5; }
.ej-3h .btn { font-weight: 700; border-radius: 10px; white-space: normal; }
@media (min-width: 768px) { .ej-3h { flex-direction: row; align-items: center; } .ej-3h-text { flex: 1; } }
.ej-why { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 6px 0 26px; }
@media (min-width: 768px) { .ej-why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .ej-why { grid-template-columns: repeat(3, 1fr); } }
.ej-why-tile { background: #f3f8fd; border: 1px solid #c5dcf2; border-radius: 12px; padding: 16px 16px 14px 58px; position: relative; }
.ej-why-tile .ic { position: absolute; left: 16px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: #337ab7; color: #fff; font-size: 14px; line-height: 30px; text-align: center; }
.ej-why-tile strong { display: block; color: #1f3a5f; font-size: 16px; margin-bottom: 4px; }
.ej-why-tile small { color: #444; font-size: 13.5px; line-height: 1.55; }
.ej-seo-h { font-size: 22px; }
@media (min-width: 992px) { .ej-prod .ej-price .d { font-size: 26px; } .ej-why-tile small { font-size: 14.5px; } }

/* トップの商品カード：行内で高さを揃え、ボタンを下端に固定 */
.ej-prod { display: flex; flex-wrap: wrap; }
.ej-prod > [class*="col-"] { display: flex; float: none; }
.ej-prod .thumbnail.ej-card { display: flex; flex-direction: column; width: 100%; }
.ej-prod .ej-pcard { display: flex; flex-direction: column; flex: 1 1 auto; }
.ej-prod .ej-pcard .btn-block { margin-top: auto; }
.ej-prod .ej-eta { min-height: 1.4em; }
.ej-prod .ej-eta:empty { display: block; }
.ej-prod .ej-pname { min-height: 0; }

/* ---- top page: how-to / illustrations / no-worries (20260914f) ---- */
.ej-flat { border: 0; padding: 0; background: transparent; margin-bottom: 18px; }
.ej-flat img { border-radius: 12px; }
@media (min-width: 992px) { .ej-steps3.ej-steps4 { grid-template-columns: repeat(4, 1fr); } }
.ej-illus-row { display: flex; flex-wrap: wrap; margin-bottom: 10px; }
.ej-illus-row > [class*="col-"] { display: flex; float: none; margin-bottom: 20px; }
.ej-illus { background: #fff; border: 1px solid #c5dcf2; border-radius: 14px; padding: 12px 16px 16px; width: 100%; box-shadow: 0 2px 8px rgba(31,58,95,.06); }
.ej-illus svg { display: block; width: 100%; height: auto; border-radius: 10px; }
.ej-illus h3 { font-size: 18px; font-weight: 700; color: #1f3a5f; margin: 14px 0 6px; }
.ej-illus p { color: #444; font-size: 14px; line-height: 1.6; margin: 0; }
.ej-why-9 { margin-bottom: 30px; }
