/* PhoneSoap 日本公式 — 自社運用版スタイル */

:root {
  --accent: #2b6cb0;
  --accent-dark: #1e4a7d;
  --accent-light: #4a90c2;
  --pale: #eef4fa;
  --pale-2: #dde9f3;
  --text: #2a2a2a;
  --muted: #666;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 400;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); }
a:hover { opacity: .85; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.bg-pale { background: var(--pale); }

/* --- header --- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
}
.logo { text-decoration: none; }
.logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--accent-dark);
  display: inline-flex; align-items: baseline; gap: 8px;
}
.logo-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--muted);
}

/* --- hero --- */
.hero {
  background: var(--white);
  padding: 0;
  overflow-x: hidden;
}
.hero-img { width: 100%; }
.hero-img img { width: 100%; max-width: none; height: auto; display: block; }

/* --- sections --- */
section { padding: 64px 0; }
section.hero { padding: 0; }

.section-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  text-align: center;
  margin: 0 0 32px;
  color: var(--accent-dark);
  line-height: 1.45;
}
.section-title.white { color: var(--white); text-shadow: 0 1px 3px rgba(0,0,0,.4); }

.intro h1.section-title {
  font-size: clamp(24px, 5vw, 34px);
}
.intro p { text-align: center; font-size: 16px; }
.intro .arrow-down {
  font-weight: 700; color: var(--accent-dark);
  margin-top: 24px;
}

.lead { font-weight: 700; font-size: 18px; color: var(--accent-dark); text-align: center; }
.note { font-size: 13px; color: var(--muted); }

.bullet-list {
  margin: 12px 0;
  padding-left: 1.4em;
}
.bullet-list li { margin-bottom: 6px; }

/* --- btn --- */
.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); opacity: 1; }
.btn-large { padding: 18px 56px; font-size: 18px; }
.cta { text-align: center; margin-top: 16px; }

/* --- video --- */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 24px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* --- about / problem / mechanism (image + text two-column) --- */
.about-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
.about-img img {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 2fr 3fr; }
  .problem .about-grid { grid-template-columns: 2fr 3fr; }
  .mechanism .about-grid { grid-template-columns: 2fr 3fr; }
}

/* --- features (4 cards) --- */
.features-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  text-align: left;
}
.feature-icon {
  text-align: center;
  margin: 0 0 16px;
}
.feature-icon img {
  width: 80px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 12px;
  text-align: center;
  line-height: 1.4;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* --- purchase (3 cards with image button) --- */
.purchase-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .purchase-grid { grid-template-columns: repeat(3, 1fr); }
}
.purchase-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.purchase-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.12); opacity: 1; }
.purchase-card img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 12px;
  display: block;
}
.purchase-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.purchase-card strong {
  display: block;
  font-size: 17px;
  color: var(--accent-dark);
}

/* --- spec / variants tables --- */
.spec-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--pale-2);
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
}
.spec-table th {
  background: var(--pale);
  color: var(--accent-dark);
  font-weight: 700;
  width: 45%;
  white-space: nowrap;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }

/* --- contact --- */
.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 24px;
  position: relative;
}
.contact-form label {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.contact-form .row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .contact-form .row { grid-template-columns: 1fr 1fr; }
}
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid #cfd8dc;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: #fafcfd;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,108,176,.2);
}
.contact-form .req { color: #d33; margin-left: 4px; }
.contact-form .checkbox { font-weight: 400; }
.contact-form .checkbox input { margin-right: 6px; }

/* --- footer --- */
.site-footer {
  background: #2a3e47;
  color: #cdd8dd;
  padding: 40px 0 24px;
  font-size: 13px;
  text-align: center;
}
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: var(--white); }
.footer-links { margin-top: 16px; }
.copyright { margin-top: 20px; color: #8a9ba3; font-size: 12px; }

/* --- legal page --- */
.legal .page-title {
  font-size: 26px;
  text-align: center;
  color: var(--accent-dark);
  margin: 0 0 40px;
}
.legal-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--pale-2);
}
.legal-table dt {
  font-weight: 700;
  background: var(--pale);
  padding: 14px 18px;
  border-bottom: 1px solid var(--pale-2);
  color: var(--accent-dark);
}
.legal-table dd {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--pale-2);
}
@media (min-width: 720px) {
  .legal-table { grid-template-columns: 200px 1fr; }
  .legal-table dt { border-right: 1px solid var(--pale-2); }
}
.legal h3 {
  color: var(--accent-dark);
  margin-top: 32px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--pale-2);
}
.legal ol, .legal ul { padding-left: 1.4em; }
.legal li { margin-bottom: 6px; }
