@charset "UTF-8";

/* ふそうのAI青色申告 27 製品ページ専用スタイル（css/style.css を土台に、製品色の青・琥珀へ差し替え）
   製品色はパッケージデザインに合わせる：青 #2f6fb0 ／ 琥珀 #f2a900 */

body.aoiro {
  --accent: #2f6fb0;
  --accent-dark: #245a93;
  --aoiro-deep: #123a66;
  --aoiro-night: #0c2a4c;
  --amber: #f2a900;
  --amber-dark: #b97f00;
  --aoiro-tint: #eaf1f9;
}

/* ブランドロゴ・商品名内の「AI」表示色（パッケージデザインに合わせ琥珀色に統一） */
body.aoiro .brand .ai,
body.aoiro .aoiro-hero h1 .ai,
body.aoiro .plan-card h3 .ai {
  color: var(--amber);
}

body.aoiro .btn-primary {
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(47, 111, 176, 0.38);
}
body.aoiro .btn-primary:hover { box-shadow: 0 14px 30px rgba(47, 111, 176, 0.5); }
body.aoiro .nav-cta { box-shadow: 0 6px 16px rgba(47, 111, 176, 0.35); }
body.aoiro .nav-cta:hover { box-shadow: 0 8px 20px rgba(47, 111, 176, 0.45); }
body.aoiro .btn-amber {
  background: var(--amber);
  color: #3a2a00;
  box-shadow: 0 10px 24px rgba(242, 169, 0, 0.35);
}
body.aoiro .btn-amber:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(242, 169, 0, 0.5); }
body.aoiro .btn[disabled],
body.aoiro .btn.is-disabled {
  background: #c5cdd6;
  color: #fff;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}
body.aoiro .section-alt { background: var(--aoiro-tint); }
body.aoiro .cta-band { background: linear-gradient(120deg, var(--aoiro-deep), var(--aoiro-night)); }
body.aoiro .cta-band::after { background: radial-gradient(circle, rgba(242, 169, 0, 0.3), transparent 70%); }
body.aoiro .page-hero { background: linear-gradient(120deg, var(--aoiro-deep), var(--aoiro-night)); }
body.aoiro .site-footer { background: var(--aoiro-night); }

/* ---------- Product hero ---------- */
.aoiro-hero {
  position: relative;
  background: linear-gradient(120deg, var(--aoiro-deep) 0%, var(--aoiro-night) 100%);
  color: #fff;
  overflow: hidden;
  padding: 84px 0 92px;
}

.aoiro-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 176, 0.55), transparent 70%);
  pointer-events: none;
}

.aoiro-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}

.aoiro-hero .hero-tag {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  border: 1px solid rgba(242, 169, 0, 0.55);
  background: rgba(242, 169, 0, 0.1);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.aoiro-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.45;
  font-weight: 800;
  margin: 0 0 20px;
}

.aoiro-hero h1 .ai { color: var(--amber); }

.aoiro-hero .lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 26px;
  max-width: 600px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-badges span {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.hero-badges span.is-amber {
  background: rgba(242, 169, 0, 0.18);
  border-color: rgba(242, 169, 0, 0.7);
  color: #ffd66b;
}

.aoiro-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-package { position: relative; text-align: center; }
.hero-package picture { display: block; }
.hero-package img {
  width: min(100%, 400px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.45));
}
.hero-package .pkg-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Sub navigation ---------- */
.subnav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 72px;
  z-index: 90;
}

.subnav .container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  font-size: 13.5px;
  font-weight: 700;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.subnav .container::-webkit-scrollbar {
  display: none;
}

.subnav a {
  display: block;
  padding: 16px 2px;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.subnav a:hover { color: var(--aoiro-deep); border-color: var(--amber); }

/* ---------- Highlight cards ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.highlight-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
}

.highlight-card:nth-child(2) { border-top-color: var(--amber); }

.highlight-card .num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.highlight-card h3 { font-size: 16px; color: var(--aoiro-deep); margin: 0 0 10px; font-weight: 700; }
.highlight-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Feature groups ---------- */
.feature-group { margin-top: 40px; }
.feature-group + .feature-group { margin-top: 44px; }

.feature-group h3 {
  font-size: 17px;
  color: var(--aoiro-deep);
  font-weight: 800;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-group > p.group-lead { color: var(--muted); font-size: 13.5px; margin: 0 0 20px; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--aoiro-deep));
}

.feature-list li b { color: var(--aoiro-deep); font-weight: 700; }

/* ---------- Screens ---------- */
.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.screen-grid figure { margin: 0; }

.screen-grid img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.screen-grid figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Price / trial ---------- */
.price-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 24px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.price-card.is-trial { border: 2px solid var(--amber); }

.price-card.is-download {
  border: 2px solid #0284c7;
  position: relative;
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 15%);
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.15);
}

.price-card.is-download .label {
  color: #fff;
  background: #0284c7;
}

.price-card-ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3);
  letter-spacing: 0.04em;
}

.cb-callout {
  background: #fff1f2;
  border: 1px dashed #f43f5e;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 12px 0 6px;
  font-size: 12.5px;
  color: #9f1239;
  line-height: 1.5;
}

.cb-callout strong {
  display: block;
  font-size: 13.5px;
  color: #e11d48;
  margin-bottom: 2px;
}

.price-card .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 12px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--aoiro-tint);
  margin-bottom: 14px;
}

.price-card.is-trial .label { color: #6b4a00; background: #fff1c9; }

.price-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--aoiro-deep); font-weight: 800; }
.price-card .big { font-size: 34px; font-weight: 800; color: var(--aoiro-deep); line-height: 1.3; margin: 0 0 10px; }
.price-card .big small { font-size: 15px; font-weight: 700; margin-left: 4px; }
.price-card p { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.price-card ul { margin: 12px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink); }
.price-card li { margin-bottom: 4px; }
.price-note { text-align: center; margin: 22px auto 0; font-size: 13px; color: var(--muted); max-width: 880px; }

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }

.spec-table th,
.spec-table td { text-align: left; padding: 20px 24px; font-size: 14px; vertical-align: top; }

.spec-table th {
  width: 220px;
  color: var(--aoiro-deep);
  font-weight: 700;
  background: var(--paper);
  white-space: nowrap;
}

.spec-table td { color: var(--ink); }

/* ---------- Disclaimer note ---------- */
.note {
  background: #fff8ee;
  border: 1px solid #f2d9a8;
  border-radius: var(--radius);
  padding: 26px 28px;
  font-size: 13.5px;
  color: #7a5a1e;
  line-height: 1.9;
}

.note h3 { margin: 0 0 12px; font-size: 15px; color: #8a5a12; font-weight: 800; }
.note ul { margin: 0; padding-left: 18px; }
.note li { margin-bottom: 6px; }
.note li:last-child { margin-bottom: 0; }
.note h3 + ul + h3 { margin-top: 18px; }
.note a { color: var(--accent-dark); font-weight: 700; }

/* ---------- Download page ---------- */
.dl-trial-banner {
  max-width: 820px;
  margin: 0 auto 28px;
  background: #fff7de;
  border: 2px solid var(--amber);
  border-radius: var(--radius);
  padding: 20px 26px;
  color: #5a4000;
  text-align: center;
}

.dl-trial-banner .dl-trial-title { font-size: 19px; font-weight: 800; margin: 0 0 6px; color: #4a3300; }
.dl-trial-banner p { margin: 0; font-size: 13.5px; line-height: 1.85; }

.dl-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 auto 30px;
  max-width: 820px;
  font-size: 13px;
  font-weight: 700;
  color: var(--aoiro-deep);
}

.dl-flow span.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
}
.dl-flow span.step.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.dl-flow span.arrow { color: var(--muted); }

.eula-box {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.eula-box .eula-head { padding: 28px 34px 8px; }
.eula-box .eula-head h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: var(--aoiro-deep); }
.eula-box .eula-head p { margin: 0; font-size: 13.5px; color: var(--muted); }

.eula-scroll {
  margin: 16px 34px 0;
  max-height: 340px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfd;
  padding: 18px 24px 22px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink);
}

.eula-scroll:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.eula-scroll h3.eula-title { font-size: 16px; margin: 0 0 8px; color: var(--aoiro-deep); }
.eula-scroll h4 { font-size: 14px; margin: 22px 0 6px; color: var(--aoiro-deep); }
.eula-scroll p { margin: 0 0 8px; }
.eula-scroll ol.eula-list { margin: 0 0 8px; padding-left: 22px; }
.eula-scroll ol.eula-list li { margin-bottom: 6px; }

.eula-agree { padding: 22px 34px 34px; text-align: center; }

.eula-agree label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--aoiro-deep);
  cursor: pointer;
  line-height: 1.7;
}

.eula-agree input[type="checkbox"] { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }

.eula-agree .btn { margin-top: 20px; font-size: 16px; padding: 17px 40px; }
.eula-agree .agree-hint { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
}

.dl-meta b { color: var(--aoiro-deep); font-weight: 700; }

#dl-ready[hidden] { display: none; }

/* ---------- Steps ---------- */
.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }

.step-list li {
  position: relative;
  padding: 18px 22px 18px 62px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--aoiro-deep));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--aoiro-deep);
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 12px;
  border-radius: 6px;
  background: var(--aoiro-tint);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 12px;
}

.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-body { padding: 16px 0 20px 34px; font-size: 13.5px; color: var(--muted); line-height: 1.9; }

/* ---------- Moved page ---------- */
.moved { padding: 120px 0; text-align: center; }

@media (max-width: 960px) {
  .price-panel { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 860px) {
  .aoiro-hero { padding: 56px 0 64px; }
  .aoiro-hero .container { grid-template-columns: 1fr; gap: 28px; }
  .hero-package { order: -1; }
  .hero-package img { width: min(70%, 280px); }
  .highlight-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .screen-grid { grid-template-columns: 1fr; }
  .price-panel { grid-template-columns: 1fr; }
  .spec-table th { width: 130px; padding: 16px; white-space: normal; }
  .spec-table td { padding: 16px; }
  .subnav { top: 64px; }
  .eula-box .eula-head { padding: 22px 20px 4px; }
  .eula-scroll { margin: 14px 20px 0; padding: 14px 16px 18px; max-height: 300px; }
  .eula-agree { padding: 20px 20px 28px; }
}
