@charset "UTF-8";

:root {
  --yellow: #ffd43b;
  --yellow-hover: #f5c518;
  --yellow-soft: #fff8dc;
  --yellow-deep: #dbb322;
  --ink: #173a35;
  --button-bg: var(--ink);
  --button-hover: #2b5048;
  --button-text: #fff;
  --muted: #4c635b;
  --paper: #ffffff;
  --bg: #f7f8f3;
  --line: #d9e2d8;
  --link: #173a35;
  --radius: 14px;
  /* Shared content and H1 proportions (the TOP uses the same values). */
  --page-shell-width: 1320px;
  --page-h1-size: 40px;
  --page-h1-line-height: 1.35;
  --page-h1-tracking: -.025em;
  --shadow: 0 9px 32px rgba(24, 26, 32, .07);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.88;
  letter-spacing: .012em;
  overflow-wrap: anywhere;
}
a { color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
a:hover { color: #000; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #987100;
  outline-offset: 3px;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
iframe { max-width: 100%; }
button, input, textarea, select { font: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header: preserved charcoal ground and yellow brand accent */
.site-header { position: relative; z-index: 30; border-bottom: 1px solid #31343d; }
.header-inner { max-width: var(--site-width); margin: auto; padding: 19px 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; text-decoration: none; color: #fff; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; font-size: 21px; font-weight: 800; }
.brand-name { display: block; color: #fff; font-size: clamp(34px, 3.2vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: .035em; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-tel { line-height: 1.25; text-align: right; }
.header-tel small { display: block; margin-bottom: 4px; color: #d5d6db; font-size: 11px; }
.header-tel a { color: #fff; font-size: 22px; font-weight: 800; text-decoration: none; white-space: nowrap; letter-spacing: .012em; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 19px; border: 1px solid transparent; border-radius: 10px; background: var(--button-bg); color: var(--button-text); font-size: 14px; font-weight: 750; line-height: 1.45; text-align: center; text-decoration: none; }
.cta:hover { background: var(--button-hover); color: var(--button-text); }
.cta.secondary { color: var(--ink); box-shadow: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; border: 1px solid var(--yellow); border-radius: 10px; color: #000000; font-size: 24px; font-weight: 800; cursor: pointer; }

/* Global navigation: retain the bright yellow bar and nine items */
.primary-nav { position: relative; z-index: 25; border-top: 1px solid #e2bd29; border-bottom: 2px solid #c5a31b; }
.primary-nav__inner { display: flex; align-items: stretch; justify-content: space-between; gap: 0; max-width: var(--site-width); margin: auto; padding: 0 8px; }
.primary-nav__link, .nav-disclosure__summary { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 11px 11px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 750; line-height: 1.35; letter-spacing: .012em; white-space: nowrap; text-decoration: none; cursor: pointer; }
.nav-disclosure { position: relative; }
.nav-disclosure__summary { list-style: none; }
.nav-disclosure__summary::-webkit-details-marker { display: none; }
.nav-chevron { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
.nav-disclosure[open] .nav-chevron { transform: rotate(225deg); margin-top: 3px; }
.nav-disclosure__menu { position: absolute; z-index: 40; top: 100%; left: 0; width: max-content; min-width: 270px; max-width: min(350px, 95vw); max-height: calc(100vh - 180px); overflow-y: auto; padding: 9px; background: #fff; border: 1px solid #e6d389; border-radius: 0 0 12px 12px; box-shadow: 0 15px 35px rgba(0, 0, 0, .15); }
.nav-disclosure__menu a { display: block; padding: 10px 13px; border-radius: 7px; color: #000000; font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.nav-disclosure__menu a:hover, .nav-disclosure__menu a[aria-current="page"] { color: #000000; }
.nav-disclosure__menu a.is-featured { background: #fff0a5; font-weight: 800; }
.nav-disclosure__menu a.is-featured:hover { background: var(--yellow); }

/* Unified wide, one-column body */
.page-shell { max-width: var(--page-shell-width); margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin: 0 0 16px 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.main-layout { display: block; }
.content-panel { min-width: 0; width: 100%; background: var(--paper); }
.page-content { width: 100%; max-width: none; margin: 0 auto; }
.page-content > div { max-width: 100%; }

/* Editorial typography and active content modules */
.page-content h1 { margin: 0 0 24px; border-bottom: 3px solid var(--yellow); color: var(--ink); font-weight: 800; }
.page-content h2 { margin: 42px 0 21px; padding: 0 0 12px; color: var(--ink); font-weight: 750; line-height: 1.54; }
.page-content h3 { margin: 30px 0 16px; padding: 4px 0 4px 13px; border-left: 5px solid var(--yellow); color: var(--ink); font-size: clamp(18px, 1.6vw, 20px); font-weight: 750; line-height: 1.55; }
.page-content p { margin: 0 0 19px; line-height: 1.94; }
.page-content li { margin-bottom: 7px; line-height: 1.86; }
.page-content ul, .page-content ol { padding-left: 1.5em; }
.page-content hr { height: 1px; margin: 25px 0; border: 0; background: var(--line); }
.page-content img { object-fit: contain; }
.page-content figure { margin: 16px 0; }
.page-content figcaption { color: var(--muted); font-size: 13px; text-align: center; }














.page-content table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14px; }
.page-content table td, .page-content table th { padding: 11px 12px; border: 1px solid #dce3e6; vertical-align: top; }
.page-content table tr:nth-child(even) { background: #fcfcfc; }

.page-content iframe { max-width: 100%; border: 0; }






.page-content .contact-demo { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfc; }
.page-content .contact-demo .form-note { margin: 0 0 18px; padding: 12px 14px; border-radius: 7px; background: var(--yellow-soft); color: #775516; font-size: 13px; }
.page-content .contact-demo .field { display: grid; gap: 6px; margin-bottom: 15px; }
.page-content .contact-demo input, .page-content .contact-demo textarea, .page-content .contact-demo select { width: 100%; padding: 12px; border: 1px solid #cdd6dc; border-radius: 8px; background: #fff; }
.page-content .contact-demo button { padding: 11px 20px; border: 0; border-radius: 8px; background: #d8dde0; color: #445; cursor: not-allowed; }

/* Existing SEO sections and internal navigation */
.seo-section { margin: 34px 0; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.seo-section > h2 { margin: 0 0 17px; }
.seo-section > p { margin-bottom: 18px; }
.service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { display: flex; flex-direction: column; gap: 11px; padding: 22px; border-left: 4px solid var(--yellow); background: #f7faf4; color: var(--ink); text-decoration: none; transition: background-color .15s ease; }
.service-card:hover { color: var(--ink); }
.service-card strong { font-size: 18px; font-weight: 750; line-height: 1.45; }
.service-card span { font-size: 14px; line-height: 1.72; }
.service-card__more { margin-top: auto; color: #403406; font-weight: 750; }
.seo-focus, .seo-region { border-color: #ebd8a3; background: #edf5ec; }
.seo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.seo-text-link { font-weight: 750; }
.seo-related-guide { margin: 22px 0; padding: 15px 18px; border-left: 4px solid var(--yellow); background: #edf5ec; }
.seo-inline-links { display: flex; flex-wrap: wrap; gap: 11px; margin: 17px 0; }
.seo-inline-links a { display: inline-block; padding: 10px 14px; border: 1px solid #e9d797; border-radius: 8px; background: #edf5ec; font-weight: 750; text-decoration: none; }
.seo-inline-links a:hover, .seo-inline-links .is-priority { background: #fff0a5; }
.seo-faq-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.seo-faq-list > div { padding: 17px 19px; border: 1px solid #f0e5cb; border-radius: 9px; background: #edf5ec; }
.seo-faq-list h3 { margin: 0 0 8px; padding: 0 0 0 11px; border-left: 4px solid var(--yellow); font-size: 17px; }
.seo-faq-list p { margin: 0; }
.seo-faq-end { margin-top: 14px; text-align: right; }
.local-sitemap, .local-sitemap ul { padding-left: 1.5em; }
.local-sitemap ul { margin: 4px 0 15px; }
.local-sitemap li { padding: 4px 0; }

/* End-of-page consultation panel */
.bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 36px 0 0; padding: 25px 27px; border: 1px solid #f0d879; background: #e6f0e7; color: var(--ink); }
.bottom-cta strong { display: block; font-size: 19px; font-weight: 750; }
.bottom-cta small { display: block; color: var(--muted); font-size: 13px; }
.bottom-cta .cta { white-space: nowrap; }

/* Footer */
.footer { background: var(--yellow); color: #000000; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; max-width: var(--site-width); margin: auto; padding: 38px 24px 47px; }
.footer strong { font-size: 20px; font-weight: 750; }
.footer small { color: #000000; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 9px 20px; }
.footer a { color: #000000; font-size: 13px; }
.footer-copy { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgb(23 58 53 / 25%); color: #000000; font-size: 12px; }
.mobile-fixed-contact { display: none; }

/* Tablet: menu switches before nine desktop entries become cramped. */
@media (max-width: 1023px) {
  .header-inner { padding: 15px 23px; }
  .header-tel, .header-actions > .cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: relative; z-index: 40; border-top: 0; border-bottom: 3px solid var(--ink); }
  .primary-nav[data-menu-open="true"] { display: block; }
  .primary-nav__inner { display: block; max-height: calc(100vh - 95px); padding: 0; overflow-y: auto; }
  .primary-nav__link, .nav-disclosure__summary { justify-content: space-between; width: 100%; min-height: 50px; padding: 13px 24px; border-bottom: 1px solid rgba(24, 26, 32, .16); font-size: 15px; white-space: normal; }
  .nav-disclosure__menu { position: static; width: auto; min-width: 0; max-width: none; max-height: none; padding: 6px 18px 10px 28px; overflow: visible; border: 0; border-radius: 0; background: #fff9dd; box-shadow: none; }
  .nav-disclosure__menu a { padding: 12px 14px; border-bottom: 1px solid #eee1b2; font-size: 14px; }
}

/* Phone: generous readable text, one-column cards, touch-sized controls. */
@media (max-width: 720px) {
  body { font-size: 15px; line-height: 1.84; }
  .header-inner { padding: 13px 15px; gap: 10px; }
  .brand { gap: 10px; }
  .brand-mark { width: 40px; height: 40px; font-size: 19px; }
  .brand-name { font-size: clamp(24px, 7.7vw, 32px); }
  .menu-toggle { width: 43px; height: 43px; }
  .page-shell { padding: 15px 10px 102px; }
  .breadcrumb { margin: 0 4px 11px; font-size: 11px; }
  .content-panel { padding: 25px 17px 30px; border-radius: 11px; }
  .page-content h1 { margin-bottom: 20px; padding-bottom: 13px; }
  .page-content h2 { margin: 33px 0 17px; padding-bottom: 9px; font-size: 21px; }
  .page-content h3 { margin: 25px 0 13px; font-size: 18px; }
  .page-content p { margin-bottom: 17px; line-height: 1.92; }
  
  
  
  
  .page-content table { font-size: 13px; }
  .page-content .contact-demo { padding: 17px; }
  .service-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .service-card { padding: 18px; }
  .service-card strong { font-size: 17px; }
  .seo-section { margin: 24px 0; padding: 19px 17px; }
  .seo-actions .cta { width: 100%; }
  .seo-faq-list > div { padding: 14px; }
  .bottom-cta { display: block; padding: 21px 17px; text-align: center; }
  .bottom-cta .cta { width: 100%; margin-top: 17px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; padding: 30px 19px 110px; }
  .footer-copy { grid-column: 1; }
  .mobile-fixed-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; position: fixed; z-index: 70; bottom: 0; left: 0; right: 0; padding: 9px max(9px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(9px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -5px 20px rgba(0, 0, 0, .11); }
  .mobile-fixed-contact a { display: block; padding: 11px 9px; border-radius: 9px; font-size: 13px; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; }
  .mobile-fixed-contact a:first-child { background: #f1f4f5; color: var(--ink); }
  .mobile-fixed-contact a:last-child { background: var(--button-bg); color: var(--button-text); }
  .mobile-fixed-contact a:last-child:hover { background: var(--button-hover); }
}

@media (max-width: 380px) {
  .content-panel { padding: 21px 13px 28px; }
  .page-content h1 { font-size: var(--page-h1-size); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card { transition: none; }
}

/* Final visual theme (overrides base defaults without changing responsive layout). */
:root { --site-width: 1250px; --reading-width: 1080px; }
.site-header { background: #fff; border-color: var(--line); }
.header-inner { padding-block: 18px; }
.brand-name, .header-tel a { color: var(--ink); }
.header-tel small { color: var(--muted); }
.brand-mark { border-radius: 0; background: transparent; }
.brand-logo-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.cta { border-radius: 999px; box-shadow: none; }
.cta.secondary { background: #fff; border-color: var(--line); }
.menu-toggle { border-color: var(--line); background: #edf5ec; }
.primary-nav { background: var(--yellow); border: 0; }
.primary-nav__inner { padding-inline: 16px; }
.primary-nav__link, .nav-disclosure__summary { color: #000000; min-height: 54px; }
.primary-nav__link:hover, .primary-nav__link.is-current,
.nav-disclosure.is-current > .nav-disclosure__summary,
.nav-disclosure[open] > .nav-disclosure__summary, .nav-disclosure__summary:hover {
  background: var(--yellow-hover);
  color: #000000;
  border-bottom-color: var(--ink);
}
.nav-disclosure__menu { border-color: var(--line); }
.nav-disclosure__menu a:hover, .nav-disclosure__menu a[aria-current="page"] { background: #e3efe6; }
.page-shell { padding: 24px clamp(18px, 3.5vw, 40px) 66px; }
.breadcrumb { margin-left: 0; }
.content-panel { padding: clamp(24px, 3.8vw, 44px); border: 0; border-radius: 24px; box-shadow: 0 10px 40px #14382c0a; }
.page-content h1 {
  border: 0; padding: 0; font-size: var(--page-h1-size); letter-spacing: var(--page-h1-tracking); line-height: var(--page-h1-line-height);
}
.page-content h2 {
  border-bottom: 1px solid var(--line); padding-bottom: .62em;
  font-size: clamp(22px, 2.6vw, 33px); letter-spacing: -.025em;
}
.page-content h3 { border-left-color: var(--yellow); }










.page-content img { border-radius: 12px; }
.page-content .image-link { display: inline-block; padding: .35em .75em; }
.page-content .image-copy { color: var(--muted); font-size: .92em; }
.page-content a:has(> .image-link) {
  display: inline-block; border: 1px solid var(--line); border-radius: 10px;
  background: #edf5ec; padding: .2rem .4rem; font-weight: 700; text-decoration: none;
}
.page-content a:has(> .image-link):hover { background: #e0eee3; }
.service-cards { gap: 14px; }
.service-card { border: 1px solid var(--line); border-radius: 15px; }
.service-card:hover { background: #e6f0e7; }
.seo-section, .seo-faq-list > div, .seo-inline-links a, .bottom-cta { border-color: var(--line); }
.bottom-cta { border-radius: 16px; }
.footer { border-top: 0; }
.footer a:hover { text-decoration-thickness: 2px; }

@media (max-width: 1023px) {
  .primary-nav__inner { padding: 0; }
  .primary-nav__link, .nav-disclosure__summary { border-bottom-color: rgb(23 58 53 / 25%); }
  .nav-disclosure__menu { background: #f0f6ee; }
  .nav-disclosure__menu a { border-bottom-color: var(--line); }
}
@media (max-width: 720px) {
  :root { --page-h1-size: clamp(25px, 7.2vw, 28px); }
  .header-inner { padding-block: 13px; }
  .page-shell { padding: 15px 12px 44px; }
  .content-panel { padding: 24px 17px; border-radius: 16px; }
  
}
