:root{
  --bg:#f8f4eb;
  --paper:#fffdf8;
  --ink:#17231f;
  --muted:#66736d;
  --line:#e7dfd0;
  --green:#123f35;
  --green-2:#0f5c4c;
  --gold:#b18a38;
  --soft:#efe7d7;
  --shadow:0 20px 60px rgba(18,63,53,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;
  line-height:1.8;
  letter-spacing:.02em;
}
a{color:inherit;text-decoration:none}
.site-top{
  width:min(1080px,calc(100% - 32px));
  margin:18px auto 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 16px;
  border:1px solid rgba(18,63,53,.08);
  border-radius:999px;
  background:rgba(255,253,248,.82);
  backdrop-filter:blur(14px);
  position:sticky;
  top:12px;
  z-index:20;
  box-shadow:0 10px 30px rgba(18,63,53,.05);
}
.brand{display:flex;align-items:center;gap:10px;font-weight:800}
.brand-mark{
  width:32px;height:32px;border-radius:50%;
  background:var(--green);color:#fff;
  display:grid;place-items:center;
  font-weight:900;
}
.nav{display:flex;gap:18px;font-size:14px;color:var(--muted)}
.nav a:hover{color:var(--green)}
.hero{
  width:min(960px,calc(100% - 36px));
  margin:72px auto 52px;
  text-align:center;
  padding:50px 20px;
}
.eyebrow{
  margin:0 0 12px;
  color:var(--gold);
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
}
h1,h2,h3,p{margin-top:0}
h1{
  font-size:clamp(42px,8vw,80px);
  line-height:1.05;
  letter-spacing:-.06em;
  margin-bottom:20px;
}
.lead{
  font-size:clamp(17px,2.8vw,22px);
  color:var(--muted);
  max-width:620px;
  margin:0 auto 30px;
}
.primary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 24px;
  border-radius:999px;
  background:var(--green);
  color:white;
  font-weight:800;
  box-shadow:0 16px 36px rgba(18,63,53,.18);
}
.primary-btn:hover{transform:translateY(-1px)}
.section{
  width:min(1080px,calc(100% - 36px));
  margin:0 auto 72px;
}
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.section-head h2{
  font-size:clamp(26px,4vw,42px);
  line-height:1.15;
  letter-spacing:-.04em;
  margin-bottom:0;
}
.section-head p:last-child{color:var(--muted);margin:0}
.deal-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.deal-grid.three-only{grid-template-columns:repeat(3,1fr)}
.deal-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:30px;
  padding:24px;
  min-height:330px;
  display:flex;
  flex-direction:column;
  box-shadow:var(--shadow);
  transition:transform .18s ease, border-color .18s ease;
}
.deal-card:hover{transform:translateY(-3px);border-color:rgba(17,63,53,.22)}
.deal-badge{
  align-self:flex-start;
  color:var(--green);
  background:#edf5ef;
  border:1px solid #d7eadf;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  margin-bottom:18px;
}
.deal-card h3{
  font-size:24px;
  line-height:1.2;
  margin-bottom:22px;
}
.amount-label{
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  margin-bottom:4px;
}
.amount{
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.04em;
  font-weight:900;
  color:var(--green);
  margin-bottom:4px;
}
.muted{color:var(--muted);font-size:13px;margin-bottom:18px}
.mini-spec{display:grid;gap:8px;margin:4px 0 24px}
.mini-spec div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid var(--line);
  padding-top:8px;
  font-size:13px;
}
.mini-spec dt{color:var(--muted)}
.mini-spec dd{margin:0;font-weight:700;text-align:right}
.card-action{
  margin-top:auto;
  display:inline-flex;
  color:var(--green);
  font-weight:900;
}
.note{
  max-width:760px;
  margin:22px auto 0;
  color:var(--muted);
  text-align:center;
  font-size:13px;
}
.detail-hero{margin-bottom:30px}
.hero-amount{
  width:min(420px,100%);
  margin:0 auto 24px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:28px;
  background:var(--paper);
  box-shadow:var(--shadow);
  display:grid;
  gap:4px;
}
.hero-amount span{color:var(--muted);font-size:13px;font-weight:800}
.hero-amount strong{font-size:34px;line-height:1.1;color:var(--green)}
.hero-amount small{color:var(--muted)}
.two-col{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:28px;
  align-items:start;
}
.section-head.compact{
  display:block;
  position:sticky;
  top:108px;
}
.section-head.compact h2{margin-bottom:8px}
.check-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}
.check-list li{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:26px;
  padding:20px;
  display:flex;
  gap:16px;
  align-items:flex-start;
  box-shadow:var(--shadow);
}
.check-num{
  flex:0 0 36px;
  width:36px;height:36px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  display:grid;place-items:center;
  font-weight:900;
}
.check-list strong{display:block;font-size:18px;margin-bottom:3px}
.check-list p{margin:0;color:var(--muted)}
.code-panel{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:30px;
  padding:24px;
  box-shadow:var(--shadow);
}
.copy-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.copy-chip{
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  border-radius:20px;
  padding:14px 16px;
  min-width:160px;
  display:grid;
  gap:2px;
  text-align:left;
  cursor:pointer;
  font:inherit;
}
.copy-chip span{font-size:22px;font-weight:900;letter-spacing:.02em}
.copy-chip small{color:var(--muted);font-weight:800}
.copy-chip.copied{border-color:var(--green);background:#edf5ef}
.action-row{margin-top:8px}
.simple-info{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.simple-info>div{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:30px;
  padding:28px;
  box-shadow:var(--shadow);
}
.simple-info h2{font-size:28px;line-height:1.2;margin-bottom:10px}
.simple-info p:last-child{color:var(--muted);margin-bottom:0}
.site-footer{
  width:min(1080px,calc(100% - 36px));
  margin:30px auto 42px;
  padding:28px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
}
.site-footer strong{color:var(--ink)}
.site-footer p{margin:4px 0 0}
.site-footer nav{display:flex;gap:16px;flex-wrap:wrap}
@media(max-width:880px){
  .site-top{border-radius:24px;align-items:flex-start}
  .nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}
  .hero{margin-top:44px;padding:34px 6px}
  .section-head{display:block}
  .deal-grid,.deal-grid.three-only{grid-template-columns:1fr}
  .deal-card{min-height:auto}
  .two-col{grid-template-columns:1fr}
  .section-head.compact{position:static}
  .simple-info{grid-template-columns:1fr}
  .site-footer{display:block}
  .site-footer nav{margin-top:18px}
}
@media(max-width:520px){
  .site-top{width:calc(100% - 20px);margin-top:10px;padding:12px}
  .brand span:last-child{font-size:14px}
  .nav{font-size:12px}
  .section{width:calc(100% - 24px);margin-bottom:56px}
  .hero{width:calc(100% - 24px)}
  h1{font-size:46px}
  .amount{font-size:26px}
  .copy-chip{width:100%}
}


/* v30 referral link first */
.link-panel{display:grid;gap:16px;align-content:start}
.wide-btn{width:100%;min-height:58px;font-size:16px}
.left-note{text-align:left;margin:0;color:var(--muted)}
.detail-hero .primary-btn{min-width:180px}
@media(max-width:520px){.wide-btn{width:100%}}


/* v34: Trima detail page CSS repair. Scoped safety styles for /point-site/trima/. */
body { margin: 0; }
.site-top, .site-footer, .hero, .section { box-sizing: border-box; }
.detail-hero .hero-amount strong { word-break: keep-all; }
.code-panel.link-panel { display: grid; gap: 14px; align-content: start; }
.primary-btn.wide-btn { width: 100%; justify-content: center; text-align: center; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.check-num { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; background: rgba(191, 154, 74, .16); color: #243a2f; }
.simple-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.simple-info > div { border: 1px solid rgba(35,58,46,.12); border-radius: 24px; padding: 22px; background: rgba(255,255,255,.72); }
@media (max-width: 760px) {
  .simple-info { grid-template-columns: 1fr; }
  .hero.detail-hero { padding-top: 56px; padding-bottom: 36px; }
}
