/* あんざいWeb：緑の面（トップ・サービス・各サービス・アプリ紹介）。
   見た目は公開中の anzaiweb.com に合わせて、数値を測って一から書いた（2026-11-25）。 */
:root {
  --ink: #1f2a27; --sub: #4b5955; --muted: #7a8783;
  --green: #2e6b5e; --green-d: #21524a; --leaf: #e7efea;
  --bg: #f5f6f3; --paper: #fff; --line: #d6dfd9; --mark: #f3dd8c;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.8 'Noto Sans JP', system-ui, sans-serif; font-feature-settings: "palt";
}
a { color: var(--green); }
img { display: block; max-width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }
.box { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.blk { padding: 64px 0; }

/* 上の帯 */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(245, 246, 243, .94); border-bottom: 1px solid var(--line); }
.bar > .box { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 18px; font-weight: 800; text-decoration: none; }
.brand-mk { width: 30px; height: 30px; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.menu a:hover { color: var(--green); }

/* ボタン（丸い札） */
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .2s;
}
.pill:hover { background: var(--green-d); transform: translateY(-1px); }
.pill.line { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.pill.line:hover { background: var(--leaf); }
.pill.duo { flex-direction: column; gap: 2px; min-height: 58px; padding: 8px 24px; line-height: 1.3; }
.pill.duo small { display: block; font-size: 12px; font-weight: 500; opacity: .9; }
@media (max-width: 820px) {
  .menu { display: none; }
  .bar .pill { margin-left: auto; padding: 0 16px; font-size: 15px; }
}

/* 見出しと前書き */
.h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.4; }
.intro { max-width: 40em; margin: 0 0 32px; color: var(--sub); }
.small-note { margin-top: 18px; color: var(--sub); font-size: 13px; line-height: 1.7; }

/* 1画面目 */
.first { padding: 40px 0 28px; }
.first > .box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; align-items: center; }
.first h1 { margin: 0 0 18px; font-family: 'Zen Old Mincho', serif; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.3; letter-spacing: .02em; }
.first-lead { max-width: 34em; margin: 0 0 28px; color: var(--sub); font-size: clamp(17px, 1.9vw, 19px); }
@media (max-width: 900px) { .first > .box { grid-template-columns: 1fr; gap: 26px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 4px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: opacity .2s, transform .15s;
}
.chip:hover { opacity: .9; }
.chip:active { transform: scale(.96); }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--sub); font-size: 14px; font-weight: 700; }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks .ic { width: 16px; height: 16px; color: var(--green); }

/* ひと月の比べ（相場は取り消し線を引かない＝わざと変えた所） */
.calc {
  padding: 18px 18px 20px; border-top: 4px solid var(--green); border-radius: 10px; background: var(--paper);
  box-shadow: 0 24px 48px -28px rgba(31, 42, 39, .5); font-variant-numeric: tabular-nums;
}
.calc.flash { animation: calc-flash 1s ease; }
@keyframes calc-flash { from { box-shadow: 0 0 0 0 rgba(243, 221, 140, 1); } to { box-shadow: 0 0 0 14px rgba(243, 221, 140, 0); } }
.calc-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 8px; font-size: 15px; }
.calc-h span { color: var(--sub); font-size: 13px; text-align: right; }
.calc-hd, .calc-r { display: grid; grid-template-columns: minmax(0, 1fr) 4.6em 4.8em; gap: 4px 8px; align-items: center; }
.calc-hd { padding: 0 0 4px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
.calc-hd span + span { text-align: right; }
.calc-r { min-height: 44px; padding: 2px 0; border-bottom: 1px dashed var(--line); }
.calc-y, .calc-a { font-size: 14px; text-align: right; white-space: nowrap; }
.calc-y { color: var(--muted); }
.calc-a { font-weight: 800; }
.calc-r.off .calc-y, .calc-r.off .calc-a, .calc-r.off .calc-nm { opacity: .3; }
.calc-nw { display: flex; align-items: center; gap: 6px; min-width: 0; }
.calc-ck { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 40px; cursor: pointer; }
.calc-ck input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.calc-nm { font-size: 14px; font-weight: 700; line-height: 1.35; }
.calc-more { margin: -10px 0; padding: 10px 4px; color: var(--green); font-size: 12px; font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.calc-st { grid-column: 1; display: inline-flex; align-items: center; gap: 2px; margin: -4px 0 4px 28px; }
.calc-st + .calc-y { grid-row: 1; grid-column: 2; }
.calc-st ~ .calc-a { grid-row: 1; grid-column: 3; }
.calc-st button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--leaf); color: var(--green-d); font-size: 17px; font-weight: 800; line-height: 1; cursor: pointer; }
.calc-st input { width: 3.4em; height: 32px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 16px; font-weight: 700; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.calc-st input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-st i { margin: 0 4px 0 2px; color: var(--sub); font-size: 13px; font-style: normal; }
.calc-r.disc .calc-nm { color: var(--green); font-size: 13px; line-height: 1.8; }
.calc-r.disc .calc-a { color: var(--green); }
.calc-sum { margin-top: 10px; }
.calc-sum > div { display: flex; justify-content: space-between; align-items: baseline; }
.calc-them { color: var(--muted); font-size: 14px; }
.calc-them b { font-size: 17px; font-weight: 700; }
.calc-us { font-weight: 700; }
.calc-us b { color: var(--green); font-size: 34px; }
.calc-gap { margin: 6px 0 0; padding: 5px 10px; border-radius: 999px; background: var(--mark); font-weight: 800; text-align: center; }
.calc small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.calc-more:focus-visible, .calc-st button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
@media (max-width: 520px) {
  .calc-nw { flex-direction: column; align-items: flex-start; gap: 0; }
  .calc-more { margin: -12px 0 -4px 24px; padding: 8px 4px; }
}

/* 業種の帯 */
.trades { padding: 28px 0 8px; }
.h2s { margin: 0 0 6px; font-size: clamp(20px, 2.6vw, 26px); }
.trades .intro { margin-bottom: 16px; }
.belt { position: relative; }
.belt-v {
  overflow-x: auto; scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.belt-v::-webkit-scrollbar { display: none; }
.belt-v.drag { cursor: grabbing; }
.belt-v.drag .trade { pointer-events: none; }
.belt-t { display: flex; gap: 12px; width: max-content; padding: 6px 0 14px; }
.belt-b {
  position: absolute; top: calc(50% - 26px); z-index: 2; display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(31, 42, 39, .45);
}
.belt-b.l { left: 12px; }
.belt-b.r { right: 12px; }
.belt-b:hover { background: var(--leaf); }
@media (hover: hover) { .belt-b { display: grid; place-items: center; } }
.trade {
  flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 200px; min-height: 120px; overflow: hidden;
  padding: 0; border: 0; border-radius: 14px; background: var(--paper); box-shadow: 0 8px 20px -14px rgba(31, 42, 39, .5);
  color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.trade:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -14px rgba(31, 42, 39, .55); }
.trade img { width: 100%; height: 130px; object-fit: cover; transition: transform .5s; }
.trade:hover img { transform: scale(1.06); }
.trade-b { position: relative; display: flex; flex-direction: column; gap: 4px; margin-top: -22px; padding: 0 14px 14px; }
.trade-b .ic { box-sizing: content-box; width: 26px; height: 26px; padding: 9px; border-radius: 12px; background: var(--ic); color: #fff; box-shadow: 0 0 0 3px #fff; }
.trade-b b { font-size: 16px; }
.trade-b > span { color: var(--ic); font-size: 12px; font-weight: 700; }
.trade:focus-visible, .belt-b:focus-visible { outline: 3px solid var(--mark); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .belt-v { -webkit-mask-image: none; mask-image: none; } }

/* サービスの並び */
.lineup { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.lu { display: flex; align-items: center; gap: 12px; padding-right: 8px; border-bottom: 1px solid var(--line); }
.lu.open { border-left: 4px solid var(--green); background: var(--paper); }
.lu-row { flex: 1; min-width: 0; display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 4px 18px; align-items: center; padding: 18px 8px; color: var(--ink); text-decoration: none; transition: background .2s; }
.lu-row:hover { background: var(--paper); }
.lu.open .lu-row:hover { background: var(--leaf); }
.lu-k { color: var(--sub); font-size: 13px; font-weight: 700; white-space: nowrap; }
.lu-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.lu-t small { color: var(--sub); font-size: 13px; font-weight: 500; }
.lu-n { font-size: 21px; font-weight: 800; line-height: 1.4; }
.lu-o { grid-column: 2; color: var(--sub); font-size: 15px; line-height: 1.7; }
.lu-p { grid-column: 2; color: var(--green); font-size: 14px; font-weight: 700; }
.lu-go { flex: none; display: flex; gap: 8px; }
.lu-btn {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  color: var(--green); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 1.5px var(--green);
}
.lu-btn.main { background: var(--green); color: #fff; box-shadow: none; }
.lu-btn.sub { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.lu-btn.sub:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.lu-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
@media (max-width: 640px) {
  .lu { flex-wrap: wrap; padding: 0 4px 14px; }
  .lu-row { flex: 1 1 100%; grid-template-columns: minmax(0, 1fr) 16px; padding: 16px 0 8px; }
  .lu-k, .lu-t, .lu-o, .lu-p { grid-column: 1; }
  .lu-go { flex: 1 1 100%; }
  .lu-btn { flex: 1; justify-content: center; }
}
.svc-top { padding-top: 40px; }

.how summary { display: flex; align-items: center; min-height: 44px; color: var(--sub); font-weight: 700; cursor: pointer; }

/* やらないこと */
.nots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nots > div { padding-top: 14px; border-top: 2px solid var(--ink); }
.nots h3 { margin: 0 0 6px; font-size: 18px; }
.nots p { margin: 0; color: var(--sub); font-size: 15px; }
@media (max-width: 820px) { .nots { grid-template-columns: 1fr; gap: 20px; } }

/* 締めの帯 */
.close { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 40px 32px; border-radius: 18px; background: var(--green); color: #fff; }
.close h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); line-height: 1.5; }
.close .pill { background: #fff; color: var(--green); }
.close .pill:hover { background: var(--mark); }

/* 下の帯・スマホの固定ボタン */
.foot { padding: 40px 0 100px; color: var(--sub); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.foot a { color: var(--sub); }
.fix { display: none; }
@media (max-width: 820px) {
  .fix { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; gap: 8px; }
  .fix .pill { flex: 1; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }
  .fix .pill.line { background: #fff; }
}

/* スクロールで出る */
.up { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .up { opacity: 1; transform: none; transition: none; }
  .pill { transition: none; }
  html { scroll-behavior: auto; }
}
