@charset "UTF-8";
/* ==========================================================
  1. 初期化・共通設定・ユーティリティ
   ========================================================== */
.l-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.l-header a {
  display: block;
  color: #003366;
  text-decoration: none;
}

.l-container {
  padding-top: 0px;
}

/* 追従ヘッダー用ラッパー */
.is-person, .is-biz {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* 背景ぼかし用オーバーレイ */
.c-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(27, 55, 93, 0.7);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  z-index: 999;

  /* 初期状態は非表示 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* JSでクラスが付与されたらぼかしを表示 */
body.is-menu-open .c-overlay,
body.is-drawer-open .c-overlay {
  opacity: 1;
  visibility: visible;
}


/* ==========================================================
  2. ヘッダー共通・PC向けレイアウト (769px以上基準)
   ========================================================== */
/* ヘッダー全体 */
.l-header {
  position: relative;
  padding: 16px 40px 23px 18px;
  border-bottom: 1px solid #DEE6EF;
  background-color: #FFFFFF;
}

.l-header .l-header__inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.l-header .l-header__logo-area {
   margin: 0;  /* リセット用 */
}

.l-header .l-header__logo-link {
  width: 120px;
  height: 100%;
  margin-right: 28px;
}

.l-header .l-header__logo-img {
  display: block;
}

/* ハンバーガーボタン（PC表示時は非表示） */
.c-hamburger {
  display: none;
}


/* -------------------------------------------
  サブナビゲーション (PC)
  ------------------------------------------- */
.l-header .p-sub-nav__list {
  display: flex;
  justify-content: end;
  gap: 14px;
}

.l-header .p-sub-nav__item,
.l-header .p-sub-nav__item-biz,
.l-header .p-sub-nav__item-person {
  font-size: 14px;
  font-weight: 600;
  line-height: 170%;
  letter-spacing: 5%;
}

/* サブナビ：法人・個人事業主向けボタン */
.l-header .p-sub-nav__item-biz .p-sub-nav__link {
  color: #284AD1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 4px 10px;
  border: 1px solid #284AD1;
  border-radius: 8px;
}

.l-header .p-sub-nav__item-biz .p-sub-nav__link::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #284AD1;
  background-image: url(/common_v4/images/arrow-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

.l-header .p-sub-nav__item-biz:hover .p-sub-nav__link {
  background-color: #284AD1;
  color: #ffff;
}

.l-header .p-sub-nav__item-biz:hover .p-sub-nav__link:after {
  background-color: #FFFFFF;
  background-image: url(/common_v4/images/arrow-blue.svg);
}

/* サブナビ：個人（マイカー）向けボタン */
.l-header .p-sub-nav__item-person .p-sub-nav__link {
  color: #CC0033;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 4px 10px;
  border: 1px solid #CC0033;
  border-radius: 8px;
}

.l-header .p-sub-nav__item-person .p-sub-nav__link::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #CC0033;
  background-image: url(/common_v4/images/arrow-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

.l-header .p-sub-nav__item-person:hover .p-sub-nav__link {
  background-color: #CC0033;
  color: #ffff;
}

.l-header .p-sub-nav__item-person:hover .p-sub-nav__link:after {
  background-color: #FFFFFF;
  background-image: url(/common_v4/images/arrow-red.svg);
}

/* サブナビ：通常ボタン */
.l-header .p-sub-nav__item .p-sub-nav__link {
  color: #003366;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 4px 10px;
  border: 1px solid #003366;
  border-radius: 8px;
}

.l-header .p-sub-nav__item .p-sub-nav__link::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-image: url(/common_v4/images/mail-blue.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.l-header .p-sub-nav__item:hover .p-sub-nav__link {
  background-color: #003366;
  color: #ffff;
}

.l-header .p-sub-nav__item:hover .p-sub-nav__link:after {
  background-image: url(/common_v4/images/mail-white.svg);
}


/* -------------------------------------------
  メインナビゲーション (PC)
  ------------------------------------------- */
.l-header .p-main-nav {
  margin-top: 15.5px;
}

.l-header .p-main-nav__list {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 170%;
  letter-spacing: 5%;
}

.l-header .p-main-nav__link {
  color: #222222;
  position: relative;
  display: flex;
}

.l-header .p-main-nav__link:not(.is-open):hover {
  color: #003366;
}


/* 閉じる/開く アイコン切り替え */
.l-header .is-close::after {
  content: "";
  width: 23px;
  height: 23px;
  background-image: url(/common_v4/images/aco-open.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: 0;
}

.l-header .is-close:hover::after {
  background-image: url(/common_v4/images/aco-open-blue.svg);
}

.l-header .is-open{
  color: #CC0033;
}

.l-header .is-open::after {
  content: "";
  width: 23px;
  height: 23px;
  background-image: url(/common_v4/images/aco-close.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: 0;
  display: inline-block;
}

.l-header .is-close + .p-main-nav__dropdown {
  display: none;
}


/* -------------------------------------------
  メガドロップダウンメニュー (PC)
  ------------------------------------------- */
.l-header .p-main-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: 40px 40px 40px 60px;
  z-index: 100;
  border-top: solid 1px #DEE6EF;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.l-header .is-open + .p-main-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.l-header .p-main-nav__dropdown-header {
  max-width: 390px;
  width: 100%;
  margin: auto 0;
  margin-right: 10px;
  flex: 1;
}

.l-header .p-main-nav__dropdown-en {
  font-size: 12px;
  color: #003366;
  display: flex;
  align-items: center;
  margin-left: 5px;
  position: relative;
  padding-left: 14px;
}

.l-header .p-main-nav__dropdown-en::before {
  content: "";
  position: absolute;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #CC0033;
  border-radius: 50%;
}

.l-header .p-main-nav__dropdown-ja {
  font-size: 28px;
  line-height: 170%;
  margin: 0;
  color: #003366;
}

.l-header .p-main-nav__dropdown-group {
  flex: 1;
}

.l-header .p-main-nav__dropdown-group:first-of-type {
  margin-right: 34px;
}

.l-header .p-main-nav__dropdown-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 170%;
  letter-spacing: 8%;
  color: #003366;
  padding-bottom: 22px;
  border-bottom: 1px solid #DEE6EF;
}

.l-header .p-main-nav__dropdown-content {
  margin-left: 0px;
}

.l-header .p-main-nav__dropdown-item {
  border-bottom: 1px solid #DEE6EF;
}

.l-header .p-main-nav__dropdown-link {
  color: #222222;
  transition: color 0.2s;
  padding: 22px 0;
  display: flex;
  align-items: center;
}

.l-header .p-main-nav__dropdown-link::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  margin-left: auto;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background-color: #DEE6EF;
  background-image: url(/common_v4/images/arrow-navy.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

.l-header .p-main-nav__dropdown-link:hover {
  color: #003366;
}

.l-header .p-main-nav__dropdown-link:hover::after {
  background-image: url(/common_v4/images/arrow-white.svg);
  background-color: #003366;
}

.l-header .p-main-nav__dropdown-link .p-main-nav__dropdown-label {
  color: #CC0033;
  border: solid 1px #CC0033;
  font-size: 12px;
  padding: 0 5px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 5%;
  margin: auto 0 auto 12px;
}

.l-header .p-main-nav__dropdown-list--2cols {
  display: grid;
  gap: 0 34px;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  flex: 2;
}

.l-header .p-main-nav__dropdown-list--2cols .p-main-nav__dropdown-item:nth-child(-n+2) {
  border-top: 1px solid #DEE6EF;
}

.l-header .p-main-nav__dropdown-close {
  flex: 0 0 100%;
  margin-top: 34px;
  border: 1px solid #DEE6EF;
  border-radius: 8px;
  background-color: #F5F8FF;
}

.l-header .p-main-nav__dropdown-close:hover {
  border: 1px solid #003366;
}

.l-header .c-btn-dropdown-close{
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
  letter-spacing: 5%;
  text-align: center;

  padding: 15px 0;
  display: flex;
  justify-content: center;
}
.l-header .c-btn-dropdown-close::after {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-left: 12px;
  background-image: url(/common_v4/images/aco-close-blue.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
/* ==========================================================
  3. スマホ向けレイアウト (767px以下)
  ========================================================== */
@media screen and (max-width: 767px) {

  /* -------------------------------------------
  ヘッダー・ぼかし調整
  ------------------------------------------- */
  .l-header {
    padding: 12px 20px;
  }

  .l-header .l-header__logo-link {
    width: 77px;
    height: 100%;
  }

  .c-overlay {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* -------------------------------------------
    ハンバーガーボタン
  ------------------------------------------- */
  .c-hamburger {
    display: block;
    width: 44px;
    height: 44px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .c-hamburger__line {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background-color: #003366;
    transition: all 0.3s ease;
  }

  /* 2本線の初期位置 */
  .c-hamburger__line:nth-child(1) { top: 17.6px; }
  .c-hamburger__line:nth-child(2) { top: 24.4px; }

  /* ドロワー開いた時：「✕」に変形 */
  body.is-drawer-open .c-hamburger__line:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }
  body.is-drawer-open .c-hamburger__line:nth-child(2) {
    top: 21px;
    transform: rotate(-45deg);
  }

  /* -------------------------------------------
    ドロワーメニュー全体
  ------------------------------------------- */
  .l-header .l-header__nav-area {
    position: absolute;
    /* top: 100%; */
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 0px 16px 40px;

    /* 内部スクロール対応 */
    max-height: calc(100vh - 69px);
    max-height: calc(100dvh - 69px);
    overflow-y: auto;
    overscroll-behavior: contain;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;

    /* メインとサブの位置入れ替え用 */
    display: flex;
    flex-direction: column;
  }

  body.is-drawer-open .l-header .l-header__nav-area {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* ナビを縦並びに */
  .l-header .p-sub-nav .p-sub-nav__list,
  .l-header .p-main-nav__list {
    flex-direction: column;
    gap: 0;
  }

  /* -------------------------------------------
    順番の入れ替え（メインナビ上、サブナビ下）
    ------------------------------------------- */
  .l-header .p-main-nav {
    order: 1;
    margin-top: 0;
  }

  .l-header .p-sub-nav {
    order: 2;
    margin-top: 32px;
    margin-bottom: 0px;
  }

  /* -------------------------------------------
    サブナビゲーション (SP)
    ------------------------------------------- */
  .l-header .p-sub-nav__item-biz,
  .l-header .p-sub-nav__item-person,
  .l-header .p-sub-nav__item {
    margin-bottom: 0px;
    margin-top: 16px;
    font-size: 16px;
  }

  .l-header .p-sub-nav__item-biz .p-sub-nav__link,
  .l-header .p-sub-nav__item-person .p-sub-nav__link,
  .l-header .p-sub-nav__item .p-sub-nav__link {
    position: relative;
    justify-content: center;
    padding: 12px 10px;
  }

  .l-header .p-sub-nav__item-biz .p-sub-nav__link::after,
  .l-header .p-sub-nav__item-person .p-sub-nav__link::after,
  .l-header .p-sub-nav__item .p-sub-nav__link::after {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    margin-left: 0;
  }

  .l-header .p-sub-nav__item-biz .p-sub-nav__link::after,
  .l-header .p-sub-nav__item-person .p-sub-nav__link::after {
    width: 23px;
    height: 23px;
  }


  /* -------------------------------------------
    メインナビゲーション (SP)
    ------------------------------------------- */
  .l-header .p-main-nav__list {
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 8%;
  }

  .l-header .p-main-nav__item {
    border-bottom: 1px solid #DEE6EF;
  }

  .l-header .p-main-nav__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
  }

  /* SP時のみアイコンを付与する */
  .l-header .p-main-nav__item:not(:has(.p-main-nav__dropdown)) .p-main-nav__link::after  {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    margin-left: auto;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: #DEE6EF;
    background-image: url(/common_v4/images/arrow-navy.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
  }

  /* 閉じる/開く アイコン切り替え */
  .l-header .is-open {
    color: #222222;
  }

  .l-header .is-open::after {
    background-image: url(/common_v4/images/aco-close-black.svg);
  }

  /* -------------------------------------------
    アコーディオンメニュー (SP)
    ------------------------------------------- */
  /* .l-header .is-open + .p-main-nav__dropdown {
    display: block;
    padding: 0;
  } */

  .l-header .p-main-nav__dropdown {
    position: static;
    padding: 0;

    /* jQueryのスライドアニメーション用設定 */
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;

    border-top: none;
  }

  .l-header .p-main-nav__dropdown-header {
    display: none;
  }

  .l-header .p-main-nav__dropdown-en {
    font-size: 10px;
    color: #284AD1;
    display: block;
  }

  .l-header .p-main-nav__dropdown-ja {
    font-size: 14px;
    font-weight: bold;
    color: #222222;
  }

  .l-header .p-main-nav__dropdown-title {
    padding-top: 22px;
    color: #003366;
    border-top: 1px solid #DEE6EF;
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 8%;
  }

  .l-header .p-main-nav__dropdown-title span {
    padding-left: 18px;
  }

  .l-header .p-main-nav__dropdown-group:first-of-type {
    margin-right: 0;
  }

  .l-header .p-main-nav__dropdown-item:last-child {
    border-bottom: none;
  }

  .l-header .p-main-nav__dropdown-link {
    padding-left: 18px;
    font-weight: 400;
  }

  .l-header .p-main-nav__dropdown-list--2cols {
    display: block;
  }

  .l-header .p-main-nav__dropdown-list--2cols .p-main-nav__dropdown-item:nth-child(-n+2) {
    border-top: none;
  }

  .l-header .p-main-nav__dropdown-list--2cols .p-main-nav__dropdown-item:first-child {
    border-top: 1px solid #DEE6EF;
  }

  .l-header .p-main-nav__dropdown-close {
    display: none;
  }
}