/* =========================================================
   WELLSYNC – style.css
   Design: asakayama.or.jp moitf
   Colors: White / Teal #00a29a / Orange #f07328
   Font: Noto Sans JP
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Noto+Serif+JP:wght@400;700&display=swap');

/* ── Variables ─────────────────────────────────────── */
:root {
  --color-primary:     #00a29a;
  --color-primary-lt:  #e6f6f5;
  --color-primary-dk:  #007d76;
  --color-orange:      #f07328;
  --color-orange-lt:   #fff4ee;
  --color-orange-dk:   #d45f10;
  --color-white:       #ffffff;
  --color-bg:          #f8fdfc;
  --color-bg-lt:       #f0faf9;
  --color-text:        #333333;
  --color-text-mid:    #555555;
  --color-text-lt:     #888888;
  --color-border:      #e0eeec;

  --font-base:   'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  --font-serif:  'Noto Serif JP', 'Yu Mincho', serif;

  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-img:  20px;
  --radius-sm:   12px;
  --radius-xs:   8px;

  --shadow-sm:   0 2px 8px rgba(0,130,120,0.08);
  --shadow:      0 8px 32px rgba(0,130,120,0.12);
  --shadow-lg:   0 16px 48px rgba(0,130,120,0.16);

  --nav-h:  76px;
  --max-w:  1100px;
  --sp:     clamp(80px, 8vw, 120px);
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Container ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: var(--sp) 0; }
.section-white { background: var(--color-white); }
.section-teal  { background: var(--color-bg-lt); }

/* ── Section labels ─────────────────────────────────── */
.section-en {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-family: 'Noto Sans JP', Arial, sans-serif;
}
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px;
  color: var(--color-text-lt);
  line-height: 1.9;
  margin-bottom: 48px;
}
.text-center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-base);
  cursor: pointer;
  transition: all .25s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 4px;
}
.btn-orange {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(240,115,40,0.35);
}
.btn-orange:hover {
  background: var(--color-orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,115,40,0.4);
}
.btn-teal {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0,162,154,0.3);
}
.btn-teal:hover {
  background: var(--color-primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,162,154,0.35);
}
.btn-outline-teal {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline-teal:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
}

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .3s;
}
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,130,120,0.1);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 20%;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-mid);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: var(--color-primary-lt);
}
.nav-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-primary);
  transition: all .2s;
}
.nav-tel:hover {
  background: var(--color-primary);
  color: #fff;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--color-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all .25s;
  box-shadow: 0 4px 12px rgba(240,115,40,0.3);
}
.nav-cta:hover {
  background: var(--color-orange-dk);
  transform: translateY(-1px);
}

/* ハンバーガー */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--color-white);
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  z-index: 999;
}
.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.nav-mobile-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.nav-mobile-link:last-of-type { border-bottom: none; }
.nav-mobile-link:hover { color: var(--color-primary); }
.nav-mobile-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 14px 20px;
  background: var(--color-primary-lt);
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  padding-top: 0;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 40px;
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: calc(var(--nav-h) / 2);
}
/* Hero text side */
.hero-text {
  max-width: 600px;
  position: relative;
  z-index: 2;
  margin-left: auto;
  text-align: right;
  margin-right: -2vw; /* テキストをさらに右に寄せる */
}
.hero-text .hero-actions {
  justify-content: flex-end;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-lt);
  border: 1px solid rgba(0,162,154,0.2);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}
.hero-catch {
  display: inline-block;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 2.0; /* 行間を開ける */
  color: var(--color-text);
  margin-bottom: 24px;
}
.hero-catch span.inline-bg {
  background: rgba(255, 255, 255, 1);
  padding: 0 20px 0 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: flex;
  text-align: right;
  justify-content: flex-end;
}
.hero-catch br {
  display: block;
  content: "";
  margin-top: 10px; /* 行間をさらに強調 */
}
.hero-catch span.text-primary {
  color: var(--color-primary);
}
.hero-sub {
    font-size: 16px;
    color: var(--color-text-mid);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 8px rgba(255, 255, 255, 1), 0 0 8px rgba(255, 255, 255, 1);
}
.hero-sub::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px;
  right: -20px;
  height: 60px;
  filter: blur(15px);
  transform: translateY(-50%);
  z-index: -1;
  pointer-events: none;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* SP用写真コンテナ（PCでは非表示） */
.hero-mobile-photos {
  display: none;
}

/* Hero photos side (Slideshow) */
.hero-photos {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 4s ease-out;
  transform: scale(1.05);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ── Page Hero (inner pages) ──────────────────────────── */
.page-hero {
  margin-top: var(--nav-h);
  background: var(--color-primary);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.page-hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.page-hero-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}
.page-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

/* ── Mission / Issues ────────────────────────────────── */
.mission-section {
  background: var(--color-white);
  padding: var(--sp) 0;
}
.mission-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.mission-quote {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 900;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 28px;
  position: relative;
  padding: 40px 48px;
  background: var(--color-bg-lt);
  border-radius: var(--radius-card);
  border-left: 5px solid var(--color-primary);
  text-align: left;
}
.mission-body {
  font-size: 15px;
  color: var(--color-text-mid);
  line-height: 2;
  text-align: left;
}

/* ── Solution / Comparison ───────────────────────────── */
.compare-section {
  background: var(--color-bg-lt);
  padding: var(--sp) 0;
}
.solution-flow {
  max-width: 900px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.solution-step {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 32px;
}
.solution-step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary-lt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.solution-step-content {
  flex: 1;
}
.solution-step-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.solution-step-title span {
  font-size: 13px;
  background: var(--color-orange);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.solution-step-desc {
  font-size: 15px;
  color: var(--color-text-mid);
  line-height: 1.8;
}

/* Arrow between steps */
.solution-arrow {
  text-align: center;
  color: var(--color-primary);
}

.compare-note {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 36px 40px;
  font-size: 16px;
  line-height: 2;
  color: var(--color-text-mid);
  border: 1px solid var(--color-border);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ── Business / Service Cards ─────────────────────────── */
.business-section {
  background: var(--color-white);
  padding: var(--sp) 0;
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.biz-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.biz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.biz-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.biz-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.biz-card:hover .biz-card-img img {
  transform: scale(1.05);
}
.biz-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}
.biz-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.biz-card-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.biz-card-company {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-lt);
  margin-bottom: 14px;
}
.biz-card-desc {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 20px;
}
.biz-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-primary);
  transition: all .2s;
  width: fit-content;
}
.biz-card-link:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── GS Banner / Call to Action ──────────────────────────── */
.gs-banner {
  background: var(--color-primary);
  padding: 80px 40px;
}
.gs-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

/* ── Utilities ──────────────────────────── */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .overview-grid { grid-template-columns: 1fr; gap: 40px; }
}

.gs-banner-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
  display: block;
}
.gs-banner-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
}
.gs-banner-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}
.gs-banner-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
}
.gs-banner-action { flex-shrink: 0; }

/* ── News ─────────────────────────────────────────────── */
.news-section {
  background: var(--color-bg-lt);
  padding: var(--sp) 0;
}
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.news-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.news-more:hover { text-decoration: underline; }
.news-list { display: flex; flex-direction: column; gap: 2px; }
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  background: #fff;
  border-radius: var(--radius-sm);
  transition: all .2s;
  border: 1px solid transparent;
}
.news-item:hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
}
.news-date {
  font-size: 13px;
  color: var(--color-text-lt);
  white-space: nowrap;
  font-weight: 500;
}
.news-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-lt);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.news-title {
  font-size: 14px;
  color: var(--color-text);
  flex: 1;
}
.news-empty {
  font-size: 14px;
  color: var(--color-text-lt);
  text-align: center;
  padding: 48px;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--color-primary-dk);
  color: var(--color-white);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px 20px;
}

/* ── CTA Section ─────────────────────────────────────── */
.cta-section {
  padding: var(--sp) 0;
  background: var(--color-white);
}
.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cta-box {
  background: var(--color-bg-lt);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  text-align: center;
  border: 1px solid var(--color-border);
}
.cta-box.orange { background: var(--color-orange-lt); border-color: rgba(240,115,40,0.15); }
.cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.cta-icon.orange { background: var(--color-orange-lt); }
.cta-icon svg { color: var(--color-primary); }
.cta-icon.orange svg { color: var(--color-orange); }
.cta-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--color-text);
}
.cta-sub {
  font-size: 14px;
  color: var(--color-text-lt);
  line-height: 1.8;
  margin-bottom: 20px;
}
.cta-tel {
  font-size: 30px;
  font-weight: 900;
  color: var(--color-primary);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.cta-hours {
  font-size: 13px;
  color: var(--color-text-lt);
}

/* ── About page: Role Grid ─────────────────────────── */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.role-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  transition: all .3s;
}
.role-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.role-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--font-base);
}
.role-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text);
}
.role-body {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.9;
}

/* ── Company table ──────────────────────────────────── */
.company-table-wrap {
  margin-top: 40px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 20px 28px;
  font-size: 15px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.8;
}
.company-table th {
  width: 200px;
  background: var(--color-bg-lt);
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* ── Contact ─────────────────────────────────────────── */
.contact-section {
  background: var(--color-white);
  padding: var(--sp) 0;
}
.contact-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.form-group { margin-bottom: 28px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.form-required {
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: var(--color-orange);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
  vertical-align: middle;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,162,154,0.1);
}
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 18px;
  padding-right: 40px;
}
.form-textarea { min-height: 160px; resize: vertical; }
.form-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 36px;
  font-size: 16px;
}
.form-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-lt);
  text-align: center;
}
.form-success {
  display: none;
  text-align: center;
  padding: 60px 24px;
  background: var(--color-bg-lt);
  border-radius: var(--radius-card);
}

/* ── Business detail ─────────────────────────────────── */
.biz-detail {
  padding: var(--sp) 0;
  background: var(--color-white);
}
.biz-detail.alt { background: var(--color-bg-lt); }
.biz-detail-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.biz-detail-inner.reverse { direction: rtl; }
.biz-detail-inner.reverse > * { direction: ltr; }
.biz-detail-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.biz-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.biz-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--color-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.biz-name {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.45;
  color: var(--color-text);
  margin-bottom: 6px;
}
.biz-company {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 20px;
}
.biz-desc {
  font-size: 15px;
  color: var(--color-text-mid);
  line-height: 2;
  margin-bottom: 28px;
}

/* ── Message page ─────────────────────────────────────── */
.message-section {
  background: var(--color-white);
  padding: var(--sp) 0;
}
.message-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
.message-photo-area {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 60px;
}
.message-photo-box {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-bg-lt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.message-photo-placeholder {
  text-align: center;
  color: var(--color-text-lt);
}
.message-company {
  font-size: 13px;
  color: var(--color-text-lt);
  margin-bottom: 6px;
}
.message-name {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 4px;
}
.message-role {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}
.message-body {
  font-size: 16px;
  line-height: 2.1;
  color: var(--color-text-mid);
}
.message-body p { margin-bottom: 24px; }
.message-body p:last-child { margin-bottom: 0; }
.message-sign {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-lt);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.message-sign strong {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 700;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: #1a3a38;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-logo-text {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  display: block;
}
.footer-brand-desc {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
}
.footer-col-title {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.footer-link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color .2s;
}
.footer-link:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ── Animations ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .container, .nav-inner, .page-hero-content { padding-left: 32px; padding-right: 32px; }
  .hero-inner { padding: 60px 32px; }
  .footer-inner { padding: 80px 32px 20px; }
  .gs-banner { padding: 80px 32px; }

  .business-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --nav-h: 64px; --sp: 60px; }
  
  .container, .nav-inner, .page-hero-content { padding-left: 16px; padding-right: 16px; }
  .footer-inner { padding: 60px 16px 20px; }
  .gs-banner { padding: 60px 16px; }

  .nav-menu, .nav-tel, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo { width: auto; max-width: 70%; } /* ロゴ表示領域を拡大 */
  .nav-logo-img { height: 50px; } /* ロゴサイズを拡大 */
  
  /* Hero SP styling */
  .hero { align-items: flex-start; height: auto; min-height: auto; padding-top: var(--nav-h); }
  .hero-photos { display: none; } /* SPではPC用背景スライドショーを隠す */
  
  .hero-inner { padding: 16px 16px 24px; margin-top: 0; }
  .hero-text { margin: 0; display: flex; flex-direction: column; text-align: center; max-width: 100%; }
  .hero-text .hero-actions { justify-content: center; }
  
  .hero-catch { font-size: 28px; line-height: 1.25; margin-bottom: 8px; order: 1; text-align: center; }
  .hero-catch br { margin-top: 0; }
  .hero-catch span.inline-bg { padding: 4px 8px; margin-left: 0; margin-bottom: 4px !important; justify-content: center; text-align: center; }
  .hero-sub { 
    font-size: clamp(10px, 3.4vw, 15px); 
    letter-spacing: -0.04em; 
    white-space: nowrap; 
    line-height: 1.5; 
    margin-top: 8px !important; 
    margin-bottom: 16px; 
    order: 2; 
    margin-left: 0; 
    font-weight: 700; 
    text-shadow: none; 
    text-align: center;
  }
  .hero-sub::before { left: -10px; right: -10px; height: 50px; background: rgba(255,255,255,0.85); filter: blur(10px); }
  
  /* スマホ用写真をsozoku-shizuokaのレイアウトに合わせたグリッドに変更 */
  .hero-mobile-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    position: relative;
    order: 3;
    width: 100%;
    margin-bottom: 16px;
    height: auto;
  }
  .hero-mobile-photos .hero-slide {
    position: static;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    border-radius: 12px;
    overflow: hidden;
  }
  .hero-mobile-photos .hero-slide:nth-child(1) { grid-column: 1; grid-row: 1; aspect-ratio: 4/3; }
  .hero-mobile-photos .hero-slide:nth-child(2) { grid-column: 1; grid-row: 2; aspect-ratio: 4/3; }
  .hero-mobile-photos .hero-slide:nth-child(3) { grid-column: 2; grid-row: 1 / 3; height: 100%; }
  .hero-mobile-photos .hero-slide:nth-child(1) img,
  .hero-mobile-photos .hero-slide:nth-child(2) img {
    object-position: center 20%;
  }
  .hero-mobile-photos .hero-slide:nth-child(4) { display: none; }
  
  .hero-mobile-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-actions { width: 100%; flex-direction: column; margin-top: 0 !important; order: 4; gap: 8px; }
  .btn { width: 100%; white-space: normal; padding: 12px 20px; text-align: center; justify-content: center; }
  
  .mission-quote { font-size: 20px; padding: 32px 16px; text-align: left !important; }
  
  .solution-step { flex-direction: column; text-align: center; padding: 24px 16px; gap: 20px; }
  .solution-step-title { justify-content: center; flex-direction: column; gap: 8px; }
  
  .overview-grid { grid-template-columns: 1fr; gap: 32px; }
  
  .business-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .gs-banner-inner { flex-direction: column; text-align: center; }
  .message-photo-area { grid-template-columns: 1fr; gap: 32px; }
  .message-photo-box { aspect-ratio: 3/2; max-width: 260px; margin: 0 auto; }
  .biz-detail-inner { grid-template-columns: 1fr; gap: 32px; }
  .biz-detail-inner.reverse { direction: ltr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .mission-quote { padding: 28px 24px; }
  .company-table th { width: 110px; }
  .company-table th, .company-table td { padding: 14px 16px; }
}
