@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", "游ゴシック体", "Yu Gothic", YuGothic,
    "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  width: 100%;
  overflow-x: hidden;
  margin: 0 auto;
    background: #fdf8e9;
}

section,
div,
h1,
h2 {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ol,
ul {
  list-style: none;
}

img {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 0;
  vertical-align: bottom;
  object-fit: contain;
}

/* ダブルタップ拡大防止＆オーバースクロール抑止 */
html, body {
  overscroll-behavior: none; /* 上下左右ともバウンス無効（対応ブラウザ） */
}
a, button {
  touch-action: manipulation; /* ダブルタップズームの抑制（対応ブラウザ） */
}

header {
  display: flex;
  font-size: 0;
  background-color: #fff;
  padding: 1% 2%;
  justify-content: space-between;
  box-shadow: 1px 10px 7px -6px rgba(0, 0, 0, 0.3);
  z-index: 1002;
  position: relative;
}

@media screen and (max-width: 767px) {
  .pc_wrap {
    overflow: hidden;
}
.pc {
  display: none;
}
.sp {
  display: block;
}
.sidebar {
  display: none;
}
}
@media screen and (min-width: 768px) {
  
body {
  box-shadow: 0px 5px 22px 0px rgb(0 0 0 / 25%);
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.mv_cta {
    padding: 2% 0;
}
}
.mv_cta {
    position: relative;
    background-image: url(../img/cta_bg.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

a.sp_btn {
    position: absolute;
    bottom: 17%;
    right: 0;
    left: 0;
    width: 80%;
    margin: auto;
}

a.pc_btn {
    width: 50%;
    display: block;
    margin: auto;
}

a:hover {
    opacity: 1;
    cursor: pointer;
}
body {
    /* max-width: 600px; */
    margin: auto!important;
}

/* フローティングバナー */
.floating-banner {
    max-width: 600px;
    position: fixed;
    bottom: 0px;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s 
ease-in-out;
    cursor: pointer;
    text-align: center;
    display: flex
;
    justify-content: center;

}

.floating-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.floating-banner.hide {
    opacity: 0;
    transform: translateY(100px);
}

.floating-banner img {
    width: auto;
    height: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 600px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
.floating-banner img {
    max-width: 600px;
    width: -webkit-fill-available;
}

}

.sp {
  max-width: 550px;
  margin: auto;
}
.pc_main {
  max-width: 511px;
  margin: auto;
}
/* PC サイドバー */
@media screen and (min-width: 768px) {
.pc_wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 0px 16px;
}
.pc_main {
  margin: 0;
  flex: 0 0 511px;
}
.sidebar {
  max-width: 440px;
  flex: 0 0 330px;
  position: sticky;
  top: 24px;
}
.sidebar-left { order: -1; margin-left: -16px; }
.sidebar-right { order: 1; }
.sidebar .box {
  padding: 30% 16px 16px;
  margin-bottom: 16px;
}
.sidebar h2 {
  font-size: 16px;
  margin: 0 0 12px;
}
.sidebar ul {
  padding-left: 0;
}
.sidebar-left ul {
  list-style: disc;
  padding-left: 1.2em;
}
.sidebar-left ul li::marker {
  color: #929292;
}
.sidebar-left ul li.home-item {
  list-style: none;
  position: relative;
  padding-left: 23px;
  margin-left: -24px;
}
.sidebar-left ul li.home-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 18px;
  height: 18px;
  background: url(../img/side_homeicon.png) no-repeat center / contain;
}
.sidebar li + li {
  margin-top: 8px;
}
.sidebar a {
  color: #333;
  text-decoration: none;
}
.sidebar a:hover {
  text-decoration: underline;
}
}

.sidebar-left a:hover {
  text-decoration: none;
}

.sidebar ul li {
  margin-bottom: 10px;
}



.sidebar ul li a {
    color: #929292;
    font-weight: bold;
    font-size: 18px;
}

.sidebar a.is-active {
  color: #436683;
}

/* 全体のバー */
.side-check-bar {
  /* position: fixed; */
  right: 50px;
  top: 0px;

  width: 80px;
  background: #fff;
  border-left: 3px solid #35648a;
  border-right: 3px solid #35648a;
  border-bottom: 3px solid #35648a;
  border-radius: 0 0 40px 40px;/* 下だけ丸く */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 1000;
  text-decoration: none;
}

.side-check-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding-top: 16px;
  padding-bottom: 12px;
}

/* 縦書きテキスト */
.side-check-bar__text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 22px;
  line-height: 1.8;
  color: #225078;
  letter-spacing: 0.15em;
  text-align: center;
  font-weight: bold;
}

/* 「無料」だけオレンジ */
.side-check-bar__text .accent {
  color: #ff7a00;
  font-weight: bold;
}

/* 下の丸ボタン */
.side-check-bar__circle {
  margin-top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ff7a00;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 矢印 */
.side-check-bar__arrow {
  color: #fff;
  font-size: 18px;
  transform: translateX(1px); /* ちょっと右寄せ */
}

/* ホバー時（お好みで） */
.side-check-bar:hover .side-check-bar__circle {
  filter: brightness(1.05);
}
.sidebar a.side-check-bar,
.sidebar a.side-check-bar:hover,
.sidebar a.side-check-bar * {
  text-decoration: none;
}
.sidebar-right {
    order: 1;
    display: flex;
    top: 0;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    position: sticky;
    min-height: 100vh;
    margin-right: -16px;
}

.sidebar-right a {
  display: flex;
  justify-content: center;
  padding: 11% 0;
}

/* PC 背景の無限ループスクロール */
@keyframes pcBgScroll {
  from { background-position: 0% bottom, 100% bottom; }
  to { background-position: -100% bottom, 0% bottom; }
}
@media screen and (min-width: 768px) {
body {
  background-image: url(../img/pc_bg.png), url(../img/pc_bg.png);
  background-repeat: repeat-x, repeat-x;
  background-position: 0% bottom, 100% bottom;
  background-attachment: fixed, fixed;
  animation: pcBgScroll 40s linear infinite;
  animation-direction: reverse;
  will-change: background-position;
}
}
@media (prefers-reduced-motion: reduce) {
body {
  animation: none !important;
}
}

a.pc_side_button {
    display: block;
    width: clamp(120px, 15vw, 170px);
}

a.side-check-bar {
    margin-right: 14%;
}

/* ------------------------------
   Header
------------------------------ */
.header {
  width: 100%;
  padding: 16px 20px;
  box-sizing: border-box;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-area {
    width: 39%;
}
/* ------------------------------
   Hamburger
------------------------------ */
.hamburger {
  width: 28px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 1001; /* オーバーレイより前面にして閉じられるように */
}

/* 上→中→下で短くする */
.hamburger span {
  height: 4px;
  background: #2E3E78; /* 画像の青 */
  border-radius: 3px;
  display: block;
  transition: 0.3s;
}

/* 長さ調整（画像に合わせた比率） */
.hamburger .line1 { width: 32px; }
.hamburger .line2 { width: 26px; }
.hamburger .line3 { width: 20px; }

/* X に変形 */
.hamburger.active .line1 {
  width: 32px;
  transform: translateY(12px) rotate(45deg);
}

.hamburger.active .line2 {
  opacity: 0;
}

.hamburger.active .line3 {
  width: 32px;
  transform: translateY(-12px) rotate(-45deg);
}

/* ------------------------------
   Nav
------------------------------ */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 122, 0, 0.9); /* オレンジの半透明 */
  box-shadow: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: 0.3s;
  padding-top: 70px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

.nav.active {
  opacity: 1;
  pointer-events: auto;
}

.nav ul {
  list-style: none;
  padding: 0;
}

.nav ul li a {
  display: block;
  padding: 18px 22px;
  text-decoration: none;
  color: #eee;
  border-bottom: 1px solid #eee;
}


/* レスポンシブ対応 */
@media screen and (max-width: 767px) {

.sidebar-left {
  display: none;
}
.sidebar-right {
  display: none;
}
}

/* PC時はpc_main内にオーバーレイを収める */
@media screen and (min-width: 768px) {
.pc_main {
  position: relative;
        overflow: hidden;
}
.nav {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
}

.mv {
    position: relative;
}

.mv-cta {
    position: absolute;
    bottom: 9.5%;
    margin: auto;
    width: 87%;
    text-align: center;
    right: 0;
    left: 0;
}

.partnership, .point, .merit,.osusume_2,.company {
    position: relative;
}
.sub_cta_btn {
    position: absolute;
    margin: auto;
    width: 87%;
    text-align: center;
    right: 0;
    left: 0;
}
.partnership .sub_cta_btn {
    bottom: 8%;
}
.merit .sub_cta_btn {
    bottom: 9.4%;
}
.osusume_2 .sub_cta_btn  {
    bottom: 17%;
}
.company .sub_cta_btn {
    bottom: 6%;
}
.point {
  text-align: center;
}
.point_text {
    position: absolute;
    bottom: 1.5%;
    font-size: 11px;
    text-align: right;
    line-height: 1.4;
    padding: 0 6%;
    margin: auto;
    width: 100%;
}
/* おすすめスライダー */
/* ルート用固有prefix（他のプロジェクトと衝突しない設計） */
.osusume-slider-wrapper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  border-radius: 22px;    /* 角丸はビューポート側に付与 */
}

/* カード枠デザイン（角丸＋影） */
.osusume-slider {
  display: flex;
  overflow: visible;      /* トラックは可視に */
}

/* スライド１枚ぶん */
.osusume-slide {
  min-width: 100%;
  transition: transform .4s ease;
}

.osusume-slide img {
  width: 100%;
  display: block;
}

/* 矢印（画像の雰囲気に寄せて丸ボタン） */
.osusume-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: white;
  font-weight: bold;
  background: #F36A2D;
}

/* 左側（オレンジ） */
.osusume-arrow.left {
  left: -20px;
}

/* 右側（黄色） */
.osusume-arrow.right {
  right: -20px;
}

/* タップ時 */
.osusume-arrow:active {
  transform: translateY(-50%) scale(0.9);
}


/* osusumeセクションの重なり調整（osusume02を背景に、スライダーを上に乗せる） */
.osusume {
  position: relative;
}
.osusume-slider-wrapper {
    position: absolute;
    z-index: 2;
    margin: 16px auto 0;
    bottom: 3%;
    right: 0;
    left: 0;
}
.osusume > img:last-child {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .osusume .osusume-slider-wrapper {
    margin-top: 20px;
  }
}

/* ------------------------------
   見切れ表示 + 進捗バー
------------------------------ */
/* 右側に少し見切れるよう、1スライドを100%より少し小さくする */
.osusume-slider {
  position: relative;
}
.osusume-slide {
  min-width: calc(100% - 56px); /* 常に右側に56pxぶんの余白で次スライドを見切れ表示 */
  margin-right: 56px;
}

/* トラックアニメーションをCSSでも定義（JSでも付与） */
.osusume-slider {
  transition: transform .4s ease;
  will-change: transform;
}

/* インジケーター */
.osusume-indicator {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.osusume-indicator__bar {
  display: inline-block;
  height: 8px;
  width: 24px;            /* □：短い黄バー */
  background: #b7ae99;
  border-radius: 1px;
  transition: all .25s ease;
}
.osusume-indicator__bar.is-active {
  width: 88px;            /* ■：長い赤バー */
  background: #E53935;    /* 赤 */
}

@media screen and (min-width: 768px) {
  .osusume-slide {
    min-width: calc(100% - 8px);
    margin-right: 22px;
  }
  .osusume-indicator {
    gap: 12px;
    margin-top: 16px;
  }
  .osusume-indicator__bar {
    height: 9px;
    width: 28px;
    border-radius: 1px;
  }
  .osusume-indicator__bar.is-active {
    width: 96px;
  }
}

/* ------------------------------
   Flow スライダー（上部ナビ 1〜5）
------------------------------ */
.flow {
  position: relative;
}
.flow .flow-slider-wrapper {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 23%;                /* 上部にゆとりを持たせて配置 */
  width: 100%;
  max-width: 480px;
  text-align: center;
  overflow: hidden;       /* ビューポートでクリップ */
  padding: 0 16px;        /* 左右余白はビューポート側で確保 */
}

/* 上部ナビ（数字ドット） */
.flow-nav {
  display: inline-flex;    /* コンテンツ幅に合わせてライン位置を正確に */
  justify-content: center;
  gap: 10px;              /* 約 8〜12px */
  margin: 20px 0 16px;    /* 上余白を少し大きめに */
  position: relative;     /* 連結ラインの土台 */
}
.flow-nav::before {
  content: "";
  position: absolute;
  left: 18px;             /* SP: ドット36pxの半径 */
  right: 18px;
  top: 50%;
  height: 2px;
  background: #AAAAAA;
  transform: translateY(-50%);
  z-index: 0;
}
.flow-nav__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.06);
  background: #AAAAAA;
  color: #EDEDED;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* ほんのり影で浮かせる */
  transition: background .25s ease, color .25s ease, transform .12s ease;
  position: relative;
  z-index: 1;            /* 連結ラインより上に */
}
.flow-nav__dot.is-active {
  background: #2D3E78;    /* アクティブ：濃い紺 */
  color: #fff;            /* 数字は白 */
  border-color: transparent;
}
.flow-nav__dot:active {
  transform: scale(0.97);
}

/* スライダー本体 */
.flow-slider {
  display: flex;
  overflow: visible;      /* トラックは可視 */
  border-radius: 22px;
  transition: transform .45s ease;
  will-change: transform;
  position: relative;     /* 矢印の基準 */
}
.flow-slide {
  min-width: 100%;
  padding: 2%;
  box-sizing: border-box; /* paddingを含めて100%内で完結 */
}
.flow-slide img {
  width: 100%;
  display: block;
}

/* 矢印 */
.flow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  background: #2D3E78;
}
.flow-arrow.left { left: 6px; }
.flow-arrow.right { right: 6px; }
.flow-arrow:disabled { opacity: .35; cursor: default; }

@media screen and (min-width: 768px) {
  .flow .flow-slider-wrapper {
    top: 22%;
    max-width: 520px;
    padding: 0 20px;      /* PC時の左右余白はこちらで拡大 */
  }
  .flow-nav {
    gap: 12px;
    margin: 28px 0 18px;
  }
  .flow-nav__dot {
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
  .flow-nav::before {
    left: 28px;           /* PC: ドット55pxの半径 ≒ 27.5px */
    right: 28px;
  }
  .point_text {
    font-size: 14px;
}
}

/* ------------------------------
   Merit セクション内の動画調整
------------------------------ */
.merit3 {
    position: relative;
}
.merit3 .morebtn {
    position: absolute;
    bottom: -2.5%;
    right: 11%;
    width: 33%;
    z-index: 5;
}
.merit4 {
    position: relative;
}
.video_content {
    position: absolute;
    z-index: 500;
    bottom: 43.7%;
}
.merit4 {
  position: relative;
}
.merit4 .video_content {
    width: 76%;
    max-width: 520px;
    margin: 12px auto 0;
    right: 0;
    left: 0;
    border: 1px solid #c9c9c9;
    border-radius: 0 30px 0 30px;
    overflow: hidden;
}
.merit4 .video_content video {
  display: block;
  width: 100%;
  height: auto;       /* アスペクト比を維持して縮小 */
  border-radius: 12px;
}

@media screen and (min-width: 768px) {
  .merit4 .video_content {
    margin-top: 16px;
  }
}

/* ------------------------------
   提携ロゴ 無限ループスライダー
------------------------------ */
.logo-slide {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  position: absolute;
  top: 18.5%;
}
.logo-slide-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: logoMarquee 18s linear infinite;
  will-change: transform;
}
.logo-slide-item {
  flex: 0 0 auto;
}
.logo-slide-item img {
  height: 36px;
  width: auto;
  display: block;
}
@keyframes logoMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* 子要素を複製して全長の半分ぶん流す */
}
@media (min-width: 768px) {
  .logo-slide-item img { height: 34px; }
  .logo-slide-inner { gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-slide-inner { animation: none; }
}

/* 全体 */
.qa-item {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 16px;
  font-family: "Noto Sans JP", sans-serif;
}

/* 質問部分 */
.qa-question {
  width: 91%;
  background: #fff; /* 画像の灰色背景 */
  border-radius: 50px;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin: auto;
  color: #233e81;
}

/* Qアイコン（丸） */
.qa-q-icon {
  background: #233e81;   /* 濃い青 */
  color: #fff;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 9px;
}

/* 質問文 */
.qa-question-text {
  flex: 1;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
}

/* 右側の「－」トグル */
.qa-toggle {
  font-size: 22px;
  color: #233e81;
  margin-left: 10px;
  transition: .2s;
}

/* 回答部分 */
.qa-answer {
  width: 91%;
  margin: auto;
   display: flex;
   gap: 12px;
   overflow: hidden;
   max-height: 0;
   opacity: 0;
   padding: 0 16px; /* 閉じているときは余白を詰める */
   transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
}
 .qa-item.is-open .qa-answer {
   opacity: 1;
   padding: 16px 16px 16px 16px; /* 開いたときに余白を戻す */
 }

/* Aアイコン（丸） */
.qa-a-icon {
  background: #FF7A00; /* オレンジ */
  color: #fff;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 回答テキスト */
.qa-answer p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.faq_content {
    background: #ececec;
    padding-bottom: 24px;
}


footer {
    background: #233e81;
    padding: 5%;
}

.footer_sub_content p {
    text-align: center;
    font-size: 13px;
    color: #233e81;
}



.footer_content_inner {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
}
.footer_content_inner a {
    color: #fff;
    text-decoration: none;
}
.footer_sub_content {
    background: #fff;
    padding: 28px 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer_sub_content_inner_02 {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 2% auto 2%;
}

.footer_sub_content_inner_02 a {
  color: #233e81;
  font-weight: bold;
}
/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
.footer_content_inner {
    width: 100%;
    font-size: 13px;
}
.osusume-slide {
    min-width: calc(100% - 0px);
    margin-right: 10px;
}
.osusume-slider-wrapper {
    width: 86%;
    max-width: 340px;
    bottom: 1%;
}
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 90%;
  height: 70px;
  border: 2px solid #25468C;
  border-radius: 4px;
  text-decoration: none;
  padding: 0 20px;
  box-sizing: border-box;
  transition: 0.25s ease; /* ← ふわっと浮く */
}

/* テキスト部分 */
.contact-btn .text {
  color: #25468C;
  font-size: 20px;
  font-weight: 700;
}

/* 右向き矢印（CSSだけで作成） */
.contact-btn .arrow {
  width: 22px;
  height: 2px;
  background: #25468C;
  position: relative;
  transition: 0.3s ease; /* ← 矢印の動き */
}

.contact-btn .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #25468C;
  border-right: 2px solid #25468C;
  transform: rotate(45deg);
  transition: 0.3s ease;
}
/* -------------------------
   Hover Animation
-------------------------- */
.contact-btn:hover {
  transform: translateY(-3px); /* ボタンが少し浮く */
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.contact-btn:hover .arrow {
  transform: translateX(6px); /* 矢印が右へスッと動く */
}

.contact-btn:hover .arrow::after {
  transform: translateX(2px) rotate(45deg);
}

.footer_sub_content_inner_logo {
    width: 30%;
    margin: 4% auto 1%;
}
.anno {
    font-size: 12px;
}

.qa-subtitle {
    width: 73%;
    margin: 0 auto 2%;
    padding-top: 3%;
}

/* CTAモーダルポップアップ */
#modalArea {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
}

.modalBg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #4e4e4ee6;
}

.modalWrapper {
    position: relative;
    width: 80%;
    max-width: 1000px;
}

.closeModal {
    position: absolute;
    top: -4rem;
    right: -0.5rem;
    width: 2.5rem;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 1000;
}

.modalContents {
    max-height: 60vh;
    padding: 2% 4%;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
}

.modalContents h3 {
    margin-bottom: 2%;
}

.modalContents h3 img {
    width: 90%;
    margin: 0 auto;
}

.modalContents-text {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 1%;
    max-width: 900px;
    margin: 0 auto;
    width: 88%;
    box-sizing: border-box;
}

.modalContents-text .accordion-001 {
    width: 100%;
}

.modalContents-text .accordion-001 summary {
    justify-content: center;
    padding: 0.5em 3em;
    font-size: 1em;
    border-radius: 0;
    background-color: #bcbcbc;
    color: #000;
    list-style: none;
}

.modalContents-text .accordion-001 summary::-webkit-details-marker {
    display: none;
}

.modalContents-text .accordion-001 .answer_text {
    background: #ececec;
    margin: 0 0 1.2em 0;
    color: #333;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform .5s, opacity .5s;
    border-radius: 0;
    padding: 3% 5% 5%;
    width: 100%;
    box-sizing: border-box;
}

.modalContents-text .accordion-001 ul {
    padding-inline-start: 16px;
    margin: 0;
}

.modalContents-text .accordion-001 ul li {
    font-size: 0.8em;
}

.modalContents-text .accordion-001 p {
    margin: 0;
    padding: 0;
    font-size: 0.8em;
}

.modalContents-text .accordion-001 p:first-of-type {
    margin-bottom: 3%;
}

.modalContents-text .accordion-001[open] .answer_text {
    transform: none;
    opacity: 1;
}

/* ボタン */
a.btn_entry img {
    max-width: 800px;
    width: 60%;
    margin: 1% auto 0;
}

/* スマホ対応 */
@media only screen and (max-width: 768px) {
    .modalWrapper {
        width: 87%;
        max-height: 80vh;
        padding: 4% 0;
    }

    .closeModal {
        top: 1.5rem;
        right: -0.5rem;
        transform: translateY(-100%);
        color: #fff;
    }

    .modalContents {
        padding: 3% 0 12%;
        max-height: 67vh;
    }

    .modalContents h3 img {
        width: 100%;
    }

    .modalContents-text {
        display: block;
        width: 90%;
        margin: 3% auto;
    }

    .modalContents-text .accordion-001 summary {
        padding: 0.5em 1em;
        font-size: 0.9em;
    }

    .modalContents-text .accordion-001 .answer_text {
        margin-bottom: 1em;
    }

    a.btn_entry img {
        width: 92%;
    }
}

/* アコーディオン本体 */
.accordion-001:not([open]) {
    margin-bottom: 7px;
}

.accordion-001 summary {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding: 0.7em 1.2em 0.7em 0.8em;
    border-radius: 5px;
    background-color: #015cc2;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1em;
}

.accordion-001 summary::-webkit-details-marker {
    display: none;
}

.accordion-001 summary::before,
.accordion-001 summary::after {
    width: 3px;
    height: .9em;
    border-radius: 5px;
    background-color: #fff;
    content: '';
}

.accordion-001 summary::before {
    position: absolute;
    right: 1.2em;
    rotate: 90deg;
}

.accordion-001 summary::after {
    position: absolute;
    right: 1.2em;
    transition: rotate .3s;
}

.accordion-001[open] summary {
    border-radius: 5px 5px 0 0;
}

.accordion-001[open] summary::after {
    rotate: 90deg;
}

.accordion-001 .answer_flex {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background: #fff;
    margin: 0 0 1.2em 0;
    color: #333;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform .5s, opacity .5s;
    border-radius: 0 0 5px 5px;
    padding: 0 0 0 3.5%;
}

.accordion-001 p {
    margin: 0;
    padding: 1em 1em 1.4em 0.5em;
}

.accordion-001[open] .answer_flex {
    transform: none;
    opacity: 1;
}