/* ===== MAKOTO AUTO — styles.css ===== */
/* Main: #1a4fa8 (Royal Blue) / Accent: #e87820 (Orange) / Dark: #0d2d6e */

:root {
  --main: #1a4fa8;
  --main-dark: #0d2d6e;
  --main-light: #2a6fd4;
  --accent: #e87820;
  --accent-hover: #c86010;
  --text: #1a2a3a;
  --text-light: #5a6a7a;
  --bg: #f4f6fb;
  --bg2: #eaecf5;
  --white: #ffffff;
  --border: #d0d8f0;
  --card-bg: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; font-size: 15px; }
a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 2px 8px rgba(26,79,168,0.1); }
.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; align-items: center; gap: 20px; list-style: none; }
.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: 11px 22px; border-radius: 6px; background: var(--accent); color: var(--white); transition: background 0.2s, transform 0.15s; white-space: nowrap; }
.header-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--main); border-radius: 2px; transition: transform 0.3s, opacity 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; flex-direction: column; background: var(--white); padding: 16px 32px 24px; border-top: 1px solid var(--border); }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text); font-size: 15px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-cta { margin-top: 16px; text-align: center; background: var(--accent); color: var(--white); font-weight: 700; padding: 14px; border-radius: 6px; border-bottom: none; }
.menu-overlay { display: none; position: fixed; inset: 0; z-index: 99; }
.menu-overlay.open { display: block; }

/* ===== HERO ===== */
.hero { background: var(--main); padding: 80px 32px 72px; position: relative; overflow: hidden; }
.hero-circle1 { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--main-light); opacity: 0.2; top: -180px; right: -120px; }
.hero-circle2 { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--main-dark); opacity: 0.3; bottom: -100px; left: -80px; }
.hero-inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 14px; opacity: 0; transform: translateY(10px); transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s; }
.hero-title { font-size: 44px; font-weight: 900; color: var(--white); line-height: 1.25; margin-bottom: 20px; opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease 0.25s, transform 0.7s ease 0.25s; }
.hero-title .orange { color: var(--accent); }
.hero-sub { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.85; max-width: 560px; margin-bottom: 28px; opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; opacity: 0; transform: translateY(10px); transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; opacity: 0; transform: translateY(10px); transition: opacity 0.7s ease 0.6s, transform 0.7s ease 0.6s; }
.hero-tag { font-size: 12px; padding: 5px 14px; border-radius: 20px; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.25); }
.hero-eyebrow.visible, .hero-title.visible, .hero-sub.visible, .hero-btns.visible, .hero-tags.visible { opacity: 1; transform: none; }

/* Buttons */
.btn-accent { display: inline-block; background: var(--accent); color: var(--white); font-size: 15px; font-weight: 700; padding: 16px 32px; border-radius: 6px; transition: background 0.2s, transform 0.15s; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline-white { display: inline-block; background: transparent; color: var(--white); font-size: 15px; font-weight: 500; padding: 15px 28px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.6); transition: background 0.2s, border-color 0.2s; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-main { display: inline-block; background: var(--main); color: var(--white); font-size: 15px; font-weight: 700; padding: 16px 32px; border-radius: 6px; transition: background 0.2s, transform 0.15s; }
.btn-main:hover { background: var(--main-dark); transform: translateY(-2px); }
.btn-full { display: block; width: 100%; text-align: center; }

/* ===== FEATURE STRIP ===== */
.feature-strip { background: var(--bg); border-bottom: 1px solid var(--border); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1080px; margin: 0 auto; }
.feature-item { padding: 28px 16px; text-align: center; border-right: 1px solid var(--border); }
.feature-item:last-child { border-right: none; }
.feature-num { font-family: 'Oswald', sans-serif; font-size: 36px; font-weight: 600; color: var(--main); line-height: 1; margin-bottom: 6px; }
.feature-num span { font-size: 16px; font-family: 'Noto Sans JP', sans-serif; }
.feature-label { font-size: 12px; color: var(--text-light); }

/* ===== SECTIONS ===== */
.section { padding: 80px 32px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-alt { background: var(--bg); }
.section-head { 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: 8px; }
.section-title { font-size: 28px; font-weight: 700; color: var(--text); line-height: 1.35; }
.section-title .orange { color: var(--accent); }
.section-sub { font-size: 14px; color: var(--text-light); margin-top: 8px; }

/* ===== APPEAL CARDS ===== */
.appeal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.appeal-card { background: var(--card-bg); border: 1px solid var(--border); border-top: 3px solid var(--main); border-radius: 0 0 10px 10px; padding: 28px 22px; 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: 13px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px; }
.appeal-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.appeal-body { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ===== SERVICE CARDS ===== */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { background: var(--card-bg); 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: 18px 22px; display: flex; align-items: center; gap: 12px; }
.service-card-num { font-family: 'Oswald', sans-serif; font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 0.1em; }
.service-card-title { font-size: 17px; font-weight: 700; color: var(--white); }
.service-card-body { padding: 20px 22px; }
.service-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.85; margin-bottom: 14px; }
.service-list { list-style: none; }
.service-list li { font-size: 13px; color: var(--text-light); padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.service-list li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.service-list li:last-child { border-bottom: none; }
.service-price { display: inline-block; margin-top: 12px; background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: 8px 14px; border-radius: 0 6px 6px 0; font-size: 13px; font-weight: 700; color: var(--main); }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 24px 20px; 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(--accent); font-size: 15px; margin-bottom: 10px; }
.review-text { font-size: 13px; color: var(--text-light); line-height: 1.85; margin-bottom: 14px; }
.review-meta { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--main); color: var(--white); font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-name { font-size: 13px; font-weight: 500; }
.review-date { font-size: 11px; color: var(--text-light); }

/* ===== CTA BAND ===== */
.cta-section { background: var(--main); padding: 72px 32px; text-align: center; }
.cta-section-title { font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.cta-section-sub { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-white { display: inline-block; background: var(--white); color: var(--main); font-size: 15px; font-weight: 700; padding: 16px 32px; border-radius: 6px; transition: background 0.2s, transform 0.15s; }
.btn-white:hover { background: var(--bg); transform: translateY(-2px); }
.btn-tel { display: inline-block; background: rgba(255,255,255,0.15); color: var(--white); font-size: 15px; font-weight: 700; padding: 16px 32px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.5); transition: background 0.2s; }
.btn-tel:hover { background: rgba(255,255,255,0.25); }

/* ===== PAGE HERO ===== */
.page-hero { background: var(--main); padding: 52px 32px; }
.page-hero-inner { max-width: 1080px; margin: 0 auto; }
.page-hero-eyebrow { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 0.15em; color: rgba(255,255,255,0.7); text-transform: uppercase; margin-bottom: 8px; }
.page-hero-title { font-size: 30px; font-weight: 700; color: var(--white); }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 12px 32px; }
.breadcrumb-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-light); }
.breadcrumb-inner a { color: var(--text-light); }
.breadcrumb-inner a:hover { color: var(--main); }
.breadcrumb-sep { opacity: 0.4; }

/* ===== ABOUT TABLE ===== */
.about-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.about-table th { background: var(--bg); padding: 14px 20px; text-align: left; font-weight: 500; color: var(--main); font-size: 13px; width: 200px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.about-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); color: var(--text-light); }
.about-table tr:last-child th, .about-table tr:last-child td { border-bottom: none; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.contact-info-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.contact-info-item { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-label { font-size: 11px; letter-spacing: 0.08em; color: var(--text-light); }
.contact-info-value { font-size: 15px; font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 500; }
.form-label .required { font-size: 11px; background: var(--accent); color: var(--white); padding: 2px 6px; border-radius: 3px; margin-left: 6px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; font-family: 'Noto Sans JP', sans-serif; font-size: 14px; color: var(--text); background: var(--white); transition: border-color 0.2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--main); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-success { text-align: center; padding: 40px 20px; background: var(--bg); border-radius: 10px; border: 1px solid var(--border); }
.form-success p { font-size: 15px; color: var(--text-light); line-height: 1.9; }

/* ===== PRICE TABLE ===== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14px; }
.price-table th { background: var(--main); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 500; font-size: 13px; }
.price-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-light); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--bg); }
.price-accent { color: var(--main); font-weight: 700; }

/* ===== FOOTER ===== */
.site-footer { background: #06152e; color: rgba(255,255,255,0.7); padding: 48px 32px 24px; }
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.footer-logo-main { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer-logo-sub { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.footer-desc { font-size: 13px; line-height: 1.8; }
.footer-nav-title { font-size: 12px; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 14px; }
.footer-nav-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-list a { font-size: 13px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-nav-list a:hover { color: var(--white); }
.footer-nav-list li { font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.3); }

/* ===== 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; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .header-right { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 56px 20px 48px; }
  .hero-title { font-size: 30px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: none; }
  .section { padding: 56px 20px; }
  .appeal-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .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); white-space: normal; }
  .about-table td { padding: 12px 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-section { padding: 48px 20px; }
  .cta-section-title { font-size: 22px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .page-hero { padding: 36px 20px; }
  .breadcrumb { padding: 10px 20px; }
}
@media (max-width: 480px) {
  .appeal-grid { grid-template-columns: 1fr; }
}
