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

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

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --header-bg: #E6F5F0;
  --header-text: #0D4A35;
  --hero-from: #1A1A2E;
  --hero-to: #2D2D50;
  --accent: #E07B3A;
  --accent-light: #FFF4ED;
  --text: #2D2D2D;
  --muted: #6B7280;
  --border: #E5E7EB;
  --radius: 10px;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ========== HEADER ========== */
header {
  background: var(--header-bg);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border-bottom: 1px solid #C3E8DC;
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  color: var(--header-text);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
}
nav { display: flex; gap: 4px; }
nav a {
  color: var(--header-text);
  font-size: .875rem;
  font-weight: 500;
  opacity: .8;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
nav a:hover { opacity: 1; background: rgba(13,74,53,.08); text-decoration: none; }

/* ========== HERO ========== */
section.hero {
  background: linear-gradient(135deg, #E6F5F0 0%, #F0FBF7 100%);
  color: var(--text);
  padding: 80px 24px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--header-text);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 32px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .95rem;
  transition: opacity .2s;
}
.btn:hover { opacity: .85; text-decoration: none; }

/* ========== SECTION ========== */
section { padding: 64px 24px; }
section:not(.hero):nth-child(even) { background: var(--surface); }
.section-inner { max-width: 960px; margin: 0 auto; }
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-lead {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: .95rem;
}

/* ========== SERVICE CARDS ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s;
}
.service-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.service-card .badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service-card p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.service-card .card-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
}

/* ========== PRICING TABLE ========== */
.pricing-wrap { margin-top: 32px; overflow-x: auto; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.pricing-table th {
  background: var(--header-text);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 500;
}
.pricing-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:nth-child(even) td { background: #F9FAFB; }
.plan-standard { color: #2563EB; font-weight: 700; }
.plan-premium  { color: #7C3AED; font-weight: 700; }
.note-text { font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* ========== ABOUT ========== */
.about-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
}
.about-box h3 { margin-bottom: 8px; }
.about-box p { color: var(--muted); font-size: .95rem; }

/* ========== FOOTER ========== */
footer {
  background: var(--header-text);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 32px 24px;
  font-size: .85rem;
}
footer a { color: rgba(255,255,255,.7); }
footer a:hover { color: #fff; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 16px; flex-wrap: wrap; }

/* ========== INNER PAGE ========== */
.page-hero {
  background: var(--header-text);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
}
.page-hero h1 { font-size: 1.6rem; }
.page-hero p { color: rgba(255,255,255,.7); margin-top: 8px; font-size: .9rem; }

.content-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px;
}
.content-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
  margin: 32px 0 12px;
}
.content-body h2:first-child { margin-top: 0; }
.content-body p, .content-body li { font-size: .95rem; color: var(--text); }
.content-body ul { padding-left: 1.4em; }
.content-body li { margin-bottom: 4px; }
.dl-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.dl-table th {
  width: 36%;
  background: #F3F4F6;
  padding: 12px 16px;
  text-align: left;
  font-weight: 500;
  border: 1px solid var(--border);
  vertical-align: top;
}
.dl-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  vertical-align: top;
}

/* ========== CONTACT FORM ========== */
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-group label .req {
  color: var(--accent);
  margin-left: 4px;
  font-size: .75rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--surface);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224,123,58,.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.submit-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 13px 40px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .2s;
  width: 100%;
}
.submit-btn:hover { opacity: .85; }

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
  nav { gap: 16px; }
  nav a { font-size: .8rem; }
  .service-grid { grid-template-columns: 1fr; }
  .dl-table th { width: 42%; }
}
