/* ヴォイスマスター広島 — post-star-14.css */

:root {
  --bg: #fcfaf2;
  --sand: #f6ecc8;
  --primary: #0067e5;
  --deep-sea: #000f2e;
  --text: #000;
  --white: #fff;
  --border-radius-l: 16px;
  --border-radius-m: 10px;
  --border-radius-s: 6px;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0,15,46,0.10);
  --shadow-lg: 0 8px 40px rgba(0,15,46,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; }
p  { font-size: 1rem; line-height: 1.7; }
.body-s { font-size: 0.875rem; line-height: 1.6; }
.intro { font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.6; }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-s { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: var(--deep-sea);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo svg { width: 40px; height: 40px; }
.nav-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--sand); line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--sand); font-size: 0.95rem; font-weight: 500;
  position: relative; padding-bottom: 2px;
  transition: opacity var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 100%;
  height: 2px; background: var(--primary);
  transition: right var(--transition);
}
.nav-links a:hover::after { right: 0; }
.nav-links a:hover { opacity: 0.85; }
.nav-cta {
  background: var(--primary); color: var(--sand) !important;
  padding: 10px 22px; border-radius: 50px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: #0052b8 !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* hamburger */
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--sand); border-radius: 2px; transition: var(--transition); }
.nav-mobile { display: none; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--deep-sea);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../uploads/hero.webp') center/cover no-repeat;
  opacity: 0.32;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,15,46,0.88) 0%, rgba(0,103,229,0.45) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  width: 100%;
}
.hero-tag {
  display: inline-block; background: var(--primary); color: var(--sand);
  font-size: 0.8rem; font-weight: 600; padding: 6px 16px;
  border-radius: 50px; margin-bottom: 24px; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero h1 { color: var(--sand); max-width: 720px; margin-bottom: 24px; }
.hero h1 span { color: var(--primary); }
.hero-sub { color: rgba(246,236,200,0.82); font-size: 1.15rem; max-width: 540px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), border-color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--sand); border-color: var(--primary); }
.btn-primary:hover { background: #0052b8; border-color: #0052b8; }
.btn-secondary { background: transparent; color: var(--sand); border-color: var(--sand); }
.btn-secondary:hover { background: var(--sand); color: var(--deep-sea); }
.btn-dark { background: var(--deep-sea); color: var(--sand); border-color: var(--deep-sea); }
.btn-dark:hover { background: #001a4d; }

/* ─── MARQUEE ─── */
.marquee-wrap {
  background: var(--sand); padding: 18px 0; overflow: hidden;
  border-top: 1px solid rgba(0,15,46,0.08);
  border-bottom: 1px solid rgba(0,15,46,0.08);
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: 0.9rem; font-weight: 600; color: var(--deep-sea);
  white-space: nowrap; letter-spacing: 0.04em;
}
.marquee-track span i { color: var(--primary); margin-right: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTION HEADER ─── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: var(--sand); color: var(--primary);
  font-size: 0.78rem; font-weight: 700; padding: 5px 14px;
  border-radius: 50px; margin-bottom: 16px; letter-spacing: 0.06em; text-transform: uppercase;
}
.section-header h2 { margin-bottom: 16px; color: var(--deep-sea); }
.section-header p { color: #444; max-width: 580px; margin: 0 auto; }

/* ─── ABOUT STRIP ─── */
.about-section { background: var(--bg); }
.about-image { border-radius: var(--border-radius-l); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 460px; object-fit: cover; }
.about-content { padding: 0 16px; }
.about-content h2 { color: var(--deep-sea); margin-bottom: 20px; }
.about-content p { color: #333; margin-bottom: 16px; }
.about-stats { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--primary); display: block; }
.stat-label { font-size: 0.85rem; color: #666; }

/* ─── SERVICES ─── */
.services-section { background: var(--deep-sea); }
.services-section .section-header h2 { color: var(--sand); }
.services-section .section-header p { color: rgba(246,236,200,0.72); }
.service-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(246,236,200,0.12);
  border-radius: var(--border-radius-l); padding: 36px 28px;
  transition: transform var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon i { color: var(--sand); font-size: 1.4rem; }
.service-card h3 { color: var(--sand); margin-bottom: 12px; }
.service-card p { color: rgba(246,236,200,0.7); font-size: 0.95rem; }
.service-price { margin-top: 20px; font-size: 1.3rem; font-weight: 700; color: var(--primary); }

/* ─── PRICE TABLE ─── */
.pricing-section { background: var(--bg); }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.price-card {
  border: 2px solid var(--sand); border-radius: var(--border-radius-l);
  padding: 40px 32px; position: relative; transition: border-color var(--transition), transform var(--transition);
  background: var(--white);
}
.price-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--primary); background: var(--deep-sea); }
.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--sand); font-size: 0.78rem;
  font-weight: 700; padding: 4px 16px; border-radius: 50px;
  white-space: nowrap; letter-spacing: 0.04em;
}
.price-card h3 { font-size: 1.2rem; color: var(--deep-sea); margin-bottom: 8px; }
.price-card.featured h3 { color: var(--sand); }
.price-amount { font-size: 2.4rem; font-weight: 800; color: var(--primary); margin: 16px 0 4px; }
.price-period { font-size: 0.85rem; color: #888; margin-bottom: 24px; }
.price-card.featured .price-period { color: rgba(246,236,200,0.6); }
.price-features { margin-bottom: 32px; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(0,15,46,0.07);
  font-size: 0.9rem; color: #333;
}
.price-card.featured .price-features li { color: rgba(246,236,200,0.82); border-color: rgba(246,236,200,0.12); }
.price-features li i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* ─── WHY US / FEATURES ─── */
.features-section { background: var(--sand); }
.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-num {
  min-width: 48px; height: 48px; border-radius: 50%;
  background: var(--deep-sea); color: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.feature-text h3 { color: var(--deep-sea); margin-bottom: 8px; font-size: 1.1rem; }
.feature-text p { color: #444; font-size: 0.95rem; }
.features-img img { border-radius: var(--border-radius-l); width: 100%; height: 500px; object-fit: cover; box-shadow: var(--shadow-lg); }
.features-list { display: flex; flex-direction: column; gap: 28px; }

/* ─── TESTIMONIALS ─── */
.testimonials-section { background: var(--bg); }
.testimonial-card {
  background: var(--white); border: 1px solid rgba(0,15,46,0.08);
  border-radius: var(--border-radius-l); padding: 32px 28px;
  box-shadow: var(--shadow);
}
.testimonial-stars { color: #f5a623; font-size: 0.9rem; margin-bottom: 16px; }
.testimonial-text { color: #333; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.7; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sand); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--deep-sea); font-size: 1rem;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--deep-sea); }
.author-role { font-size: 0.8rem; color: #888; }

/* ─── FAQ ─── */
.faq-section { background: var(--sand); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border-radius: var(--border-radius-m);
  border: 1px solid rgba(0,15,46,0.08); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; border: none; background: none;
  font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--deep-sea);
  transition: color var(--transition);
}
.faq-q:hover { color: var(--primary); }
.faq-q i { transition: transform var(--transition); color: var(--primary); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding var(--transition); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 24px 20px; color: #444; font-size: 0.95rem; line-height: 1.7; }

/* ─── CTA STRIP ─── */
.cta-section {
  background: var(--primary);
  text-align: center; padding: 80px 24px;
}
.cta-section h2 { color: var(--sand); margin-bottom: 16px; }
.cta-section p { color: rgba(246,236,200,0.82); max-width: 520px; margin: 0 auto 36px; }

/* ─── FOOTER ─── */
footer {
  background: var(--deep-sea); color: var(--sand);
  padding: 64px 24px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { color: rgba(246,236,200,0.65); margin-top: 16px; font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; color: var(--sand); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(246,236,200,0.65); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--sand); }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; color: rgba(246,236,200,0.65); font-size: 0.9rem; margin-bottom: 10px; line-height: 1.5; }
.footer-contact i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(246,236,200,0.12); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: gap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(246,236,200,0.45); }
.social-links { display: flex; gap: 14px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(246,236,200,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(246,236,200,0.65); font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-links a:hover { background: var(--primary); border-color: var(--primary); color: var(--sand); }

/* ─── FORM ─── */
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--deep-sea); margin-bottom: 7px; }
input, textarea, select {
  width: 100%; padding: 13px 16px;
  border: 2px solid rgba(0,15,46,0.12); border-radius: var(--border-radius-s);
  font-family: inherit; font-size: 1rem; color: var(--deep-sea);
  background: var(--white); transition: border-color var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--primary); }
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: #888; margin-top: 6px; }
.required { color: var(--primary); }

/* ─── INNER PAGE ─── */
.page-hero {
  background: var(--deep-sea); padding: 140px 24px 72px;
  text-align: center;
}
.page-hero h1 { color: var(--sand); margin-bottom: 16px; }
.page-hero p { color: rgba(246,236,200,0.72); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.page-content { padding: 72px 24px; max-width: 860px; margin: 0 auto; }
.page-content h2 { color: var(--deep-sea); margin: 40px 0 16px; font-size: 1.4rem; }
.page-content h3 { color: var(--deep-sea); margin: 28px 0 10px; font-size: 1.1rem; }
.page-content p { color: #333; margin-bottom: 16px; line-height: 1.75; }
.page-content ul { margin: 0 0 20px 0; }
.page-content ul li { color: #333; padding: 6px 0 6px 24px; position: relative; font-size: 0.97rem; line-height: 1.65; }
.page-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--primary); }

/* ─── COOKIES GDPR ─── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--deep-sea); border-top: 2px solid var(--primary);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  transform: translateY(100%); transition: transform 0.4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p { color: rgba(246,236,200,0.82); font-size: 0.88rem; max-width: 680px; }
#cookie-banner p a { color: var(--primary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--primary); color: var(--sand); border: none;
  padding: 10px 24px; border-radius: 50px; font-weight: 600;
  font-size: 0.9rem; cursor: pointer; font-family: inherit;
  transition: background var(--transition);
}
.btn-cookie-accept:hover { background: #0052b8; }
.btn-cookie-decline {
  background: transparent; color: rgba(246,236,200,0.65); border: 1px solid rgba(246,236,200,0.25);
  padding: 10px 24px; border-radius: 50px; font-weight: 500;
  font-size: 0.9rem; cursor: pointer; font-family: inherit;
  transition: border-color var(--transition), color var(--transition);
}
.btn-cookie-decline:hover { border-color: rgba(246,236,200,0.6); color: var(--sand); }

/* ─── CONTACT CARDS ─── */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-bottom: 56px; }
.contact-card {
  background: var(--white); border: 1px solid rgba(0,15,46,0.08);
  border-radius: var(--border-radius-l); padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow);
}
.contact-card-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.contact-card-icon i { color: var(--primary); font-size: 1.4rem; }
.contact-card h3 { color: var(--deep-sea); font-size: 1rem; margin-bottom: 8px; }
.contact-card p { color: #555; font-size: 0.9rem; }
.contact-card a { color: var(--primary); font-weight: 600; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-2 { gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: var(--deep-sea); padding: 20px 24px 28px;
    flex-direction: column; gap: 0; z-index: 999;
    border-top: 1px solid rgba(246,236,200,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a {
    color: var(--sand); padding: 14px 0; font-size: 1.05rem;
    border-bottom: 1px solid rgba(246,236,200,0.08);
    display: block;
  }
  .nav-mobile a:last-child { border-bottom: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .about-image img { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-stats { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 56px 0; }
  .hero { min-height: auto; padding: 120px 0 72px; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .features-img { order: -1; }
  .features-img img { height: 280px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
}
