@charset "utf-8";



/* スマホ専用 */
@media (max-width: 991px) {

  /*  ========================= 
  ヘッダー
     ========================= */
    .carousel-wrapper-b {
    padding-bottom: 38px;        
    }

  .mobile-header02 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    box-sizing: border-box;
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1300;
    background: #004080;
    gap: 8px;
  }

  /* ロゴ */

  .mobile-header02 > a img {
    width: 45vw;
    max-width: 220px;
    min-width: 140px;
    height: auto;
    display: block;
    flex-shrink: 0;
  }

  /* 右側のボタングループ */
  .header-right {
    display: flex;
    align-items: center;
    gap: 5px;
  }

/* =========================
   ボタン共通スタイル
   ========================= */

.hamburger02,
.icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  gap: 2px;
  min-width: 50px;
  font-size: 10px;
  font-weight: 500;
  color: white;
  border-radius: 6px;
  padding: 4px 0;
  background-color: #004080;
}
/* ハンバーガーアイコン */
.hamburger02 .menu-icon {
  width: 24px;
  height: 24px;
  position: relative;
}
/* ☰ */
.hamburger02 .menu-icon::before {
  content: "☰";
  font-size: 24px;
  color: #fff;
  line-height: 1;
}
/* × */
.hamburger02.active .menu-icon::before {
  content: "×";
}

/* ラベル位置調整 */
.hamburger02 .label02 {
  font-size: 10px;
}


.icon-btn.primary {
  background: #ff4040;
  color: white;
}

.icon-btn.login-btn {
  background: #0070c0;
  color: white;
}

  /* =========================
     モバイルメニュー
     ========================= */
  .mobile-menu02 {
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    height: calc(100% - 70px);
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1200;
    overflow-y: auto;
  }
  .mobile-menu02.open {
    transform: translateX(0);
  }
/* =========================
   検索バー
   ========================= */

.mobile-menu02 .search-area {
  display: none;
  position: relative;
  z-index: 1000;
  max-height: none;
  overflow: visible;
  padding: 16px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: none;
  gap: 8px;
}

.mobile-menu02 .search-area.open {
  display: flex;
}


/* input */
.mobile-menu02 .search-area input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* 送信ボタン */
.mobile-menu02 .search-area button[type="submit"] {
  background: #0070c0;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1001; /* inputより前面に表示 */
}

/* 閉じるボタン */
.mobile-menu02 .search-close {
  background: #ccc;
  border: none;
  padding: 8px 10px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 1001;
}


  /* メニューオーバーレイ */
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }
  .menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* メニュー内トップバー */
  .menu-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #004080;
    color: white;
    padding: 12px 16px;
  }
  .menu-left,
  .menu-right {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .mobile-menu02 .close-btn {
    font-size: 22px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: 4px;
  }

  /* =========================
     アコーディオン
     ========================= */
  .accordion-item {
    border-bottom: 1px solid #004080;
    overflow: hidden; /* 重なり防止 */
  }

  /* 大項目ヘッダー */
  .accordion-header-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    font-weight: 700;
    background: #cce0ff;
    color: #004080;
    cursor: pointer;
  }

  .accordion-header-h .header-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .accordion-header-h .header-icon img {
    width: 20px;
    height: 20px;
    stroke: #004080;
  }

  .accordion-header-h .arrow-h svg {
    transition: transform 0.3s ease, stroke 0.3s ease;
    stroke: #004080;
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
  }

  .accordion-header-h.active .arrow-h svg {
    transform: rotate(180deg);
  }

  /* アコーディオンコンテンツ */
  .accordion-content-h {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  /* 中項目リスト */
  .mid-list-item {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e6ed;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    background: #fff;
    min-height: 44px;
  }
  .mid-list-item:hover {
    background: #f5f9ff;
    text-decoration: none;
  }
  .mid-list-item.active {
    background: #e6f0ff;
  }
  /* このリンクだけ左寄せ */
.campaign-link {
  justify-content: flex-start;
  gap: 6px;
}

/* Newラベル */
.campaign-link .new-label {
  color: red;
  font-size: small;
}

  /* 中項目の矢印 */
  .mid-list-item .arrow-h svg {
    transition: transform 0.3s ease, stroke 0.3s ease;
    stroke: #004080;
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
  }
  .mid-list-item.active .arrow-h svg {
    transform: rotate(180deg);
  }

  /* サブリスト */
  .sub-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .sub-list ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
    background: #fff;
  }
  .sub-list ul li {
    border-bottom: 1px solid #cce0ff;
    margin-top: 0;
  }
  .sub-list ul li:last-child {
    border-bottom: none;
  }
  .sub-list ul li a {
    text-decoration: none;
    color: #004080;
    display: block;
    padding: 10px 8px;
    border-radius: 6px;
  }
  .sub-list ul li a:hover {
    background: #f0f6ff;
    color: #0070c0;
  }

  

  /* =========================
     スクロール禁止
     ========================= */
  body.no-scroll {
    overflow: hidden;
  }

  .icon-h {
    font-size: 28px;}
}

/* PCでは非表示 */
.sp-only-menu {
  display: none;
}

/* スマホ時のみ表示 */
@media screen and (max-width: 991px) {
  .sp-only-menu {
    display: block;
  }
}

/* デフォルトは表示 */
.pc-only-menu {
  display: block;
}

/* スマホ時は非表示 */
@media screen and (max-width: 991px) {
  .pc-only-menu {
    display: none;
  }
}
.icon-h {
  color: #ff4d4d;
  font-size: 40px; }

.icon-h img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

@supports (-webkit-touch-callout: none) {
    .hamburger02, .icon-btn    {
        font-weight: 600;
    }
}