/*
 * common-a.css - Shared styles for all design pages (fixed-header design):
 *   404.html, about.html, cleaning.html, contact.html, flow.html,
 *   services.html, voice.html, faq.html, privacy.html, reservation.html,
 *   tokushoho.html (former system B pages unified on 2026-07-07).
 * Do NOT include on index.html (redirect stub only).
 *
 * Load order matters: common.css -> common-a.css -> per-page <style>.
 * These rules were moved verbatim from the identical inline blocks of the
 * original 7 pages; cascade order against remaining inline rules was
 * verified at property level. When editing, bump the ?v= cache-busting
 * parameter on every <link> that references this file (all 11 pages).
 * Note: reservation.html neutralizes the global 44px min-height on
 * desktop form controls via its inline <style>.
 */
:root {
    --primary: #1976D2;
    --primary-light: #4FC3F7;
    --primary-dark: #0D47A1;
    --accent: #81D4FA;
    --bg-soft: #E3F2FD;
    --ink: #0B2545;
    --ink-soft: #475569;
    --gray: #64748B;
    --line: #DCE7F4;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(13,71,161,0.08);
    --shadow-md: 0 10px 30px rgba(13,71,161,0.12);
    --shadow-lg: 0 20px 60px rgba(13,71,161,0.18);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --maxw: 1200px;
}

body {
    margin: 0;
    font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

a, button, input, select, textarea { min-height: 44px; }

label { min-height: 0; }

.header-inner {
    width: 92%; max-width: var(--maxw); margin: 0 auto;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--primary-dark); font-size: 1.05rem; }

.logo-name { line-height: 1.1; letter-spacing: .02em; }

.nav-desktop { display: none; }

.hamburger {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); background: white; border-radius: 10px;
}

.hamburger span {
    position: relative; width: 18px; height: 2px; background: var(--primary-dark); border-radius: 2px;
    transition: transform .25s ease, top .25s ease, opacity .25s ease;
}

.hamburger span::before, .hamburger span::after {
    content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--primary-dark); border-radius: 2px;
    transition: transform .25s ease, top .25s ease;
}

.hamburger span::before { top: -6px; }

.hamburger span::after  { top:  6px; }

.menu-open .hamburger span { background: transparent; }

.menu-open .hamburger span::before { top: 0; transform: rotate(45deg); }

.menu-open .hamburger span::after  { top: 0; transform: rotate(-45deg); }

.nav-mobile {
    position: fixed; top: 64px; left: 0; right: 0;
    background: white; border-top: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(13,71,161,0.10);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
    max-height: calc(100vh - 64px); overflow-y: auto; z-index: 99;
}

.menu-open .nav-mobile { transform: translateY(0); opacity: 1; pointer-events: auto; }

.nav-mobile a {
    display: flex; align-items: center; padding: 16px 24px;
    font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 1rem;
}

.nav-mobile a.btn-pill {
    margin: 16px 20px; justify-content: center; border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white; border: none; box-shadow: 0 8px 20px rgba(25,118,210,0.35);
}

.btn-reserve {
    background: linear-gradient(135deg, #FF8E53, #FF6B6B);
    color: #fff !important;
    padding: 0 18px;
    height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    box-shadow: 0 8px 20px rgba(255,107,107,0.35);
    transition: transform .15s ease, box-shadow .15s ease;
    margin-right: 4px;
}

.btn-reserve:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,107,107,0.45); }

.nav-mobile a.btn-pill-reserve {
    margin: 16px 20px 0;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #FF8E53, #FF6B6B);
    color: #fff;
    border: none;
    box-shadow: 0 8px 20px rgba(255,107,107,0.35);
    padding: 14px 24px;
    font-weight: 700;
}

.btn-contact {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff !important; padding: 0 18px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; font-weight: 700; font-size: .9rem;
    box-shadow: 0 8px 20px rgba(25,118,210,0.35);
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn-contact:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(25,118,210,0.45); }

footer { background: #0B2545; color: rgba(255,255,255,.78); padding: 56px 0 24px; }

.footer-top {
    display: grid; grid-template-columns: 1fr; gap: 28px;
    padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { color: #fff; }

.footer-brand p { font-size: .88rem; line-height: 1.8; margin: 12px 0 0; color: rgba(255,255,255,.78); }

.footer-col h3 { color: #fff; font-size: .92rem; margin: 0 0 12px; }

.footer-col ul { list-style: none; margin: 0; padding: 0; }

.footer-col ul li { margin: 0 0 8px; }

.footer-col ul li a { color: rgba(255,255,255,.7); font-size: .88rem; transition: color .15s ease; }

.footer-col ul li a:hover { color: var(--primary-light); }

.footer-bottom {
    padding-top: 18px; display: flex; flex-direction: column; gap: 6px;
    align-items: center; justify-content: center; font-size: .78rem;
    color: rgba(255,255,255,.6); text-align: center;
}

@media (min-width: 768px) {
  .header-inner { height: 72px; }

  .logo { font-size: 1.15rem; gap: 12px; }

  .logo-img { height: 48px; max-width: 240px; }

  .hamburger { display: none; }

  .nav-mobile { display: none; }

  .nav-desktop { display: flex; align-items: center; gap: 28px; }

  .nav-desktop a { font-size: .92rem; color: var(--ink-soft); font-weight: 600; transition: color .15s ease; min-height: 0; }

  .nav-desktop a:hover { color: var(--primary); }

  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }

  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

}

@media (max-width: 767px) {
  html { font-size: 16px; -webkit-text-size-adjust: 100%; }

  p { line-height: 1.75; }

  h1 { font-size: clamp(1.5rem, 6vw, 2.25rem); line-height: 1.3; }

  h2 { font-size: clamp(1.25rem, 5vw, 1.75rem); line-height: 1.35; }

  h3 { font-size: clamp(1.125rem, 4.5vw, 1.5rem); line-height: 1.4; }

  a, button,
    .btn, [role="button"],
    input[type="button"],
    input[type="submit"],
    input[type="reset"] {
      min-height: 44px;
      touch-action: manipulation;
  }

  button, .btn, input[type="button"], input[type="submit"], input[type="reset"] {
      min-width: 44px;
      padding: 12px 16px;
  }

  input, select, textarea {
      font-size: 16px !important;
      min-height: 44px;
      padding: 12px;
      box-sizing: border-box;
      max-width: 100%;
  }

  textarea { min-height: 88px; line-height: 1.6; }

  label { display: inline-block; margin-bottom: 4px; line-height: 1.5; }

  nav a, nav button,
    .nav a, .nav button,
    .menu a, .menu button {
      padding-top: 12px;
      padding-bottom: 12px;
      display: inline-flex;
      align-items: center;
  }

  li + li { margin-top: 4px; }

  table th, table td {
      white-space: normal;
      word-break: break-word;
  }

  pre { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  figure, picture { max-width: 100%; }

}

.bc-reserve{background:linear-gradient(135deg,#FF8E53,#FF6B6B);color:#fff}


/* ===== Breadcrumb (added 2026-07-10) ===== */
.breadcrumb{background:var(--bg-soft,#E3F2FD)}
.breadcrumb .container{padding-top:12px;padding-bottom:12px}
.breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;list-style:none;font-size:.82rem}
.breadcrumb li{display:flex;align-items:center;gap:6px;color:var(--ink-soft,#5a6b7b)}
.breadcrumb li+li::before{content:"›";color:var(--primary,#1976D2);opacity:.6}
.breadcrumb a{color:var(--primary-dark,#0D47A1);text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb li[aria-current="page"]{color:var(--ink-soft,#5a6b7b);font-weight:600}
