/* ============================================
   Header & Mobile Menu Styles
   (Extracted from style.css for all-page use)
   ============================================ */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  color: #3B3B3B;
  line-height: 1.8;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ---------- VISIBILITY UTILITIES ---------- */
.pc-only-block { display: block; }
.pc-only-inline { display: inline; }
.sp-only-block { display: none; }
.sp-only-inline { display: none; }

/* ============================================
   HEADER (PC)
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(120 / 1920 * 100vw);
  background: #fff;
  z-index: 1000;
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
}

.header__logo {
  margin-left: calc(181 / 1920 * 100vw);
  font-size: calc(31 / 1920 * 100vw);
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 0.2em;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

.header__nav {
  display: flex;
  justify-content: center;
  width: calc(744 / 1920 * 100vw);
  flex: 0 0 auto;
  margin-left: calc(322 / 1920 * 100vw);
}

.header__nav-list {
  display: flex;
  gap: calc(70 / 1920 * 100vw);
}

.header__nav-link {
  font-size: calc(20 / 1920 * 100vw);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  transition: color 0.3s;
}

.header__nav-link:hover {
  color: #2093E3;
}

.header__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #2093E3;
  color: #fff;
  height: calc(120 / 1920 * 100vw);
  width: calc(379 / 1920 * 100vw);
  margin-left: calc(151 / 1920 * 100vw);
  padding: 0 calc(32 / 1920 * 100vw);
  font-size: calc(22 / 1920 * 100vw);
  font-weight: 700;
  white-space: nowrap;
  gap: 4px;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}

.header__cta-main {
  display: flex;
  align-items: center;
  gap: calc(8 / 1920 * 100vw);
}

.header__cta-text {
  font-size: calc(22 / 1920 * 100vw);
  letter-spacing: 0.1em;
  font-weight: 700;
}

.header__cta-icon {
  width: calc(26 / 1920 * 100vw);
  height: calc(26 / 1920 * 100vw);
}

.header__cta-note {
  font-size: calc(13 / 1920 * 100vw);
  letter-spacing: 0.1em;
  font-weight: 700;
  font-family: "Yu Gothic", "YuGothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  color: #CF1B1B;
  background: #FFF;
  padding: calc(2 / 1920 * 100vw) calc(6 / 1920 * 100vw);
}

.header__hamburger {
  display: none;
}

.mobile-menu {
  display: none;
}

/* ============================================
   HEADER & MOBILE MENU (SP: max-width 768px)
   ============================================ */
@media (max-width: 768px) {

  /* ----- VISIBILITY UTILITIES ----- */
  .pc-only-block { display: none; }
  .pc-only-inline { display: none; }
  .sp-only-block { display: block; }
  .sp-only-inline { display: inline; }

  /* ----- HEADER ----- */
  .header {
    height: calc(50 / 390 * 100vw);
  }

  .header__inner {
    padding: 0 calc(29 / 390 * 100vw);
  }

  .header__logo {
    font-size: calc(15 / 390 * 100vw);
    z-index: 1002;
    position: relative;
    margin-left: 0;
  }

  .header__nav {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: calc(7 / 390 * 100vw);
    width: calc(23 / 390 * 100vw);
    height: calc(18 / 390 * 100vw);
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    z-index: 1002;
    position: relative;
    top: calc(0 / 390 * 100vw);
  }

  .header__hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background: #3B3B3B;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
  }

  .header__hamburger.is-open span:nth-child(1) {
    transform: translateY(calc(8 / 390 * 100vw)) rotate(45deg);
  }

  .header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-open span:nth-child(3) {
    transform: translateY(calc(-8 / 390 * 100vw)) rotate(-45deg);
  }

  /* ----- MOBILE FULLSCREEN MENU ----- */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #2093E3 0%, #D8E0D8 100%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    margin-top: calc(50 / 390 * 100vw);
  }

  .mobile-menu__nav {
    display: flex;
    justify-content: center;
    padding-top: calc(60 / 390 * 100vw);
    margin-bottom: calc(60 / 390 * 100vw);
  }

  .mobile-menu__list {
    text-align: center;
    width: calc(214 / 390 * 100vw);
  }

  .mobile-menu__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }

  .mobile-menu__link {
    display: block;
    color: #fff;
    font-size: calc(16 / 390 * 100vw);
    font-weight: bold;
    letter-spacing: 0.2em;
    padding: calc(16 / 390 * 100vw) 0;
  }

  .mobile-menu__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(290 / 390 * 100vw);
    margin: 0 auto;
  }

  .mobile-menu__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(8 / 390 * 100vw);
    width: 100%;
    background: #fff;
    color: #2093E3;
    font-size: calc(21 / 390 * 100vw);
    font-weight: bold;
    padding: calc(14 / 390 * 100vw) 0;
    letter-spacing: 0.1em;
    font-weight: 400;
    height: calc(53 / 390 * 100vw);
  }

  .mobile-menu__tel svg {
    width: calc(22 / 390 * 100vw);
    height: calc(22 / 390 * 100vw);
    fill: #2093E3;
  }

  .mobile-menu__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(8 / 390 * 100vw);
    width: 100%;
    background: #2093E3;
    color: #fff;
    font-size: calc(17 / 390 * 100vw);
    font-weight: bold;
    padding: calc(14 / 390 * 100vw) 0;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: calc(10 / 390 * 100vw);
    height: calc(53 / 390 * 100vw);
  }

  .mobile-menu__contact svg {
    width: calc(22 / 390 * 100vw);
    height: calc(22 / 390 * 100vw);
    fill: #fff;
  }

  .mobile-menu__note {
    color: #CF1B1B;
    font-size: calc(13 / 390 * 100vw);
    font-weight: bold;
    text-align: center;
    background-color: #fff;
    width: calc(290 / 390 * 100vw);
  }
}
