:root {
  --main: #0f2942;
  --main-light: #1c4a6e;
  --accent: #c0392b;
  --accent-light: #e0554a;
  --gold: #e8b84a;
  --bg: #f8f6f1;
  --text: #262626;
  --text-light: #767676;
  --border: #e4e1d8;
  --white: #ffffff;
  --font-heading: "Shippori Mincho B1", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  max-width: 1080px;
  margin: 0 auto;
}
.logo { display: flex; flex-direction: column; min-width: 0; }
.logo-main { font-family: var(--font-heading); font-size: 23px; font-weight: 800; color: var(--main); letter-spacing: 0.02em; white-space: nowrap; }
.logo-sub { font-size: 11px; color: var(--text-light); font-family: "Oswald", sans-serif; letter-spacing: 0.08em; margin-top: 2px; white-space: nowrap; }

.header-right { display: flex; align-items: center; gap: 28px; }
.header-nav { display: flex; gap: 26px; }
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.header-nav a:hover { color: var(--main); }
.header-divider { width: 1px; height: 22px; background: var(--border); }
.header-cta {
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--white);
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent-light); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 600; }
.hamburger span { width: 26px; height: 2px; background: var(--main); display: block; transition: 0.3s; }
.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); }

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 41, 66, 0.4);
  z-index: 400;
}
.menu-overlay.active { display: block; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 88px;
  right: 0;
  width: 260px;
  height: calc(100% - 88px);
  background: var(--white);
  z-index: 500;
  padding: 30px;
  flex-direction: column;
  gap: 22px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { font-size: 15px; font-weight: 500; color: var(--main); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--main), var(--main-light));
  overflow: hidden;
  padding: 96px 0 88px;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.hero::before { width: 420px; height: 420px; top: -180px; right: -120px; }
.hero::after { width: 260px; height: 260px; bottom: -140px; left: -60px; background: rgba(192,57,43,0.15); }

.hero-inner { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.hero-eyebrow {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0;
  animation: heroFade 0.7s ease forwards;
  animation-delay: 0.1s;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.5;
  margin: 0 0 18px;
  opacity: 0;
  animation: heroFade 0.7s ease forwards;
  animation-delay: 0.25s;
}
.hero-title span { color: var(--gold); }
.hero-sub {
  font-size: 15px;
  color: #d7e0e8;
  margin: 0 0 30px;
  max-width: 560px;
  opacity: 0;
  animation: heroFade 0.7s ease forwards;
  animation-delay: 0.4s;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
  opacity: 0;
  animation: heroFade 0.7s ease forwards;
  animation-delay: 0.55s;
}
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
}
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-light); }
.btn-outline { border: 1px solid rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-full { width: 100%; text-align: center; border: none; cursor: pointer; font-family: inherit; }

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFade 0.7s ease forwards;
  animation-delay: 0.7s;
}
.hero-tags span {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 20px;
}
.hero-tags span.gold { background: var(--gold); color: #3a2a00; font-weight: 500; }

@keyframes heroFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ===== Page header (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--main), var(--main-light));
  padding: 56px 0;
  text-align: center;
}
.page-header .eyebrow {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-header h1 { font-family: var(--font-heading); font-size: 30px; color: var(--white); font-weight: 700; margin: 0; }
.breadcrumb { font-size: 13px; color: #cdd7e0; margin-top: 12px; }
.breadcrumb a { color: var(--gold); }

/* ===== Section common ===== */
section { padding: 76px 0; }
.section-eyebrow {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 10px;
}
.section-title { font-family: var(--font-heading); font-size: 27px; font-weight: 700; text-align: center; margin: 0 0 14px; color: var(--main); }
.section-desc { font-size: 14px; color: var(--text-light); text-align: center; max-width: 560px; margin: 0 auto 50px; }
.bg-alt { background: var(--bg); }

/* feature-grid */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.feature-item { padding: 26px 10px; }
.feature-num { font-family: "Oswald", sans-serif; font-size: 34px; font-weight: 600; color: var(--main); }
.feature-num span { font-size: 16px; margin-left: 2px; }
.feature-label { font-size: 13px; color: var(--text-light); margin-top: 6px; }

/* appeal-grid */
.appeal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.appeal-card {
  border-top: 3px solid var(--main);
  border-radius: 0 0 10px 10px;
  padding: 28px 22px;
  background: var(--white);
  box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}
.appeal-icon { font-family: "Oswald", sans-serif; color: var(--accent); font-size: 13px; letter-spacing: 0.08em; margin-bottom: 10px; }
.appeal-card h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; margin: 0 0 10px; color: var(--main); }
.appeal-card p { font-size: 13.5px; color: var(--text-light); margin: 0; }

/* reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { border: 1px solid var(--border); border-radius: 10px; padding: 24px; background: var(--white); }
.review-stars { color: var(--gold); font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.review-card p { font-size: 13.5px; color: var(--text); margin: 0 0 14px; }
.review-name { font-size: 12.5px; color: var(--text-light); font-weight: 500; }

/* cta band */
.cta-section { background: var(--accent); padding: 60px 0; text-align: center; }
.cta-section h2 { font-family: var(--font-heading); color: var(--white); font-size: 24px; font-weight: 700; margin: 0 0 10px; }
.cta-section p { color: #ffe4e0; font-size: 14px; margin: 0 0 26px; }
.cta-section .btn-outline { border-color: rgba(255,255,255,0.6); }

/* table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table, .about-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 13.5px; }
.price-table th, .price-table td, .about-table th, .about-table td {
  border: 1px solid var(--border);
  padding: 14px 16px;
  text-align: left;
}
.price-table th { background: var(--main); color: var(--white); font-weight: 500; }
.about-table th { background: var(--bg); width: 180px; font-weight: 500; color: var(--main); }

/* service list */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 60px; }
.service-block:nth-child(even) .service-text { order: 2; }
.service-text .num { font-family: "Oswald", sans-serif; color: var(--accent); font-size: 14px; letter-spacing: 0.1em; }
.service-text h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--main); margin: 8px 0 12px; }
.service-text p { font-size: 14px; color: var(--text-light); }
.service-img { background: var(--bg); border-radius: 10px; height: 220px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 13px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; }
.contact-info-card { background: var(--bg); border-radius: 10px; padding: 30px; }
.contact-info-card h3 { font-family: var(--font-heading); color: var(--main); font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.contact-info-card ul li { font-size: 13.5px; margin-bottom: 12px; color: var(--text); }
.contact-info-card ul li strong { display: block; font-size: 12px; color: var(--text-light); font-weight: 500; margin-bottom: 2px; }
.contact-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--main); }
.contact-form .form-row { margin-bottom: 18px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-success { background: var(--bg); border-radius: 10px; padding: 30px; text-align: center; color: var(--main); font-size: 14px; }

/* footer */
footer { background: var(--main); color: #cdd7e0; padding: 50px 0 24px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-logo { font-family: var(--font-heading); color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.footer-grid h4 { color: var(--white); font-size: 13px; margin: 0 0 14px; letter-spacing: 0.05em; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; text-align: center; color: #8ea1b3; font-size: 12px; }

/* fade */
.appeal-card, .review-card, .fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.appeal-card.visible, .review-card.visible, .fade-up.visible { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 900px) {
  .header-nav, .header-divider, .header-cta { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 72px; padding: 0 24px; }
  .mobile-menu { top: 72px; height: calc(100% - 72px); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .appeal-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }

  header .header-inner { position: relative; }

  .about-table, .about-table tbody, .about-table tr, .about-table th, .about-table td {
    display: block; width: 100%;
  }
  .about-table th { font-size: 12px; padding: 8px 14px; border-bottom: 1px solid var(--border); }
  .about-table td { padding: 12px 14px; }
}
@media (max-width: 480px) {
  .appeal-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  .hero-cta { flex-direction: column; }
}
