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

:root {
  --accent: #2aa5c7;
  --accent-dark: #1a7a94;
  --pale: #eff7fa;
  --pale-2: #e3f1f6;
  --text: #333;
  --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: .8; }

.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(--pale);
  border-bottom: 1px solid rgba(0,0,0,.05);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
}
.logo img { height: 44px; width: auto; }
.site-header nav a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

/* --- hero --- */
.hero {
  background: linear-gradient(180deg, var(--pale) 0%, var(--pale-2) 100%);
  padding: 60px 0 80px;
  overflow-x: hidden;
}
.hero-inner {
  display: flex; flex-direction: column; gap: 32px;
  align-items: center; text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--accent-dark);
  margin: 0 0 16px;
  letter-spacing: .02em;
}
.hero-sub {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.hero-sub .brand {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.4em;
  color: var(--accent);
  letter-spacing: .05em;
}
.hero-img { width: 100%; margin: 0 -20px; }
.hero-img img { width: 100%; max-width: none; margin: 0; display: block; }

@media (min-width: 768px) {
  .hero-inner { flex-direction: row; text-align: left; gap: 48px; align-items: center; }
  .hero-text { flex: 1; }
  .hero-img { flex: 1.2; margin: 0; }
  .hero-img img { width: 100%; }
}

/* --- sections --- */
section { padding: 64px 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.4;
}
.section-title.white { color: var(--white); text-shadow: 0 1px 3px rgba(0,0,0,.4); }

.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: 20px; color: var(--accent-dark); text-align: center; }
.note { font-size: 13px; color: var(--muted); }

/* --- 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;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-large { padding: 18px 56px; font-size: 18px; }
.cta { text-align: center; margin-top: 16px; }

/* --- video --- */
.video .lead { margin-bottom: 8px; }
.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;
}

/* --- media logos --- */
.media img { margin: 0 auto; width: 100%; max-width: 860px; height: auto; }

/* --- reviews --- */
.reviews {
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  padding: 80px 0;
}
.reviews::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(26,122,148,.75);
}
.reviews-inner { position: relative; z-index: 1; }
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 0 0 20px;
  box-shadow: var(--shadow);
}
.review-card blockquote {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.9;
}
.review-card figcaption {
  font-size: 14px;
  color: var(--muted);
  text-align: right;
}
.stars { color: #ffb400; margin-right: 6px; letter-spacing: 2px; }

/* --- about / mechanism --- */
.about-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 3fr 2fr; }
}
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto; }

.mechanism img { width: 100%; max-width: 520px; height: auto; margin: 0 auto 24px; border-radius: var(--radius); }

/* --- faq --- */
.faq details {
  background: var(--white);
  border: 1px solid var(--pale-2);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 24px 18px 48px;
  font-weight: 700;
  position: relative;
  list-style: none;
  background: var(--pale);
  color: var(--accent-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.faq summary::after {
  content: "＋";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 900;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer {
  padding: 18px 24px 24px 48px;
  position: relative;
}
.faq .answer::before {
  content: "A";
  position: absolute;
  left: 18px; top: 20px;
  width: 24px; height: 24px;
  background: var(--pale-2);
  color: var(--accent-dark);
  border-radius: 50%;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.faq .answer p { margin: 0 0 10px; }

/* --- 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(42,165,199,.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; }
