@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Noto+Sans+JP:wght@400;600;700;800;900&display=swap');

:root{
  --bg0:#f6f6f6;
  --bg1:#ffffff;
  --card:#ffffff;
  --line: rgba(15,23,42,.12);
  --text:#111827;
  --muted:#475569;
  --muted2:#64748b;

  /* ===== TENG (Affiliate) ===== */
  --brand:#8f1d1d;   /* 天狗赤 */
  --brand2:#c7a24a;  /* 金 */

  --shadow: 0 12px 34px rgba(2,6,23,.10);
  --shadow2: 0 8px 18px rgba(2,6,23,.07);

  --radius:18px;
  --max:1120px;

  /* 背景用（統一） */
  --glow1: rgba(143,29,29,.12);
  --glow2: rgba(199,162,74,.10);

  /* ボタン用 */
  --primary1:#7a1616;
  --primary2:#b83232;

  /* アクセント線（ヘッダー等） */
  --line-accent: rgba(143,29,29,.15);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body.corp{
  margin:0;
  font-family:"Inter","Noto Sans JP",system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--text);
  background: var(--bg0);
  overflow-x:hidden;
  position: relative;
}

body.corp::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 15% 0%, var(--glow1), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, var(--glow2), transparent 60%),
    linear-gradient(180deg, #f6f6f6 0%, #ffffff 35%, #f1f1f1 100%);
  transform: translateZ(0);
  will-change: transform;
}

body.corp::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events:none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(15,23,42,.012),
      rgba(15,23,42,.012) 1px,
      transparent 1px,
      transparent 3px
    );
  opacity: .10;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0; line-height:1.9; color:var(--muted); }
h1,h2,h3{ margin:0; line-height:1.25; letter-spacing:.01em; }
ul{ margin:0; padding-left: 18px; }
.inner{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 999px;
  font-weight: 800;
  font-size:14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow2);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: #f8fafc;
  border-color: #d1d5db;
  box-shadow: var(--shadow);
}
.btn-lg{ padding: 14px 18px; font-size: 15px; }

.btn-primary{
  background: linear-gradient(135deg, var(--primary1), var(--primary2));
  color:#ffffff;
  border:none;
}
.btn-primary:hover{
  filter: brightness(1.05);
  background: linear-gradient(135deg, #6e1414, #c13a3a);
}

.btn-secondary{
  background: linear-gradient(135deg, #b8923e, #e2c46d);
  color:#1f2937;
  border:none;
}
.btn-secondary:hover{
  filter: brightness(1.03);
  background: linear-gradient(135deg, #ab8738, #e8cd7d);
}

.btn-ghost{
  background: rgba(255,255,255,.70);
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-accent);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand-link{
  display:flex;
  align-items:center;
  gap:12px;
  color:#0f172a;
  min-width: 220px;
}

.brand-logo{
  height: 34px;
  width: auto;
  display:block;
  max-height: 36px !important;
}

.brand-text{
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1;
  color:#0f172a;
}

.header-nav{
  display:flex;
  gap:14px;
  align-items:center;
}

.nav-link{
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .18s ease, color .18s ease;
}
.nav-link:hover{
  background: rgba(15,23,42,.06);
  color: var(--text);
}

.header-cta{
  display:flex;
  align-items:center;
  gap:12px;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.site-header .btn{
  font-family: inherit;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow2);
  color:#0f172a;
}

.site-header .btn-primary{
  border:none;
  color:#fff;
  background: linear-gradient(135deg, #22b8c7, #3bc9db);
}

.hero{
  position:relative;
  padding: 72px 0 46px;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items:center;
}
.hero-glow{
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 480px at 18% 10%, rgba(34,184,199,.10), transparent 60%),
    radial-gradient(700px 420px at 78% 20%, rgba(99,102,241,.08), transparent 62%);
  pointer-events:none;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34,184,199,.10);
  border: 1px solid rgba(34,184,199,.18);
  color: #0f172a;
  font-weight: 900;
  font-size: 12px;
}
.hero-title{
  margin-top: 14px;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 900;
  color:#0f172a;
}
.hero-lead{
  margin-top: 14px;
  color:#475569;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
}
.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 18px;
}
.badge{
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(99,102,241,.10);
  border: 1px solid rgba(99,102,241,.18);
}

.hero-visual{
  border-radius: calc(var(--radius) + 8px);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
  position:relative;
}
.illus{ width: 100%; height:auto; }
.illus.sm{
  height: 160px;
  object-fit: contain;
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.section{
  padding: 72px 0;
  background: var(--bg1);
}
.section.alt{
  position: relative;
  background: #f1f5f9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section.alt::before,
.section.alt::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height: 1px;
  pointer-events:none;
  opacity: .55;
}
.section.alt::before{
  top:-1px;
  background: linear-gradient(90deg, transparent, rgba(34,184,199,.20), rgba(99,102,241,.16), transparent);
}
.section.alt::after{
  bottom:-1px;
  background: linear-gradient(90deg, transparent, rgba(34,184,199,.16), rgba(99,102,241,.20), transparent);
}

.section-head{ margin-bottom: 18px; }
.section-title{
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
  color:#0f172a;
}
.section-sub{
  margin-top: 8px;
  color:#475569;
}

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card{
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  padding: 22px 18px;
}
.card-title{
  font-size: 18px;
  font-weight: 900;
  color:#0f172a;
  margin-top: 6px;
}
.card-text{ margin-top: 10px; color:#475569; }
.card-wide{ padding: 26px 22px; }
.visual-card{ display:flex; flex-direction:column; gap: 12px; }
.caption{ font-size: 12px; color: var(--muted2); }

.mini-points{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px; }
.mini-point{
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(34,184,199,.10);
  border: 1px solid rgba(34,184,199,.18);
  color:#0f172a;
}

.security{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:center;
}
.security-visual{
  border-radius: calc(var(--radius) + 8px);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
}
.checklist{
  margin-top: 14px;
  padding-left: 18px;
  color: #475569;
}
.checklist li{ margin: 8px 0; }
.note{
  margin-top: 12px;
  color:#0f172a;
  font-weight: 900;
}

.faq{ display:flex; flex-direction:column; gap: 10px; }
.faq-item{
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.faq-q{
  width:100%;
  text-align:left;
  padding: 16px 16px;
  border: none;
  background: #ffffff;
  color:#0f172a;
  font-weight: 900;
  font-size: 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  cursor:pointer;
}
.faq-icon{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-weight: 900;
  color:#0f172a;
}
.faq-a{
  display:none;
  padding: 0 16px 16px;
  color:#475569;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.faq-item.is-open .faq-a{ display:block; }

.faq-item.is-open{
  border-color: rgba(99,102,241,.28);
  background: #ffffff;
}

.cta{
  padding: 64px 0;
  background: transparent;
}
.cta-inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cta-card{
  border-radius: calc(var(--radius) + 8px);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items:center;
  overflow:hidden;
}
.cta-title{
  font-size: 22px;
  font-weight: 900;
  color:#0f172a;
}
.cta-text{ margin-top: 10px; color:#475569; }
.cta-illus{
  height: 220px;
  object-fit: contain;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.site-footer{
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 28px 0 34px;
}
.footer-inner{ display:flex; flex-direction:column; gap: 10px; }
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
}
.footer-links a{
  color: #475569;
  font-weight: 800;
  font-size: 13px;
}
.footer-links a:hover{ color: #111827; }
.footer-note{ color:#0f172a; font-weight: 900; }
.copyright{ color: var(--muted2); font-size: 12px; }

@media (max-width: 980px){
  .header-nav{ display:none; }
  .hero-inner{ grid-template-columns: 1fr; }
  .security{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .cta-inner{ grid-template-columns: 1fr; }
  .cta-card{ grid-template-columns: 1fr; }
  .cta-illus{ height: 180px; }
}

@media (max-width: 700px){
  .brand-text{ display:none; }
  .header-cta{
    flex-wrap: wrap;
    justify-content: flex-end;
    gap:10px;
  }
}

@media (max-width: 520px){
  .inner{ width: min(var(--max), calc(100% - 28px)); }
  .btn-lg{ width: 100%; }
  .hero-actions{ gap: 10px; }
  .header-inner{
    gap: 10px;
    padding: 12px 0;
  }
  .brand-logo{ height: 34px; }
  .header-cta{ flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  .header-cta .btn{ padding: 10px 12px; font-size: 13px; }
}

@media (max-width: 780px){
  .header-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .header-cta{
    width: 100%;
    justify-content: flex-start;
  }
  .header-cta .btn{
    padding: 12px 14px;
    line-height: 1.2;
  }
}

@media (max-width: 820px){
  .brand-link{ min-width: auto; }
}

.company-dl{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.company-dl > div{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: center;
}

.company-dl dt{
  font-weight: 900;
  color: #0f172a;
}

.company-dl dd{
  color: #475569;
  margin: 0;
  word-break: normal;
  overflow-wrap: normal;
}

.company-dl a{
  color: var(--brand);
  font-weight: 800;
}

.company-dl a:hover{
  text-decoration: underline;
}

.company-dl .company-name{
  white-space: nowrap;
}

.company-dl .break-any{
  color: var(--brand);
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.company-dl .break-any:hover{
  text-decoration: underline;
}

@media (max-width: 520px){
  .company-dl > div{
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .company-dl .company-name{
    white-space: normal;
  }
}
html{ scrollbar-gutter: stable; }

