/* ハンバーガーメニュー（.header-menu-sp-nav：common/layout_fuji.twig・common/entry/corp/layout.twig） */
/* ※ 個人・法人で共通の作り。違いはボタン（.header-menu-sp-button）の遷移先・文言のみ */
header .header-menu-wrapper-sp.header-menu-sp-nav.open {
  padding: 30px 8% 40px;
  background: var(--fuji-po-blue-1);
  overflow-y: auto;
}

header .header-menu-wrapper-sp.header-menu-sp-nav.open a:hover {
  transition: 0.2s linear;
  opacity: 0.8;
}

header .header-menu-sp-nav .header-menu-logo {
  max-width: 135px;
}

/* 閉じるボタン（×）を青背景に合わせて白にする */
header #humberger-menu.open span:not(.middle-border) {
  background: #fff;
}

/* メインリンク */
header .header-menu-sp-main {
  width: fit-content;
  margin: 50px auto 0;
  padding: 0;
  list-style: none;
}

header .header-menu-sp-main li+li {
  margin-top: 15px;
}

header .header-menu-sp-main a {
  font-size: 1.2rem;
  color: #fff;
}

header .header-menu-sp-bottom {
  width: 100%;
  max-width: 240px;
  margin: 50px auto 0;
}

/* 申込・法人契約ボタン */
header .header-menu-sp-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

header .header-menu-sp-button {
  position: relative;
  display: block;
  padding: 12px 40px 12px 20px;
  border-radius: 30px;
  box-shadow: 2px 3px 0 #fff;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
}

header .header-menu-sp-button .dli-caret-circle-fill-right {
  position: absolute;
  top: 50%;
  right: 12px;
  margin: 0;
  transform: translateY(-50%);
}

header .header-menu-sp-button.type-red {
  background: var(--fuji-po-red);
  color: #fff;
}

header .header-menu-sp-button.type-red .dli-caret-circle-fill-right::before {
  color: var(--fuji-po-red);
}

header .header-menu-sp-button.type-white {
  background: #fff;
  color: var(--fuji-po-blue-1);
  box-shadow: 2px 3px 0 #C4E1F4;
}

header .header-menu-sp-button.type-white .dli-caret-circle-fill-right {
  color: var(--fuji-po-blue-1);
}

header .header-menu-sp-button.type-white .dli-caret-circle-fill-right::before {
  color: #fff;
}

/* サブリンク（2列） */
header .header-menu-sp-sub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 50px;
}

header .header-menu-sp-sub ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

header .header-menu-sp-sub li+li {
  margin-top: 15px;
}

header .header-menu-sp-sub a {
  font-size: 1.2rem;
  color: #fff;
}
