/* =====================
   Site Header (fixed, 56px)
===================== */
.wn-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 56px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  z-index: 100;
  box-sizing: border-box;
}

.wn-header__logo {
  width: 46px;
  height: 35px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.wn-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.wn-header__name {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
  letter-spacing: 0.16px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.wn-header__icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.wn-header__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.wn-header__icon-phone {
  width: 22px;
  height: 22px;
  position: relative;
}

.wn-header__icon-phone svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wn-header__icon-mail {
  width: 24px;
  height: 24px;
  overflow: hidden;
  position: relative;
}

.wn-header__icon-mail svg {
  position: absolute;
  top: 16.67%;
  left: 8.33%;
  right: 8.33%;
  bottom: 0;
  width: 83.33%;
  height: 66.66%;
}

.wn-header__hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 28px;
  cursor: pointer;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
}

.wn-header__hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  display: block;
}

/* =====================
   Page Wrapper
===================== */
.wn-page {
  padding-top: 56px;
  background: var(--color-bg-hero);
  min-height: 100vh;}

/* =====================
   Nav Overlay
===================== */
.wn-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.92);
  transform-origin: top right;
  width: 100%;
  max-width: 900px;
  height: 100vh;
  background: var(--color-primary-dark);
  z-index: 200;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s, transform 0.28s ease;
}

.wn-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  transition: opacity 0.28s ease, visibility 0s linear 0s, transform 0.28s ease;
}

.wn-nav__header {
  position: sticky;
  top: 0;
  height: 56px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10;
}

.wn-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 22px;
  height: 22px;
}

.wn-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wn-nav__item {
  border-bottom: 2px solid var(--color-white);
}

.wn-nav__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 100%;
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
  text-align: center;
  background: var(--color-primary-dark);
  text-decoration: none;
  transition: background 0.18s ease;
}

.wn-nav__item a:hover {
  background: rgba(255,255,255,0.1);
}

/* =====================
   Site Footer
===================== */
.wn-footer {
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 20px;
}

.wn-footer__copy {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-primary);
  text-align: center;
  white-space: nowrap;
}

/* =====================
   CTA Section (bg #1e4f8a)
===================== */
.wn-cta {
  background: var(--color-primary-dark);
  padding: 14px 18px 18px;
  width: 100%;
  position: relative;
}

.wn-cta__inner {
  background: var(--color-white);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wn-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 14px;
  border-radius: 4px;
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
  width: 100%;
}

.wn-cta__btn--tel  { background: var(--color-primary-dark); }
.wn-cta__btn--web  { background: var(--color-primary); }
.wn-cta__btn--line { background: var(--color-green); }

.wn-cta__btn svg { width: 22px; height: 22px; flex-shrink: 0; }

.wn-cta__line-logo {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

/* =====================
   Scroll To Top Button
===================== */
.wn-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s, transform 0.2s ease;
  transform: translateY(8px);
  box-shadow: none;
}

.wn-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, visibility 0s linear 0s, transform 0.2s ease;
}

.wn-scroll-top img {
  width: 44px;
  height: 44px;
  display: block;
}

/* =====================
   PC用要素 (モバイル: 非表示)
===================== */
.wn-topbar { display: none; }
.wn-pc-nav { display: none; }
.wn-header__pc-cta { display: none; }
.wn-footer__pc-body { display: none; }
.wn-hero-between-cta { display: none; }
.wn-footer__separator { display: none; }
.wn-float-contact { display: none; }

.wn-header__inner-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.wn-header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ヒーロー列コンテナはモバイルでは透過 */
.wn-hero__col-left,
.wn-hero__col-left-inner,
.wn-hero__col-right {
  display: contents;
}
