@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@600;700;800&family=Noto+Serif+JP:wght@400;500;600&family=Cormorant+Garamond:wght@600;700&family=Outfit:wght@500;600;700&display=swap');

/* ===== Design Tokens (dev-note: matched to your-bestpartner.co.jp visual language) ===== */
:root {
  --blue: #0068b7;
  --blue-dark: #00507f;
  --navy-deep: #0a2f4d;
  --alert: #e62a26;
  --alert-dark: #c8211d;
  --ink: #22313f;
  --tint: #f1f6fa;
  --gray-700: #4d4d4d;
  --gray-500: #666666;
  --gray-400: #999999;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --line: #dcdcdc;
  --white: #ffffff;
  --footer-dark: #0a2f4d;

  --font-heading: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-en: 'Outfit', 'Zen Kaku Gothic New', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --header-h: 100px;
  --container-w: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-weight: 700; color: var(--ink); }

.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section--navy { background: var(--navy-deep); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--soft { background: var(--gray-100); }

/* faded monochrome city photo behind a section (bestpartner-style depth) */
.feature-bg { position: relative; isolation: isolate; background: var(--gray-50); }
.feature-bg::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--bg) center / cover no-repeat;
  filter: grayscale(100%); opacity: 0.16;
}
.body-text { color: var(--gray-700); margin-bottom: 16px; }
.body-stack { color: var(--gray-700); display: flex; flex-direction: column; gap: 14px; }
.btn--mt { margin-top: 20px; }

/* ===== Section eyebrow / red-underline heading (border_red_h pattern) ===== */
.eyebrow-block { text-align: center; margin-bottom: 12px; }
.eyebrow {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.eyebrow-en {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.6;
}
.eyebrow-rule {
  display: block;
  width: 70px;
  height: 4px;
  background: var(--blue);
  margin: 6px auto 0;
}
.section--navy .eyebrow, .section--navy .eyebrow-en { color: var(--white); }
.eyebrow-block--left { text-align: left; }
.eyebrow-block--left .eyebrow-rule { margin: 6px 0 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.6; margin-bottom: 16px; letter-spacing: 0.02em; }
.section-lede { color: var(--gray-500); font-size: 1rem; }
.section--navy .section-lede { color: #eee; }

/* ===== Buttons (red_btn pattern) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 52px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.btn::after { content: '›'; font-size: 1.2em; font-weight: 700; margin-left: 4px; }
.btn:hover { opacity: 0.78; }
.btn--solid { background: var(--blue); color: var(--white); }
.btn--coral { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn--sm { padding: 12px 26px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; width: 100%; height: 100%;
  max-width: none; padding: 0 0 0 32px;
}
.site-header .main-nav { margin-left: auto; margin-right: 28px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-en { font-family: var(--font-heading); font-weight: 900; font-size: 1.2rem; color: var(--ink); letter-spacing: 0.02em; }
.brand-jp { font-size: 0.72rem; color: var(--gray-500); letter-spacing: 0.06em; font-weight: 700; }
.footer-logo { height: 64px; width: auto; margin-bottom: 4px; }

.main-nav { display: flex; align-items: center; gap: 24px; height: 100%; }
.main-nav ul { display: flex; gap: 22px; height: 100%; }
.main-nav li { display: flex; align-items: center; height: 100%; }
.main-nav a {
  font-size: 0.92rem; font-weight: 700; color: var(--ink);
  position: relative; padding: 4px 0; white-space: nowrap;
}
.main-nav a.is-emergency { color: var(--alert); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 3px;
  background: var(--blue); transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: stretch; height: 100%; }
.header-tel {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 100%; padding: 0 26px;
  background: var(--gray-500); color: var(--white); font-weight: 700;
  white-space: nowrap;
}
.header-tel::before {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.6A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.7a2 2 0 0 1-.4 2.1L8 9.9a16 16 0 0 0 6 6l1.4-1.4a2 2 0 0 1 2.1-.4c.9.3 1.8.5 2.7.6a2 2 0 0 1 1.8 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.6A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.7a2 2 0 0 1-.4 2.1L8 9.9a16 16 0 0 0 6 6l1.4-1.4a2 2 0 0 1 2.1-.4c.9.3 1.8.5 2.7.6a2 2 0 0 1 1.8 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.header-tel .tel-num { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; white-space: nowrap; }
.header-tel .tel-label { display: none; }
.header-inquiry {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 0 28px;
  background: var(--blue); color: var(--white); font-weight: 700; font-size: 0.88rem;
  text-align: left; line-height: 1.4; white-space: nowrap;
  transition: background 0.2s ease;
}
.header-inquiry:hover { background: var(--blue-dark); }
.header-tel:hover { background: #555; }
.header-inquiry::before {
  content: '';
  width: 15px; height: 15px; flex-shrink: 0;
  background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 34px; height: 34px;
  align-items: center; justify-content: center; background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 480;
  background: var(--white); padding: 24px; overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 16px 4px; font-size: 1.02rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-nav a.is-emergency { color: var(--alert); }

/* ===== Hero (left-aligned copy over full-bleed Minato Mirai photo) ===== */
.hero {
  position: relative;
  min-height: 640px;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 30%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.08) 68%, rgba(255,255,255,0) 80%),
    url('../img/yokohama_hero.jpg');
  background-size: cover;
  background-position: center 65%;
  display: flex;
  align-items: center;
}
.hero .container { width: 100%; }
.hero-card {
  text-align: left;
  max-width: 560px;
}
.hero-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.5; color: var(--ink); margin-bottom: 16px; font-weight: 900;
}
.hero-title small { display: block; font-size: 0.44em; font-weight: 500; color: var(--gray-500); margin-top: 10px; }
.hero-copy { color: var(--gray-700); font-size: 0.95rem; margin-bottom: 30px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start; }
.hero-actions .btn:not(.btn--solid) { background: var(--white); }
@media (max-width: 720px) {
  /* phone (bestpartner-style): photo fills the hero, copy sits on it in a translucent white box */
  .hero {
    min-height: 0;
    padding: 150px 0 20px;
    background: url('../img/yokohama_hero.jpg') 58% 30% / cover no-repeat;
  }
  .hero .container { padding: 0 5%; }
  .hero-card {
    max-width: none;
    background: rgba(255,255,255,0.86);
    padding: 22px 18px 20px;
    text-align: center;
  }
  .hero-title { font-size: 1.6rem; margin-bottom: 0; line-height: 1.45; }
  .hero-title small { font-size: 0.5em; margin-top: 8px; color: var(--blue); font-weight: 700; }
  .hero-copy, .hero-actions { display: none; }
}

/* ===== Service cards (top page) ===== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); display: flex; flex-direction: column;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.1); }
.service-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-photo img { transform: scale(1.04); }
.service-body { position: relative; padding: 40px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-icon {
  position: absolute; top: -28px; left: 28px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px var(--white);
}
.service-card h3 { font-size: 1.12rem; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.service-card p { color: var(--gray-700); font-size: 0.88rem; flex: 1; }
.service-link { font-family: var(--font-heading); font-weight: 700; color: var(--blue); font-size: 0.88rem; }

/* ===== Reasons ===== */
.reason-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.reason-item { display: flex; gap: 18px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reason-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.reason-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.reason-item p { color: var(--gray-700); font-size: 0.9rem; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 4px; }
.gallery-item { overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.gallery-item.is-tall img { aspect-ratio: 3/4; }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px; font-size: 0.8rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
  color: #fff;
}

/* ===== Staff ===== */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.staff-card { background: var(--white); border: 1px solid var(--line); }
.staff-photo { aspect-ratio: 1; background: var(--gray-100); overflow: hidden; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-photo.is-placeholder { display: flex; align-items: center; justify-content: center; color: var(--gray-400); }
.staff-body { padding: 20px 22px; }
.staff-role { font-size: 0.75rem; color: var(--blue); font-weight: 700; letter-spacing: 0.05em; }
.staff-name { font-family: var(--font-heading); font-size: 1.05rem; margin: 4px 0 8px; font-weight: 700; }
.staff-note { font-size: 0.85rem; color: var(--gray-700); }

/* ===== CTA band ===== */
.cta-band {
  background: var(--gray-100);
  padding: 56px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: var(--ink); font-size: 1.4rem; margin-bottom: 10px; }
.cta-band p { color: var(--gray-700); font-size: 0.92rem; }
.cta-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-panel {
  background: var(--white); border: 1px solid var(--line);
  padding: 22px;
}
.cta-panel .cta-icon { color: var(--blue); margin-bottom: 10px; }
.cta-panel h4 { color: var(--ink); font-size: 0.92rem; margin-bottom: 6px; }
.cta-panel p { font-size: 0.82rem; color: var(--gray-700); margin-bottom: 12px; }
.cta-panel .tel-big { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900; color: var(--ink); }

/* ===== Footer (two-band pattern) ===== */
.footer-inquiry {
  background: var(--gray-100); padding: 64px 0;
}
.footer-inquiry .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.footer-inquiry-main { text-align: center; }
.footer-inquiry-lead { font-size: 0.85rem; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.footer-inquiry .tel-big-wrap { margin-top: 22px; }
.footer-inquiry .tel-big {
  display: inline-flex; align-items: center; gap: 10px;
}
.footer-inquiry .tel-big::before {
  content: ''; width: 28px; height: 28px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.6A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.7a2 2 0 0 1-.4 2.1L8 9.9a16 16 0 0 0 6 6l1.4-1.4a2 2 0 0 1 2.1-.4c.9.3 1.8.5 2.7.6a2 2 0 0 1 1.8 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.6A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.7a2 2 0 0 1-.4 2.1L8 9.9a16 16 0 0 0 6 6l1.4-1.4a2 2 0 0 1 2.1-.4c.9.3 1.8.5 2.7.6a2 2 0 0 1 1.8 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.footer-inquiry .tel-big {
  font-family: var(--font-heading); font-weight: 900; font-size: 2.2rem; color: var(--ink);
}
.footer-inquiry .tel-caption { font-size: 0.8rem; color: var(--gray-700); margin-top: 4px; }
.footer-fineprint {
  margin: 0; border: 1px solid var(--line); background: var(--white);
  padding: 20px 24px; text-align: left; font-size: 0.72rem; color: var(--gray-500); line-height: 1.8;
}

.site-footer-nav { background: var(--footer-dark); padding: 44px 0; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 30px 0; }
.footer-col { padding: 0 24px; border-right: 1px solid rgba(255,255,255,0.3); }
.footer-col:last-child { border-right: none; }
.footer-col h3 { color: var(--white); font-size: 0.85rem; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.82rem; color: var(--white); }
.footer-col a:hover { text-decoration: underline; }
.footer-brand-line { color: rgba(255,255,255,0.7); font-size: 0.78rem; max-width: 260px; }

.footer-copyright { text-align: center; padding: 20px 0; font-size: 0.75rem; color: var(--gray-500); }

/* ===== Emergency Fixed Button ===== */
.emergency-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: var(--alert); color: var(--white);
  padding: 14px 22px 14px 16px; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(230, 42, 38, 0.45);
  font-family: var(--font-heading); font-weight: 800; font-size: 0.92rem;
  animation: fab-pulse 2.4s ease-in-out infinite;
}
.emergency-fab:hover { background: var(--alert-dark); }
.emergency-fab .fab-icon {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(230, 42, 38, 0.45); }
  50% { box-shadow: 0 10px 30px rgba(230, 42, 38, 0.75); }
}
@media (max-width: 640px) {
  .emergency-fab { right: 14px; bottom: 14px; padding: 12px 18px 12px 12px; font-size: 0.82rem; }
  .emergency-fab .fab-icon { width: 30px; height: 30px; }
}

/* ===== Page header banner (page_hader pattern) ===== */
.page-hero {
  background: var(--gray-100);
  border-top: 1px solid var(--line);
  color: var(--ink); padding: 56px 0 48px; text-align: center;
}
.page-hero .eyebrow, .page-hero .eyebrow-en { color: var(--ink); }
.page-hero h1 { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 12px; font-weight: 900; letter-spacing: 0.04em; }
.page-hero p { color: var(--gray-700); max-width: 560px; margin: 0 auto; font-size: 0.92rem; }
.breadcrumb { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 14px; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--blue); }

/* ===== Service tabs ===== */
.tab-nav { display: flex; justify-content: center; gap: 0; margin-bottom: 56px; flex-wrap: wrap; border: 1px solid var(--blue); border-radius: 50px; overflow: hidden; width: fit-content; margin-left: auto; margin-right: auto; }
.tab-btn {
  font-weight: 700; font-size: 0.92rem;
  padding: 14px 30px; border: none;
  background: var(--white); color: var(--blue); cursor: pointer; transition: all 0.2s ease;
}
.tab-btn.is-active { background: var(--blue); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-in 0.35s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.tab-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.tab-intro h2 { font-size: 1.5rem; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 3px solid var(--blue); display: inline-block; }
.tab-intro p { color: var(--gray-700); }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tab-photo { overflow: hidden; border: 1px solid var(--line); }
.tag { font-size: 0.78rem; background: var(--gray-100); color: var(--ink); padding: 6px 16px; border-radius: 999px; font-weight: 700; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); }
.product-card { background: var(--white); padding: 28px 30px; }
.product-card .idx { font-family: var(--font-heading); font-weight: 900; color: var(--gray-100); font-size: 1.8rem; -webkit-text-stroke: 1px var(--line); }
.product-card h3 { font-size: 1.05rem; margin: 6px 0 10px; }
.product-card ul { display: flex; flex-direction: column; gap: 10px; }
.product-card li { font-size: 0.88rem; color: var(--gray-700); border-top: 1px dashed var(--line); padding-top: 10px; }
.product-card li:first-child { border-top: none; padding-top: 0; }
.product-card li strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }

.industry-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; background: var(--line); }
.industry-card { background: var(--gray-500); color: var(--white); padding: 28px; }
.industry-card h4 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.industry-card p { font-size: 0.85rem; color: #eee; }

.banner-note {
  margin-top: 32px; border: 1px dashed var(--blue); border-radius: 4px;
  padding: 18px 22px; font-size: 0.85rem; color: var(--blue-dark); background: #eaf4fb;
}

/* ===== Emergency page ===== */
.emg-warning {
  background: #fdecea; border: 2px solid var(--alert); color: var(--alert-dark);
  padding: 20px 26px; font-weight: 700; text-align: center;
  margin-bottom: 56px; font-size: 1rem;
}
.emg-steps { display: flex; flex-direction: column; }
.emg-step { display: grid; grid-template-columns: 90px 1fr; gap: 24px; background: var(--white); padding: 30px 4px; border-bottom: 1px solid var(--line); }
.emg-step .step-num { font-family: var(--font-heading); font-weight: 900; font-size: 1.8rem; color: var(--alert); }
.emg-step .step-tag { display: block; font-size: 0.72rem; color: var(--gray-400); margin-top: 4px; }
.emg-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.emg-step p { color: var(--gray-700); font-size: 0.9rem; }
.emg-check-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.emg-check-list li { font-size: 0.85rem; color: var(--ink); padding-left: 20px; position: relative; }
.emg-check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.step-hotline { display: inline-block; margin-top: 10px; font-family: var(--font-heading); font-weight: 800; color: var(--alert); font-size: 0.95rem; }

.hotline-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 20px; background: var(--line); }
.hotline-card { background: var(--gray-500); color: var(--white); padding: 26px 28px; }
.hotline-card h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.hotline-card .hotline-sub { font-size: 0.78rem; color: #ddd; margin-bottom: 14px; }
.hotline-card .hotline-num { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 900; color: var(--white); letter-spacing: 0.02em; }
.hotline-card .hotline-caution { margin-top: 10px; font-size: 0.75rem; color: #ffcfc9; }

/* ===== Company page ===== */
.info-table { border-top: 1px solid var(--line); }
.info-table .row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-table dt { font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.info-table dd { color: var(--ink); font-size: 0.92rem; }

.greeting-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.greeting-photo { overflow: hidden; }
.greeting-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.greeting-layout--overlap { grid-template-columns: 0.9fr 1.1fr; gap: 0; }
.greeting-layout--overlap .greeting-photo { position: relative; z-index: 1; box-shadow: 0 14px 34px rgba(0,0,0,0.12); }
.greeting-box {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.94);
  padding: 48px 48px 44px;
  margin: 80px 0 0 -72px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}
.greeting-sign { margin-top: 20px; font-weight: 700; color: var(--ink); font-size: 0.9rem; }

/* ===== Contact page ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 36px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--font-body); font-size: 0.92rem; background: var(--gray-50);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.78rem; color: var(--gray-400); margin-top: -8px; margin-bottom: 20px; }
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { background: var(--gray-500); color: var(--white); padding: 30px; }
.contact-info-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 14px; }
.contact-info-card .tel-big { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 900; }
.contact-info-card p { font-size: 0.85rem; color: #eee; margin-top: 4px; }

/* ===== Placeholder note banner ===== */
.dev-note {
  background: #fff7e6; border: 1px dashed #e0b559; color: #8a6116;
  font-size: 0.78rem; padding: 10px 18px; text-align: center;
}

/* ===== Reveal animation ===== */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .greeting-layout, .contact-layout, .tab-intro { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .service-grid, .staff-grid, .reason-grid, .product-grid, .industry-strip, .hotline-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { justify-content: flex-start; }
  .footer-col { border-right: none; padding: 0 24px 0 0; }
  .footer-inquiry .container { grid-template-columns: 1fr; }
  .greeting-layout--overlap { grid-template-columns: 1fr; }
  .greeting-box { margin: -48px 20px 0; padding: 36px 28px; }
  .site-header .main-nav ul { gap: 16px; }
  .site-header .main-nav a { font-size: 0.85rem; }
}
@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .site-header .container { padding-left: 16px; }
  .brand-logo { height: 48px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; align-self: center; margin: 0 14px; }
  .header-tel { display: none; }
  .header-actions { margin-left: auto; }
  .header-inquiry { padding: 0 16px; font-size: 0.8rem; }
  .header-inquiry::before { display: none; }
  .service-body { padding: 36px 22px 24px; }
  .service-grid, .staff-grid, .reason-grid, .product-grid, .industry-strip, .hotline-grid, .gallery-grid, .info-table .row { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; gap: 26px; }
  .footer-col { padding: 0; }
  .section { padding: 60px 0; }
  .cta-band { padding: 32px 24px; }
  .cta-panels { grid-template-columns: 1fr; }
  .emg-step { grid-template-columns: 1fr; }
}

/* phone numbers never break across lines */
.tel-big, .tel-num, .hotline-num { white-space: nowrap; }

/* ===== Phone bottom bar (bestpartner-style: tel / contact / emergency) ===== */
.sp-bar { display: none; }
@media (max-width: 720px) {
  .greeting-box { margin: -96px 14px 0; padding: 30px 22px; }
  .header-inquiry { display: none; }
  .emergency-fab { display: none; }
  body { padding-bottom: 64px; }
  .sp-bar {
    display: grid; grid-template-columns: 1fr 1.2fr 1.2fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    height: 64px; box-shadow: 0 -4px 14px rgba(0,0,0,0.12);
  }
  .sp-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: var(--white); font-weight: 700; font-size: 0.74rem; line-height: 1.3; text-align: center;
    border-right: 1px solid rgba(255,255,255,0.35);
  }
  .sp-bar a:last-child { border-right: none; }
  .sp-bar svg { width: 20px; height: 20px; }
  .sp-bar__tel { background: var(--gray-500); }
  .sp-bar__contact { background: var(--blue); }
  .sp-bar__emg { background: var(--alert); }
}


/* =====================================================================
   BIGUP original look (2026-10-03): softer navy ink, rounded cards,
   sea-blue tints, small English captions — less of a bestpartner twin
   ===================================================================== */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy-deep); }
.section--soft { background: var(--tint); }
.section--navy h2, .section--navy h3 { color: var(--white); }

/* caption: short line + small blue English + small Japanese, on one row */
.eyebrow-block { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.eyebrow-block--left { justify-content: flex-start; }
.eyebrow-rule, .eyebrow-block--left .eyebrow-rule { order: 0; width: 28px; height: 2px; margin: 0; background: var(--blue); }
.eyebrow-en { order: 1; font-family: var(--font-en); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.22em; line-height: 1; color: var(--blue); }
.eyebrow { order: 2; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; color: var(--gray-500); }
.page-hero .eyebrow-en { color: var(--blue); }
.page-hero .eyebrow { color: var(--gray-500); }
.section--navy .eyebrow-en { color: #8fc8f2; }
.section--navy .eyebrow { color: #cfdcea; }
.section--navy .eyebrow-rule { background: #8fc8f2; }

.section-title { font-weight: 700; font-size: clamp(1.45rem, 2.5vw, 2.05rem); letter-spacing: 0.04em; }
.hero-title { font-family: var(--font-heading); font-weight: 700; color: var(--navy-deep); letter-spacing: 0.04em; }
.page-hero { background: var(--tint); border-top: none; }
.page-hero h1 { font-weight: 700; color: var(--navy-deep); }

/* numbers and English in Outfit */
.tel-num, .tel-big, .hotline-num, .step-num, .product-card .idx,
.footer-inquiry .tel-big, .cta-panel .tel-big, .contact-info-card .tel-big { font-family: var(--font-en); font-weight: 700; letter-spacing: 0.02em; }
.header-tel .tel-num { font-weight: 600; }

/* navy instead of flat gray blocks */
.header-tel { background: var(--navy-deep); }
.header-tel:hover { background: #0d3b60; }
.industry-card, .hotline-card, .contact-info-card { background: var(--navy-deep); }
.footer-inquiry { background: var(--tint); }
.footer-copyright { color: var(--gray-500); }

/* blue-tinted (not gray) city photo behind feature sections */
.feature-bg { background: var(--tint); }
.feature-bg::before { background: var(--bg) center / cover no-repeat, var(--blue); background-blend-mode: luminosity; filter: none; opacity: 0.13; }

/* rounded, softer cards */
.service-card { border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(10,47,77,0.08); }
.service-card h3 { border-bottom: none; padding-bottom: 0; }
.greeting-photo, .greeting-photo img { border-radius: 14px; }
.greeting-box { border-radius: 14px; box-shadow: 0 14px 34px rgba(10,47,77,0.10); background: rgba(255,255,255,0.96); }
.greeting-box--solo { max-width: 780px; margin: 0 auto; }
.greeting-sign span { display: block; font-size: 0.82rem; font-weight: 500; color: var(--gray-500); white-space: nowrap; }
.greeting-sign strong { display: block; font-family: var(--font-heading); font-size: 1.2rem; color: var(--navy-deep); letter-spacing: 0.1em; white-space: nowrap; }

.reason-grid { gap: 16px; border: none; }
.reason-item { border: none; background: var(--tint); border-radius: 14px; padding: 26px 24px; }
.reason-icon { background: var(--white); color: var(--blue); box-shadow: 0 4px 12px rgba(10,47,77,0.10); }
.reason-item h3 { font-size: 1.02rem; }

.gallery-grid { gap: 12px; }
.gallery-item { border-radius: 14px; }
.tab-photo { border: none; border-radius: 14px; }
.tab-intro h2 { border-bottom: none; padding-bottom: 0; }
.product-grid, .industry-strip, .hotline-grid { gap: 14px; background: none; }
.product-card { border-radius: 14px; background: var(--tint); }
.product-card .idx { color: var(--blue); -webkit-text-stroke: 0; font-size: 1.1rem; opacity: 0.75; }
.product-card li { border-top-color: #d3e0ea; }
.industry-card, .hotline-card, .contact-info-card, .contact-card, .cta-panel, .cta-band, .footer-fineprint, .banner-note, .emg-warning { border-radius: 14px; }
.hotline-card { display: block; transition: transform 0.2s ease; }
.hotline-card:hover { transform: translateY(-2px); }
.hotline-card .hotline-num { font-size: 1.9rem; }
.cta-band { background: var(--tint); }
.form-row input, .form-row textarea, .form-row select { border-radius: 8px; }
.emg-step { padding: 28px 4px; }

@media (max-width: 980px) {
  .greeting-box--solo { margin: 0 auto; }
}
@media (max-width: 720px) {
  .eyebrow-block { flex-wrap: wrap; row-gap: 6px; }
  .section-title { font-size: 1.4rem; line-height: 1.55; }
  .section-lede { font-size: 0.92rem; }
  .greeting-box--solo { margin: 0; }
  .hero-card { border-radius: 12px; }
  .page-hero { padding: 40px 0 34px; }
  .page-hero h1 { font-size: 1.45rem; }
  .tab-nav { width: 100%; border-radius: 14px; }
  .tab-btn { flex: 1 1 100%; padding: 13px 10px; border-bottom: 1px solid #cfe0ee; }
  .tab-btn:last-child { border-bottom: none; }
  .hotline-card .hotline-num { font-size: 1.7rem; }
  .info-table .row { gap: 4px; padding: 14px 0; }
  .contact-card { padding: 24px 18px; }
  .cta-band { padding: 28px 20px; }
  .footer-inquiry .btn { padding: 16px 28px; font-size: 0.92rem; }
  .footer-inquiry .tel-big { font-size: 1.9rem; }
}
@media (max-width: 720px) {
  .gallery-item img, .gallery-item.is-tall img { aspect-ratio: 16 / 10; }
  .sp-bar__tel { background: var(--navy-deep); }
}
.hotline-top { margin-bottom: 48px; }
.hotline-top__lead { font-weight: 700; color: var(--navy-deep); text-align: center; margin-bottom: 4px; }
.emg-warning { margin-bottom: 28px; }


/* =====================================================================
   明朝体バージョン (2026-10-06)
   見出し・サブタイトル＝太めの明朝(Shippori Mincho)／本文＝細めの明朝(Noto Serif JP)
   電話番号だけは読みやすさ優先で欧文ゴシック(Outfit)のまま
   ===================================================================== */
:root {
  --font-heading: 'Shippori Mincho', 'Noto Serif JP', serif;
  --font-body: 'Noto Serif JP', 'Shippori Mincho', serif;
  --font-en: 'Cormorant Garamond', 'Shippori Mincho', serif;
}
body { font-family: var(--font-body); font-weight: 400; letter-spacing: 0.02em; }
h1, h2, h3, h4,
.hero-title, .section-title, .page-hero h1, .tab-intro h2,
.service-card h3, .reason-item h3, .product-card h3, .industry-card h4, .hotline-card h4,
.cta-band h2, .cta-panel h4, .emg-step h3, .contact-info-card h3, .footer-col h3,
.greeting-sign strong, .staff-name {
  font-family: var(--font-heading); font-weight: 800;
}
.hero-title { letter-spacing: 0.06em; }
.hero-title small, .greeting-sign span { font-family: var(--font-body); font-weight: 500; }
.section-title, .page-hero h1 { letter-spacing: 0.06em; }
.eyebrow-en { font-family: var(--font-en); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.18em; }
.eyebrow { font-family: var(--font-body); }
.main-nav a, .mobile-nav a, .btn, .header-inquiry, .service-link, .tag, .tab-btn, .staff-role,
.footer-inquiry-lead, .hotline-top__lead, .emg-warning, .info-table dt, .form-row label, .sp-bar a {
  font-family: var(--font-body); font-weight: 600;
}
.product-card .idx { font-family: var(--font-en); font-weight: 700; font-size: 1.3rem; }
.step-num { font-family: var(--font-en); font-weight: 700; font-size: 2rem; }
.tel-num, .tel-big, .hotline-num, .footer-inquiry .tel-big, .cta-panel .tel-big, .contact-info-card .tel-big {
  font-family: 'Outfit', sans-serif;
}

/* 折り返しは意味の切れ目で（スマホで「ご提/案を」のように途中で切れない） */
.nb { display: inline-block; }
h1, h2, h3, h4, .section-lede, .hero-copy, .page-hero p, .body-text, .body-stack p, .cta-band p, .emg-step p, .reason-item p, .service-card p {
  text-wrap: pretty; line-break: strict; overflow-wrap: break-word;
}
h1, h2, .section-title, .hero-title { text-wrap: balance; }

.footer-col li { color: rgba(255,255,255,0.88); font-size: 0.82rem; }
.footer-copyright { padding: 20px 16px; line-height: 1.7; }
.footer-brand-line { text-wrap: pretty; }

.nb { display: inline-block; }
.body-stack p, .body-text, .reason-item p, .service-card p { text-wrap: wrap; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { background: #fdecea; border: 1px solid var(--alert); color: var(--alert-dark); border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; font-size: 0.9rem; }
.contact-info-card a { text-decoration: underline; }
