@charset "UTF-8";
/* ==========================================================================
   Layout — ヘッダー・フッター・下層ヒーロー等 共通レイアウトの「形」
   ========================================================================== */

/* ----- グローバルヘッダー ----- */
.global-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--color-white);
}

.global-header__inner {
  width: 100%;
  max-width: 1296px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.global-header__logo { flex-shrink: 0; line-height: 0; }
.global-header__logo img { width: 220px; height: auto; }

.global-header__menu {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.global-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}

.global-header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.global-header__nav a:hover { color: var(--color-primary); }

.global-header__cta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.global-header__cta .btn {
  height: 40px;
  min-width: 0;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  border-radius: var(--radius-pill);
}

.global-header__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.global-header__cta-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ハンバーガー（mobile） */
.global-header__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--color-primary);
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  margin-left: auto;
}

.global-header__burger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.2s ease;
}

.global-header__burger span:nth-child(1) { top: 13px; }
.global-header__burger span:nth-child(2) { top: 19px; }
.global-header__burger span:nth-child(3) { top: 25px; }

.global-header.is-open .global-header__burger span:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}
.global-header.is-open .global-header__burger span:nth-child(2) { opacity: 0; }
.global-header.is-open .global-header__burger span:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

@media (max-width: 1024px) {
  .global-header__inner { padding: 12px 16px; gap: 16px; }
  .global-header__logo img { width: 180px; }
  .global-header__menu { display: none; }
  .global-header__burger { display: block; margin-left: auto; }

  /* スマホメニュー：パネル化（nav と cta を縦に綺麗に積む） */
  .global-header.is-open .global-header__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px 20px 28px;
    gap: 24px;
    margin: 0;
    border-top: 1px solid var(--color-primary-light);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  }

  .global-header.is-open .global-header__nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    flex: none;
    justify-content: flex-start;
  }

  .global-header.is-open .global-header__nav a {
    padding: 14px 8px;
    font-size: 15px;
    border-bottom: 1px solid var(--color-primary-light);
  }

  .global-header.is-open .global-header__nav a:last-child {
    border-bottom: 0;
  }

  .global-header.is-open .global-header__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .global-header.is-open .global-header__cta .btn {
    width: 100%;
    height: 48px;
    min-width: 0;
    max-width: none;
    padding: 0 20px;
    font-size: 14px;
  }
}

/* ----- お問い合わせ共通セクション ----- */
.contact-section {
  background-color: var(--color-primary-light);
  padding: 80px 0;
}

.contact-section__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-section__lead {
  font-size: 16px;
  line-height: 1.875;
  text-align: center;
  color: var(--color-text);
  margin-top: 24px;
}

.contact-section__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  width: 100%;
  justify-content: center;
  margin-top: 40px;
}

.contact-section__cards > * {
  flex: 1 1 380px;
  max-width: 425px;
}

/* ----- グローバルフッター ----- */
.global-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 64px 0 24px;
}

.global-footer__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.global-footer__logo { line-height: 0; }
.global-footer__logo img { width: 280px; height: auto; }

.global-footer__tagline {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.625;
  margin-top: 24px;
}

.global-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  margin-top: 40px;
}

.global-footer__nav a {
  padding: 0 32px;
  line-height: 14px;
  border-left: 1px solid var(--color-white);
  border-right: 1px solid var(--color-white);
  transition: opacity 0.2s ease;
}

.global-footer__nav a + a {
  margin-left: -1px; /* 重なる縦線を1本にしない（Figma準拠） */
}

.global-footer__nav a:hover { opacity: 0.7; }

.global-footer__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  margin-top: 24px;
}

.global-footer__sub a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.global-footer__sub a:hover { opacity: 0.7; }

.global-footer__contact {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid var(--color-white);
  border-radius: var(--radius-sm);
  margin-top: 24px;
}

.global-footer__contact-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.global-footer__contact-label {
  font-size: 14px;
  font-weight: 500;
}

.global-footer__contact-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.global-footer__contact-tel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  flex-shrink: 0;
}

.global-footer__contact-tel-icon img {
  width: 11px;
  height: 11px;
  object-fit: contain;
}

.global-footer__contact-hours {
  font-size: 12px;
  font-weight: 500;
}

.global-footer__copy {
  font-size: 14px;
  margin-top: 28px;
}

@media (max-width: 767px) {
  .global-footer { padding: 56px 0 16px; }
  .global-footer__nav a { padding: 4px 16px; }
  .global-footer__contact { flex-direction: column; gap: 8px; align-items: center; }
  .global-footer__contact-row { flex-direction: column; gap: 8px; }
}

/* ----- 下層共通ヒーロー（全ページで使い回し） ----- */
.sub-hero {
  position: relative;
  padding: 56px 0 0;
  overflow: hidden;
}

.sub-hero__band {
  position: absolute;
  inset: 0 0 auto 0;
  height: 452px;
  z-index: 0;
  background: linear-gradient(
    180deg,
    var(--color-bg-gradient-start) 0%,
    var(--color-bg-soft) 40%,
    var(--color-primary-light) 100%
  );
}

.sub-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sub-hero__head {
  text-align: center;
}

.sub-hero__en {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.sub-hero__title {
  margin-top: 16px;
  font-family: var(--font-jp);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
}

.sub-hero__lead {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  text-align: center;
  max-width: 800px;
}

.sub-hero__image {
  width: 100%;
  max-width: 1060px;
  margin: 48px auto 0;
  border-radius: 24px;
  overflow: hidden;
  line-height: 0;
  aspect-ratio: 1060 / 386;
}

.sub-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .sub-hero { padding-top: 32px; }
  .sub-hero__band { height: 360px; }
  .sub-hero__title { font-size: 22px; }
  .sub-hero__lead { text-align: left; }
  .sub-hero__image { margin-top: 32px; border-radius: 16px; aspect-ratio: 4/3; }
}
