/* HamLab トップページ（案）。world.css（LabQSL 12-hero-polish）を土台に、HamLab用の部分だけを足す。
   色・書体・文字の大きさ（--t）・ヘッダー・フッターは world.css のものをそのまま使う。 */

/* ロゴ（画像） */
.logo img { height: 34px; width: auto; display: block; }
.top .logo { min-height: 48px; }

/* ===== ファーストビュー ===== */
.hx-hero { position: relative; overflow: hidden; padding: 88px 0 0;
  background: radial-gradient(70% 60% at 100% 0%, #DCEBFA 0%, rgba(220,235,250,0) 70%), radial-gradient(70% 60% at 0% 100%, #FFE6D6 0%, rgba(255,230,214,0) 70%), linear-gradient(180deg, #FFFCF7 0%, #F4F8FD 100%); }
.hx-hero h1 { max-width: 16em; margin: 0 auto; }
.hx-hero h1 .accent { color: #0369A1; }
.hx-hero .lead { max-width: 28em; margin: 24px auto 0; }
.hx-hero .free-pill { margin-top: 24px; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 14px 16px; justify-content: center; margin-top: 36px; }
.hx-cta .btn { min-height: 64px; padding: 0 36px; font-size: calc(21px * var(--t)); font-weight: 700; }
.hx-cta .btn:not(.line) { box-shadow: 0 10px 28px rgba(15, 76, 154, .28); }
.hx-cta .btn.line { background: #fff; }
.hx-shot { max-width: 980px; margin: 56px auto 0; padding: 0 14px; position: relative; }
.hx-shot .frame { border-radius: 24px 24px 0 0; overflow: hidden; background: #fff; border: 1px solid rgba(29, 29, 31, .12); border-bottom: 0; box-shadow: 0 -2px 0 rgba(255,255,255,.6), 0 30px 80px rgba(15, 76, 154, .22); }
.hx-shot img { display: block; width: 100%; height: auto; }
.hx-shot .bar { display: flex; gap: 7px; padding: 12px 16px; background: #EEF1F6; border-bottom: 1px solid #DDE2EA; }
.hx-shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #C9CFD9; }

/* ===== 見出し（区切りごと） ===== */
.hx-sec { padding: 96px 0 72px; }
.hx-sec h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
html[lang="ja"] .hx-sec h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.35; letter-spacing: 0; }
.hx-sec h2 .accent { color: #0369A1; }
.hx-sec .sec-lead { font-size: calc(21px * var(--t)); color: var(--ink-2); max-width: 36em; margin: 0 auto 48px; line-height: 1.65; }
.hx-sec .center .sec-lead { margin-left: auto; margin-right: auto; }

/* ===== 交信1件から、すべてへ（流れ図） ===== */
.hx-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px 22px; max-width: 980px; margin: 0 auto; }
.hx-src { background: #0E2B57; color: #fff; border-radius: 32px; padding: 36px 32px; text-align: left; }
.hx-src .k { font-size: calc(16px * var(--t)); letter-spacing: .08em; opacity: .75; }
.hx-src h3 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; line-height: 1.2; margin-top: 8px; }
.hx-src p { margin-top: 12px; color: #D6E2F5; font-size: calc(18px * var(--t)); }
.hx-src .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-family: var(--call); font-size: calc(16px * var(--t)); font-weight: 700; }
.hx-src .row span { background: rgba(255,255,255,.12); border-radius: 10px; padding: 6px 12px; }
.hx-arrow { color: #0369A1; }
.hx-arrow svg { width: 44px; height: 44px; }
.hx-outs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hx-outs li { background: var(--band); border-radius: 22px; padding: 22px 20px; text-align: left; }
.hx-outs b { display: block; font-size: calc(21px * var(--t)); font-weight: 700; }
.hx-outs span { display: block; margin-top: 4px; font-size: calc(16.5px * var(--t)); color: var(--ink-2); line-height: 1.55; }
.hx-outs svg { width: 30px; height: 30px; margin-bottom: 10px; color: #0369A1; }

/* ===== できること（大きなタイル） ===== */
.hx-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; text-align: left; }
.hx-tile { position: relative; grid-column: span 3; background: #fff; border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.hx-tile.wide { grid-column: span 6; flex-direction: row; align-items: stretch; }
.hx-tile .tx { padding: 40px 36px 28px; flex: 1 1 0; }
.hx-tile h3 { font-size: clamp(26px, 2.7vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
html[lang="ja"] .hx-tile h3 { line-height: 1.3; letter-spacing: 0; }
.hx-tile h3 .accent { color: #0369A1; }
.hx-tile p { margin-top: 14px; color: #3D3D42; font-size: calc(19px * var(--t)); max-width: 26em; }
.hx-tile ul { margin-top: 18px; display: grid; gap: 8px; }
.hx-tile li { display: flex; gap: 10px; align-items: flex-start; font-size: calc(18px * var(--t)); color: var(--ink); }
.hx-tile li svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: #0369A1; }
.hx-tile .art { margin-top: auto; padding: 0 28px; }
.hx-tile .art img { display: block; width: 100%; height: auto; border-radius: 18px 18px 0 0; border: 1px solid rgba(29,29,31,.10); border-bottom: 0; box-shadow: 0 18px 40px rgba(15,76,154,.14); }
.hx-tile.wide .art { flex: 1.15 1 0; display: flex; align-items: flex-end; padding: 36px 36px 0 0; margin: 0; }
.hx-tile.navy { background: #0E2B57; color: #fff; }
.hx-tile.navy p, .hx-tile.navy li { color: #D6E2F5; }
.hx-tile.navy li svg { color: #7CC4F1; }
.hx-tile.navy h3 .accent { color: #7CC4F1; }
.hx-tile .small-note { margin-top: 14px; font-size: calc(16px * var(--t)); color: var(--ink-2); }
.hx-tile.navy .small-note { color: #AFC4E4; }

/* ===== LabQSLとのつながり ===== */
.hx-bridge { background: linear-gradient(180deg, #EDF5FF 0%, #F5F5F7 100%); }
.hx-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; max-width: 980px; margin: 0 auto; text-align: left; }
.hx-card { background: #fff; border-radius: 32px; padding: 36px 34px; display: flex; flex-direction: column; }
.hx-card img { height: 40px; width: auto; align-self: flex-start; }
.hx-card h3 { font-size: clamp(24px, 2.5vw, 30px); font-weight: 800; line-height: 1.25; margin-top: 22px; }
.hx-card p { margin-top: 12px; color: #3D3D42; font-size: calc(18.5px * var(--t)); }
.hx-card .tag { display: inline-block; align-self: flex-start; margin-top: 22px; padding: 6px 14px; border-radius: 980px; font-size: calc(16px * var(--t)); font-weight: 700; }
.hx-card.free .tag { background: #E6F4FC; color: #0B4F7C; border: 1px solid #B9DDF2; }
.hx-card.hl .tag { background: #EAF1FB; color: var(--accent-dark); border: 1px solid #C9DBF3; }
.hx-card .btn { margin-top: auto; align-self: flex-start; }
.hx-card p + .btn, .hx-card .tag + .btn { margin-top: 26px; }
.hx-join { display: flex; align-items: center; justify-content: center; color: #0369A1; }
.hx-join svg { width: 40px; height: 40px; }
.hx-bridge-note { max-width: 680px; margin: 36px auto 0; font-size: calc(18px * var(--t)); color: var(--ink-2); }

/* ===== そのほかの機能 ===== */
.hx-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; text-align: left; }
.hx-more li { background: var(--band); border-radius: 24px; padding: 26px 24px; }
.hx-more svg { width: 30px; height: 30px; color: #0369A1; margin-bottom: 12px; }
.hx-more b { display: block; font-size: calc(21px * var(--t)); font-weight: 700; line-height: 1.35; }
.hx-more span { display: block; margin-top: 6px; font-size: calc(17px * var(--t)); color: var(--ink-2); line-height: 1.6; }
.hx-more .jp { display: inline-block; margin-top: 8px; font-size: calc(14.5px * var(--t)); font-weight: 700; color: #6B4200; background: #FFF4DC; border-radius: 6px; padding: 2px 8px; }

/* ===== 料金 ===== */
.hx-plans { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; text-align: left; align-items: stretch; }
.hx-plan { background: #fff; border-radius: 32px; padding: 34px 30px; display: flex; flex-direction: column; border: 1px solid transparent; }
.hx-plan.rec { border: 2px solid var(--accent); position: relative; }
.hx-plan .badge { position: absolute; top: -15px; left: 28px; background: var(--accent); color: #fff; font-size: calc(15px * var(--t)); font-weight: 700; border-radius: 980px; padding: 5px 14px; }
.hx-plan h3 { font-size: calc(24px * var(--t)); font-weight: 800; }
.hx-plan .desc { margin-top: 6px; font-size: calc(17px * var(--t)); color: var(--ink-2); min-height: 3.2em; line-height: 1.55; }
.hx-plan .price { margin-top: 18px; font-size: clamp(36px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.hx-plan .price small { font-size: calc(18px * var(--t)); font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.hx-plan .sub2 { margin-top: 6px; font-size: calc(16px * var(--t)); color: var(--ink-2); min-height: 2.9em; line-height: 1.5; }
.hx-plan ul { margin-top: 20px; display: grid; gap: 10px; flex: 1; }
.hx-plan li { display: flex; gap: 10px; font-size: calc(17.5px * var(--t)); line-height: 1.5; }
.hx-plan li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: #0369A1; }
.hx-plan .btn { margin-top: 26px; }
.hx-trial { max-width: 980px; margin: 0 auto 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; background: #fff; border-radius: 24px; padding: 20px 28px; text-align: left; }
.hx-trial b { font-size: calc(21px * var(--t)); }
.hx-trial span { font-size: calc(17.5px * var(--t)); color: var(--ink-2); flex: 1 1 22em; }
.hx-price-note { max-width: 760px; margin: 28px auto 0; font-size: calc(16px * var(--t)); color: var(--ink-2); }

/* ===== はじめかた ===== */
.hx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; text-align: left; counter-reset: s; }
.hx-steps li { background: var(--band); border-radius: 28px; padding: 32px 28px; position: relative; }
.hx-steps .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 21px; }
.hx-steps h3 { margin-top: 18px; font-size: calc(24px * var(--t)); font-weight: 800; line-height: 1.3; }
.hx-steps p { margin-top: 10px; font-size: calc(18px * var(--t)); color: #3D3D42; }

/* ===== 最後の呼びかけ ===== */
.hx-end { background: #EDF5FF; padding: 88px 0 96px; }
.hx-end h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.25; font-weight: 700; }
.hx-end p { margin: 16px auto 0; max-width: 30em; font-size: calc(20px * var(--t)); color: var(--ink-2); }
.hx-end .btn { margin-top: 32px; min-height: 72px; padding: 0 44px; font-size: calc(24px * var(--t)); font-weight: 700; box-shadow: 0 12px 30px rgba(15,76,154,.28); }
.hx-end .old { margin-top: 28px; font-size: calc(17px * var(--t)); color: var(--ink-2); }

@media (max-width: 860px) {
  .hx-hero { padding-top: 48px; }
  .hx-flow, .hx-pair { grid-template-columns: 1fr; }
  .hx-arrow, .hx-join { transform: rotate(90deg); justify-self: center; }
  .hx-tiles { grid-template-columns: 1fr; }
  .hx-tile, .hx-tile.wide { grid-column: auto; }
  .hx-tile.wide { flex-direction: column; }
  .hx-tile.wide .art { padding: 0 28px; }
  .hx-tile .tx { padding: 32px 26px 24px; }
  .hx-more, .hx-steps { grid-template-columns: 1fr; }
  .hx-plans { grid-template-columns: 1fr; }
  .hx-plan .desc, .hx-plan .sub2 { min-height: 0; }
  .hx-sec { padding: 64px 0 48px; }
  .hx-end { padding: 64px 0 72px; }
  .hx-cta .btn { width: 100%; }
}
@media (max-width: 520px) {
  .hx-outs { grid-template-columns: 1fr; }
  .logo img { height: 30px; }
}

.sp-br { display: none; }
@media (max-width: 860px) { .sp-br { display: inline; } }
.hx-shot .frame { max-height: 520px; }
@media (max-width: 860px) { .hx-shot .frame { max-height: 300px; } }
.hx-tile .art.globe { display: flex; align-items: center; justify-content: center; padding: 28px 40px 28px 0; }
.hx-tile .art.globe svg { width: min(100%, 260px); height: auto; }
@media (max-width: 860px) { .hx-tile .art.globe { padding: 0 28px 32px; } .hx-tile .art.globe svg { width: 180px; } }
.hx-tile:not(.wide) .art { height: 300px; overflow: hidden; }
.hx-tile:not(.wide) .art img { height: 100%; object-fit: cover; object-position: top; }
.hx-tile.wide .art { max-height: 360px; overflow: hidden; }
.hx-tile.wide .art img { height: 100%; object-fit: cover; object-position: top; }
.hx-student { margin: 20px auto 0; }
.hx-student .btn { min-height: 48px; padding: 0 22px; }
.hx-plan .price { white-space: nowrap; }

/* ===== ヒーロー v2：紺の地・巨大な見出し・動く絵 ===== */
.hx-hero { background: #0E2B57; color: #fff; padding: 72px 0 0; overflow: hidden; }
.hx-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 8%, rgba(2,132,199,.38) 0%, rgba(2,132,199,0) 70%), radial-gradient(50% 45% at 8% 92%, rgba(255,197,61,.14) 0%, rgba(255,197,61,0) 70%); }
.hx-hero .wrap { position: relative; }
.hx-hero h1 { max-width: none; color: #fff; font-size: clamp(44px, 9.4vw, 112px); line-height: 1.04; font-weight: 900; letter-spacing: -0.035em; }
html[lang="ja"] .hx-hero h1 { font-size: clamp(36px, 7.6vw, 92px); line-height: 1.22; letter-spacing: -0.01em; font-weight: 800; }
.hx-hero h1 .hot { color: #FFC53D; }
.hx-hero .lead { color: #D6E2F5; max-width: 30em; margin: 28px auto 0; font-size: clamp(20px, 2.3vw, 26px); }
.hx-hero .hx-cta { margin-top: 36px; }
.hx-hero .hx-cta .btn:not(.line) { background: #FFC53D; border-color: #FFC53D; color: #1A1400; box-shadow: 0 12px 30px rgba(255,197,61,.28); min-height: 72px; font-size: calc(24px * var(--t)); padding: 0 48px; }
.hx-hero .hx-cta .btn:not(.line):hover { background: #FFD766; border-color: #FFD766; }
.hx-hero .hx-cta .btn.line { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); min-height: 72px; }
.hx-hero .hx-cta .btn.line:hover { background: rgba(255,255,255,.12); color: #fff; }
.hx-hint { margin: 22px auto 0; max-width: 34em; color: #AFC4E4; font-size: calc(17.5px * var(--t)); }

.stage { max-width: 920px; margin: 56px auto 0; padding: 30px 28px 0; border-radius: 32px 32px 0 0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-bottom: 0; text-align: left; }
.st-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: #fff; color: var(--ink); border-radius: 20px; padding: 16px 18px 16px 22px; box-shadow: 0 14px 36px rgba(0,0,0,.28); }
.st-cells { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 auto; font-family: var(--call); font-weight: 700; font-size: calc(20px * var(--t)); }
.st-cells span { background: #EEF3FA; border-radius: 10px; padding: 8px 14px; }
.st-cells span:last-child { background: #E6F4FC; color: #0B4F7C; }
.st-rec { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 980px; background: var(--accent); color: #fff; font-weight: 700; font-size: calc(19px * var(--t)); animation: stPress 8s infinite; }
.st-down { display: flex; justify-content: center; color: #7CC4F1; padding: 10px 0 6px; }
.st-down svg { width: 36px; height: 36px; transform: rotate(90deg); }
.st-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.o { background: #fff; color: var(--ink); border-radius: 22px 22px 0 0; padding: 20px 20px 24px; opacity: 0; transform: translateY(26px) scale(.96); animation: stPop 8s infinite; }
.o2 { animation-delay: .25s; } .o3 { animation-delay: .5s; }
.o h3 { margin-top: 14px; font-size: calc(21px * var(--t)); font-weight: 800; }
.o p { margin-top: 2px; font-size: calc(16.5px * var(--t)); color: var(--ink-2); }
.mini-qsl { position: relative; height: 96px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #1F6FB8 0%, #F4A261 70%, #E76F51 100%); }
.mini-qsl i { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: #fff; }
.mini-qsl b { position: absolute; left: 12px; bottom: 9px; font-family: var(--call); font-size: 17px; color: var(--ink); }
.mini-qsl em { position: absolute; right: 10px; bottom: 11px; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 980px; padding: 2px 9px; }
.mini-aw { height: 96px; border-radius: 12px; background: #0E2B57; color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; gap: 10px; }
.mini-aw .n { position: relative; display: block; height: 44px; font-size: 44px; font-weight: 900; line-height: 44px; font-family: 'Roboto', sans-serif; }
.mini-aw .n s, .mini-aw .n u { position: absolute; left: 0; top: 0; text-decoration: none; }
.mini-aw .n u { color: #FFC53D; opacity: 0; animation: stNum 8s infinite; }
.mini-aw .n s { animation: stNumOld 8s infinite; }
.mini-aw .bar { display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.2); overflow: hidden; }
.mini-aw .bar i { display: block; height: 100%; width: 17%; background: #7CC4F1; animation: stBar 8s infinite; }
.mini-map { height: 96px; border-radius: 12px; background: #0E2B57; padding: 6px; }
.mini-map svg { width: 100%; height: 100%; }
.mini-map .pin { opacity: 0; animation: stPin 8s infinite; }
.mini-map .ring { transform-origin: 150px 36px; animation: stRing 8s infinite; opacity: 0; }
.mini-map .ln { stroke-dashoffset: 40; animation: stLine 8s infinite; opacity: 0; }

@keyframes stPress { 0%, 8% { transform: scale(1); } 10% { transform: scale(.92); } 14%, 100% { transform: scale(1); } }
@keyframes stPop { 0%, 12% { opacity: 0; transform: translateY(26px) scale(.96); } 22%, 88% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes stNumOld { 0%, 30% { opacity: 1; } 34%, 88% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes stNum { 0%, 30% { opacity: 0; transform: translateY(14px); } 38% { opacity: 1; transform: scale(1.18); } 46%, 88% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes stBar { 0%, 30% { width: 17%; } 42%, 88% { width: 18%; } 100% { width: 17%; } }
@keyframes stPin { 0%, 38% { opacity: 0; } 42%, 88% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes stRing { 0%, 38% { opacity: 0; transform: scale(1); } 42% { opacity: .9; transform: scale(1); } 60% { opacity: 0; transform: scale(3.2); } 100% { opacity: 0; } }
@keyframes stLine { 0%, 40% { opacity: 0; } 44%, 88% { opacity: 1; stroke-dashoffset: 0; } 97%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .st-rec, .o, .mini-aw .n u, .mini-aw .n s, .mini-aw .bar i, .mini-map .pin, .mini-map .ring, .mini-map .ln { animation: none !important; }
  .o { opacity: 1; transform: none; } .mini-aw .n u { opacity: 1; } .mini-aw .n s { opacity: 0; } .mini-map .pin, .mini-map .ln { opacity: 1; }
}

/* ===== こんなこと、ありませんか？ ===== */
.hx-worry { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; text-align: left; }
.hx-worry li { display: grid; grid-template-columns: 1fr 1fr; background: var(--band); border-radius: 28px; overflow: hidden; }
.w-q { display: flex; gap: 16px; align-items: center; padding: 28px 30px; }
.w-q b { font-size: calc(22px * var(--t)); font-weight: 700; line-height: 1.45; }
.w-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #8F4100; font-weight: 800; font-size: 22px; border: 2px solid #F6D9B8; }
.w-a { background: #fff; margin: 8px; border-radius: 22px; padding: 22px 26px; }
.w-to { display: inline-block; font-size: calc(15px * var(--t)); font-weight: 700; color: #0B4F7C; background: #E6F4FC; border-radius: 980px; padding: 3px 12px; }
.w-a p { margin-top: 10px; font-size: calc(19px * var(--t)); color: var(--ink); }
.hx-steps-note { max-width: 34em; margin: 30px auto 0; font-size: calc(18px * var(--t)); color: var(--ink-2); }
@media (max-width: 860px) {
  .hx-hero { padding-top: 40px; }
  .hx-hero .hx-cta .btn:not(.line) { padding: 0 24px; }
  .stage { padding: 18px 14px 0; border-radius: 24px 24px 0 0; margin-top: 40px; }
  .st-out { grid-template-columns: 1fr; gap: 12px; }
  .o { border-radius: 18px; }
  .o:last-child { border-radius: 18px 18px 0 0; }
  .hx-worry li { grid-template-columns: 1fr; }
  .w-q { padding: 22px 22px 14px; }
}
html[lang="ja"] .hx-hero h1 { font-size: clamp(32px, 6.6vw, 80px); }
html[lang="ja"] .hx-hero h1 .nb { white-space: nowrap; }

/* ===== ヒーロー v3：明るい地・何のサービスか先に言う・自分のコールで見本が出る ===== */
.hx3 { position: relative; overflow: hidden; padding: 64px 0 88px;
  background: radial-gradient(70% 60% at 100% 0%, #DCEBFA 0%, rgba(220,235,250,0) 70%), radial-gradient(70% 60% at 0% 100%, #FFE6D6 0%, rgba(255,230,214,0) 70%), linear-gradient(180deg, #FFFCF7 0%, #F4F8FD 100%); }
.hx3-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hx3-text { text-align: left; }
.hx3 .eyebrow { display: inline-block; font-size: calc(18px * var(--t)); font-weight: 700; color: var(--accent); background: #fff; border: 1px solid #C9DBF3; border-radius: 980px; padding: 6px 16px; }
.hx3 h1 { margin-top: 20px; max-width: none; font-size: clamp(32px, 4.5vw, 56px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
html[lang="ja"] .hx3 h1 { font-size: clamp(30px, 4.1vw, 52px); line-height: 1.32; letter-spacing: -0.01em; }
.hx3 h1 .accent { color: #0369A1; }
.hx3 .lead { margin-top: 20px; max-width: 30em; font-size: calc(22px * var(--t)); color: #3D3D42; }
.hx3-form { margin-top: 30px; }
.hx3-form label { display: block; font-size: calc(18px * var(--t)); font-weight: 700; margin-bottom: 10px; }
.hx3-form .row { display: flex; flex-wrap: wrap; gap: 12px; }
.hx3-form input { flex: 1 1 200px; min-width: 0; height: 68px; border: 2px solid #6B7280; border-radius: 16px; padding: 0 20px; font: 700 26px/1 var(--call); text-transform: uppercase; letter-spacing: .04em; background: #fff; color: var(--ink); }
.hx3-form input::placeholder { color: #6E6E73; font-weight: 500; }
.hx3-form input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(15,76,154,.18); }
.hx3-form .btn.go { height: 68px; min-height: 68px; padding: 0 36px; background: #FFC53D; border-color: #FFC53D; color: #1A1400; font-weight: 800; font-size: calc(23px * var(--t)); box-shadow: 0 10px 26px rgba(224,160,0,.32); }
.hx3-form .btn.go:hover { background: #FFD766; border-color: #FFD766; color: #1A1400; }
.hx3 .reassure { margin-top: 16px; font-size: calc(17.5px * var(--t)); color: var(--ink-2); max-width: 32em; }
.hx3 .alt { margin-top: 18px; font-size: calc(18px * var(--t)); }
.hx3-vis { position: relative; padding: 14px 0 70px; max-width: 460px; justify-self: center; width: 100%; }
.hx3-badge { position: absolute; top: 0; right: 14px; z-index: 5; padding: 6px 16px; border-radius: 980px; background: var(--ink); color: #fff; border: 2px solid #fff; font-weight: 700; font-size: 16px; letter-spacing: .06em; box-shadow: 0 2px 8px rgba(30,40,70,.2); }
.hx3-card { position: relative; z-index: 1; padding: 12px; background: #fff; border-radius: 24px; transform: rotate(-1.6deg); box-shadow: 0 2px 4px rgba(30,40,70,.12), 0 18px 40px rgba(30,40,70,.22), 0 0 0 1px rgba(0,0,0,.05); }
.hx3-card .sample-card { position: static; opacity: 1; visibility: visible; }
.hx3-card .qsl { border-radius: 14px; overflow: hidden; }
.hx3-cap { margin-top: 12px; text-align: center; font-size: calc(16px * var(--t)); color: var(--ink-2); }
.hx3-aw { position: absolute; z-index: 3; left: -26px; bottom: 0; width: 82%; background: #fff; border-radius: 22px; padding: 18px 22px 16px; text-align: left; box-shadow: 0 2px 4px rgba(30,40,70,.1), 0 16px 36px rgba(30,40,70,.2), 0 0 0 1px rgba(0,0,0,.05); }
.hx3-aw .t { font-size: calc(16px * var(--t)); font-weight: 700; color: var(--ink-2); }
.hx3-aw .n { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.hx3-aw .n b { font-size: 44px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.hx3-aw .n span { font-size: calc(18px * var(--t)); color: var(--ink-2); }
.hx3-aw .n em { font-style: normal; font-weight: 700; font-size: calc(18px * var(--t)); color: #8F4100; background: #FFF1DD; border-radius: 8px; padding: 2px 10px; }
.hx3-aw .bar { display: block; height: 10px; border-radius: 99px; background: #E3E8F0; overflow: hidden; margin-top: 10px; }
.hx3-aw .bar i { display: block; height: 100%; background: linear-gradient(90deg, #0369A1, #38B6F0); border-radius: 99px; }
.hx3-aw .note { margin-top: 10px; font-size: calc(15.5px * var(--t)); color: var(--ink-2); line-height: 1.5; }
.hx-steps-sec { padding: 72px 0 56px; }
@media (max-width: 860px) {
  .hx3 { padding: 36px 0 64px; }
  .hx3-grid { grid-template-columns: 1fr; gap: 36px; }
  .hx3-form input, .hx3-form .btn.go { width: 100%; flex-basis: 100%; }
  .hx3-vis { padding-bottom: 96px; }
  .hx3-aw { left: -6px; width: 92%; }
}
html[lang="ja"] .hx3 h1 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.28; }
.hx3 h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; }
.hx3 .lead { font-size: calc(20px * var(--t)); }
.hx3-form { margin-top: 24px; }
.hx3 .eyebrow + h1 { margin-top: 16px; }
.hx3 { padding-top: 48px; }

/* ===== ヒーロー v4：ログ画面が主役。QSL・アワード・連携は周りにつながる ===== */
.hx4 { position: relative; overflow: hidden; padding: 56px 0 56px;
  background: radial-gradient(70% 55% at 100% 0%, #DCEBFA 0%, rgba(220,235,250,0) 70%), radial-gradient(60% 50% at 0% 0%, #E7F4FB 0%, rgba(231,244,251,0) 70%), linear-gradient(180deg, #FFFFFF 0%, #F4F8FD 100%); }
.hx4 .eyebrow { display: inline-block; font-size: calc(18px * var(--t)); font-weight: 700; color: var(--accent); background: #fff; border: 1px solid #C9DBF3; border-radius: 980px; padding: 6px 18px; }
.hx4 h1 { margin: 18px auto 0; max-width: none; font-size: clamp(40px, 7vw, 84px); line-height: 1.06; font-weight: 900; letter-spacing: -0.035em; color: var(--ink); }
html[lang="ja"] .hx4 h1 { font-size: clamp(34px, 6.2vw, 76px); line-height: 1.2; letter-spacing: -0.01em; font-weight: 800; }
.hx4 h1 .accent { color: #0369A1; }
.hx4 .lead { margin: 18px auto 0; max-width: 32em; font-size: calc(22px * var(--t)); color: #3D3D42; }
.hx4-form { margin: 28px auto 0; max-width: 640px; text-align: left; }
.hx4-form label { text-align: center; }
.hx4 .reassure { margin: 14px auto 0; max-width: 36em; font-size: calc(17px * var(--t)); color: var(--ink-2); }
.hx4 .alt { margin-top: 14px; font-size: calc(17.5px * var(--t)); }
.hx4-stage { position: relative; max-width: 980px; margin: 44px auto 0; padding: 0 0 8px; }
.hx4-frame { position: relative; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid rgba(29,29,31,.14); box-shadow: 0 30px 80px rgba(15,76,154,.24), 0 4px 10px rgba(30,40,70,.1); max-height: 560px; }
.hx4-frame .bar { display: flex; gap: 7px; padding: 12px 16px; background: #EEF1F6; border-bottom: 1px solid #DDE2EA; }
.hx4-frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #C9CFD9; }
.hx4-frame img { display: block; width: 100%; height: auto; }
.hx4-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(244,248,253,0), #F4F8FD); }
.hx4-sat li { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px 18px 12px 14px; text-align: left; box-shadow: 0 2px 4px rgba(30,40,70,.1), 0 16px 34px rgba(30,40,70,.22), 0 0 0 1px rgba(0,0,0,.05); }
.hx4-sat svg { width: 30px; height: 30px; flex: none; color: #0369A1; }
.hx4-sat strong { display: block; font-size: calc(18px * var(--t)); font-weight: 800; line-height: 1.3; }
.hx4-sat em { display: block; font-style: normal; font-size: calc(16px * var(--t)); color: var(--ink-2); line-height: 1.4; }
.hx4-sat em b { font-family: var(--call); color: var(--accent); font-weight: 700; }
.hx4-sat .s1 { left: -42px; top: 120px; }
.hx4-sat .s2 { right: -42px; top: 70px; }
.hx4-sat .s3 { right: -30px; top: 270px; }
.hx4-sat .s4 { left: -30px; top: 300px; }
.hx4-cap { margin-top: 16px; font-size: calc(16px * var(--t)); color: var(--ink-2); }
@media (max-width: 1100px) { .hx4-sat .s1, .hx4-sat .s4 { left: 8px; } .hx4-sat .s2, .hx4-sat .s3 { right: 8px; } }
@media (max-width: 860px) {
  .hx4 { padding: 36px 0 40px; }
  .hx4-frame { max-height: 320px; }
  .hx4-sat { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .hx4-sat li { position: static; }
}
/* v4 微調整：ログ画面を最初の画面に見せる */
.hx4 { padding-top: 36px; }
html[lang="ja"] .hx4 h1 { font-size: clamp(32px, 5vw, 62px); line-height: 1.18; }
.hx4 h1 { font-size: clamp(38px, 5.6vw, 70px); margin-top: 14px; }
.hx4 .lead { margin-top: 12px; font-size: calc(20px * var(--t)); }
.hx4-form { margin-top: 20px; }
.hx4-form label { font-size: calc(17px * var(--t)); margin-bottom: 8px; }
.hx3-form input, .hx3-form .btn.go { height: 62px; min-height: 62px; }
.hx4 .reassure { margin-top: 10px; font-size: calc(16px * var(--t)); }
.hx4-stage { margin-top: 26px; }
/* v4b：左に言葉、右にログ画面（最初の画面で製品が見える） */
.hx4 { padding: 44px 0 64px; }
.hx4-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 28px 44px; align-items: center; max-width: 1180px; text-align: left; }
.hx4-text { text-align: left; }
.hx4 h1 { margin-left: 0; margin-right: 0; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.1; }
html[lang="ja"] .hx4 h1 { font-size: clamp(30px, 3.9vw, 52px); line-height: 1.22; }
.hx4 .lead { margin-left: 0; margin-right: 0; max-width: 24em; }
.hx4-form { margin-left: 0; margin-right: 0; max-width: 520px; }
.hx4-form label { text-align: left; }
.hx4 .reassure { margin-left: 0; margin-right: 0; }
.hx4-vis { min-width: 0; text-align: center; }
.hx4-stage { margin-top: 0; }
.hx4-frame { max-height: 500px; }
.hx4-sat .s1 { left: -34px; top: 130px; }
.hx4-sat .s2 { right: -14px; top: -22px; }
.hx4-sat .s3 { right: -14px; top: auto; bottom: 90px; }
.hx4-sat .s4 { left: -34px; top: auto; bottom: 36px; }
@media (max-width: 1100px) { .hx4-sat .s1, .hx4-sat .s4 { left: 6px; } .hx4-sat .s2, .hx4-sat .s3 { right: 6px; } }
@media (max-width: 900px) {
  .hx4-grid { grid-template-columns: 1fr; }
  .hx4-frame { max-height: 320px; }
  .hx4-sat .s1, .hx4-sat .s2, .hx4-sat .s3, .hx4-sat .s4 { position: static; }
}

/* ===== 新しい流れ：悩み → できること（やりたいこと別5つ）→ LabQSL → はじめかた → 料金 → FAQ ===== */
.hx-worry-sec { padding: 72px 0 56px; }
.hx-worry3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 36px auto 0; text-align: left; }
.hx-worry3 li { display: flex; gap: 14px; align-items: flex-start; background: var(--band); border-radius: 24px; padding: 24px 24px; }
.hx-worry3 b { font-size: calc(20px * var(--t)); font-weight: 700; line-height: 1.5; }
.hx-worry-close { margin-top: 28px; font-size: calc(24px * var(--t)); font-weight: 800; color: var(--accent); }
.hx-worry-close::after { content: ""; display: block; width: 14px; height: 14px; margin: 14px auto 0; border-right: 3px solid #0369A1; border-bottom: 3px solid #0369A1; transform: rotate(45deg); }

.hx-can { padding-top: 88px; }
.hx-feats { display: grid; gap: 28px; max-width: 1040px; margin: 8px auto 0; text-align: left; }
.hx-feat { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; background: #fff; border-radius: 36px; padding: 40px 44px; }
.hx-feat.rev { grid-template-columns: 1.1fr .9fr; }
.hx-feat.rev .hx-ftx { order: 2; }
.hx-fnum { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 20px; }
.hx-feat h3 { margin-top: 16px; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
html[lang="ja"] .hx-feat h3 { line-height: 1.35; letter-spacing: 0; }
.hx-feat h3 .accent { color: #0369A1; }
.hx-feat p { margin-top: 14px; font-size: calc(19px * var(--t)); color: #3D3D42; }
.hx-feat ul { margin-top: 16px; display: grid; gap: 8px; }
.hx-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: calc(18px * var(--t)); }
.hx-feat li svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: #0369A1; }
.hx-feat li b { font-family: var(--call); color: var(--accent); }
.hx-fvis { min-width: 0; }
.hx-fframe { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(29,29,31,.14); box-shadow: 0 18px 44px rgba(15,76,154,.18); max-height: 400px; position: relative; }
.hx-fframe .bar { display: flex; gap: 6px; padding: 10px 14px; background: #EEF1F6; border-bottom: 1px solid #DDE2EA; }
.hx-fframe .bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9CFD9; }
.hx-fframe img { display: block; width: 100%; height: auto; }
.hx-fframe::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); }
.hx-flow2 { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; background: #0E2B57; border-radius: 28px; padding: 36px 24px; }
.fl-node { text-align: center; color: #fff; }
.fl-node svg { width: 40px; height: 40px; margin: 0 auto 10px; color: #7CC4F1; }
.fl-node b { display: block; font-size: calc(19px * var(--t)); font-weight: 800; line-height: 1.3; }
.fl-node span { display: block; margin-top: 4px; font-size: calc(16px * var(--t)); color: #AFC4E4; }
.fl-arrow { color: #FFC53D; }
.fl-arrow svg { width: 30px; height: 30px; }

.hx-lqband { background: #EDF5FF; padding: 36px 0; }
.hx-lqin { max-width: 980px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.hx-lqin h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.3; }
.hx-lqin h3 .accent { color: #0369A1; }
.hx-lqin p { margin-top: 6px; font-size: calc(18px * var(--t)); color: var(--ink-2); max-width: 36em; }

.hx-faq { max-width: 820px; margin: 36px auto 0; display: grid; gap: 12px; text-align: left; }
.hx-q { background: var(--band); border-radius: 22px; }
.hx-q summary { list-style: none; cursor: pointer; display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 22px 26px; font-size: calc(20px * var(--t)); font-weight: 700; min-height: 64px; }
.hx-q summary::-webkit-details-marker { display: none; }
.hx-q .plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1.5px solid var(--accent); }
.hx-q .plus::before, .hx-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); }
.hx-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.hx-q[open] .plus::after { display: none; }
.hx-q p { padding: 0 26px 24px; font-size: calc(19px * var(--t)); color: #3D3D42; }

.hx-steps-sec { padding: 80px 0 64px; }
@media (max-width: 900px) {
  .hx-worry3 { grid-template-columns: 1fr; }
  .hx-feat, .hx-feat.rev { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; border-radius: 28px; }
  .hx-feat.rev .hx-ftx { order: 0; }
  .hx-fframe { max-height: 300px; }
  .hx-flow2 { grid-template-columns: 1fr; gap: 6px; padding: 28px 20px; }
  .fl-arrow { transform: rotate(90deg); justify-self: center; }
  .hx-lqin { flex-direction: column; align-items: flex-start; }
}

/* ===== 機能一覧（まだまだ、あります） ===== */
.hx-all { padding: 88px 0 72px; }
.hx-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1040px; margin: 8px auto 0; text-align: left; }
.hx-cat { background: var(--band); border-radius: 28px; padding: 28px 26px 30px; }
.hx-cat > svg { width: 34px; height: 34px; color: #0369A1; }
.hx-cat h3 { margin-top: 10px; font-size: calc(24px * var(--t)); font-weight: 800; }
.hx-cat ul { margin-top: 14px; display: grid; gap: 10px; }
.hx-cat li { display: flex; gap: 10px; align-items: flex-start; font-size: calc(17.5px * var(--t)); line-height: 1.55; }
.hx-cat li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: #0369A1; }
@media (max-width: 980px) { .hx-cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hx-cats { grid-template-columns: 1fr; } .hx-all { padding: 64px 0 48px; } }

/* ===== 機能一覧v2：分類タブ＋短いタイル ===== */
.hx-tabbox { max-width: 1040px; margin: 8px auto 0; }
.hx-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hx-tabs button { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 980px; border: 1.5px solid #8590A3; background: #fff; color: var(--ink); font: 700 calc(19px * var(--t))/1.2 var(--sans); cursor: pointer; }
.hx-tabs button svg { width: 24px; height: 24px; color: #0369A1; flex: none; }
.hx-tabs button:hover { border-color: var(--accent); }
.hx-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.hx-tabs button[aria-selected="true"] svg { color: #fff; }
.hx-pns { margin-top: 26px; }
.hx-pn ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.hx-pn li { background: var(--band); border-radius: 22px; padding: 22px 22px 24px; }
.hx-pn li b { display: block; font-size: calc(21px * var(--t)); font-weight: 800; line-height: 1.35; }
.hx-pn li span { display: block; margin-top: 6px; font-size: calc(17px * var(--t)); color: var(--ink-2); line-height: 1.6; }
@media (max-width: 860px) { .hx-pn ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hx-pn ul { grid-template-columns: 1fr; } .hx-tabs button { flex: 1 1 calc(50% - 10px); justify-content: center; padding: 0 12px; } }

/* ===== 区切りを強く：ラベル・背景色の差・大きな見出し ===== */
.kick { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: calc(17px * var(--t)); font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.kick::before, .kick::after { content: ""; width: 36px; height: 3px; border-radius: 3px; background: currentColor; opacity: .55; }
.hx-sec h2 { font-size: clamp(32px, 4.8vw, 54px); }
html[lang="ja"] .hx-sec h2 { font-size: clamp(28px, 4.2vw, 46px); }
.hx-sec { padding: 108px 0 92px; }

/* 悩み：白 */
.hx-worry-sec { background: #fff; }
/* できること：空色の面 */
.hx-can { background: #E6F1FC; padding-top: 108px; }
/* すべての機能：紺 */
.hx-all { background: #0E2B57; color: #fff; }
.hx-all .kick { color: #7CC4F1; }
.hx-all h2 { color: #fff; }
.hx-all h2 .accent { color: #7CC4F1; }
.hx-all .sec-lead { color: #AFC4E4; }
.hx-all .hx-tabs button { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.hx-all .hx-tabs button svg { color: #7CC4F1; }
.hx-all .hx-tabs button:hover { border-color: #fff; }
.hx-all .hx-tabs button[aria-selected="true"] { background: #FFC53D; border-color: #FFC53D; color: #1A1400; }
.hx-all .hx-tabs button[aria-selected="true"] svg { color: #1A1400; }
.hx-all .hx-pn li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.hx-all .hx-pn li b { color: #fff; }
.hx-all .hx-pn li span { color: #C9D8EE; }
/* LabQSL：あたたかい黄色の帯 */
.hx-lqband { background: #FFF1CC; padding: 44px 0; }
.hx-lqin h3 .accent { color: #B45F00; }
.hx-lqin p { color: #5C4A1E; }
.hx-lqband .btn.line { background: #fff; border-color: #B45F00; color: #7A3F00; }
/* はじめかた：白 */
.hx-steps-sec { background: #fff; padding: 108px 0 88px; }
.hx-steps li { background: #EEF3FA; }
/* 料金：薄灰（既存 band） */
/* よくある質問：白 */
/* 最後の呼びかけ：濃い青 */
.hx-end { background: linear-gradient(180deg, #0F4C9A 0%, #0A3570 100%); color: #fff; padding: 104px 0 112px; }
.hx-end h2 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); }
.hx-end p { color: #CFE0F7; }
.hx-end .btn { background: #FFC53D; border-color: #FFC53D; color: #1A1400; box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.hx-end .btn:hover { background: #FFD766; border-color: #FFD766; color: #1A1400; }
.hx-end .old { color: #CFE0F7; }
.hx-end .old a { color: #fff; }
@media (max-width: 860px) { .hx-sec, .hx-can, .hx-steps-sec { padding: 72px 0 60px; } .hx-end { padding: 72px 0 80px; } }

/* ===== 入れ替え：まだまだ＝あたたかい黄色／LabQSLの帯＝紺 ===== */
.hx-all { background: #FFF1CC; color: var(--ink); }
.hx-all .kick { color: #9A5200; }
.hx-all h2 { color: var(--ink); }
.hx-all h2 .accent { color: #0369A1; }
.hx-all .sec-lead { color: #5C4A1E; }
.hx-all .hx-tabs button { background: #fff; color: var(--ink); border-color: #E3CF9A; }
.hx-all .hx-tabs button svg { color: #0369A1; }
.hx-all .hx-tabs button:hover { border-color: var(--accent); }
.hx-all .hx-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.hx-all .hx-tabs button[aria-selected="true"] svg { color: #fff; }
.hx-all .hx-pn li { background: #fff; border: 1px solid #F0E2B5; }
.hx-all .hx-pn li b { color: var(--ink); }
.hx-all .hx-pn li span { color: var(--ink-2); }

.hx-lqband { background: #0E2B57; padding: 52px 0; }
.hx-lqin h3 { color: #fff; }
.hx-lqin h3 .accent { color: #7CC4F1; }
.hx-lqin p { color: #C9D8EE; }
.hx-lqband .btn.line { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.hx-lqband .btn.line:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ===== まだまだ：黄色をやめ、落ち着いた灰色の面＋白いタイル ===== */
.hx-all { background: #F5F5F7; }
.hx-all .kick { color: var(--accent); }
.hx-all .sec-lead { color: var(--ink-2); }
.hx-all .hx-tabs button { border-color: #8590A3; }
.hx-all .hx-pn li { background: #fff; border: 0; box-shadow: 0 1px 2px rgba(30,40,70,.06), 0 8px 24px rgba(30,40,70,.06); }

/* ===== LabQSLの帯：LabQSLのサイトの感じ（ロゴ・見本カード・無料ピル・言い回し） ===== */
.hx-lqband { padding: 64px 0 72px; }
.hx-lqgrid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; max-width: 980px; text-align: left; }
.hx-lqlogo { height: 34px; width: auto; display: block; }
.hx-lqband h3 { margin-top: 22px; color: #fff; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
html[lang="ja"] .hx-lqband h3 { line-height: 1.38; letter-spacing: 0; }
.hx-lqband h3 .accent { color: #7CC4F1; }
.hx-lqband .hx-lqtx > p:not(.hx-lqpill) { margin-top: 14px; color: #C9D8EE; font-size: calc(19px * var(--t)); max-width: 28em; }
.hx-lqpill { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 18px 8px 14px; background: #E6F4FC; border: 1px solid #B9DDF2; border-radius: 22px; color: #0B4F7C; font-size: calc(18px * var(--t)); font-weight: 500; }
.hx-lqpill svg { width: 20px; height: 20px; color: #0369A1; flex: none; }
.hx-lqband .hx-lqbtn { display: inline-flex; margin-top: 26px; min-height: 60px; padding: 0 34px; background: #fff; border-color: #fff; color: var(--accent); font-weight: 800; font-size: calc(20px * var(--t)); }
.hx-lqband .hx-lqbtn:hover { background: #EAF1FB; border-color: #EAF1FB; color: var(--accent-dark); }
.hx-lqcard { position: relative; padding: 12px; background: #fff; border-radius: 24px; transform: rotate(2deg); box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 24px 50px rgba(0,0,0,.4); max-width: 400px; justify-self: center; width: 100%; }
.hx-lqcard .sample-card { position: static; opacity: 1; visibility: visible; }
.hx-lqcard .qsl { border-radius: 14px; overflow: hidden; }
@media (max-width: 860px) { .hx-lqgrid { grid-template-columns: 1fr; gap: 32px; } .hx-lqband { padding: 48px 0 56px; } }
.hx-lqpill { display: flex; width: fit-content; }
.hx-lqband .hx-lqbtn { display: flex; width: fit-content; }

/* ===== LabQSLの挿絵：扇のカード＋通知＋世界の点 ===== */
.hx-lqart { position: relative; width: 100%; max-width: 440px; height: 360px; justify-self: center; }
.hx-lqart .lc { position: absolute; width: 300px; padding: 10px; background: #fff; border-radius: 22px; box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 20px 44px rgba(0,0,0,.4); }
.hx-lqart .lc .sample-card { position: static; opacity: 1; visibility: visible; }
.hx-lqart .lc .qsl { border-radius: 13px; overflow: hidden; }
.hx-lqart .lc-b { right: 0; top: 0; transform: rotate(9deg); }
.hx-lqart .lc-a { left: 0; top: 24px; transform: rotate(-9deg); }
.hx-lqart .lc-f { left: 66px; top: 62px; z-index: 2; transform: rotate(1.5deg); }
.lq-note { position: absolute; z-index: 4; left: -6px; bottom: 6px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px 16px 10px 12px; font-size: calc(17px * var(--t)); font-weight: 700; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.lq-note svg { width: 26px; height: 26px; color: #0369A1; flex: none; }
.lq-dots { position: absolute; z-index: 0; inset: -20px -30px; pointer-events: none;
  background-image: radial-gradient(circle, rgba(124,196,241,.55) 1.5px, transparent 2px); background-size: 22px 22px; opacity: .35; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 40%, transparent 100%); mask-image: radial-gradient(60% 60% at 50% 50%, #000 40%, transparent 100%); }
@media (max-width: 860px) { .hx-lqart { height: 330px; max-width: 360px; } .hx-lqart .lc { width: 250px; } .hx-lqart .lc-f { left: 48px; } .hx-lqart .lc-b { right: 0; } }
.hx-lqband { overflow: hidden; }

/* LabQSL：近日公開の表示 */
.hx-lqhead { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.hx-soon { display: inline-block; padding: 6px 16px; border-radius: 980px; background: #FFC53D; color: #1A1400; font-size: calc(15px * var(--t)); font-weight: 800; letter-spacing: .08em; }
.hx-lqnote { margin-top: 24px; font-size: calc(18px * var(--t)); font-weight: 700; color: #fff; padding-left: 14px; border-left: 4px solid #FFC53D; }
.hx4 .alt { color: var(--ink-2); font-weight: 500; }

/* 「近日公開」：脈打つ点・光が流れる・外側に広がる輪 */
.hx-soon { position: relative; display: inline-flex; align-items: center; gap: 9px; overflow: visible; isolation: isolate; animation: soonBeat 2.6s ease-in-out infinite; }
.hx-soon::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #1A1400; animation: soonDot 1.3s ease-in-out infinite; }
.hx-soon::after { content: ""; position: absolute; inset: 0; border-radius: 980px; z-index: -1; box-shadow: 0 0 0 0 rgba(255,197,61,.65); animation: soonRing 2.6s ease-out infinite; }
.hx-soon { background-image: linear-gradient(100deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.65) 50%, rgba(255,255,255,0) 65%); background-size: 250% 100%; background-repeat: no-repeat; background-color: #FFC53D; animation: soonBeat 2.6s ease-in-out infinite, soonShine 3.2s linear infinite; }
@keyframes soonBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes soonDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.7); } }
@keyframes soonRing { 0% { box-shadow: 0 0 0 0 rgba(255,197,61,.65); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255,197,61,0); } }
@keyframes soonShine { 0% { background-position: 160% 0; } 60%, 100% { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .hx-soon, .hx-soon::before, .hx-soon::after { animation: none !important; } }

/* ===== 専門家の精査を反映（2026-10-20） ===== */
.hx-mt32 { margin-top: 32px; } .hx-mt40 { margin-top: 40px; }
/* 黄色ボタン：白地での輪郭（非テキスト3:1）を確保 */
.hx3-form .btn.go, .hx-end .btn { border: 2px solid #8A6500; }
/* 入力欄・プレースホルダ・タブ枠：コントラスト強化 */
.hx3-form input { border-color: #6B7280; }
.hx3-form input::placeholder { color: #6E6E73; opacity: 1; }
.hx-tabs button { border-color: #8590A3; }
.hx-all .hx-tabs button { border-color: #8590A3; }
/* 「近日公開」の動きは5秒ほどで止める（WCAG 2.2.2）。動きを減らす設定の人は最初から静止 */
.hx-soon { animation: soonBeat 2.6s ease-in-out 2, soonShine 3.2s linear 1; }
.hx-soon::before { animation: soonDot 1.3s ease-in-out 4; }
.hx-soon::after { animation: soonRing 2.6s ease-out 2; }
/* 注記 */
.hx-notes { background: #F5F5F7; padding: 36px 0 8px; }
.hx-notes ol { list-style: none; max-width: 980px; margin: 0 auto; padding: 0 0 4px; display: grid; gap: 8px; counter-reset: n; text-align: left; }
.hx-notes li { counter-increment: n; position: relative; padding-left: 2.2em; font-size: calc(15.5px * var(--t)); line-height: 1.7; color: var(--ink-2); }
.hx-notes li::before { content: "※" counter(n); position: absolute; left: 0; font-weight: 700; color: var(--ink-2); }
.foot { padding-top: 20px; }

/* ===== お支払い方法・Student詳細・SNS ===== */
.hx-pay { max-width: 980px; margin: 28px auto 0; background: #fff; border-radius: 28px; padding: 30px 34px; text-align: left; }
.hx-pay h3 { font-size: calc(24px * var(--t)); font-weight: 800; }
.hx-pay ul { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hx-pay li { display: flex; gap: 16px; align-items: center; background: var(--band); border-radius: 20px; padding: 18px 18px; }
.hx-pay li b { display: block; font-size: calc(19px * var(--t)); font-weight: 800; }
.hx-pay li em { display: block; margin-top: 4px; font-style: normal; font-size: calc(16px * var(--t)); color: var(--ink-2); line-height: 1.55; }
.pm-cards { flex: none; width: 118px; height: 64px; overflow: hidden; border-radius: 10px; background: #fff; position: relative; }
.pm-cards img { position: absolute; left: -193px; top: -20px; width: 315px; height: auto; max-width: none; }
.pm-badge { flex: none; display: grid; place-items: center; min-width: 78px; height: 48px; border-radius: 12px; padding: 0 12px; font-weight: 800; font-size: 17px; letter-spacing: .01em; }
.pm-paypay { background: #FF0033; color: #fff; }
.pm-bank { background: #0F4C9A; color: #fff; font-size: 16px; }
.hx-paynote { margin-top: 16px; font-size: calc(16px * var(--t)); color: var(--ink-2); }
.hx-pay:has(li:only-child) ul { grid-template-columns: 1fr; max-width: 560px; }
.hx-stu { flex: 1 1 100%; margin-top: 6px; }
.hx-stu summary { cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--accent); font-size: calc(18px * var(--t)); min-height: 44px; list-style: none; }
.hx-stu summary::-webkit-details-marker { display: none; }
.hx-stu .plus { position: relative; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--accent); }
.hx-stu .plus::before, .hx-stu .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); }
.hx-stu .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.hx-stu[open] .plus::after { display: none; }
.hx-stu ul { margin-top: 10px; display: grid; gap: 8px; }
.hx-stu li { display: flex; gap: 10px; font-size: calc(17px * var(--t)); line-height: 1.6; color: var(--ink); }
.hx-stu li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: #0369A1; }
.foot-sns { display: flex; align-items: center; gap: 12px; flex: 1 1 100%; }
.foot-sns span { color: #C9D8EE; font-weight: 700; margin-right: 6px; font-size: calc(17px * var(--t)); }
.foot-sns a { display: inline-block; line-height: 0; border-radius: 50%; }
.foot-sns img { width: 40px; height: 40px; display: block; }
@media (max-width: 860px) { .hx-pay ul { grid-template-columns: 1fr; } .hx-pay { padding: 24px 20px; } }
/* 修正：Student詳細の見出しを横長に／カードロゴ切り出し位置 */
.hx-trial.hx-student { display: flex; flex-wrap: wrap; align-items: center; }
.hx-stu { flex: 1 1 100%; width: 100%; }
.hx-stu summary { white-space: nowrap; }
.hx-stu summary b, .hx-stu summary span:not(.plus) { white-space: nowrap; }
.pm-cards { width: 132px; height: 70px; }
.pm-cards img { left: -178px; top: -22px; width: 315px; }
/* カードのロゴは1段目（VISA・Mastercard・JCB）だけ見せる。ほかのブランドは対応を確認できてから足す */
.pm-cards { height: 44px; width: 132px; }
.pm-cards img { top: -24px; left: -178px; }
.foot-sns a { background: #fff; padding: 2px; border-radius: 50%; }
.foot-sns img { width: 36px; height: 36px; }

/* ===== はじめかた：矢印でつなぎ、手順ごとにミニ画面 ===== */
.hx-steps-sec { background: linear-gradient(180deg, #FFFFFF 0%, #F1F7FE 100%); }
.hx-steps { gap: 36px; max-width: 1040px; }
.hx-steps li { background: #fff; border: 1px solid #DCE6F4; border-radius: 30px; padding: 26px 26px 30px; box-shadow: 0 1px 2px rgba(15,76,154,.05), 0 16px 36px rgba(15,76,154,.08); position: relative; }
.hx-steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -36px; width: 36px; height: 36px; transform: translate(50%, -50%); border-radius: 50%; background: #FFC53D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1400' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/20px no-repeat; box-shadow: 0 6px 14px rgba(224,160,0,.35); z-index: 2; }
.sthead { display: flex; align-items: center; gap: 12px; }
.hx-steps .n { width: 52px; height: 52px; font-size: 26px; background: linear-gradient(160deg, #0F4C9A, #0369A1); box-shadow: 0 6px 14px rgba(15,76,154,.3); }
.sthead .sw { font-size: calc(15px * var(--t)); font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.hx-steps h3 { margin-top: 18px; }
.sv { margin-top: 18px; height: 150px; border-radius: 20px; background: #EEF4FC; padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; overflow: hidden; }
.sv .fld { background: #fff; border: 1.5px solid #B8C6DC; border-radius: 10px; padding: 8px 12px; font-size: 15px; color: #4F4F54; font-family: var(--call); }
.sv .fld.dots { letter-spacing: 3px; font-size: 12px; padding: 11px 12px; }
.sv .mbtn { align-self: flex-start; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; padding: 7px 22px; border-radius: 980px; }
.sv2 .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sv2 .chips span { background: #fff; border: 1px solid #C3D2E8; border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 700; color: #1D3D6B; font-family: var(--call); }
.sv2 .drop { position: relative; background: #0E2B57; color: #fff; border-radius: 12px; padding: 10px 14px 12px; }
.sv2 .drop b { font-size: 16px; } .sv2 .drop em { display: block; font-style: normal; font-size: 13px; color: #AFC4E4; margin-top: 2px; }
.sv2 .drop i { display: block; margin-top: 8px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.sv2 .drop i::after { content: ""; position: absolute; inset: 0; width: 68%; background: #FFC53D; border-radius: 6px; }
.sv3 .qso { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 8px 12px; }
.sv3 .qso b { font-family: var(--call); font-size: 16px; } .sv3 .qso span { font-family: var(--call); font-size: 13px; background: #E6F4FC; color: #0B4F7C; border-radius: 6px; padding: 2px 8px; font-weight: 700; }
.sv3 ul { display: grid; gap: 5px; }
.sv3 li { position: relative; padding-left: 26px; font-size: 14px; font-weight: 700; color: var(--ink); }
.sv3 li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); border-radius: 50%; background: #1E7A4C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.hx-steps-cta { margin-top: 30px; }
.hx-steps-cta .btn.go { min-height: 64px; padding: 0 40px; background: #FFC53D; border: 2px solid #8A6500; color: #1A1400; font-weight: 800; font-size: calc(22px * var(--t)); box-shadow: 0 10px 26px rgba(224,160,0,.32); }
.hx-steps-cta .btn.go:hover { background: #FFD766; color: #1A1400; }
@media (max-width: 860px) {
  .hx-steps { gap: 40px; }
  .hx-steps li:not(:last-child)::after { top: auto; bottom: -38px; right: 50%; transform: translate(50%, 0) rotate(90deg); }
}
/* 修正：ミニ画面の中のliに、手順カードの装飾が移らないように */
.sv li { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 0 26px; position: relative; }
.sv li::after { content: none !important; }
.sv { height: 178px; }
.hx-steps h3 { margin-top: 20px; }

/* 公開ページの画面は、切らずにそのままの大きさで見せる */
.hx-fframe.full { max-height: none; }
.hx-fframe.full::after { display: none; }
.hx-feat:has(.hx-fframe.full) { grid-template-columns: .8fr 1.2fr; }
.hx-feat.rev:has(.hx-fframe.full) { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 900px) {
  .hx-feat:has(.hx-fframe.full), .hx-feat.rev:has(.hx-fframe.full) { grid-template-columns: 1fr; }
}

/* ===== お支払い方法：3枚のカード（ロゴ→名前→3行の説明） ===== */
.hx-pay { background: none; padding: 0; margin: 64px auto 0; max-width: 1040px; text-align: center; border-radius: 0; }
.hx-pay h3 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.3; }
html[lang="ja"] .hx-pay h3 { font-size: clamp(24px, 3vw, 34px); }
.hx-pay h3 .accent { color: #0369A1; }
.hx-pay > ul { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; }
.hx-pay > ul > li { display: block; background: #fff; border-radius: 28px; padding: 0; overflow: hidden; box-shadow: 0 1px 2px rgba(30,40,70,.06), 0 10px 28px rgba(30,40,70,.08); }
.hx-pay .pl { min-height: 150px; background: #F1F6FD; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px 16px; }
.pay-paypay .pl { background: #FFF1F3; }
.pay-bank .pl { background: #EAF1FB; }
.pl-brands, .pl-wallets { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.pl-brands img { height: 34px; width: auto; display: block; border-radius: 4px; }
.pl-wallets img { height: 30px; width: auto; display: block; }
.pl .bt { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; background: #fff; border: 1.5px solid #AEB9CC; border-radius: 8px; font-size: 14px; font-weight: 800; color: #1D3D6B; letter-spacing: .01em; white-space: nowrap; }
.pl-wallets .bt { height: 30px; border-style: dashed; color: #4F4F54; font-weight: 700; }
.pl-one { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pl-bank svg { width: 72px; height: 72px; }
.pl-bank b { font-size: calc(22px * var(--t)); font-weight: 800; color: #0F4C9A; }
.pl .pm-paypay { min-width: 150px; height: 56px; font-size: 26px; border-radius: 14px; }
.hx-pay h4 { margin: 22px 26px 4px; font-size: calc(26px * var(--t)); font-weight: 800; }
.hx-pay dl { margin: 10px 0 0; padding: 0 26px 26px; }
.hx-pay dl > div { display: grid; grid-template-columns: 4.2em 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid #E3E8F0; align-items: baseline; }
.hx-pay dt { font-size: calc(15px * var(--t)); font-weight: 800; color: var(--accent); background: #EAF1FB; border-radius: 8px; padding: 3px 0; text-align: center; }
.hx-pay dd { margin: 0; font-size: calc(18px * var(--t)); line-height: 1.6; color: var(--ink); }
.hx-paynote { margin-top: 20px; font-size: calc(16px * var(--t)); color: var(--ink-2); text-align: center; }
.hx-pay:has(> ul > li:only-child) > ul { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .hx-pay > ul { grid-template-columns: 1fr; } .hx-pay { margin-top: 48px; } }
.pl-brands img { height: 38px; border-radius: 5px; box-shadow: 0 1px 3px rgba(30,40,70,.18); }
.pl-wallets { gap: 12px; }
.pl-wallets img[alt="Apple Pay"] { height: 38px; }
.pl-wallets img[alt="Google Pay"] { height: 50px; margin: -6px 0; }
/* 3枚のカードの、ロゴ欄・名前・説明の高さをそろえる（横並びのときだけ） */
@media (min-width: 901px) {
  .hx-pay > ul { grid-template-rows: auto auto 1fr; }
  .hx-pay > ul > li { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
  .hx-pay .pl { min-height: 0; }
}
.hx-pay > ul > li { align-items: stretch; gap: 0; }
.pay-paypay .pl-one img { height: 112px; width: auto; display: block; }

/* ===== はじめかた：3つの絵をわかりやすく（ラベル・矢印・アイコン） ===== */
.hx-steps .sv { height: auto; min-height: 214px; padding: 16px 16px 18px; gap: 6px; justify-content: center; }
.sv .lb { font-size: calc(14px * var(--t)); font-weight: 800; color: #3D5A85; letter-spacing: .02em; margin-top: 2px; }
.sv .fld { font-size: calc(16px * var(--t)); padding: 9px 12px; }
.sv .fld.dots { padding: 12px; font-size: 12px; }
.sv .mbtn { align-self: stretch; text-align: center; margin-top: 6px; padding: 10px 0; font-size: calc(17px * var(--t)); }
.sv2 { flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; }
.sv2 .doc { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.sv2 .doc svg { width: 54px; height: 62px; }
.sv2 .doc b, .sv2 .tbl b { font-size: calc(15px * var(--t)); font-weight: 800; line-height: 1.3; color: var(--ink); }
.sv2 .doc small { font-size: calc(12.5px * var(--t)); color: var(--ink-2); line-height: 1.35; }
.sv2 .ar { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #FFC53D; color: #1A1400; display: grid; place-items: center; }
.sv2 .ar svg { width: 18px; height: 18px; }
.sv2 .tbl { flex: 1.15 1 0; background: #fff; border: 1.5px solid #B8C6DC; border-radius: 14px; padding: 10px 10px 8px; display: flex; flex-direction: column; gap: 6px; }
.sv2 .tbl i { display: block; height: 9px; border-radius: 5px; background: linear-gradient(90deg, #C9DBF3 0 28%, #E3ECF8 28% 100%); }
.sv2 .tbl em { font-style: normal; font-size: calc(13px * var(--t)); font-weight: 800; color: #1E7A4C; }
.sv3 { gap: 6px; }
.sv3 .qso { display: flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid #B8C6DC; border-radius: 12px; padding: 7px 8px 7px 12px; }
.sv3 .qso em { margin-left: auto; font-style: normal; background: var(--accent); color: #fff; font-weight: 800; font-size: calc(14px * var(--t)); border-radius: 980px; padding: 4px 14px; }
.sv3 .dn { align-self: center; color: #0369A1; line-height: 0; }
.sv3 .dn svg { width: 26px; height: 26px; transform: rotate(90deg); }
.sv3 .outs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sv3 .outs span { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border-radius: 12px; padding: 8px 2px 7px; font-size: calc(13px * var(--t)); font-weight: 800; text-align: center; line-height: 1.3; }
.sv3 .outs svg { width: 26px; height: 26px; color: #0369A1; }
.sv2 .tbl { flex: 1.35 1 0; }
.sv2 .tbl b { white-space: nowrap; font-size: calc(14.5px * var(--t)); }
.sv2 .tbl em { white-space: nowrap; }
.sv2 .doc b { white-space: nowrap; }

/* ===== はじめかた v3：高さをそろえ、見出しを中央に。番号・STEP n/3・進みドット ===== */
.hx-steps > li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 24px 32px; }
.hx-steps .sthead { flex-direction: column; gap: 6px; width: 100%; }
.hx-steps .sthead .n { width: 58px; height: 58px; font-size: 30px; }
.hx-steps .sthead .sw { font-size: calc(14px * var(--t)); }
.hx-steps .pd { display: inline-flex; gap: 6px; }
.hx-steps .pd i { width: 26px; height: 6px; border-radius: 6px; background: #D5E1F2; }
.hx-steps .pd i.on { background: var(--accent); }
.hx-steps .sv { width: 100%; height: 252px; min-height: 252px; margin-top: 20px; padding: 16px 18px; gap: 8px; justify-content: center; align-items: stretch; }
.hx-steps h3 { margin-top: 22px; text-align: center; }
.hx-steps p { text-align: center; }
/* STEP 1 */
.sv1 .lb { text-align: left; }
.sv1 .mbtn { align-self: stretch; text-align: center; }
/* STEP 2：書類 → 矢印 → ログ（縦） */
.hx-steps .sv2 { flex-direction: column; gap: 6px; }
.sv2 .doc { flex: none; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px; background: #fff; border: 1.5px solid #B8C6DC; border-radius: 14px; padding: 10px 14px; text-align: left; }
.sv2 .doc svg { width: 34px; height: 40px; flex: none; }
.sv2 .doc span { display: flex; flex-direction: column; gap: 2px; }
.sv2 .doc b { white-space: nowrap; font-size: calc(16px * var(--t)); }
.sv2 .doc small { font-size: calc(13px * var(--t)); }
.sv2 .dn, .sv3 .dn { align-self: center; color: #0369A1; line-height: 0; flex: none; }
.sv2 .dn svg, .sv3 .dn svg { width: 24px; height: 24px; transform: rotate(90deg); }
.sv2 .tbl { flex: none; padding: 10px 14px 10px; gap: 7px; text-align: left; }
.sv2 .tbl b { font-size: calc(16px * var(--t)); }
/* STEP 3：記録 → 矢印 → 3つ */
.sv3 .lb { text-align: left; }
.sv3 .qso { justify-content: center; gap: 8px; padding: 9px 12px; flex: none; }
.sv3 .qso b { font-size: calc(17px * var(--t)); }
.sv3 .qso span { font-size: calc(13px * var(--t)); }
.sv3 .outs { gap: 8px; }
.sv3 .outs span { padding: 10px 2px 9px; font-size: calc(13px * var(--t)); }
@media (max-width: 860px) { .hx-steps .sv { height: auto; min-height: 0; } }
.hx-steps .sv .fld, .hx-steps .sv .lb { text-align: left; }

/* ===== 01 こんなとき：悩みの場面を絵にして、下に「HamLabなら」 ===== */
.hx-worry3 { gap: 20px; max-width: 1040px; }
.hx-worry3 > li { display: flex; flex-direction: column; background: transparent; border-radius: 0; padding: 0; gap: 0; align-items: stretch; }
.hx-worry3 .wp { background: #FFF6E8; border: 1px solid #F3DDB8; border-radius: 28px 28px 0 0; padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.hx-worry3 .wart { height: 112px; display: flex; justify-content: center; }
.hx-worry3 .wart svg { height: 100%; width: auto; }
.hx-worry3 .wp b { font-size: calc(21px * var(--t)); font-weight: 800; line-height: 1.5; text-align: center; color: #3B2A12; }
.hx-worry3 .wdn { align-self: center; width: 44px; height: 44px; margin: -22px 0 -22px; border-radius: 50%; background: #FFC53D; color: #1A1400; display: grid; place-items: center; z-index: 2; box-shadow: 0 6px 14px rgba(224,160,0,.35); }
.hx-worry3 .wdn svg { width: 22px; height: 22px; transform: rotate(90deg); }
.hx-worry3 .ws { background: #EAF3FD; border: 1px solid #C9DDF3; border-top: 0; border-radius: 0 0 28px 28px; padding: 34px 24px 24px; text-align: center; }
.hx-worry3 .wto { display: inline-block; font-size: calc(15px * var(--t)); font-weight: 800; color: #fff; background: var(--accent); border-radius: 980px; padding: 3px 14px; }
.hx-worry3 .ws p { margin-top: 10px; font-size: calc(20px * var(--t)); font-weight: 700; line-height: 1.55; color: #12335E; }
.hx-worry-close { margin-top: 36px; }
@media (max-width: 900px) { .hx-worry3 { gap: 28px; } }
@media (min-width: 901px) {
  .hx-worry3 { grid-template-rows: auto auto auto; }
  .hx-worry3 > li { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
}
/* 矢印は、悩みと「HamLabなら」の境目に重ねる（行を取らない） */
.hx-worry3 > li { position: relative; }
.hx-worry3 .wdn { position: absolute; left: 50%; margin: 0; transform: translate(-50%, -50%); top: var(--wsplit, 62%); }
@media (min-width: 901px) {
  .hx-worry3 { grid-template-rows: auto auto; }
  .hx-worry3 > li { grid-row: span 2; grid-template-rows: subgrid; }
  .hx-worry3 .wdn { top: auto; bottom: 156px; transform: translate(-50%, 50%); }
}
@media (max-width: 900px) {
  .hx-worry3 .wdn { top: auto; bottom: 150px; transform: translate(-50%, 50%); }
}
/* スマホ：矢印は「HamLabなら」の箱の上辺に付ける（ずれない作り） */
@media (max-width: 900px) {
  .hx-worry3 > li { display: block; }
  .hx-worry3 .wp { border-radius: 28px 28px 0 0; padding-bottom: 40px; }
  .hx-worry3 .ws { position: relative; padding-top: 34px; }
  .hx-worry3 .wdn { position: absolute; top: auto; bottom: auto; left: 50%; transform: translate(-50%, -50%); margin: 0; }
}
/* 矢印を .ws の中に入れたので、PCも同じ基準で上辺に付ける */
.hx-worry3 .ws { position: relative; }
.hx-worry3 .wdn { position: absolute; top: 0; left: 50%; bottom: auto; transform: translate(-50%, -50%); margin: 0; }
@media (min-width: 901px) { .hx-worry3 .wdn { top: 0; bottom: auto; transform: translate(-50%, -50%); } }

/* ===== 01 こんなとき：黄色をやめ、青灰色と青でまとめる（黄色はボタン専用） ===== */
.hx-worry3 .wp { background: #F2F5FA; border-color: #DCE4F0; }
.hx-worry3 .wp b { color: var(--ink); }
.hx-worry3 .ws { background: #E3EEFB; border-color: #C3D8F2; }
.hx-worry3 .ws p { color: #0F3D78; }
.hx-worry3 .wdn { background: var(--accent); color: #fff; box-shadow: 0 6px 14px rgba(15,76,154,.32); border: 3px solid #fff; width: 48px; height: 48px; }
.hx-worry3 .wto { background: var(--accent); }

/* ===== 01 こんなとき：あたたかいグレージュ（黄色は使わない）→ 白に近いやさしい青 ===== */
.hx-worry3 .wp { background: #F6F1EA; border-color: #E8DDCC; }
.hx-worry3 .wp b { color: #2B2118; }
.hx-worry3 .ws { background: #FFFFFF; border: 1px solid #E8DDCC; border-top: 0; box-shadow: 0 14px 28px rgba(60,45,25,.07); }
.hx-worry3 .ws p { color: #14437F; }
.hx-worry3 .wdn { border-color: #FFFFFF; }
.hx-worry-sec { background: linear-gradient(180deg, #FFFFFF 0%, #FBF8F3 100%); }

/* ===== 01 こんなとき v3：左に悩み・右に「HamLabなら」。絵なし・色は白／灰／青だけ ===== */
.hx-worry-sec { background: #fff; }
.hx-ba { max-width: 960px; margin: 40px auto 0; text-align: left; }
.hx-ba-h, .hx-ba li { display: grid; grid-template-columns: 1fr 56px 1fr; gap: 0; align-items: center; }
.hx-ba-h { margin-bottom: 14px; }
.hx-ba-h span { font-size: calc(16px * var(--t)); font-weight: 800; letter-spacing: .06em; color: var(--ink-2); padding-left: 6px; }
.hx-ba-h .r { color: var(--accent); }
.hx-ba ul { display: grid; gap: 14px; }
.hx-ba li { background: none; padding: 0; border-radius: 0; display: grid; }
.hx-ba .bq { background: #F5F5F7; border-radius: 22px; padding: 26px 28px; font-size: calc(21px * var(--t)); font-weight: 700; line-height: 1.55; color: var(--ink); min-height: 100%; display: flex; align-items: center; }
.hx-ba .bar { display: grid; place-items: center; color: #0369A1; }
.hx-ba .bar svg { width: 30px; height: 30px; }
.hx-ba .ba { background: #E8F1FC; border-radius: 22px; padding: 26px 28px; display: flex; gap: 12px; align-items: center; font-size: calc(21px * var(--t)); font-weight: 800; line-height: 1.55; color: #0F3D78; min-height: 100%; }
.hx-ba .ba svg { width: 26px; height: 26px; flex: none; color: #1E7A4C; }
@media (max-width: 760px) {
  .hx-ba-h { display: none; }
  .hx-ba li { grid-template-columns: 1fr; }
  .hx-ba .bar { padding: 4px 0; } .hx-ba .bar svg { transform: rotate(90deg); }
  .hx-ba ul { gap: 22px; }
}

/* 01 こんなとき v4：悩みは1行。左に悩み・右に答えの1組だけ */
.hx-ba-h { display: none; }
.hx-ba { max-width: 980px; margin-top: 36px; }
.hx-ba .bq, .hx-ba .ba { padding: 38px 36px; font-size: calc(24px * var(--t)); line-height: 1.6; min-height: 150px; }
.hx-ba .bq { justify-content: center; text-align: center; }
.hx-ba .ba { justify-content: center; text-align: left; }
.hx-ba .ba svg { width: 32px; height: 32px; }
.hx-ba li { grid-template-columns: 1fr 64px 1fr; }
.hx-ba .bar svg { width: 36px; height: 36px; }

/* 悩む人／解決した人 */
.hx-ba .bq, .hx-ba .ba { justify-content: flex-start; gap: 22px; text-align: left; }
.hx-ba .av { flex: none; width: 104px; height: 104px; display: block; }
.hx-ba .av svg { width: 100%; height: 100%; display: block; }
.hx-ba .tx { flex: 1; }
.hx-ba .ba > svg { display: none; }
@media (max-width: 760px) { .hx-ba .av { width: 84px; height: 84px; } .hx-ba .bq, .hx-ba .ba { gap: 16px; padding: 24px 22px; min-height: 0; } }
@media (max-width: 760px) {
  .hx-ba li { grid-template-columns: 1fr; }
  .hx-ba .bar { padding: 6px 0; }
  .hx-ba .bar svg { width: 30px; height: 30px; transform: rotate(90deg); }
  .hx-ba .bq, .hx-ba .ba { font-size: calc(20px * var(--t)); }
}

/* 悩み／答えの下に、同じ3つのタグ（左は手間、右は✓） */
.hx-ba .tx { display: flex; flex-direction: column; gap: 14px; }
.hx-ba .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-ba .chips i { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-weight: 700; font-size: calc(15px * var(--t)); padding: 5px 14px; border-radius: 980px; background: #fff; border: 1.5px solid #C8CEDA; color: #5A5F6B; }
.hx-ba .chips.ok i { border-color: #B7D0F0; color: #0F3D78; }
.hx-ba .chips.ok svg { width: 16px; height: 16px; color: #1E7A4C; }
/* タグは、人物＋文の下に、箱いっぱいの幅で並べる（左右で高さがそろう） */
.hx-ba .bq, .hx-ba .ba { display: grid; grid-template-columns: 104px 1fr; align-items: center; column-gap: 22px; row-gap: 18px; justify-content: stretch; }
.hx-ba .tx { display: block; }
.hx-ba .chips { grid-column: 1 / -1; justify-content: center; }
@media (max-width: 760px) { .hx-ba .bq, .hx-ba .ba { grid-template-columns: 84px 1fr; column-gap: 16px; } }
/* ピルなし版：人物＋文だけ */
.hx-ba .bq, .hx-ba .ba { row-gap: 0; }

/* ===== 01 こんなとき：渡されたイラスト（悩む人／解決した人）を上に、文を下に ===== */
.hx-ba { max-width: 1040px; }
.hx-ba li { grid-template-columns: 1fr 56px 1fr; align-items: stretch; }
.hx-ba .bq, .hx-ba .ba { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 26px; overflow: hidden; min-height: 0; text-align: center; justify-content: flex-start; }
.hx-ba .wimg { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.hx-ba .tx { display: block; padding: 6px 28px 0; font-size: calc(23px * var(--t)); line-height: 1.6; }
.hx-ba .bar { align-self: center; }
@media (max-width: 760px) { .hx-ba li { grid-template-columns: 1fr; } .hx-ba .tx { font-size: calc(20px * var(--t)); padding: 4px 20px 0; } }

/* 箱は白。イラストの色をそのまま見せる（箱の色と混ざって暗く見えるのを避ける） */
.hx-ba .wimg { mix-blend-mode: normal; }
.hx-ba .bq, .hx-ba .ba { background: #fff; border-radius: 26px; box-shadow: 0 1px 2px rgba(30,40,70,.06), 0 12px 30px rgba(30,40,70,.09); }
.hx-ba .bq { border: 1.5px solid #D9DEE8; }
.hx-ba .ba { border: 2px solid #8DB8EA; }
.hx-ba .ba .tx { color: #0F3D78; }

/* ヘッダーのロゴを大きく */
.top .wrap { min-height: 76px; }
.logo img { height: 50px; }
@media (max-width: 520px) { .top .wrap { min-height: 68px; } .logo img { height: 40px; } }
/* 新しいダッシュボード画像：人物と名前にチップが重ならない位置へ */
.hx4-sat .s1 { top: 205px; }
.hx4-sat .s2 { top: -26px; }
/* キャッチ「ログを付けるたびに、無線がもっと楽しくなる。」を2行に収める */
html[lang="ja"] .hx4 h1 { font-size: clamp(24px, 3.15vw, 42px); line-height: 1.3; letter-spacing: -0.01em; }
html[lang="ja"] .hx4 h1 .accent { white-space: nowrap; }
html[lang="en"] .hx4 h1 { font-size: clamp(32px, 4vw, 54px); }
@media (max-width: 900px) { html[lang="ja"] .hx4 h1 { font-size: clamp(26px, 7.4vw, 40px); } }
.hx4-grid { grid-template-columns: 1.08fr .92fr; }
html[lang="ja"] .hx4 h1 { font-size: clamp(24px, 3.7vw, 50px); }
@media (max-width: 900px) { .hx4-grid { grid-template-columns: 1fr; } }
/* スマホ：日本語の「無料で始める」が2段に落ちないよう、ヘッダーを少し詰める */
@media (max-width: 520px) {
  .top .wrap { gap: 6px 8px; flex-wrap: nowrap; }
  .logo img { height: 34px; }
  .top .langs { padding: 2px; }
  .tools > a.signup { padding: 0 12px; margin-left: 2px; font-size: 14px; white-space: nowrap; min-height: 38px; }
}

/* ===== スマホ：ヒーローの文字を中央そろえ・見出しを大きく ===== */
@media (max-width: 900px) {
  .hx4-text { text-align: center; }
  .hx4 .eyebrow { margin-left: auto; margin-right: auto; }
  .hx4 h1 { text-wrap: balance; }
  html[lang="ja"] .hx4 h1 { font-size: clamp(30px, 8.8vw, 44px); line-height: 1.32; }
  html[lang="en"] .hx4 h1 { font-size: clamp(36px, 11vw, 56px); line-height: 1.1; }
  html[lang="ja"] .hx4 h1 .accent { white-space: normal; }
  .hx4 .lead { margin-left: auto; margin-right: auto; }
  .hx4-form { margin-left: auto; margin-right: auto; }
  .hx4-form label { text-align: center; }
  .hx4 .reassure { margin-left: auto; margin-right: auto; text-align: center; }
  .hx4 .alt { text-align: center; }
  /* 各セクションの見出し */
  .hx-sec h2, .hx-end h2 { text-wrap: balance; }
  html[lang="ja"] .hx-sec h2 { font-size: clamp(30px, 8.4vw, 40px); line-height: 1.32; }
  html[lang="en"] .hx-sec h2 { font-size: clamp(34px, 9.6vw, 46px); line-height: 1.12; }
  html[lang="ja"] .hx-end h2 { font-size: clamp(30px, 8.4vw, 40px); }
  html[lang="en"] .hx-end h2 { font-size: clamp(34px, 9.6vw, 46px); }
  .hx-pay h3 { font-size: clamp(28px, 7.6vw, 36px); text-wrap: balance; }
}

/* できること：チェックは、よくある「緑の丸に白いチェック」 */
.hx-feat li svg { box-sizing: border-box; width: 24px; height: 24px; flex: none; margin-top: 3px; padding: 5px; border-radius: 50%; background: #1E8E4E; color: #fff; stroke-width: 3.2; }

/* ===== 最後の呼びかけ v2：左に言葉と約束、右に「解決した人」 ===== */
.hx-end { background: radial-gradient(60% 80% at 90% 10%, rgba(2,132,199,.35) 0%, rgba(2,132,199,0) 70%), linear-gradient(180deg, #0F4C9A 0%, #0A3570 100%); padding: 96px 0 104px; text-align: left; }
.hx-end-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; max-width: 1100px; text-align: left; }
.hx-end .ek { font-size: calc(17px * var(--t)); font-weight: 800; letter-spacing: .12em; color: #9CCBF4; }
.hx-end h2 { margin-top: 12px; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.22; font-weight: 800; color: #fff; text-align: left; }
html[lang="ja"] .hx-end h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.35; }
.hx-end .es { margin: 18px 0 0; max-width: 28em; color: #D6E4F7; font-size: calc(20px * var(--t)); line-height: 1.7; }
.hx-end .ept { margin-top: 24px; display: grid; gap: 10px; }
.hx-end .ept li { display: flex; gap: 12px; align-items: center; color: #fff; font-size: calc(19px * var(--t)); font-weight: 700; }
.hx-end .ept svg { box-sizing: border-box; width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: #1E8E4E; color: #fff; stroke-width: 3.2; }
.hx-end .btn { margin-top: 32px; min-height: 76px; padding: 0 52px; font-size: calc(25px * var(--t)); }
.hx-end .old { margin-top: 24px; max-width: 30em; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: calc(16.5px * var(--t)); line-height: 1.65; color: #E3EDF9; }
.hx-end .old a { color: #fff; font-weight: 700; }
.hx-end-vis { background: #fff; border-radius: 32px; padding: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.35); transform: rotate(1.4deg); }
.hx-end-vis img { display: block; width: 100%; height: auto; border-radius: 20px; }
@media (max-width: 900px) {
  .hx-end { padding: 64px 0 72px; }
  .hx-end-grid { grid-template-columns: 1fr; gap: 36px; }
  .hx-end-tx { text-align: center; }
  .hx-end h2, .hx-end .es { text-align: center; margin-left: auto; margin-right: auto; }
  .hx-end .ept { justify-content: center; text-align: left; max-width: 340px; margin-left: auto; margin-right: auto; }
  .hx-end .btn { width: 100%; padding: 0 20px; }
  .hx-end .old { margin-left: auto; margin-right: auto; text-align: left; }
  .hx-end-vis { transform: none; }
}

/* ===== 注記：やわらかい面・小さめ・2段組 ===== */
.hx-notes { background: #F5F5F7; padding: 36px 0 28px; }
.hx-notes details { max-width: 1040px; margin: 0 auto; }
.hx-notes summary { cursor: pointer; display: inline-flex; align-items: center; gap: 10px; list-style: none; font-size: calc(16px * var(--t)); font-weight: 800; color: var(--ink-2); min-height: 44px; }
.hx-notes summary::-webkit-details-marker { display: none; }
.hx-notes .plus { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink-2); }
.hx-notes .plus::before, .hx-notes .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--ink-2); transform: translate(-50%, -50%); }
.hx-notes .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.hx-notes details[open] .plus::after { display: none; }
.hx-notes ol { max-width: none; margin: 10px 0 0; padding: 0; column-count: 2; column-gap: 40px; display: block; }
.hx-notes li { break-inside: avoid; margin-bottom: 10px; font-size: calc(14.5px * var(--t)); line-height: 1.7; }
@media (max-width: 900px) { .hx-notes ol { column-count: 1; } }

/* ===== フッター v2：ロゴ・サイトの案内・サポート・運営を4列に ===== */
.hx-foot { background: #0A2347; color: #C9D8EE; padding: 56px 0 28px; border: 0; }
.hx-foot .wrap { display: block; }
.ft-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; align-items: start; }
.ft-logo { display: inline-flex; background: #fff; border-radius: 14px; padding: 8px 14px; }
.ft-logo img { height: 40px; width: auto; display: block; }
.ft-brand p { margin-top: 16px; font-size: calc(17px * var(--t)); color: #C9D8EE; line-height: 1.6; }
.hx-foot .foot-sns { margin-top: 18px; flex: none; }
.ft-col { display: flex; flex-direction: column; gap: 4px; }
.ft-col h4 { font-size: calc(15px * var(--t)); font-weight: 800; letter-spacing: .1em; color: #7FB6EA; margin-bottom: 8px; }
.hx-foot .ft-col a { color: #E3EDF9; text-decoration: none; font-size: calc(17px * var(--t)); padding: 7px 0; min-height: 36px; display: inline-flex; align-items: center; }
.hx-foot .ft-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ft-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.hx-foot .foot-cp { color: #9FB6D6; font-size: calc(15px * var(--t)); margin: 0; }
.hx-foot .textsize { margin: 0; }
@media (max-width: 900px) { .ft-cols { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ft-cols { grid-template-columns: 1fr; gap: 24px; } .ft-bottom { justify-content: center; text-align: center; } }
@media (min-width: 901px) { .hx-end-tx p { margin-left: 0; margin-right: 0; } .hx-end .ek { margin-top: 0; } .hx-end .es { margin-top: 18px; } }
/* フッターのロゴ：白い板をやめ、透過ロゴ（HAMが白）を紺の面にそのまま置く */
.ft-logo { background: none; padding: 0; border-radius: 0; }
.ft-logo img { height: 64px; width: auto; }
/* SNSボタン：くっきりしたベクター・34px・統一した丸 */
.foot-sns { gap: 10px; }
.foot-sns a { width: 34px; height: 34px; padding: 0; background: none; border-radius: 50%; display: inline-block; line-height: 0; box-shadow: 0 0 0 1.5px rgba(255,255,255,.22); transition: transform .15s, box-shadow .15s; }
.foot-sns a:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.foot-sns svg { width: 34px; height: 34px; display: block; }
.foot-sns img { display: none; }

/* ===== 追従する「上へ」ボタン ===== */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; width: 62px; height: 62px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; box-shadow: 0 8px 22px rgba(10,53,112,.4), 0 0 0 3px #fff; animation: ttIn .25s ease-out; font: 800 12px/1 var(--sans); letter-spacing: .04em; }
.to-top[hidden] { display: none; }
.to-top svg { width: 24px; height: 24px; transform: rotate(-90deg); margin-bottom: 1px; }
.to-top:hover { background: var(--accent-dark); }
.to-top:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@keyframes ttIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .to-top { animation: none; } }
@media (max-width: 520px) { .to-top { width: 56px; height: 56px; right: 14px; bottom: 14px; } }

/* 交信マップ：世界／日本の切り替えタブ（日本語版のみ） */
.hx-maptabs { display: flex; gap: 8px; margin-bottom: 14px; }
.hx-maptabs button { min-height: 46px; padding: 0 24px; border-radius: 980px; border: 1.5px solid #8590A3; background: #fff; color: var(--ink); font: 800 calc(18px * var(--t))/1 var(--sans); cursor: pointer; }
.hx-maptabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.hx-maptabs button:hover { border-color: var(--accent); }
.hx-fframe img[hidden] { display: none; }
/* 地図は大きく見せたいので、画像の列を広めに */
@media (min-width: 901px) { .hx-feat.rev:has(img[data-mapimg]), .hx-feat:has(img[data-mapimg]) { grid-template-columns: 1.3fr .8fr; } .hx-feat.rev:has(img[data-mapimg]) { grid-template-columns: 1.3fr .8fr; } }

/* ===== 最後の呼びかけ v3：絵は透過で大きく／背景に「更新中の世界地図」の透かし ===== */
.hx-end { position: relative; overflow: hidden; isolation: isolate; }
.hx-end::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1500px, 150%); aspect-ratio: 1380 / 700; transform: translate(-50%, -50%); background: url(img/world-dots.svg) center / 100% 100% no-repeat; opacity: .24; z-index: -1; pointer-events: none; }
.hx-end-grid { grid-template-columns: .82fr 1.18fr; gap: 24px; max-width: 1240px; }
.hx-end-vis { background: none; padding: 0; border-radius: 0; box-shadow: none; transform: none; margin-right: -40px; }
.hx-end-vis img { border-radius: 0; filter: drop-shadow(0 18px 30px rgba(0,0,0,.28)); }
@media (max-width: 900px) {
  .hx-end::before { width: 220%; opacity: .14; }
  .hx-end-vis { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .hx-end::before { opacity: .12; } }
/* v3b：透かしをさらに薄く／絵をさらに大きく */
.hx-end::before { opacity: .11; }
.hx-end-grid { grid-template-columns: .7fr 1.3fr; gap: 8px; max-width: 1360px; }
.hx-end-vis { margin-right: -90px; }
.hx-end-vis img { width: 118%; max-width: none; margin-left: -9%; }
@media (max-width: 900px) {
  .hx-end::before { opacity: .09; }
  .hx-end-vis { margin-right: 0; }
  .hx-end-vis img { width: 112%; margin-left: -6%; }
}
/* v3c：画像を少し小さく／文字側を右へ寄せて詰める（中央にまとまるように） */
.hx-end-grid { grid-template-columns: minmax(0, 520px) minmax(0, 640px); justify-content: center; gap: 32px; max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.hx-end-vis { margin-right: 0; }
.hx-end-vis img { width: 108%; max-width: none; margin-left: -4%; }
@media (max-width: 1100px) { .hx-end-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; } }
@media (max-width: 900px) {
  .hx-end-grid { grid-template-columns: 1fr; gap: 36px; }
  .hx-end-vis img { width: 104%; margin-left: -2%; }
}
/* v3d：絵の左右の透明な余白を切り詰めたので、拡大補正をやめて枠いっぱいに */
.hx-end-vis img { width: 100%; margin-left: 0; }
@media (max-width: 900px) { .hx-end-vis img { width: 100%; margin-left: 0; } }
/* ヒーローの入力：例の文字を薄く（入力済みに見えない）／ボタンは本物の送信ボタン */
.hx3-form input::placeholder { color: #B6BCC7; font-weight: 400; opacity: 1; }
.hx3-form input { border-color: #1F5FA8; }
.hx3-form .btn.go { cursor: pointer; font-family: inherit; }

/* ===== ヒーロー：最初に目に飛び込む深い青（「できること」の淡い青より強く）===== */
.hx4 { isolation: isolate; background: radial-gradient(60% 80% at 88% 8%, rgba(2,132,199,.38) 0%, rgba(2,132,199,0) 70%), linear-gradient(180deg, #0F4C9A 0%, #0A3570 100%); }
.hx4::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1500px, 150%); aspect-ratio: 1380 / 700; transform: translate(-50%, -50%); background: url(img/world-dots.svg) center / 100% 100% no-repeat; opacity: .10; z-index: -1; pointer-events: none; }
.hx4 h1 { color: #fff; }
.hx4 h1 .accent { color: #FFD766; }
.hx4 .lead { color: #E3EDFB; }
.hx4 .hx4-form label { color: #fff; }
.hx4 .reassure { color: #CFE0F6; }
.hx4 .alt, .hx4 .alt a { color: #CFE0F6; }
.hx4 .alt a { color: #fff; text-decoration: underline; }
.hx4-cap { color: #CFE0F6; }
.hx4 .eyebrow { border-color: transparent; }
.hx3-form input { border-color: #fff; }
.hx3-form input:focus { border-color: #FFD766; box-shadow: 0 0 0 4px rgba(255,215,102,.35); }
.hx4 .hx4-vis .hx4-frame, .hx4 .hx-fframe { box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.hx4 h1 .accent { color: #7DD3FC; }
.hx4 h1 .accent { color: #7DE3D0; background: linear-gradient(90deg, #8BE9FF 0%, #7DF0C8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hx4 h1 .accent { background: linear-gradient(90deg, #D9CCFF 0%, #B7A3FF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* ヒーロー背景をラベンダー系に（文字色は水色に戻す） */
.hx4 { background: radial-gradient(60% 80% at 88% 8%, rgba(167,139,250,.55) 0%, rgba(167,139,250,0) 70%), linear-gradient(180deg, #6A58D6 0%, #4636A8 100%); }
.hx4 h1 .accent { background: none; -webkit-text-fill-color: #7DD3FC; color: #7DD3FC; }
.hx4 .lead { color: #EEE9FF; }
.hx4 .reassure, .hx4 .alt, .hx4-cap { color: #E2DBFF; }
/* ヒーロー背景：macOSの壁紙のような、青→紫→ピンクがとろけ合うメッシュグラデーション */
.hx4 { background:
  radial-gradient(48% 70% at 4% 96%, rgba(48,92,255,.85) 0%, rgba(48,92,255,0) 70%),
  radial-gradient(42% 60% at 100% 100%, rgba(255,86,170,.80) 0%, rgba(255,86,170,0) 72%),
  radial-gradient(46% 62% at 98% 0%, rgba(150,96,255,.85) 0%, rgba(150,96,255,0) 72%),
  radial-gradient(40% 55% at 58% 105%, rgba(255,122,200,.45) 0%, rgba(255,122,200,0) 70%),
  radial-gradient(60% 80% at 0% 0%, rgba(34,60,190,.9) 0%, rgba(34,60,190,0) 75%),
  linear-gradient(135deg, #3B2FB5 0%, #5A34C9 52%, #7B3FD6 100%); }
.hx4::before { opacity: .08; }
/* ヒーロー背景を深い青に戻す（最後の呼びかけと同じ青で、ページ全体の色を揃える）。見出しの強調は水色 */
.hx4 { background: radial-gradient(60% 80% at 88% 8%, rgba(2,132,199,.38) 0%, rgba(2,132,199,0) 70%), linear-gradient(180deg, #0F4C9A 0%, #0A3570 100%); }
.hx4::before { opacity: .10; }
.hx4 h1 .accent { background: none; -webkit-text-fill-color: #7DD3FC; color: #7DD3FC; }
.hx4 .lead { color: #E3EDFB; }
.hx4 .reassure, .hx4 .alt, .hx4-cap { color: #CFE0F6; }
/* 濃紺のグラデーション：ヒーローと最後の呼びかけを同じ色に */
.hx4, .hx-end { background: radial-gradient(60% 75% at 86% 6%, rgba(37,99,235,.40) 0%, rgba(37,99,235,0) 70%), radial-gradient(45% 60% at 4% 100%, rgba(14,116,190,.28) 0%, rgba(14,116,190,0) 70%), linear-gradient(180deg, #0C2D63 0%, #071B40 100%); }
/* 濃紺をほんの少し明るく */
.hx4, .hx-end { background: radial-gradient(60% 75% at 86% 6%, rgba(37,99,235,.42) 0%, rgba(37,99,235,0) 70%), radial-gradient(45% 60% at 4% 100%, rgba(14,116,190,.30) 0%, rgba(14,116,190,0) 70%), linear-gradient(180deg, #123775 0%, #0B2554 100%); }

/* ===== スクロールで、ふわっと現れる ===== */
.rv-on .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.rv-on .rv.rv-l { transform: translateX(-34px); }
.rv-on .rv.rv-r { transform: translateX(34px); }
.rv-on .rv.rv-in { opacity: 1; transform: none; }
@media (max-width: 860px) { .rv-on .rv.rv-l, .rv-on .rv.rv-r { transform: translateY(26px); } }
/* ヒーローの絵は、ゆっくり浮かぶ */
@keyframes hx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hx4-vis .hx-fframe, .hx4-vis > div:first-child { animation: hx-float 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .rv-on .rv { opacity: 1; transform: none; transition: none; } .hx4-vis * { animation: none !important; } }
.hx-sec, .hx-feats { overflow-x: clip; }

/* ===== ハンバーガーメニュー：各セクションへすぐ飛べる ===== */
.top .wrap { position: relative; }
.hx-burger { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; margin-left: 8px; border: 1.5px solid #C9D3E3; border-radius: 980px; background: #fff; color: var(--ink); font: 700 15px/1 inherit; cursor: pointer; flex: none; }
.hx-burger:hover { background: #F2F6FC; }
.hx-burger:focus-visible { outline: 3px solid #0369A1; outline-offset: 2px; }
.hx-burger .bars { position: relative; width: 20px; height: 14px; display: block; }
.hx-burger .bars i { position: absolute; left: 0; width: 20px; height: 2.4px; border-radius: 2px; background: #0F3D78; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.hx-burger .bars i:nth-child(1) { top: 0; }
.hx-burger .bars i:nth-child(2) { top: 6px; }
.hx-burger .bars i:nth-child(3) { top: 12px; }
.hx-burger[aria-expanded="true"] .bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.hx-burger[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.hx-burger[aria-expanded="true"] .bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.hx-menu { position: absolute; right: 16px; top: calc(100% + 6px); width: min(340px, calc(100vw - 32px)); background: #fff; border: 1px solid #D9DEE8; border-radius: 22px; box-shadow: 0 24px 60px rgba(15,40,90,.22); padding: 16px 12px 14px; z-index: 60; transform-origin: top right; animation: hx-menu-in .22s cubic-bezier(.2,.7,.2,1); }
.hx-menu[hidden] { display: none; }
@keyframes hx-menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.hx-menu .mh { margin: 0 8px 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #5A6372; }
.hx-menu ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hx-menu ol a { display: flex; align-items: baseline; gap: 12px; padding: 13px 12px; border-radius: 14px; color: var(--ink); font-size: calc(18px * var(--t)); font-weight: 700; text-decoration: none; }
.hx-menu ol a b { flex: none; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: #0369A1; min-width: 2em; }
.hx-menu ol a:hover, .hx-menu ol a:focus-visible { background: #EAF2FC; }
.hx-menu ol a.is-cur { background: #E6F1FC; color: #0F3D78; }
.hx-menu .mb { margin-top: 10px; padding: 12px 8px 0; border-top: 1px solid #E3E7EF; display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.hx-menu .mb a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 980px; font-weight: 700; font-size: 16px; text-decoration: none; }
.hx-menu .mlogin { border: 1.5px solid #C9D3E3; color: var(--ink); }
.hx-menu .msignup { background: #FFC53D; border: 2px solid #8A6500; color: #1A1400; font-weight: 800; }
@media (max-width: 520px) {
  .hx-burger { padding: 0; width: 42px; height: 42px; justify-content: center; margin-left: 4px; }
  .hx-burger .bl { display: none; }
  .hx-menu { right: 8px; width: calc(100vw - 16px); }
}
/* 飛んだ先で、見出しが固定ヘッダーに隠れないように */
#worry, #can, #all, #start, #plans, #faq, #signup { scroll-margin-top: 84px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hx-menu { animation: none; } }
/* ハンバーガーは、いつもいちばん右 */
.top .wrap > .hx-burger { order: 9; }
.top .wrap > .hx-menu { order: 10; }
@media (max-width: 520px) {
  .top .langs, .top .langs > * { white-space: nowrap; font-size: 13px; }
  .top .langs > * { padding: 0 8px; }
  .top .wrap { gap: 4px 6px; }
  .tools > a.signup { padding: 0 10px; font-size: 13px; }
}
@media (max-width: 359px) { .tools > a.signup { display: none; } }
/* ヒーロー：白いピルとタイトル、タイトルと説明文の間をゆったり */
.hx4 h1 { margin-top: 32px; }
.hx4 .lead { margin-top: 28px; }
@media (max-width: 900px) { .hx4 h1 { margin-top: 26px; } .hx4 .lead { margin-top: 22px; } }
/* ヒーロー右の絵：上の吹き出し（LoTW・eQSL.cc）が詰まらないよう、上にも余白 */
.hx4-vis { padding-top: 48px; }
@media (max-width: 900px) { .hx4-vis { padding-top: 34px; } }

/* 「無料で始める」：さりげなく、ゆっくり光の輪が広がる（ホバー・操作中は止める） */
@keyframes hx-pulse { 0% { box-shadow: 0 10px 26px rgba(224,160,0,.32), 0 0 0 0 rgba(255,197,61,.55); } 70% { box-shadow: 0 10px 26px rgba(224,160,0,.32), 0 0 0 16px rgba(255,197,61,0); } 100% { box-shadow: 0 10px 26px rgba(224,160,0,.32), 0 0 0 0 rgba(255,197,61,0); } }
.hx3-form .btn.go, .hx-end .btn, .hx-steps-cta .btn { animation: hx-pulse 3.2s ease-out infinite; }
.hx3-form .btn.go:hover, .hx3-form .btn.go:focus-visible, .hx-end .btn:hover, .hx-end .btn:focus-visible, .hx-steps-cta .btn:hover { animation: none; }
.hx3-form:focus-within .btn.go { animation: none; }
@media (prefers-reduced-motion: reduce) { .hx3-form .btn.go, .hx-end .btn, .hx-steps-cta .btn { animation: none; } }

/* ===== 03 すべての機能：濃紺の地に、ガラス質のカード ===== */
.hx-all { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(55% 60% at 12% 0%, rgba(14,116,190,.35) 0%, rgba(14,116,190,0) 70%), radial-gradient(50% 60% at 100% 100%, rgba(37,99,235,.38) 0%, rgba(37,99,235,0) 70%), linear-gradient(180deg, #123775 0%, #0B2554 100%); padding-top: 96px; padding-bottom: 104px; }
.hx-all::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1500px, 150%); aspect-ratio: 1380 / 700; transform: translate(-50%, -50%); background: url(img/world-dots.svg) center / 100% 100% no-repeat; opacity: .07; z-index: -1; pointer-events: none; }
.hx-all .kick { color: #9CCBF4; }
.hx-all h2 { color: #fff; }
.hx-all h2 .accent { background: linear-gradient(90deg, #8BE9FF 0%, #7DF0C8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #7DD3FC; }
.hx-all .sec-lead { color: #C9D8EE; }
/* タブ：ガラスの帯の中で切り替える */
.hx-all .hx-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 7px; border-radius: 980px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hx-all .hx-tabs button { min-height: 50px; padding: 0 20px 0 16px; border: 0; background: transparent; color: #DCE8F8; font-weight: 700; transition: background .25s ease, color .25s ease, transform .25s ease; }
.hx-all .hx-tabs button svg { color: #8BD0F5; }
.hx-all .hx-tabs button:hover { background: rgba(255,255,255,.12); color: #fff; border: 0; }
.hx-all .hx-tabs button[aria-selected="true"] { background: #fff; color: #0B2554; border: 0; box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.hx-all .hx-tabs button[aria-selected="true"] svg { color: #0369A1; }
.hx-all .hx-tabs button:focus-visible { outline: 3px solid #FFD766; outline-offset: 2px; }
/* カード */
.hx-all .hx-pns { margin-top: 36px; }
.hx-all .hx-pn ul { gap: 16px; counter-reset: hxc; }
.hx-all .hx-pn li { position: relative; overflow: hidden; counter-increment: hxc; padding: 26px 24px 26px; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.05) 100%); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 18px 40px rgba(2,10,30,.28), inset 0 1px 0 rgba(255,255,255,.18); transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease, background .3s ease; }
.hx-all .hx-pn li::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #8BE9FF, #7DF0C8); opacity: .0; transition: opacity .3s ease; }
.hx-all .hx-pn li:hover { transform: translateY(-4px); border-color: rgba(139,233,255,.55); background: linear-gradient(160deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.07) 100%); }
.hx-all .hx-pn li:hover::before { opacity: 1; }
.hx-all .hx-pn li::after { content: counter(hxc, decimal-leading-zero); position: absolute; right: 18px; top: 14px; font: 800 15px/1 var(--call, 'Inter', sans-serif); letter-spacing: .06em; color: rgba(255,255,255,.28); }
.hx-all .hx-pn li .ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 14px; background: linear-gradient(135deg, rgba(139,233,255,.28), rgba(125,240,200,.20)); border: 1px solid rgba(139,233,255,.35); color: #A5EEFF; }
.hx-all .hx-pn li .ic svg { width: 24px; height: 24px; }
.hx-all .hx-pn li b { color: #fff; font-size: calc(21px * var(--t)); }
.hx-all .hx-pn li span:not(.ic) { color: #C9D8EE; }
@media (prefers-reduced-motion: reduce) { .hx-all .hx-pn li { transition: none; } .hx-all .hx-pn li:hover { transform: none; } }

/* ===== 07 お知らせ ===== */
.hx-news { background: #fff; padding: 84px 0 92px; }
.hx-news .wrap { max-width: 880px; }
.hx-news .kick, .hx-news h2 { text-align: center; }
.hx-newslist { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid #E3E7EF; }
.hx-newslist li { border-bottom: 1px solid #E3E7EF; }
.hx-newslist a { display: grid; grid-template-columns: 7.5em auto 1fr 1.2em; align-items: center; gap: 14px; padding: 20px 8px; color: var(--ink); text-decoration: none; transition: background .2s ease, padding .2s ease; }
.hx-newslist a:hover, .hx-newslist a:focus-visible { background: #F3F7FD; padding-left: 16px; }
.hx-newslist time { font-size: calc(16px * var(--t)); font-weight: 700; color: #5A6372; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.hx-newslist .tag { display: inline-block; padding: 3px 12px; border-radius: 980px; background: #E6F1FC; color: #0F4C9A; font-size: calc(13.5px * var(--t)); font-weight: 800; white-space: nowrap; }
.hx-newslist .tt { font-size: calc(18.5px * var(--t)); font-weight: 600; line-height: 1.55; }
.hx-newslist .arr { color: #0369A1; font-size: 22px; font-weight: 700; transition: transform .2s ease; }
.hx-newslist a:hover .arr { transform: translateX(4px); }
.hx-newsmore { margin: 28px 0 0; text-align: center; }
.hx-newsmore a { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 1.5px solid #8590A3; border-radius: 980px; color: var(--ink); font-weight: 700; font-size: calc(17px * var(--t)); text-decoration: none; }
.hx-newsmore a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 700px) {
  .hx-newslist a { grid-template-columns: auto 1fr 1em; grid-template-areas: "d tag ar" "t t t"; gap: 6px 10px; padding: 16px 4px; }
  .hx-newslist time { grid-area: d; }
  .hx-newslist .tag { grid-area: tag; justify-self: start; }
  .hx-newslist .tt { grid-area: t; font-size: calc(17.5px * var(--t)); }
  .hx-newslist .arr { grid-area: ar; justify-self: end; }
}
.hx-newslist li { padding: 0; margin: 0; background: none; border-radius: 0; min-height: 0; }
.hx-newslist a { text-align: left; }
.hx-news .wrap { text-align: center; }

.hx-newslist li { padding: 0; margin: 0; background: none; border-radius: 0; min-height: 0; }
.hx-newslist a { text-align: left; }
.hx-news .wrap { text-align: center; }

/* ===== 03 すべての機能（やり直し）：明るい地で、上の「できること」と同じ仲間の見た目。タブは“タブ”だとひと目で分かる形 ===== */
.hx-all { background: #fff; padding-top: 88px; padding-bottom: 96px; }
.hx-all::before { display: none; }
.hx-all .kick { color: #0F4C9A; }
.hx-all h2 { color: var(--ink); }
.hx-all h2 .accent { background: none; -webkit-text-fill-color: #0369A1; color: #0369A1; }
.hx-all .sec-lead { color: var(--ink-2); }
.hx-hint { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 6px 16px 6px 12px; border-radius: 980px; background: #E6F1FC; color: #0F4C9A; font-size: calc(15.5px * var(--t)); font-weight: 700; }
.hx-hint svg { flex: none; animation: hx-nudge 1.8s ease-in-out infinite; }
@keyframes hx-nudge { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .hx-hint svg { animation: none; } }
/* 外枠：カードの上に、フォルダのタブが付いた形 */
.hx-all .hx-tabbox { margin-top: 28px; background: #E6F1FC; border-radius: 30px; padding: 12px; text-align: left; }
.hx-all .hx-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 0; background: none; border: 0; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hx-all .hx-tabs button { flex-direction: column; justify-content: center; gap: 6px; min-height: 84px; padding: 10px 6px; border: 0; border-radius: 20px 20px 0 0; background: transparent; color: #28507F; font-size: calc(16px * var(--t)); font-weight: 700; box-shadow: none; transition: background .2s ease, color .2s ease; }
.hx-all .hx-tabs button svg { width: 28px; height: 28px; color: #3F7FC4; }
.hx-all .hx-tabs button:hover { background: rgba(255,255,255,.65); color: #0B2554; border: 0; }
.hx-all .hx-tabs button[aria-selected="true"] { background: #fff; color: #0B2554; border: 0; box-shadow: none; position: relative; }
.hx-all .hx-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 18%; right: 18%; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--accent); }
.hx-all .hx-tabs button[aria-selected="true"] svg { color: var(--accent); }
.hx-all .hx-tabs button:focus-visible { outline: 3px solid #0369A1; outline-offset: -3px; }
.hx-all .hx-pns { margin-top: 0; background: #fff; border-radius: 0 0 22px 22px; padding: 22px; }
.hx-all .hx-pn ul { gap: 14px; }
.hx-all .hx-pn li { background: #F3F7FD; border: 1px solid #DDE8F6; box-shadow: none; border-radius: 20px; padding: 22px 22px 22px; }
.hx-all .hx-pn li::before { display: none; }
.hx-all .hx-pn li:hover { transform: translateY(-3px); border-color: #8DB8EA; background: #fff; box-shadow: 0 12px 28px rgba(15,60,120,.12); }
.hx-all .hx-pn li::after { color: #9FB6D4; }
.hx-all .hx-pn li .ic { background: #fff; border: 1px solid #C9DBF3; color: var(--accent); }
.hx-all .hx-pn li b { color: var(--ink); }
.hx-all .hx-pn li span:not(.ic) { color: var(--ink-2); }
@media (max-width: 760px) {
  .hx-all .hx-tabbox { padding: 8px; border-radius: 24px; }
  .hx-all .hx-tabs { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .hx-all .hx-tabs button { min-height: 70px; border-radius: 16px; font-size: calc(14.5px * var(--t)); }
  .hx-all .hx-tabs button[aria-selected="true"]::after { display: none; }
  .hx-all .hx-tabs button[aria-selected="true"] { box-shadow: 0 0 0 2px var(--accent) inset; }
  .hx-all .hx-pns { margin-top: 8px; border-radius: 18px; padding: 14px; }
}
/* 日本語の「無料で始める」は幅があるので、狭いスマホではメニューとヒーローのボタンに任せる */
@media (max-width: 400px) { .tools > a.signup { display: none; } }

/* セクションの区切り：白→淡い青→灰→白→淡い青 と交互にして、変わり目をはっきりさせる */
.hx-steps-sec { background: #EAF3FD; }
.hx-news { background: #EAF3FD; }
.hx-news .hx-newslist { border-top-color: #CFE0F4; }
.hx-news .hx-newslist li { border-bottom-color: #CFE0F4; }
.hx-news .hx-newslist a:hover, .hx-news .hx-newslist a:focus-visible { background: #fff; }
.hx-news .hx-newslist .tag { background: #fff; }
.hx-all { background: #F5F5F7; }

/* 05 料金：灰色一色をやめて、上は白、真ん中に水色のやわらかい光、下は淡い青へ */
#plans { background: radial-gradient(55% 38% at 50% 46%, rgba(125,211,252,.30) 0%, rgba(125,211,252,0) 72%), linear-gradient(180deg, #FFFFFF 0%, #F2F8FE 55%, #E9F3FD 100%); }
#plans .hx-trial { box-shadow: 0 10px 30px rgba(15,76,154,.08); }
#plans .hx-plan { box-shadow: 0 14px 36px rgba(15,76,154,.08); }
.hx-all { background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F7 55%, #ECEDF1 100%); }
.hx-all { background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFB 55%, #F4F5F7 100%); }

/* お支払い方法のカード：背景が淡い青になったので、輪郭と影でくっきり。上のロゴ部分は白地にして、境目を線で区切る */
#plans .pay-card { background: #fff; border: 1.5px solid #C9DAF0; box-shadow: 0 14px 34px rgba(15,76,154,.12); overflow: hidden; }
#plans .hx-pay .pl { background: #fff; border-bottom: 1.5px solid #DCE6F4; }
#plans .pay-paypay .pl { background: #FFF4F6; }
#plans .pay-bank .pl { background: #fff; }

/* お知らせ：青い地の上に、白い枠でひとまとめ */
.hx-news .hx-newslist { margin-top: 32px; padding: 8px 28px; background: #fff; border: 1px solid #CFE0F4; border-radius: 26px; box-shadow: 0 14px 34px rgba(15,76,154,.10); }
.hx-news .hx-newslist li:last-child { border-bottom: 0; }
.hx-news .hx-newslist a { padding: 20px 6px; }
.hx-news .hx-newslist a:hover, .hx-news .hx-newslist a:focus-visible { background: #F3F7FD; border-radius: 14px; padding-left: 14px; }
.hx-news .hx-newslist .tag { background: #E6F1FC; }
.hx-news .hx-newsmore a { background: #fff; }
@media (max-width: 700px) { .hx-news .hx-newslist { padding: 4px 16px; border-radius: 20px; } }
/* ご利用にあたっての注記：上と下の余白をそろえる */
.hx-notes { padding-top: 56px; padding-bottom: 64px; }
@media (max-width: 700px) { .hx-notes { padding-top: 44px; padding-bottom: 52px; } }

/* 導入サポートへの導線：売り込まない。小さめの文字＋リンクだけ */
.hx-steps-sup { margin: 10px auto 0; max-width: 40em; font-size: calc(15.5px * var(--t)); line-height: 1.7; color: var(--ink-2); text-align: center; }
.hx-steps-sup a { color: #0369A1; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hx-q p a { color: #0369A1; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* 導入サポートの一文：少しだけ目に入る白いカード（登録ボタンよりは控えめ） */
.hx-steps-sup { display: flex; align-items: center; gap: 14px; margin: 22px auto 0; max-width: 760px; padding: 14px 16px 14px 18px; background: #fff; border: 1.5px solid #C9DBF3; border-radius: 20px; box-shadow: 0 10px 26px rgba(15,76,154,.08); font-size: calc(17px * var(--t)); line-height: 1.6; color: var(--ink); text-align: left; }
.hx-steps-sup .ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: #E6F1FC; color: var(--accent); }
.hx-steps-sup .ic svg { width: 26px; height: 26px; }
.hx-steps-sup .tx { flex: 1 1 auto; }
.hx-steps-sup .lk { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--accent); border-radius: 980px; color: var(--accent); font-weight: 800; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.hx-steps-sup .lk:hover, .hx-steps-sup .lk:focus-visible { background: var(--accent); color: #fff; }
@media (max-width: 700px) { .hx-steps-sup { flex-wrap: wrap; justify-content: center; text-align: center; padding: 16px; } .hx-steps-sup .tx { flex-basis: 100%; } .hx-steps-sup .ic { display: none; } }
.hx-steps-cta a, .hx-steps-cta a:hover { text-decoration: none; }
.hx-steps-sup .tx strong { display: block; margin-bottom: 2px; font-size: calc(21px * var(--t)); font-weight: 800; color: #0F3D78; letter-spacing: .01em; }
.hx-steps-sup .tx { font-size: calc(16.5px * var(--t)); color: var(--ink-2); }
@media (max-width: 700px) { .hx-steps-sup .tx strong { font-size: calc(20px * var(--t)); } }
.hx-steps-sup { max-width: 860px; gap: 22px; padding: 14px 20px 14px 14px; }
.hx-steps-sup .pic { flex: none; width: 150px; height: auto; display: block; }
@media (max-width: 700px) { .hx-steps-sup .pic { display: block; width: 150px; margin: 0 auto; flex-basis: 100%; } }
.hx-steps-sup { max-width: 920px; }
.hx-steps-sup .pic { width: 210px; }
@media (max-width: 700px) { .hx-steps-sup .pic { width: min(260px, 80%); } }
/* はじめかた：カード間の黄色い矢印が、次のカードの下に隠れないように（スクロール表示で各カードが別の層になったため） */
.hx-steps > li:nth-child(1) { z-index: 3; }
.hx-steps > li:nth-child(2) { z-index: 2; }
.hx-steps > li:nth-child(3) { z-index: 1; }
.hx-steps-sup .pic { width: 250px; }
.hx-steps-sup .tx small { display: block; margin-top: 6px; font-size: calc(14.5px * var(--t)); color: #5A6372; }
@media (max-width: 700px) { .hx-steps-sup .pic { width: min(300px, 86%); } }
/* 「導入サポート」という名前を、はっきり見せる */
.hx-steps-sup .tx .nm { display: inline-block; margin-bottom: 6px; padding: 3px 14px; border-radius: 980px; background: var(--accent); color: #fff; font-size: calc(15px * var(--t)); font-weight: 800; letter-spacing: .04em; }
/* 「無料で始める」を、導入サポートのカードの上に */
.hx-steps-cta { margin-bottom: 0; }
.hx-steps-sup { margin-top: 40px; }
/* お問い合わせ（旧LPのフォームを、新トップの見た目で） */
.hx-contact { background: #fff; padding-bottom: 96px; }
.hx-contact .sec-lead { margin-bottom: 36px; }
.hx-contact .sec-lead a { color: var(--accent); font-weight: 700; }
.hx-cbox { max-width: 760px; margin: 0 auto; padding: 36px 36px 32px; background: #F5F9FE; border: 1.5px solid #D5E4F6; border-radius: 28px; box-shadow: 0 18px 44px rgba(15,76,154,.08); text-align: left; }
.hx-cf { margin-bottom: 22px; }
.hx-cf label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: calc(17px * var(--t)); font-weight: 800; color: #0F3D78; }
.hx-cf i { font-style: normal; font-size: calc(12.5px * var(--t)); font-weight: 800; padding: 2px 9px; border-radius: 980px; }
.hx-cf i.rq { background: var(--accent); color: #fff; }
.hx-cf i.op { background: #E2E8F0; color: #475467; }
.hx-cf input[type=text], .hx-cf input[type=email], .hx-cf select, .hx-cf textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: calc(18px * var(--t)); color: var(--ink); background: #fff; border: 1.5px solid #B9CDE6; border-radius: 14px; box-sizing: border-box; }
.hx-cf textarea { resize: vertical; line-height: 1.6; }
.hx-cf input::placeholder { color: #9AA5B5; }
.hx-cf input:focus, .hx-cf select:focus, .hx-cf textarea:focus { outline: 3px solid rgba(0,113,227,.28); border-color: var(--accent); }
.hx-cf [aria-invalid="true"] { border-color: #C0392B; background: #FFF8F7; }
.hx-cf small { display: block; margin-top: 6px; font-size: calc(14.5px * var(--t)); color: #5A6372; }
.hx-crow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.cerr { margin-top: 6px; font-size: calc(15px * var(--t)); font-weight: 700; color: #B42318; }
.cerr:empty { display: none; }
.hx-cpol label { font-weight: 500; font-size: calc(16px * var(--t)); color: var(--ink); align-items: flex-start; }
.hx-cpol input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.hx-cpol a { color: var(--accent); font-weight: 700; }
.hx-cpol i { margin-left: 8px; }
.cformerr { margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; background: #FDECEA; color: #B42318; font-weight: 700; }
.hx-cact { text-align: center; margin-top: 8px; }
.hx-cact .btn { min-width: 280px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: calc(19px * var(--t)); }
.hx-cact .btn:disabled { opacity: .6; cursor: wait; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hx-cok { text-align: center; padding: 20px 0; }
.hx-cok h3 { font-size: calc(26px * var(--t)); color: #0F3D78; margin-bottom: 12px; }
.hx-cok p { font-size: calc(18px * var(--t)); color: var(--ink-2); }
@media (max-width: 700px) { .hx-cbox { padding: 24px 18px 22px; border-radius: 22px; } .hx-crow { grid-template-columns: 1fr; } .hx-cact .btn { min-width: 0; width: 100%; } }
.hx-steps-note a, .hx-price-note a, .hx-faq a[href="#contact"] { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
