@charset "UTF-8";
html {
  font-family:
    Noto Sans JP,
    sans-serif;
  color: #888888;
  font-size: 100%;
  font-weight: 100;
}
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #e6e6e6 0%, #ffffff 100%);
  background-repeat: no-repeat;
}
.header-wrap {
  display: flex;
  padding: 2% 2%;
  background-color: #ffffff;
}
.header-wrap__logo {
  flex: 0 0 auto;
  width: 15%;
}
.header-wrap__logo img {
  width: 100%;
}
.header-wrap__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.header-wrap__nav-item {
  margin-left: 2rem;
}
.header-wrap__nav-link {
  text-decoration: none;
  color: inherit;
}
/* =========================
  Header (logo + nav)
========================= */
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}

/* ロゴ */
.header-wrap__logo {
  flex: 0 0 auto;
}
.header-wrap__logo-link {
  display: inline-block;
}
.header-logo__img {
  display: block;
  width: 170px; /* 好みで調整OK */
  height: auto;
}

/* ナビ */
.header-wrap__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  overflow: visible; /* ドロップダウン切れ防止 */
}

.header-wrap__nav-item {
  position: relative; /* サブメニューの基準 */
}

.header-wrap__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  padding: 10px 6px;
}

/* ▼アイコン（サブメニューがある項目だけ） */
.header-wrap__nav-item.has-sub > .header-wrap__nav-link::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transform: translateY(1px);
  opacity: 0.9;
}

/* =========================
  Dropdown
========================= */
.header-subnav {
  position: absolute;
  top: calc(100% + 12px);
  top: 35px;
  left: 50%;
  transform: translateX(-50%);

  min-width: 260px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  z-index: 9999;

  list-style: none;
  margin: 0;
  padding: 0;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
}

/* 三角（吹き出し） */
.header-subnav::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

/* hoverで表示 */
.header-wrap__nav-item.has-sub:hover .header-subnav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}

/* サブメニュー項目 */
.header-subnav a {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #888888;
}

.header-subnav li:last-child a {
  border-bottom: none;
}

/* =========================
  SPではドロップダウン無効（必要なら）
========================= */
@media (max-width: 900px) {
  .header-subnav {
    display: none;
  }
}

.top-wrap {
  background-image: url(../img/6i9.svg);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 0 105px 0;
}
.top-tl-en {
  font-family: Roboto;
  font-size: 80px;
  font-weight: 100;
  color: #ffffff;
  text-align: center;
}
.__inner {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  margin-top: -4%;
}
.sub__ttl {
  padding: 80px 0 40px 0;
  letter-spacing: 6px;
}
.sub__ttl__txt {
  font-weight: 100;
  text-align: center;
  font-size: 24px;
  margin-top: 60px;
  margin: 0 auto;
  padding-bottom: 20px;
}
.sub__head__txt {
  font-size: 42px;
  text-align: center;
  font-weight: 100;
}
/* ===== ハンバーガー（SPのみ） ===== */
.hamburger {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 300;
  width: 60px;
  height: 45px;
  border: 1px solid rgba(131, 131, 131, 0.9);
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 37px;
  height: 2px;
  background: #000000;
  border-radius: 999px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
@media (max-width: 1280px) {
  .header-wrap__nav {
    gap: 0;
  }
  .header-wrap__nav-item {
    margin-left: 1rem;
  }
}
@media (max-width: 900px) {
  .header-wrap__logo {
    width: 30%;
  }
  .header-wrap__nav {
    display: none;
  }
  .hamburger {
    display: grid;
  }
}

/* 開いた時の× */
body.is-navopen .hamburger span:nth-child(1) {
  transform: translateY(14px) rotate(47deg);
}
body.is-navopen .hamburger span:nth-child(2) {
  opacity: 0;
}
body.is-navopen .hamburger span:nth-child(3) {
  transform: translateY(-13px) rotate(-47deg);
}
body.is-navopen .hamburger span {
  background: #ffffff; /* 黄色など */
}
/* ===== SPナビ overlay（すでにあるならそのままでOK） ===== */
.spnav {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.spnav__inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: #0b5aa6;
  color: #fff;
  padding: 50px 18px;
  transform: translateX(100%);
  transition: transform 0.25s;
  overflow: auto;
}
body.is-navopen .spnav {
  opacity: 1;
  pointer-events: auto;
}
body.is-navopen .spnav__inner {
  transform: translateX(0);
}

/* ===== SP：下層アコーディオン ===== */
.spnav__menu a {
  display: block;
  padding: 14px 6px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 16px;
}
.spnav__group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.spnav__toggle {
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 14px 6px;
  text-align: left;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.spnav__icon {
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s;
}
.spnav__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 10px;
}
.spnav__sub a {
  display: block;
  padding: 12px 6px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.spnav__group.is-open .spnav__sub {
  max-height: 500px;
}
.spnav__group.is-open .spnav__icon {
  transform: rotate(45deg);
}
