/* ソフトの紹介ページの部品（どのソフトでも使える）。site.css のあとに読み込む */

/* ---- 最初の大きな見出し ---- */
.hero { padding: 64px 0 80px; background: linear-gradient(180deg, var(--bg) 0%, var(--soft) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.36; }
.hero h1 em { font-style: normal; color: var(--green-600); }
.hero .lead { margin-top: 22px; font-size: 17px; color: var(--text); }
.hero .actions { margin-top: 30px; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--sub); }
.hero-visual { position: relative; padding-bottom: 40px; }
.hero-visual .phone { position: absolute; width: 30%; right: -2%; bottom: 0; }
.product-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 700; color: var(--green-700); }
.product-badge img { width: 40px; height: 40px; border-radius: 10px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding-bottom: 28px; }
  .hero-visual .phone { width: 28%; right: 0; }
}

/* ---- お悩み ---- */
.problems { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 960px; margin: 0 auto; }
.problem {
  display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px; font-size: 15px;
}
.problem::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--gold-soft);
  box-shadow: inset 0 0 0 2px var(--gold);
}
.answer { max-width: 760px; margin: 36px auto 0; text-align: center; font-size: 18px; font-weight: 700; color: var(--green-700); word-break: auto-phrase; text-wrap: balance; }

/* ---- 3 つの特長 ---- */
.points { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.point { background: var(--paper); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); }
.point .num { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 0.14em; }
.point h3 { font-size: 20px; margin: 8px 0 12px; }
.point p { font-size: 15px; }
@media (max-width: 900px) { .points { grid-template-columns: 1fr; } }

/* ---- 機能（写真と説明を交互に） ---- */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px dashed var(--line); }
.feature.reverse .feature-media { order: 2; }
.feature h3 { font-size: clamp(21px, 2.6vw, 26px); margin: 6px 0 14px; }
.feature .label { font-size: 13px; font-weight: 700; color: var(--green-600); letter-spacing: 0.1em; }
.feature ul { margin: 16px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; }
.feature li::before { content: ""; position: absolute; left: 2px; top: 0.75em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 520px; margin: 0 auto; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature.reverse .feature-media { order: 0; }
}

/* ---- 導入事例 ---- */
.case { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.case-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.figure-box { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 18px 12px; text-align: center; }
.figure-box b { display: block; font-size: 30px; color: var(--gold); line-height: 1.2; }
.figure-box span { font-size: 13px; color: #c7cfbd; }
.case-text h3 { font-size: 22px; margin-bottom: 14px; }
.case-text p + p { margin-top: 12px; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }

/* ---- 導入の流れ ---- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--green-800); color: var(--gold); font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---- 動作環境・料金 ---- */
.spec { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 30%; background: var(--soft); color: var(--ink); font-weight: 700; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) { .spec th, .spec td { display: block; width: 100%; } .spec th { border-bottom: 0; padding-bottom: 4px; } }
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.price-box { background: var(--paper); border: 2px solid var(--green-600); border-radius: var(--radius); padding: 30px 28px; text-align: center; }
.price-box .big { font-size: 34px; font-weight: 700; color: var(--green-700); margin: 8px 0; }
@media (max-width: 900px) { .price { grid-template-columns: 1fr; } }

/* ---- よくある質問 ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 22px; top: 16px; color: var(--green-600); font-size: 18px; }
.faq details[open] summary::after { content: "－"; }
.faq details p { padding: 0 22px 20px; font-size: 15px; }
