/* === VARIABLES === */
:root {
  --main: #1a5fa8;
  --main-light: #2e7fc8;
  --main-dark: #0f3d70;
  --accent: #c0392b;
  --accent-hover: #a93226;
  --bg: #f4f7fb;
  --bg-blue: #e8f0f8;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-light: #5a6a7e;
  --border: #d0dce8;
  --star: #c0392b;
}

/* === 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: 15px; color: var(--text); background: var(--white); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* === BUTTONS === */
.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 6px;
  transition: background 0.2s;
  font-size: 15px;
}
.btn-accent:hover { background: var(--accent-hover); }
.btn-main {
  display: inline-block;
  background: var(--main);
  color: #fff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 6px;
  transition: background 0.2s;
  font-size: 15px;
}
.btn-main:hover { background: var(--main-dark); }
.btn-outline {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-size: 15px;
}
.btn-outline:hover { background: #fff; color: var(--main); }
.btn-full { width: 100%; text-align: center; }

/* === CONTAINER === */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  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 a { display: flex; flex-direction: column; gap: 2px; }
.logo-main { font-size: 22px; font-weight: 700; color: var(--main); letter-spacing: 0.02em; }
.logo-sub { font-size: 11px; color: var(--text-light); letter-spacing: 0.05em; }
.header-right { display: flex; align-items: center; gap: 24px; }
.header-nav { display: flex; gap: 20px; }
.header-nav a { font-size: 14px; color: var(--text); transition: color 0.2s; }
.header-nav a:hover { color: var(--main); }
.header-divider { width: 1px; height: 22px; background: var(--border); }
.header-cta { font-size: 14px; font-weight: 700; padding: 10px 20px; border-radius: 6px; background: var(--accent); color: #fff; transition: background 0.2s; }
.header-cta:hover { background: var(--accent-hover); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 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); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 88px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 16px; color: var(--text); padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .btn-accent { margin-top: 8px; text-align: center; }
.menu-overlay { display: none; position: fixed; inset: 0; z-index: 98; }
.menu-overlay.open { display: block; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--main) 0%, var(--main-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  color: #fff;
}
.hero-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.hero-deco-1 { width: 420px; height: 420px; top: -120px; right: -80px; }
.hero-deco-2 { width: 260px; height: 260px; bottom: -80px; left: 5%; }
.hero-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 32px; }

.hero-eyebrow, .hero-title, .hero-sub, .hero-cta, .hero-tags {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-eyebrow.visible { opacity: 1; transform: none; transition-delay: 0s; }
.hero-title.visible { opacity: 1; transform: none; transition-delay: 0.1s; }
.hero-sub.visible { opacity: 1; transform: none; transition-delay: 0.2s; }
.hero-cta.visible { opacity: 1; transform: none; transition-delay: 0.3s; }
.hero-tags.visible { opacity: 1; transform: none; transition-delay: 0.4s; }

.hero-eyebrow {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}
.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-title span { color: #ffd566; }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.75;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tag {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
}

/* === SECTION COMMON === */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-blue { background: var(--bg-blue); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--main);
  margin-bottom: 10px;
}
.section-title { font-size: 30px; font-weight: 700; color: var(--text); line-height: 1.3; }
.section-title span { color: var(--main); }
.section-lead { font-size: 15px; color: var(--text-light); margin-top: 12px; }

/* === FEATURE GRID (数字で見せる) === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
}
.feature-num {
  font-family: "Oswald", sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--main);
  line-height: 1;
}
.feature-unit { font-size: 16px; font-weight: 600; color: var(--main); }
.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 {
  background: var(--white);
  border-top: 3px solid var(--main);
  border-radius: 0 0 10px 10px;
  padding: 24px 20px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.appeal-card.visible { opacity: 1; transform: none; }
.appeal-icon {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.appeal-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.appeal-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* === REVIEWS === */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.review-card.visible { opacity: 1; transform: none; }
.review-stars { color: var(--star); font-size: 16px; margin-bottom: 10px; }
.review-text { font-size: 13px; color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.review-name { font-size: 12px; color: var(--text-light); font-weight: 500; }

/* === CTA BAND === */
.cta-section {
  background: var(--main);
  padding: 72px 0;
  text-align: center;
  color: #fff;
}
.cta-section h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.cta-section p { font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === ABOUT TABLE === */
.about-table { width: 100%; border-collapse: collapse; }
.about-table th, .about-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
  vertical-align: top;
}
.about-table th {
  width: 160px;
  background: var(--bg-blue);
  color: var(--main-dark);
  font-weight: 600;
  white-space: nowrap;
}
.about-table td { background: var(--white); }

/* === CONTACT FORM === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.contact-info p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.contact-tel { font-family: "Oswald", sans-serif; font-size: 32px; color: var(--main); font-weight: 600; }
.contact-tel-sub { font-size: 12px; color: var(--text-light); margin-top: 4px; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--main);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.required { color: var(--accent); margin-left: 4px; font-size: 11px; }
.form-success { text-align: center; padding: 32px; background: var(--bg-blue); border-radius: 10px; }
.form-success p { color: var(--main-dark); font-weight: 500; line-height: 1.8; }

/* === SERVICE PAGE === */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card.visible { opacity: 1; transform: none; }
.service-card-head {
  background: var(--main);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-card-head .icon {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.15);
  padding: 4px 8px;
  border-radius: 4px;
}
.service-card-head h3 { color: #fff; font-size: 18px; font-weight: 700; }
.service-card-body { padding: 20px 24px; }
.service-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.75; margin-bottom: 14px; }
.service-list li { font-size: 13px; color: var(--text); padding: 5px 0; border-bottom: 1px dashed var(--border); display: flex; align-items: center; gap: 8px; }
.service-list li:last-child { border-bottom: none; }
.service-list li::before { content: "✓"; color: var(--main); font-weight: 700; }
.price-badge { display: inline-block; background: var(--bg-blue); color: var(--main-dark); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; margin-top: 10px; }

/* === TABLE SCROLL === */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { min-width: 560px; width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 12px 16px; border: 1px solid var(--border); font-size: 13px; text-align: left; }
.price-table th { background: var(--main); color: #fff; font-weight: 600; }
.price-table tr:nth-child(even) td { background: var(--bg); }

/* === FOOTER === */
.site-footer { background: var(--main-dark); color: rgba(255,255,255,0.8); padding: 48px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-main { color: #fff; font-size: 20px; font-weight: 700; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); font-size: 11px; margin-top: 4px; }
.footer-brand p { font-size: 13px; margin-top: 14px; line-height: 1.7; }
.footer-nav h4, .footer-info h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0.05em; }
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-info p { font-size: 13px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); }

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

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--main) 0%, var(--main-light) 100%);
  padding: 56px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.07); }
.page-hero-deco-1 { width: 280px; height: 280px; top: -80px; right: -40px; }
.page-hero-deco-2 { width: 180px; height: 180px; bottom: -60px; left: 5%; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-eyebrow { font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.page-hero h1 { font-size: 34px; font-weight: 900; }

/* === BREADCRUMB === */
.breadcrumb { padding: 12px 0; font-size: 12px; color: var(--text-light); }
.breadcrumb a { color: var(--main); }
.breadcrumb span { margin: 0 6px; }

/* === RESPONSIVE === */
@media (max-width: 860px) {
  .header-nav, .header-divider, .header-cta { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 30px; }
  .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-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .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; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 26px; }
  .section-title { font-size: 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-cta { flex-direction: column; }
}
