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

	common style（responsive format 2025.12） 
  カスタムプロパティ/common_r/css/base_r.css内に記述
-------------------------------------------------- */

/* ------------------------------------------------------------
1：basic layout
2：ヘッダー
3：グローバルナビゲーション
4：パンくずリスト
5：ページトップボタン
6：フッター
7：表示モード
8：ナビゲーションスキップ
9：keyframe アニメーション
------------------------------------------------------------ */

/* ----------------------------------------------------------------------
	1：basic layout
---------------------------------------------------------------------- */
html, body {
	margin: 0;	/* 余白の削除 */
	padding: 0;	/* 余白の削除 */
	height: 100%;	/* 縦の高さを100% */
  min-width: 1200px;
	width: 100%;	/* 横の幅を100% */
}

/* --- アンカースクロール時 対応用 --- */
html {
  scroll-padding-top: calc((var(--headerHeight, 120px)) + 20px);
}

body {
	-webkit-text-size-adjust: 100%;
	font-family :"Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	color:var(--color-black);
	line-height:1.5;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;

  vertical-align:top; 
}

#wrapper {
	position: relative;		/*フッター部の配置用に定義 */
  min-height: 100%;			/* 縦の表示領域を100% */
	height: auto;
	padding-bottom: 420px; 
  box-sizing: border-box;
}

.jra-app #wrapper { padding-bottom: 50px; }

#wrapper * { box-sizing: border-box; }
#wrapper.off { overflow: hidden; }/* --- スマホメニュー表示時用 --- */

.w940 {
	max-width: min(100%, 940px);
	margin: 0 auto;
}

.w1200 {
	max-width: min(100%, 1200px);
	margin: 0 auto;
}

#contents { 
  min-width: var(--max-content-width);
 }

#contentsBody {
	position: relative;
	box-sizing: border-box;
  margin: 0 auto;
	padding-bottom: 40px;
	max-width: var(--block-content-width);
	width: var(--block-content-width);
}


/* ----------------------------------------------------------------------
	2：ヘッダー
---------------------------------------------------------------------- */

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

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

/* --- 丸ボタン --- */

#header .btn-round,
#modal .btn-round {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: var(--color-bg-gray);
    font-size: var(--font-size-11);
    border-radius: 100vmax;
    padding: 4px 12px;
    text-decoration: none;
  }
  
  #header .btn-round i,
  #modal .btn-round i {
    color: inherit;
    margin: 0;
  }

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

  .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: var(--font-size-14);
    box-shadow: 0px 8px 20px rgb(from var(--main-color) r g b / 15%);
    text-decoration: none;
    font-size: var(--font-size-14);
    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: var(--font-size-12);
  text-decoration: none;
  color: var(--color-white);
}

.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; 
  }

  .jra-app #header { display: none; }
  
  #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;
  }
  
  #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;
  }
  
  #header {
    /* Firefox */
    @-moz-document url-prefix() {
      .line.main::after {
        background-image: url(../header/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: var(--font-size-16);
    font-weight: var(--font-bolder);
  }
  
  #header .line.main .submenu a {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 10px;
  
    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: var(--font-size-14);
  }

  /* --- ハンバーガーメニューボタン --- */
#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: var(--font-size-12);
  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%;
    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;
  }

  #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: var(--font-size-14);
    font-weight: var(--font-bold);
    text-align: center;
    text-decoration: none;
    color: var(--color-black);
    transition: var(--btn-ease);
  }
  
  #mega_menu.line .category_home_link i {
    font-size: var(--font-size-15);
    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: var(--font-size-12);
    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: var(--font-size-14);
    font-weight: 700;
  }
  
  #mega_menu .submenu .sub_head .close a {
    padding: 4px;
  }
  
  #mega_menu .submenu .sub_head .close a i {
    font-size: var(--font-size-20);
  }
  
  #mega_menu .submenu .sub_head a i {
    font-size: var(--font-size-14);
    margin-left: 0;
  }
  
  #mega_menu .menu_wrap .btn-round {
    gap: 4px;
    border-radius: 100vmax;
    padding: 8px 12px;
    font-size: 1.1rem;
    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: var(--font-size-14);
    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: var(--font-size-14);
    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;
  }
  
  /* ---  ログイン --- */

  #mega_menu #gnav_ticket .category > a.btn-round.green {
    background-color: var(--color-green-bg);
    color: var(--color-green);
    box-shadow: none;
  }

  #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: var(--font-size-12);
    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: var(--font-size-12);
    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: var(--font-size-11);
    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: var(--font-size-12);
  }
  #header .fixed .category_home_link {
    padding-block: 16px 6px;
    font-size: var(--font-size-12);
    line-height: 1.1;
  }
  #header .fixed .category_home_link i {
    font-size: var(--font-size-12);
  }
  #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: var(--font-size-14);
  }

  #modal .search_main button,
  #modal .search_main input {
    font-size: var(--font-size-14);
  }
  
  #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: var(--font-size-12);
    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);
  }


/* ----------------------------------------------------------------------
	4：パンくずリスト
---------------------------------------------------------------------- */
.bread_crumb {
	width: 100%;
	background-color: #eee;
	border-bottom: 1px solid #e3e3e3;
	box-sizing: border-box;
	padding: 0 6px;
}

.jra-app .bread_crumb { display: none; }

.bread_crumb > .content {
	max-width: var(--block-content-width);
	margin: 0 auto;
	padding: 6px 0;
}

.bread_crumb > .content > ul > li > a,
.bread_crumb > .content > ul > li > strong { padding: 0; font-size: 1.3rem; }

.no-touch .bread_crumb > .content > ul > li > a:hover,
.bread_crumb > .content > ul > li > a:focus { color: #126432; }
.bread_crumb > .content > ul > li:first-child > a { padding-left: 0; }
.bread_crumb > .content > ul > li.current > a { text-decoration: none; font-weight: bold; color: #444; }
.bread_crumb > .content > ul > li > .divider {
  color: #333;
  position: relative;
  top: -1px;
}

/* ----------------------------------------------------------------------
	5：ページトップボタン
---------------------------------------------------------------------- */
#page_top_btn {
	position: fixed;
	bottom: -60px;
    width: 44px;
	z-index: 999;
    left: auto;
    right: 20px;
    animation: obj_fade_in 0.5s ease-in-out;
    display: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

#page_top_btn.on { bottom: 20px; display: block; }
#page_top_btn.bottom { bottom: 170px; animation: obj_fade_out 0.5s ease-out forwards;; }

.jra-app #page_top_btn.on { bottom: 30px; display: block; }
.jra-app #page_top_btn.bottom { bottom: 30px; }

#page_top_btn > a {
    display: block;
    position: relative;
    text-decoration: none;
}

#page_top_btn > a > .hover {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 2px;
    border: 2px dotted #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.no-touch #page_top_btn > a:hover > .hover,
#page_top_btn > a:focus > .hover {
    display: block;
    animation: obj_fade_in 0.3s ease-in-out;
}

#page_top_btn img {
	display: block;
	width: 44px;
	height: 44px;
}


/* ----------------------------------------------------------------------
	6：フッター
---------------------------------------------------------------------- */

.jra-app .content_fix_block { display: none; }

/* --- .section 背景薄い緑 --- */
.content_fix_block .section.bg-lime {
    background-color: var(--color-bg-lime);
    min-width: var(--max-content-width);
    width: calc(100vw - (100vw - 100%));
    max-width: 100%;
  }
  
  .content_fix_block .section[class*="bg-"] {
    margin-top: 0;
  }
  
  .content_fix_block .section[class*="bg-"] .contents_block {
    max-width: var(--max-content-width);
    margin: 0 auto;
  }

/* --- .section 仕切り丸 --- */
.content_fix_block .section.curved {
    position: relative;
    margin: 0 auto;
    margin-top: 40px;
    padding-top: 200px;
    padding-top: 80px;
  }
  
  .content_fix_block  .section.curved .contents_block {
    padding: 64px;
    border-radius: var(---radius);
    background-color: var(--color-white);
  }
  
  .content_fix_block .section.curved .round {
    position: absolute;
    top: 1px;
    left: 50%;
    width: 100%;
    aspect-ratio: 1920 / 22.15;
    display: block;
    transform: translateX(-50%) translateY(-100%);
  }
  
  .content_fix_block .section.curved.bg-gray .round {
    color: var(--color-bg-gray);
  }
  
  .content_fix_block .section.curved.bg-lime .round {
    color: var(--color-bg-lime);
  }

/* - ページトップへ戻る
---------------------------------------------------------------------- */

.section.curved.bg-lime{
    padding-top: 0;
  }
  
  #pagetop {
    display: flex;
    place-content: center;
  }
  
  #pagetop a {
    display: flex;
    gap: 4px;
    padding: 10px;
    border-bottom: solid 2px var(--color-dark-green);
    font-size: var(--font-size-14);
    font-weight: var(--font-bolder);
    text-decoration: none;
    color: var(--color-dark-green);
  }
  
  #pagetop i {
    margin-left: 0;
    color: inherit;
  }


.content_fix_block {
  width: 100%;
  position: absolute;
  bottom: 0;
}

/* - JRAからのお知らせ
---------------------------------------------------------------------- */

#jra_info {
    width: var(--inner-content-width);
    padding: 0;
    padding-block: 24px;
    background-color: inherit;
  }
  
  #jra_info .title {
    font-size: var(--font-size-18);
    font-weight: var(--font-bolder);
    color: var(--color-dark-green);
  }
  
  #jra_info .jra_info_list {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: flex-start;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  
  #jra_info .jra_info_list a {
    font-size: var(--font-size-12);
    font-weight: var(--font-bolder);
    text-decoration: none;
    color: var(--color-dark-green);
  }
  
  #jra_info .jra_info_list a i {
    margin-left: 0;
  }
  
  #jra_info .icon {
    margin-right: 4px;
    font-size: var(--font-size-10);
  }

#footer {
    min-width: var(--max-content-width);
    padding-block: 24px 14px;
    background-color: var(--color-dark-green);
    color: var(--color-white);
  }

  #footer .contents_block {
    max-width: var(--inner-content-width);
    margin: 0 auto;
    font-size: 0;
  }
  #footer .menu_list_wrap {
    display: flex;
    justify-content: space-between;
  }
  #footer ul {
    display: flex;
    align-items: center;
  }
  #footer a {
    display: inline-block;
    padding: 0 8px;
    border-left: 1px solid var(--color-white);
    font-size: var(--font-size-12);
    text-decoration: none;
    color: var(--color-white);
  }

  #footer ul a i {
    margin-left: 0.6em;
  }

  #footer [href^="https://"]
  {
    padding: 4px 8px;
    margin-left: 44px;
    border-radius: var(--radius_xs);
    background-color: var(--color-bg-lime);
    color: var(--color-dark-green);
  }
  
  #footer .copyright {
    margin-top: 44px;
    text-align: center;
  }
  #footer .copyright p {
    margin-top: 14px;
    font-size: var(--font-size-12);
    color: var(--color-white);
  }


/* ----------------------------------------------------------------------
	7：表示モード
---------------------------------------------------------------------- */
#rwd_mode {
	max-width: var(--block-content-width);
	margin: 0 auto;
    text-align: center;
}

#rwd_mode > div.inner {
	background-color: #ebebeb;
	padding: 10px 8px;
	display: inline-block;
	vertical-align: bottom;
}

#rwd_mode dl { display: table; }

#rwd_mode dl > dt {
	display:table-cell;
	font-size: 1.1rem;
	line-height: 1;
	vertical-align: middle;
}

#rwd_mode dl > dd {
	display:table-cell;
	vertical-align: middle;
	padding-left: 5px;
}

#rwd_mode dl > dd > ul { display: table; }

#rwd_mode dl > dd > ul > li { display: table-cell; }

#rwd_mode dl > dd > ul > li > a {
	padding: 6px 8px;
	background-color: #fff;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
	font-size: 1.1rem;
	text-decoration: none;
	line-height: 1;
	font-weight: bold;
}

#rwd_mode dl > dd > ul > li > a:hover { background-color: #f1f8e9; }

#rwd_mode dl > dd > ul > li.current > a {
	box-shadow: none;
	background-color: #333;
	background-color: #14783a;
	color: #fff;
}



/* ----------------------------------------------------------------------
	8：ナビゲーションスキップ
---------------------------------------------------------------------- */
#navigation_skip {
	background-color: #222;
	color: #fff;
	display: block;
	position: relative;
}

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

#navigation_skip > p {
	position: absolute;
	left: 0;
	top: -10px;
	height: 1px;
	overflow:hidden;
}

#navigation_skip > p.focused {
	position: static;
	height: auto;
}

#navigation_skip > p > a {
	display: block;
	text-align: center;
	color: #fff;
	font-size: 1.6rem;
	padding: 10px 0;
}

#navigation_skip > p > a i { margin-right: 0.4em; }



/* ----------------------------------------------------------------------
	0：keyframe アニメーション
---------------------------------------------------------------------- */

@keyframes obj_fade_in {
    from{ opacity: 0; }
    to{ opacity: 1; }
}

@keyframes obj_fade_out {
    from{ opacity: 1; }
    to{ opacity: 0; }
}

/* --- ドロップダウンメニュー用 --- */
@keyframes obj_slide_in {
    from { transform: translateY(-5px); }
    to { transform: translateY(0); }
}

/* --- 検索フィールド用 --- */
@keyframes obj_slide_in_side {
    from { transform: translateX(-5px); }
    to { transform: translateX(0); }
}

/* ----- ヘッダー用 ----- */
@keyframes header_move_in {
    from{ transform: translateY(-104px); }
    to{ transform: translateY(0); }
}

@keyframes header_move_out {
    from{ transform: translateY(24px); }
    to{ transform: translateY(0); }
}

/* ----- グローバルナビゲーション用 ----- */
@keyframes obj_scale_in {
    from{ transform: scale(0.1); }
    to{ transform: scale(1); }
}



/* ----------------------------------------------------------------------
	11：JRAアプリ - 非表示
---------------------------------------------------------------------- */
.jra-app .app-off { display: none !important; }



@media print {
  html, body{ height: auto; }
}
