
/* --------------------------------------------------

	ヘッダー（JRADB 旧コンテンツ（幅狭）用）

-------------------------------------------------- */

html, body {
	margin: 0;	/* 余白の削除 */
	padding: 0;	/* 余白の削除 */
    min-width: 1200px;
	width: 100%;	/* 横の幅を100% */
}

body {
	font-family :"Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}

#header {
  font-family :"Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  
}

#header h1, #header ul, #header li, #header p { margin: 0; padding: 0; }

#header ul li { list-style: none; }

.jra-app #header { display: none; }

#header * { box-sizing: border-box; }

#header .off a,
#header .on a { margin-top: 0; }



/* ----------------------------------------------------------------------
	ヘッダー
---------------------------------------------------------------------- */

/* 共通パーツ 
-------------------------------------------------- */

/* ----- link color ----- */
.no-touch #header a:hover,
#header a:focus {
  color: var(--color-link-hover);
}

/* --- 影付きボタン --- */

  .related_links .btn_radius,
  .reserve_unit .btn_radius {
    display: flex;
    width: 300px;
    margin: 0 auto;
    padding: 16px 8px;
    border: solid 1px rgb(from var(--main-color) r g b / 10%);
    border-radius: var(--radius_sm);
    font-size: 0.875rem;
    box-shadow: 0px 8px 20px rgb(from var(--main-color) r g b / 15%);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: var(--font-bolder);
    color: var(--color-black);
  }

  /* .btn_radius > * { margin: 0 auto; }

  .btn_radius > i:last-child {
    flex-shrink: 0;
    margin: 0;
  } */


/* - ユーザー別ナビゲーション
-------------------------------------------------- */

.global_nav {
    background-color: var(--color-dark-green);
  }
  
.global_nav .menu_list {
    display: flex;
    justify-content: flex-end;
    width: var(--max-content-width);
    margin: 0 auto;
  }
  
.global_nav a {
  display: block;
  padding: 8px 40px;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--color-white);
  margin-top: 0;
}

.gray12 .global_nav a {
  line-height: 1.5;
}

.no-touch #header .global_nav a:hover,
#header .global_nav a:focus {
  color: var(--color-white);
}

.global_nav .menu_list > .current {
  background-color: var(--main-color);
}
  
  
  /* --- スマホ プルダウンメニュー領域外クリック用 --- */
  #header_bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 890;
  }
  
  #header_bg.on {
    display: block;
  }
  
  #header {
    background-color: var(--main-color);
    overflow-x: clip;
    /* position: sticky; */
    top: 0;
    z-index: 2000;
    height: 167px;
  }
  
  #header h1 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #header h1 img {
    width: 100px;
    -o-object-fit: contain;
    object-fit: contain;
    vertical-align: bottom;
  }
  
  #header .content {
    width: 100%;
    background-color: inherit;
    position: relative;
    backface-visibility: hidden;
    z-index: 900;
  }
  
  #header .content.off {
    position: relative;
    animation: header_move_out 0.2s ease-in-out;
    z-index: 900;

    margin: 0;
    padding: 0;
    height: auto;
  }
  
  #header .content.fixed {
    position: fixed;
    animation: header_move_in 0.5s ease-in-out;
    backface-visibility: hidden;
    z-index: 900;
    top: 0;
    left: 0;
  }
  
  #header .line {
    width: 100%;
    margin: 0 auto;
  }
  
  #header .line.main {
    position: relative;
    z-index: 12;
    background-color: var(--main-color);
  }
  
  #header .line.main .inner {
    width: var(--max-content-width);
    display: flex;
    justify-content: space-between;
    padding-block: 16px;
    margin: 0 auto;
    background-color: var(--main-color);
  }
  
  #header .line.main::after {
    content: "";
    position: absolute;
    z-index: 22;
    background-image: url(../header/img/round_header.svg);
    background-size: cover;
    width: 104%;
    top: calc(100% - 1px);
    left: 50%;
    translate: -50% 0;
    padding-top: 1.2%;
    aspect-ratio: 500 / 6;
    pointer-events: none;
    box-sizing: border-box;
  }
  
  #header {
    /* Firefox */
    @-moz-document url-prefix() {
      .line.main::after {
        background-image: url(../_img/round_header.png);
        top: 100%;
      }
    }
  }
  
  @supports not (translate: -50% 0) {
    #header .line.main::after {
      display: none !important;
    }
  }

  #header .line.main .menu_block {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
  }

  #header .submenu {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 1rem;
    font-weight: var(--font-bolder);
  }
  
  #header .line.main .submenu a {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 10px;
  
    text-align: left;
    text-decoration: none;
    line-height: 1.2;
    color: var(--color-white);
    transition: var(--btn-ease);
  }
  
  #header .line.main .submenu a img {
    width: 100%;
    max-width: 30px;
    max-height: 30px;
    -o-object-fit: contain;
    object-fit: contain;
  }
  
  #header .line.main .submenu .login {
    font-size: 0.875rem;
  }

  /* --- ハンバーガーメニューボタン --- */
#header .line.main .menu {
  text-align: center;

  display: none;
}

#header .line.main .menu > div {
  padding: 0 10px;
}

#header .line.main .menu > div:last-child {
  padding-right: 0;
}

#header .line.main .menu a {
  font-size: 0.75rem;
  font-weight: var(--font-bolder);
  text-decoration: none;
  line-height: 1;
  color: var(--color-white);
  transition: var(--btn-ease);
  display: block;
  text-align: center;
}

#header .line.main .menu a > span.icon {
  height: 26px;
  display: block;
  padding-top: 2px;
}

#header .line.main .menu a > span.txt {
  height: auto;
  white-space: nowrap;
  display: block;
}

#header .line.main .menu .btn > a .cap {
  min-width: 4em;
}
#header .line.main .menu .btn > a .cap.menu {
  display: block;
}

#header .line.main .menu .btn > a.active .cap.menu {
  display: none;
}

#header .line.main .menu .btn > a .cap.close {
  display: none;
}

#header .line.main .menu .btn > a.active .cap.close {
  display: block;
}

:root {
  --bar_w: 22px;
  --bar_h: 16px;
  --header-h: 82px;
}

#header .line.main .menu .btn > a .icon > span.bar {
  box-sizing: border-box;
  position: relative;
  display: block;
  margin: 0 auto;
  height: var(--bar_h);
  width: var(--bar_w);
}

#header .line.main .menu .btn > a .icon > span.bar > span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border: 1px solid #fff;
  background-color: var(--color-white);
  border-radius: 4px;
  transition: var(--ease);
}

#header .line.main .menu .btn > a .icon > span.bar > span:nth-of-type(1) {
  top: 1px;
}

#header .line.main .menu .btn > a .icon > span.bar > span:nth-of-type(2) {
  top: 7px;
  transition: all 0.1s ease-in-out;
}

#header .line.main .menu .btn > a .icon > span.bar > span:nth-of-type(3) {
  bottom: 1px;
}

#header
  .line.main
  .menu
  .btn
  > a.active
  .icon
  > span.bar
  > span:nth-of-type(1) {
  transform: translate(0, calc(var(--bar_h) / 3)) rotate(-45deg);
  width: 22px;
}

#header
  .line.main
  .menu
  .btn
  > a.active
  .icon
  > span.bar
  > span:nth-of-type(2) {
  opacity: 0;
}

#header
  .line.main
  .menu
  .btn
  > a.active
  .icon
  > span.bar
  > span:nth-of-type(3) {
  width: 22px;
  transform: translate(0, calc((var(--bar_h) / 2.5) * -1)) rotate(45deg);
}
  
  #header .curved {
    position: relative;
    z-index: 1;
    background: inherit;
    width: 100%;
    aspect-ratio: 1920 / 20;
    overflow: hidden;
  }
  
  #header .curved::after {
    content: "";
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 120%;
    background: var(--color-white);
    height: 100%;
  }
  
  /* ----------------------------------------------------------------------
3：グローバルナビゲーション
---------------------------------------------------------------------- */

#mega_menu i {
    margin-left: 8px;
    color: var(--main-color);
    align-self: center;
  }


  .no-touch #mega_menu .category_home_link:hover,
  #mega_menu .inner > ul > li.on .category_home_link {
    background-color: var(--color-dark-green);
    color: var(--color-white);
  }
  
  .no-touch #mega_menu .category_home_link:hover i,
  #mega_menu .inner > ul > li.on .category_home_link i {
    color: var(--color-white);
  }

  #mega_menu .login_app_menu { display: none; }
  
  #mega_menu.line {
    position: relative;
    z-index: 11;
    width: 100%;
    margin-top: -1px;
    background-color: var(--color-white);
  }
  
  #mega_menu.line::after {
    content: "";
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 900;
    pointer-events: none;
    box-shadow: 0px 0 20px rgb(from var(--main-color) r g b / 20%);
  }
  
  #mega_menu.line > .inner {
    display: block;
    width: var(--inner-content-width);
    margin: 0 auto;
    position: relative;
    z-index: 900;
  }
  
  #mega_menu.line .inner > ul {
    display: flex;
  }
  
  #mega_menu.line .inner > ul > li {
    flex-grow: 1;
    list-style: none ;
  }

  #mega_menu.line .primary_link_list { display: none; }

  #mega_menu.line .category_open_link { display: none; }

  #mega_menu.line ul > li.current .category_home_link {
    background-color: var(--color-dark-green);
    color: var(--color-white);
  }

  #mega_menu.line .category_home_link {
    display: flex;
    flex-flow: column;
    position: relative;
    z-index: 12;
    width: calc(100% + 1px);
    padding-block: 20px 8px;
    font-size: 0.875rem;
    font-weight: var(--font-bold);
    text-align: center;
    text-decoration: none;
    color: var(--color-black);
    transition: var(--btn-ease);
  }


  /* ヘッダー（JRADB 旧コンテンツ（幅狭）用）
  メガメニュー 調整CSS */

  .gray12 #mega_menu.line .category_home_link {
    min-height: 64px;
    line-height: 1.5;
}
  
  #mega_menu.line .category_home_link i {
    font-size: 0.9375rem;
    color: var(--main-color);
    transition: var(--btn-ease);
    margin-left: 0;
  }

  #mega_menu.line ul > li.current .category_home_link,
  #mega_menu.line ul > li.current .category_home_link i {
    color: var(--color-white);
  }

  
  /* ボーダー */
  
  #mega_menu.line .category_home_link::before,
  #mega_menu.line li:last-child .category_home_link::after {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0px;
    width: 1px;
    background-color: var(--main-color);
  }
  
  #mega_menu.line li:last-child .category_home_link::after {
    left: auto;
    right: 0px;
    width: 1px;
    background-color: var(--main-color);
  }
  
  /* --- ドロップダウン内 --- */
  
  #mega_menu>.inner>ul>li .submenu {
    display: block;
    visibility: hidden;
  
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    padding-inline: 40px;
    padding-bottom: 40px;
    background-color: var(--color-white);
    border-radius: 0px 0px calc(var(--radius_sm) * 2.4) calc(var(--radius_sm) * 2.4);
    box-shadow: 0px 10px 10px rgb(from var(--main-color) r g b / 10%);
    transition:
      opacity 0.2s,
      visibility 0.2s;
    will-change: opacity;
    opacity: 0;
    pointer-events: none;
  }

  #mega_menu > .inner > ul > li.on .submenu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
    z-index: 900;
  }
  
  #mega_menu .menu_wrap {
    width: 100%;
  }
  
  #mega_menu .menu_wrap.col4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  #mega_menu .menu_wrap.col4 > * {
    max-width: calc(100% / 4);
  }
  
  #mega_menu .menu_wrap .col_wrap .group_unit + .group_unit {
    margin-top: 30px;
  }
  
  #mega_menu .menu_wrap.col3 {
    display: flex;
    justify-content: center;
    gap: 40px;
  }
  
  #mega_menu .menu_wrap.col3 > * {
    width: auto;
  }

  #mega_menu .menu_wrap.col2 {
    display: flex;
    justify-content: center;
    gap: 40px;
  }
  
  #mega_menu .menu_wrap.col2 > * {
    width: auto;
  }
  
  #mega_menu .group_unit ul {
    margin-top: 12px;
  }
  
  #mega_menu .menu_wrap a,
  #mega_menu .submenu .sub_head a,
  #mega_menu .submenu .sub_head button {
    display: flex;
    gap: 8px;
    border-radius: 0.5em;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: normal;
    text-decoration: none;
    color: var(--color-black);
  }
  
  #mega_menu .submenu .sub_head button{
    background: none;
    border: none;
  }
  
  #mega_menu .menu_wrap a, .submenu a i,
  #mega_menu .submenu .sub_head button i {
    margin-left: 0;
  }
  
  #mega_menu > .inner > ul > li .submenu .sub_head {
    display: flex;
    justify-content: space-between;
  }
  
  #mega_menu .submenu .sub_head {
    padding-block: 20px;
  }
  
  #mega_menu .submenu .sub_head a {
    font-size: 0.875rem;
    font-weight: 700;
  }
  
  #mega_menu .submenu .sub_head .close a {
    padding: 4px;
  }
  
  #mega_menu .submenu .sub_head .close a i {
    font-size: 1.25rem;
  }
  
  #mega_menu .submenu .sub_head a i {
    font-size: 0.875rem;
    margin-left: 0;
  }
  
  #mega_menu .menu_wrap .btn-round {
    gap: 4px;
    border-radius: 100vmax;
    padding: 8px 12px;
    font-size: 0.6875rem;
    line-height: 1;
  }
  
  @media (any-hover: hover) {

    #mega_menu  .menu_wrap .btn-round:hover {
      background-color: var(--color-green-bg);
      color: var(--color-green);
    }

    #mega_menu .menu_wrap a:hover,
    #mega_menu .login_app_menu a:hover,
    #mega_menu .submenu .sub_head a:hover {
      background-color: var(--color-bg-gray);
      color: var(--color-black);
    }

  }
  
  #mega_menu .menu_wrap a:focus {
    background-color: var(--color-bg-gray);
  }
  
  #mega_menu  .category {
    display: flex;
    align-items: center;
    -moz-column-gap: 8px;
    column-gap: 8px;
  }
  
  #gnav_dento .category a {
    display: block;
    padding: 0;
    border-radius: 0;
    border-bottom: 1px solid #ffffff00;
    font-size: 0.875rem;
    font-weight: var(--font-bold);
    line-height: 1;
  }
  
  @media (any-hover: hover) {
    #gnav_dento .category a:hover {
      background-color: inherit;
      border-bottom: 1px solid var(--color-black);
    }
  }
  
  #gnav_dento .category a:focus {
    background-color: inherit;
    border-bottom: 1px solid var(--color-black);
  }
  
  #mega_menu div.category_top {
    margin-block: 12px 0;
  }
  
  #mega_menu div.category_top a {
    font-weight: var(--font-bold);
  }
  
  #mega_menu div.category_top + ul {
    margin-top: 0;
    margin-left: 12px;
  }
  
  #mega_menu .category .icon {
    display: block;
    width: 24px;
  }
  
  #mega_menu .category .icon img {
    width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
  }
  
  #mega_menu .category .txt {
    font-size: 0.875rem;
    font-weight: var(--font-bold);
  }
  
  /* --- dento --- */
  
  #gnav_dento .menu_wrap {
    width: 100%;
  }
  
  #gnav_dento .menu_wrap .col_wrap {
    flex: 1 1 0;
  }
  
  #gnav_dento .menu_wrap .group_unit:first-child {
    flex: 2 1 0;
  }
  
  /* ---  ログイン --- */
  #gnav_dento .login_unit {
    /* width: var(--content-width); */
    margin: 0 auto;
  }
  
  #gnav_dento .login_unit > * + * {
    margin-top: 16px;
  }
  
  #gnav_dento .login_unit .btn_list {
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  
  #gnav_dento .login_unit .btn_list .unit a {
    display: block;
    height: 100%;
    text-decoration: none;
    text-align: center;
    color: var(--color-white);
  }
  
  
  #gnav_dento .login_unit .btn_list .unit a .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    line-height: 1;
  }
  
  #gnav_dento .login_unit .btn_list .unit a .logo img {
    min-height: 18px;
  }
  
  #gnav_dento .login_unit .btn_wrap {
    display: inline-block;
    margin-top: 4px;
  }
  
  #gnav_dento .login_unit .btn-round {
    font-size: 0.75rem;
    font-weight: var(--font-bolder);
  }
  
  #gnav_dento .login_unit .btn-round:hover {
    color: var(--color-white);
  }
  
  #gnav_dento .login_unit .btn-round span {
    display: inline-block;
  }
  #gnav_dento .login_unit .btn-round i{
    margin-left: 0;
    color: #ffffff;
  }
  
  #gnav_dento .login_unit .unit.soku a .btn-round {
    background-color: #1d2186;
  }
  
  #gnav_dento .login_unit .unit.direct a .btn-round {
    background-color: #163c2b;
  }
  
  #gnav_dento .login_unit .unit.nar a .btn-round {
    background-color: #581800;
  }
  
  #gnav_dento .login_unit > ul.link_list_mm {
    display: flex;
    justify-content: center;

    background-color: #fff;
    padding: 0;
  }
  
  #gnav_dento .login_unit > ul.link_list_mm a {
    color: #0155ad;
    font-weight: 600;
  }
  
  #gnav_dento .login_unit .related_links {
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  
  #gnav_dento .login_unit .related_links a {
    display: flex;
    width: auto;
    max-width: none;
    align-items: center;
    border-radius: 0.5em;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: normal;
  }
  
  #gnav_dento .login_unit .related_links a .text {
    flex-shrink: 0;
    min-width: 0;
  }
  
  #gnav_dento .login_unit .related_links a img {
    width: auto;
    max-width: 28px;
    height: 16px;
    -o-object-fit: contain;
    object-fit: contain;
  }
  
  
  /* - 固定
  -------------------------------------------------- */
  #header .fixed .global_nav a {
    font-size: 0.6875rem;
    padding: 6px 40px;
  }
  #header .fixed .line h1 img {
    width: 75px;
  }
  #header .fixed .line.main .inner {
    padding-block: 8px;
  }
  #header .fixed .line.main .submenu a {
    font-size: 0.75rem;
  }
  #header .fixed .category_home_link {
    padding-block: 16px 6px;
    font-size: 0.75rem;
    line-height: 1.1;
  }

  /* ヘッダー（JRADB 旧コンテンツ（幅狭）用）
  メガメニュー 調整CSS */
  .gray12 #header .fixed .category_home_link {
    min-height: auto;
}

  #header .fixed .category_home_link i {
    font-size: 0.75rem;
  }
  #header .fixed .line.main .submenu a img {
    max-width: 16px;
    max-height: 16px;
  }
  #header .fixed .category_home_link::before,
  #header .fixed li:last-child .category_home_link::after {
    top: 10px;
    bottom: 10px;
  }
  
  
  
  /*-------------------------------------
  .modal_box
  --------------------------------------*/
  
  .modal_open {
    cursor: pointer;
  }
  
  body.modal-open {
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  body.modal-open::-webkit-scrollbar {
      display: none;
  }
  
  .modal-backdrop.show {
    opacity: 0.7;
  }
  
  .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    overflow: auto;
    scrollbar-gutter: stable;
    z-index: 2071;
  }
  
  #modal.modal .image_box {
    padding: 1rem;
  }
  
  #modal.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2072;
    display: none;
    outline: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
  }
  
  #modal.modal.show .modal-dialog {
    transform: none;
  }
  
  #modal .modal-dialog {
    position: relative;
    width: auto;
    margin: 0 auto;
    pointer-events: none;
    max-width: 1200px;
    margin-top: 34px;
    margin-right: 2%;
  }
  
  #modal .modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
  }
  
  #modal .modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    content: "";
  }
  
  @media (min-width: 576px) {
    #modal .modal-dialog-centered::before {
      height: calc(100vh - 3.5rem);
    }
  }
  
  #modal .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    outline: 0;
    /* padding : 3rem 1rem; */
    align-items: flex-end;
  }
  
  #modal .modal-wall {
    position: relative;
    background-color: var(--main-color);
    background-clip: padding-box;
    border-radius: 2rem;
    padding: 4rem;
  }
  
  #modal .modal-body {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    overflow: hidden;
    overflow-y: auto;
  }
  
  #modal .modal_close:hover {
    opacity: 1;
  }
  
  #modal .modal_close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    height: auto;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  
  #modal .modal_close i {
    font-size: 24px;
    color: var(--color-white);
  }
  
  #modal .modal_close i {
    margin-left: 0;
  }
  
  /* --- フォームのスタイル --- */
  
  #modal .search_main {
    color: var(--color-white);
    font-size: 0.875rem;
  }

  #modal .search_main button,
  #modal .search_main input {
    font-size: 0.875rem;
  }
  
  #modal .search_box form .form-group {
    display: flex;
    height: 40px; /* 行の高さを指定 */
    justify-content: center; /* 横方向中央揃え（必要なら） */
  }
  
  #modal .search_box .form-group > :nth-child(2) {
    flex: 1 1 0%; /* 1つ目の子要素を伸ばす */
  }
  
  #modal .search_box .form-group > :last-child {
    flex: 0 0 auto; /* 2つ目の子要素は幅固定 */
  }
  
  #modal #form-error{
    padding: 4px;
    font-size: var(--font-size-11);
  }
  
  
  #modal .search_box + * {
    margin-top: 10px;
  }
  
  #modal .search_box input[type="text"] {
    padding-inline: 12px;
    border: none;
    border-radius: 10px 0 0 10px;
  }
  
  #modal .search_box button:first-of-type {
    padding-inline: 12px;
    border: none;
    border-radius: 0 10px 10px 0;
    color: var(--color-white);
    background-color: var(--color-link);
  }
  
  #modal .btn_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 389px;
    margin-top: 24px;
    margin-inline: auto;
  }
  
  #modal .btn_list a {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: var(--font-bolder);
    color: var(--color-gray);
    background-color: var(--color-gray-bg);
    border: none;
  }
  
  #modal .btn_list a i {
    margin-left: 0;
  }
  
  #modal .btn_list a:last-child {
    border: solid 1px var(--color-white);
    color: var(--color-white);
    background-color: var(--main-color);
  }
  
  #modal .btn_list a:last-child i {
    color: var(--color-white);
  }

