@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap');

/* ===================== Design Tokens ===================== */
:root {
  --navy:     #0F2456;
  --navy-mid: #1A3470;
  --amber:    #F0A500;
  --amber-lt: #FDF3DC;
  --white:    #FFFFFF;
  --surface:  #F8F9FC;
  --text:     #1A1A2E;
  --muted:    #6B7280;
  --border:   #E5E7EB;
  --max-w:    1080px;
  --radius:   12px;
}

/* ===================== Reset ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===================== Utility ===================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-amber {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
  font-weight: 700;
}

.btn-amber:hover {
  background: #d99200;
  border-color: #d99200;
}

/* ===================== Cards ===================== */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 24px rgba(15, 36, 86, 0.08);
}

/* ===================== Scroll Reveal ===================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===================== Header ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--amber);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.site-nav a:not(.btn):hover {
  color: var(--navy);
}

/* ===================== Hero ===================== */
.hero {
  padding: 140px 32px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--amber);
}

.hero-eyebrow span {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero h1 .underline-amber {
  position: relative;
  display: inline-block;
}

.hero h1 .underline-amber::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 3px;
  background: var(--amber);
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===================== Media Band ===================== */
.media-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
}

.media-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.media-band-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.media-band-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.media-band-logos span {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #9CA3AF;
  letter-spacing: 0.02em;
}

/* ===================== Pain ===================== */
.pain {
  background: var(--navy);
  padding: 96px 32px;
  text-align: center;
}

.pain .section-label {
  color: rgba(240, 165, 0, 0.9);
}

.pain .section-title {
  color: var(--white);
  margin-bottom: 48px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.12);
}

.pain-item {
  background: rgba(255, 255, 255, 0.04);
  padding: 36px 32px;
  text-align: left;
  transition: background 0.2s;
}

.pain-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.pain-num {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.pain-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.6;
}

/* ===================== Services ===================== */
.services {
  padding: 96px 32px;
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 36px 32px;
}

.service-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--amber-lt);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-catch {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.service-price {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  line-height: 1.2;
}

.service-tax {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}

.service-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.service-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

.service-list-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.service-list-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: -4px;
  margin-bottom: 24px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.service-list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l4 4 6-6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ===================== Strengths ===================== */
.strengths {
  background: var(--surface);
  padding: 96px 32px;
}

.strengths-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.strengths .section-lead {
  max-width: none;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.strength-item {
  display: flex;
  gap: 20px;
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.strength-item:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 24px rgba(15, 36, 86, 0.08);
}

.strength-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--amber-lt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strength-icon svg {
  width: 20px;
  height: 20px;
  color: var(--amber);
}

.strength-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.strength-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===================== Content ===================== */
.content {
  padding: 96px 32px;
}

.content-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.content-card {
  display: block;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.content-card:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 24px rgba(15, 36, 86, 0.08);
  transform: translateY(-2px);
}

.content-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-thumb-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 24px;
}

.content-body {
  padding: 20px;
}

.content-media {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.content-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
}

.content-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===================== About ===================== */
.about {
  background: var(--surface);
  padding: 96px 32px;
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  width: 280px;
  height: 280px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-photo-placeholder {
  width: 280px;
  height: 280px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #d1d5db 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #9CA3AF;
  font-size: 13px;
}

.about-photo-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.about-label {
  color: var(--amber);
  margin-bottom: 12px;
}

.about-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.about-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.about-bio {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 32px;
  white-space: pre-line;
}

.about-sns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.about-sns-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.about-sns-link:hover {
  border-color: var(--amber);
  background: var(--amber-lt);
  color: var(--navy);
}

.about-sns-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  background: var(--amber-lt);
  border: 1px solid rgba(240, 165, 0, 0.2);
  border-radius: 100px;
  padding: 4px 12px;
}

/* ===================== FAQ ===================== */
.faq {
  padding: 96px 32px;
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--navy);
  background: transparent;
  transition: transform 0.3s, background 0.2s, color 0.2s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--navy);
  color: var(--white);
}

.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 0 24px;
}

/* ===================== Contact ===================== */
.contact {
  background: var(--navy);
  padding: 96px 32px;
  text-align: center;
}

.contact .section-label {
  color: rgba(240, 165, 0, 0.9);
}

.contact-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.4;
}

.contact-lead {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 48px;
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: left;
}

/* HubSpot form overrides */
.contact-form-wrap .hs-form-field label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text) !important;
  margin-bottom: 6px;
  display: block;
}

.contact-form-wrap .hs-input {
  width: 100% !important;
  padding: 10px 14px;
  border: 1.5px solid var(--border) !important;
  border-radius: 6px !important;
  background: var(--white) !important;
  color: var(--text) !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form-wrap .hs-input:focus {
  border-color: var(--navy) !important;
}

.contact-form-wrap .hs-input::placeholder {
  color: var(--muted) !important;
}

.contact-form-wrap .hs-form-field {
  margin-bottom: 20px;
}

.contact-form-wrap .hs-submit .hs-button {
  background: var(--amber) !important;
  color: var(--navy) !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 14px 32px !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  margin-top: 8px;
}

.contact-form-wrap .hs-submit .hs-button:hover {
  background: #d99200 !important;
}

.contact-form-wrap .hs-error-msgs {
  color: #dc2626 !important;
  font-size: 12px;
  margin-top: 4px;
}

.contact-form-wrap .submitted-message {
  color: var(--navy);
  font-size: 16px;
  text-align: center;
  padding: 24px 0;
}

/* ===================== Footer ===================== */
.site-footer {
  background: #080F22;
  padding: 28px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-logo span {
  color: var(--amber);
}

.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ===================== Content Carousel Dots ===================== */
.content-dots {
  display: none;
}

.content-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s, border-radius 0.2s;
}

.content-dot.active {
  background: var(--navy);
  width: 20px;
  border-radius: 3px;
}

/* ===================== Hamburger ===================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== Mobile Nav ===================== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 24px;
  gap: 0;
}

.mobile-nav-links a:not(.btn) {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav-links a:not(.btn):hover {
  color: var(--navy);
}

.mobile-nav-links .btn {
  margin-top: 20px;
  justify-content: center;
  width: 100%;
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    padding: 120px 20px 80px;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    text-align: center;
    justify-content: center;
  }

  .media-band {
    padding: 16px 20px;
  }

  .media-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  section,
  .pain,
  .services,
  .strengths,
  .content,
  .about,
  .faq,
  .contact {
    padding: 72px 20px;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding-right: 20px;
    padding-bottom: 4px;
  }

  .content-grid::-webkit-scrollbar {
    display: none;
  }

  .content-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .content-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-photo-placeholder {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .contact-form-wrap {
    padding: 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
  }
}
