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

	common style（responsive format）

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

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

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

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:#333;
	line-height:1.5;
}

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

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

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

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

#contents { height: auto; box-sizing: border-box; }

#contentsBody {
	position: relative;
	box-sizing: border-box;
    margin: 0 auto;
	padding-bottom: 40px;
	max-width: 940px;
	width: 940px;
}


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

/* --- スマホ プルダウンメニュー領域外クリック用 --- */
#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: #268300;
    height: 104px;
    box-sizing: border-box;
}

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

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

#header > .content {
    width: 100%;
    background-color: #268300;
    position: static;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 900;
}

#header.longines,
#header.longines > .content { background-color: #102753; }/* --- ロンジンカラー --- */

#header > .content.off {
    position: static;
    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;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 900;
}

/* --- スマホメニューオープン時 --- */
#header.opened {
    background-color: #1d4f0d;
    position: static;
}

#header.opened.longines { background-color: #102753; }


/* - スマホ用ロゴライン
---------------------------------------------------------------------- */
div.sp_header {
    background-color: #fff;
    height: 56px;
    display: none;
    border-bottom: 1px solid #134100;
    box-sizing: border-box;
}

.jra-app div.sp_header { display: none; }

div.sp_header.longines { border-bottom: 1px solid #0c1d3f; }

div.sp_header > .content {
    padding: 5px 10px;
    position: fixed;
    width: 100%;
    background-color: #268300;
    z-index: 300;
    border-bottom: 1px solid #134100;
    height: 56px;
}

div.sp_header.longines > .content {
    background-color: #011f39;
    background-color: #102753;
    border-bottom: none;
    border-bottom: 1px solid #000;
}/* --- ロンジンカラー --- */

div.sp_header > .content > .inner {
    display: table;
    width: 100%;
    height: 100%;
}
div.sp_header > .content > .inner > .cell { display: table-cell; vertical-align: middle; }

div.sp_header > .content > .inner > .cell.center {
    width: 180px;
    padding-right: 5px;
}

div.sp_header > .content > .inner > .cell.center:after { content: ''; display: block; clear: both; }

div.sp_header > .content > .inner > .cell.right {
    text-align: right;
    width: 78px;
    text-align: center;
}

div.sp_header h1 > a { display: block; }

div.sp_header h1 img {
    max-width: 84px;
    vertical-align: middle;
}


/* --- スマッピー・ネット投票ログイン（スマホ表示） --- */
div.sp_header > .content > .inner > .cell.center > .submenu {
    display: table;
    float: right;
}

div.sp_header > .content > .inner > .cell.center > .submenu > .cell {
    display: table-cell;
    vertical-align: middle;
}

div.sp_header > .content > .inner > .cell.center > .submenu > .cell + .cell { padding-left: 5px; }

/* --- スマッピー --- */
div.sp_header > .content > .inner > .cell.center > .submenu > .cell.smappy { display: none; }
.sp_mode div.sp_header > .content > .inner > .cell.center > .submenu > .cell.smappy { display: table-cell; }

div.sp_header .header_qr_btn > a {
    height: 32px;
    padding: 0 4px;
}

/*div.sp_header .header_qr_btn > a span.wrap span.icon i { font-size: 2.4rem; }*/
div.sp_header .header_qr_btn > a span.wrap span.txt { padding-left: 4px; }

/* --- ネット投票ログイン --- */
div.sp_header .header_login_btn > a {
    height: 32px;
    padding: 1px 4px;
}

div.sp_header .header_login_btn > a .wrap > span.txt { line-height: 1.2; }
div.sp_header .header_login_btn > a .wrap > span.txt > span { line-height: 1.1; }
div.sp_header .header_login_btn > a .wrap > span.txt > span.main { font-size: 1rem; }


/* --- メニューボタン（スマホ表示） --- */
div.sp_header > .content > .inner > .cell.right > .close {
    display: inline-block;
    display: block;
}

div.sp_header > .content > .inner > .cell.right > .close > a {
    text-decoration: none;
    width: auto;
    position: relative;
    background-color: #fff;
    border: 1px solid #d3d3d3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    font-weight: bold;
    color: #555;
    transition: all 140ms ease-in-out;
    text-align: center;
    vertical-align: middle;
    border-radius: 3px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    padding: 5px 6px;
    font-size: 1.1rem;
    height: 32px;
    min-width: 74px;
    text-align: center;
}

div.sp_header > .content > .inner > .cell.right > .close > a > .inner { display: table; }

div.sp_header > .content > .inner > .cell.right > .close > a > .inner > .cell {
    display: table-cell;
    vertical-align: middle;
}

div.sp_header > .content > .inner > .cell.right > .close > a > .inner > .cell.txt { padding-left: 4px; }

div.sp_header > .content > .inner > .cell.right > .close > a > .inner > .cell > .icon {
    transition: rotate 0.4s;
    box-sizing: border-box;
    position: relative;
    display: block;
    margin: 0 auto;
    height: 10px;
    width: 12px;
}

div.sp_header > .content > .inner > .cell.right > .close > a > .inner > .cell > .icon > span {
    position: absolute;
    left : 0;
    width: 100%;
    height: 2px;
    background-color: #555;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

div.sp_header > .content > .inner > .cell.right > .close > a > .inner > .cell > .icon > span:nth-of-type(1) { top: 0; }
div.sp_header > .content > .inner > .cell.right > .close > a > .inner > .cell > .icon > span:nth-of-type(2) { top: 4px; transition: all 0.1s ease-in-out; }
div.sp_header > .content > .inner > .cell.right > .close > a > .inner > .cell > .icon > span:nth-of-type(3) { bottom: 0; }

div.sp_header > .content > .inner > .cell.right > .close > a.active > .inner > .cell > .icon > span:nth-of-type(1) {
	-webkit-transform: translateY(4px) rotate(-45deg);
	transform: translateY(4px) rotate(-45deg);
    width: 12px;
}

div.sp_header > .content > .inner > .cell.right > .close > a.active > .inner > .cell > .icon > span:nth-of-type(2) { opacity: 0; }

div.sp_header > .content > .inner > .cell.right > .close > a.active > .inner > .cell > .icon > span:nth-of-type(3) {
	-webkit-transform: translateY(-4px) rotate(45deg);
	transform: translateY(-4px) rotate(45deg);
    width: 12px;
}


/* - header green line
------------------------------------------------------------ */
#header .line {
    width: 940px;
    margin: 0 auto;
    height: auto;
    box-sizing: border-box;
}
#header .line > .inner { width: 100%; margin: 0; }
#header .line > .inner:after { content: ''; display: block; clear: both; }
#header .line > .inner > .cell.left { float: left; padding: 12px 0 12px 5px; }
#header .line > .inner > .cell.left a { display: block; }

#header .line > .inner > .cell.left img {
    max-height: 40px;
    transition: all 0.3s ease-in-out;
    vertical-align: top;
}

#header > .content.fixed .line > .inner > .cell.left { padding: 5px; }
#header > .content.fixed .line > .inner > .cell.left img { max-height: 30px; }

/* --- PRエリア --- */
#header .line > .inner > .cell.pr {
    float: left;
    display: flex;
    align-items: center;
    margin: 0 10px;
}

#header > .content.fixed .line > .inner > .cell.pr { height: 40px; }
#header .line > .inner > .cell.pr > .inner { padding: 10px; }

/* --- 検索・ネット投票・お問い合わせ・スマッピー --- */
#header .line > .inner > .cell.right {
    float: right;
    height: 64px;
    display: flex;
    align-items: center;
}

#header > .content.fixed .line > .inner > .cell.right { height: 40px; }

#header .line > .inner > .cell.right > .submenu { font-size: 0; }

#header .line > .inner > .cell.right > .submenu > .cell {
    display: inline-block;
    font-size: 1.3rem;
    vertical-align: middle;
}

#header .line > .inner > .cell.right > .submenu > .cell + .cell { margin-left: 5px; }

/* --- スマッピーボタン --- */
#header .line > .inner > .cell.right > .submenu > .cell.smappy { display: none; }
.sp_mode #header .line > .inner > .cell.right > .submenu > .cell.smappy { display: inline-block; }

#header > .content.fixed .line > .inner > .cell.right > .submenu > .cell.smappy.off { display: none; }

.header_qr_btn {  }

.header_qr_btn > a {
    text-decoration: none;
    width: auto;
    border: 1px solid #d7d7d7;
    position: relative;
    padding: 0 0 0 8px;
    background-color: #fff;
    border: 1px solid #d3d3d3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    font-size: 1.3rem;
    border-radius: 3px;
    color: #555;
    padding: 0 6px;
    
    display: flex;
    align-items: center;
    height: 36px;
}

.header_qr_btn > a span.wrap { display: table; margin: 0 auto; }

.header_qr_btn > a span.wrap > span { display: table-cell; vertical-align: middle; }
.header_qr_btn > a span.wrap span.icon { text-align: center; line-height: 1.4; }

.header_qr_btn > a span.wrap span.icon i {
    display: block;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    line-height: 1;
    color: #0b838a;
    font-size: 3rem;
    font-size: 2.2rem;
}

.header_qr_btn > a span.wrap span.txt {
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
    font-weight: bold;
    color: #555;
    padding-left: 6px;
    padding-top: 2px;
}

.header_qr_btn > a span.wrap span.txt > span { display: block; }

.header_qr_btn > a span.wrap span.txt > span.block_img { display: block; }
.header_qr_btn > a span.wrap span.txt > span.line_img { display: none; }

/*
.header_qr_btn > a span.wrap span.txt > span.cap {
    height: 13px;
    max-height: 13px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -4px;
    margin-top: 1px;
}

.sp_header .header_qr_btn > a span.wrap span.txt > span.cap {
    margin-top: -1px;
}

.header_qr_btn > a span.wrap span.txt > span.cap > span { display: block; line-height: 1.1; }
.header_qr_btn > a span.wrap span.txt > span.cap > span > strong { margin-right: 1px; color: #0b838a; }

.header_qr_btn > a span.blow {
    position: absolute;
    left: -14px;
    top: -6px;
}

.header_qr_btn > a span.blow > img { max-width: 23px; }
*/

#header > .content.fixed .header_qr_btn > a { height: 26px; align-content: center; }
#header > .content.fixed .header_qr_btn > a span.wrap span.icon i { /*font-size: 2.4rem;*/ font-size: 1.8rem; }

#header > .content.fixed .header_qr_btn > a span.wrap span.txt { padding-left: 4px; line-height: 1.4; }

/*
#header > .content.fixed .header_qr_btn > a span.wrap span.txt > span { display: inline-block; }
#header > .content.fixed .header_qr_btn > a span.wrap span.txt > span.cap { margin-left: 2px; margin-top: 0; }
#header > .content.fixed .header_qr_btn > a span.blow { top: -6px; left: -14px; }
*/

#header > .content.fixed .header_qr_btn > a span.wrap span.txt > span.block_img { display: none; }
#header > .content.fixed .header_qr_btn > a span.wrap span.txt > span.line_img { display: block; }


/* --- ネット投票ログイン --- */
#header .line > .inner > .cell.right > .submenu > .cell.login { margin-left: 0; }
.sp_mode #header .line > .inner > .cell.right > .submenu > .cell.login { margin-left: 5px; }

#header > .content.fixed .line > .inner > .cell.right > .submenu > .cell.login.off { display: none; }

.header_login_btn {  }

.header_login_btn > a {
    text-decoration: none;
    width: auto;
    position: relative;
    background-color: #fff;
    border: 1px solid #d3d3d3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    font-size: 1.2rem;
    color: #555;
    font-weight: bold;
    padding: 3px 6px;
    transition: all 140ms ease-in-out;
    border-radius: 3px;
    display: flex;
    align-items: center;
    height: 36px;
}

.no-touch .header_login_btn > a:hover,
.header_login_btn > a:focus {
    color: #333;
    border-color: #888;
    background-color: #f7f7f7;
}

.header_login_btn > a .wrap { display: table; margin: 0 auto; }
.header_login_btn > a .wrap > span { display: table-cell; vertical-align: middle; }

.header_login_btn > a .wrap > span.icon {
    width: 14px;
}

.header_login_btn > a .wrap > span.txt {
    padding: 2px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.2;
}

.header_login_btn > a .wrap > span.txt > span.cap { font-size: 1rem; }
.header_login_btn > a .wrap > span.txt > span.main { display: block; font-size: 1.1rem; }

.header_login_btn > a i {
    color: #2d6fb7;
    vertical-align: middle;
    line-height: 1;
    display: block;
    /*font-size: 2.2rem;*/
    font-size: 1.6rem;
}

#header > .content.fixed .header_login_btn > a { height: 26px; }

#header > .content.fixed .header_login_btn > a .wrap > span.txt { line-height: 1.4; padding-left: 5px; }
#header > .content.fixed .header_login_btn > a .wrap > span.txt > span.cap {
    display: none;
    display: inline-block;
    vertical-align: middle;
    font-size: 1.1rem;
    line-height: 1.2;
}
#header > .content.fixed .header_login_btn > a .wrap > span.txt > span.main {
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
    line-height: 1.2;
}

/* --- お問い合わせ／FAQ --- */
#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.faq.off { display: none; }

#header .line > .inner > .cell.right .submenu > .cell.faq a {
    text-decoration: none;
    width: auto;
    position: relative;
    background-color: #fff;
    border: 1px solid #d3d3d3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
    padding: 3px 6px;
    transition: all 140ms ease-in-out;
    text-align: center;
    vertical-align: middle;
    border-radius: 3px;
    display: flex;
    align-items: center;
    height: 36px;
}

#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.faq a {  }

.no-touch #header .line > .inner > .cell.right .submenu > .cell.faq a:hover,
#header .line > .inner > .cell.right .submenu > .cell.faq a:focus {
    color: #333;
    border-color: #888;
    background-color: #f7f7f7;
    text-decoration: none;
}

#header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap { display: table; margin: 0 auto; }
#header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span { display: table-cell; vertical-align: middle; }
#header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt {
    line-height: 1.2;
    font-size: 1rem;
    padding-left: 4px;
}

#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt {
    font-size: 1rem;
    padding-left: 5px;
}

#header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span { display: block; font-size: 1.2rem; }
#header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span.cap { font-size: 1rem; }
#header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span.main { font-size: 1.1rem; }
#header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span .devide { display: none; }

#header .line > .inner > .cell.right .submenu > .cell.faq a i {
    color: #268300;
    line-height: 1;
    display: block;
    font-size: 2.2rem;
    font-size: 2rem;
}

#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.faq a i { font-size: 1.8rem; }
#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.faq a { height: 26px; }
#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span.cap { display: none; }

/* --- サイト内検索 --- */
#header .line > .inner > .cell.right .submenu > .cell.search { margin-left: 20px; }
#header .line > .inner > .cell.right .submenu > .cell.search .search_box { position: relative; }

#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.search { margin-left: 5px; }

#header .line > .inner > .cell.right .submenu > .cell.search .search_btn { display: none; }

#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.search .search_btn {
    display: inline-block;
    vertical-align: middle;
}

#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.search .search_btn.off { display: none; }

#header .line > .inner > .cell.right .submenu > .cell.search .search_btn > a {
    text-decoration: none;
    width: auto;
    position: relative;
    background-color: #fff;
    border: 1px solid #d3d3d3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
    transition: all 140ms ease-in-out;
    text-align: center;
    vertical-align: middle;
    border-radius: 3px;
    display: flex;
    align-items: center;
    height: 26px;
    padding: 4px 5px;
}

.no-touch #header .line > .inner > .cell.right .submenu > .cell.search .search_btn > a:hover,
#header .line > .inner > .cell.right .submenu > .cell.search .search_btn > a:focus {
    color: #333;
    border-color: #888;
    background-color: #f7f7f7;
    text-decoration: none;
}

#header .line > .inner > .cell.right .submenu > .cell.search .search_btn > a img {
    max-width: 16px;
}

#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.search .search_main {
    display: none;
    animation: obj_fade_in 0.3s ease-in-out, obj_slide_in_side 0.2s ease-in-out;
    font-size: 0;
}

#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.search .search_main.on { display: block; }

#header .line > .inner > .cell.right .submenu > .cell.search .search_main .search_box {
    display: inline-block;
    font-size: 1.3rem;
    vertical-align: middle;
}

#header .line > .inner > .cell.right .submenu > .cell.search .search_main .close {
    display: none;
    font-size: 1.3rem;
    margin-left: 5px;
}

#header > .content.fixed .line > .inner > .cell.right .submenu > .cell.search .search_main .close {
    display: inline-block;
    vertical-align: middle;
}

#header .line > .inner > .cell.right .submenu > .cell.search .search_main .close > a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #d3d3d3;
    font-weight: bold;
    line-height: 1.2;
    color: #333;
    font-size: 1.4rem;
    padding: 4px 6px;
}

.no-touch #header .line > .inner > .cell.right .submenu > .cell.search .search_main .close > a:hover,
#header .line > .inner > .cell.right .submenu > .cell.search .search_main .close > a:focus {
    color: #333;
    border-color: #888;
    background-color: #f7f7f7;
    text-decoration: none;
}

#header .line > .inner > .cell.right .submenu > .cell.search .search_main .close > a i { display: block; }

.search_box input[type="text"] {
    width: 150px;
    height: 25px;
    font-size: 93%;
    font-size: 1.2rem;
    border: 1px solid #ddd;
    float: none;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    padding: 4px 20px 4px 4px;
    height: 27px;
    line-height: 1.5;
    
    font-size: 1.3rem;
    height: 28px;
}

#header > .content.fixed .search_box input[type="text"] { height: 24px; }

.search_box input[type="image"] {
    position: absolute;
    width: 16px;
    height: 16px;
    right: 4px;
    top: 6px;
}

#header > .content.fixed .search_box input[type="image"] { top: 4px; }


/* ----------------------------------------------------------------------
	3：グローバルナビゲーション
---------------------------------------------------------------------- */
#header .line#global_nav {
    background-color: #333;
    width: 100%;
    max-width: 100%;
    border-top: 1px solid #134100;
    border-bottom: 1px solid #134100;
}

#header.longines .line#global_nav {
    border-top: 1px solid #08152f;
    border-bottom: 1px solid #08152f;
}

#header .line#global_nav > .inner {
    display: block;
    width: 940px;
    margin: 0 auto;
    position: relative;
    z-index: 900;
}

#global_nav > .inner > ul {
    display: table;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#global_nav > .inner > ul > li {
    display: table-cell;
    vertical-align: middle;
    border: 1px dotted #444;
    border-top: none;
    border-bottom: none;
}

.longines #global_nav > .inner > ul > li { border-color: #000; }

#global_nav > .inner > ul > li .menu_unit > a {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 12px 0;
    font-weight: bold;
    color: #fff;
    line-height: 1.1;
    font-size: 1.3rem;
    background-color: #333;
    transition: all 0.4s ease-in-out;
}

#global_nav > .inner > ul > li .menu_unit > a > span {
    letter-spacing: -0.1em;
    margin-left: -0.1em;
}

#global_nav > .inner > ul > li#gnav_event .menu_unit > a > span {
    letter-spacing: -0.2em;
    margin-left: -0.2em;
}

#global_nav > .inner > ul > li .menu_unit > a i { display: none; }

#global_nav > .inner > ul > li#gnav_keiba { width: 130px; }
#global_nav > .inner > ul > li#gnav_dento { width: 180px; }
#global_nav > .inner > ul > li#gnav_event { width: 176px; }
#global_nav > .inner > ul > li#gnav_facilities { width: 184px; }
#global_nav > .inner > ul > li#gnav_company { width: 112px }


#global_nav > .inner > ul > li.current a {
    background-color: #33691E;
    text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.longines #global_nav > .inner > ul > li.current a { background-color: #2a4b88; }

.no-touch #global_nav > .inner > ul > li:hover a { background-color: #1d4f0d; }
#global_nav > .inner > ul > li.on a { background-color: #1d4f0d; }

.no-touch .longines #global_nav > .inner > ul > li:hover a { background-color: #011f39; }
.longines #global_nav > .inner > ul > li.on a { background-color: #011f39; }

#header > .content.fixed #global_nav > .inner > ul > li div.menu_unit > a {
    font-size: 1.2rem;
    padding: 8px;
}


/* - ドロップダウンメニュー
---------------------------------------------------------------------- */
#global_nav > .inner > ul > li .submenu {
    background-color: #1d4f0d;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: #1d4f0d;
    box-sizing: border-box;
    display: none;
    opacity: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: obj_fade_in 0.4s ease-in-out, obj_slide_in 0.2s ease-in-out;
    animation-fill-mode: forwards;
    
    /*height: auto;
    max-height: none;*/
}

.longines #global_nav > .inner > ul > li .submenu { background-color: #011f39; }

#global_nav > .inner > ul > li.on .submenu {
    display: block;
    opacity: 1;
    height: auto;
    max-height: 500px;
    overflow-y: auto;
}

#global_nav > .inner > ul > li .submenu > .sub_head {
    margin-bottom: 10px;
    position: relative;
    padding-right: 75px;
}

#global_nav > .inner > ul > li .submenu > .sub_head > .close {
    position: absolute;
    right: 0;
    top: 3px;
    width: 21px;
    display: block;
}

#global_nav > .inner > ul > li .submenu > .sub_head > .close > a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #d3d3d3;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
    color: #333;
    padding: 2px 4px;
}

#global_nav > .inner > ul > li .submenu > .sub_head > .close > a i {
    display: block;
    font-size: 1.4rem;
}

#global_nav > .inner > ul > li .submenu > .sub_head > div.inner { display: table; }
#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div { display: table-cell; vertical-align: middle; }
#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.main { padding-right: 30px; }

#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.main > p > a {
    text-align: left;
    padding: 5px;
    display: inline-block;
    letter-spacing: normal;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.no-touch #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.main > p > a:hover { text-decoration: underline; }

#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.main > p > a i { margin-right: 0.4em; }

/* --- ログインボタンエリア --- */
#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt {  }
#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul { font-size: 0; }
#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li {
    font-size: 1.2rem;
    display: inline-block;
    margin-right: 15px;
}

#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li:last-child { margin-right: 0; }

#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a {
    display: block;
    background: none;
    border: 1px solid #333;
    border-radius: 3px;
}

#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a.pc { display: block; }
#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a.sp { display: none; }

.no-touch #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a:hover { background: none; }

#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a img {
    vertical-align: top;
    display: block;
    max-width: 180px;
}

#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a img.tickets {
    max-width: 225px;
}

#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a .pc { display: block; }
#global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a .sp { display: none; }


#global_nav > .inner > ul > li .submenu > p { margin-bottom: 10px; }

#global_nav > .inner > ul > li .submenu > p > a {
    text-align: left;
    padding: 5px;
    display: inline-block;
    letter-spacing: normal;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

#global_nav > .inner > ul > li .submenu  > .inner { display: block; width: 100%; }

#global_nav > .inner > ul > li .submenu  > .inner > .cell {
    background-color: #fff;
    box-sizing: border-box;
    padding: 15px;
}

/* --- dento ログイン --- */
#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit {
    margin-bottom: 15px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 15px;

    display: flex;
    align-items: center;
    gap: 30px;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .btn_list {
    display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
    width: 320px;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .btn_list > .unit {
    width: 20%;
    width: 33.333%;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .btn_list > .unit > a {
    text-decoration: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
    background-color: #fff;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .btn_list > .unit > a > .logo {
    height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .btn_list > .unit > a > .logo img {
    max-width: 100%;
	width: auto;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .btn_list > .unit.direct > a > .logo img {
    max-height: max-content;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .btn_list > .unit.nar > a > .logo img {
    max-height: 14px;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .btn_list > .unit > a > .btn {
    width: 76px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background-color: #333;
	color: #fff;
	border-radius: 12px;
	font-size: 1.1rem;
	line-height: 1.1;
	margin-top: 2px;
    width: 100%;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .btn_list > .unit.soku > a > .btn {
	background-color: #1D2186;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .btn_list > .unit.direct > a > .btn {
	background-color: #163C2B;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .btn_list > .unit.nar > a > .btn {
	background-color: #581800;
}


#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .related_links {
    display: flex;
    align-items: center;
    gap: 8px;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .related_links > .btn {
    width: 50%;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .related_links > .btn > a {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 -2px rgba(0,0,0,0.1) inset;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    display: block;
    /*line-height: 1.3;
    font-size: inherit;*/
    text-align: center;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .login_unit .related_links > .btn > a img {
    vertical-align: top;
}


/* --- dento ログイン（ここまで） --- */


#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit + .group_unit {
    margin-top: 10px;
    border-top: 1px dotted #ddd;
    padding-top: 10px;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit .category {
    font-size: 1.3rem;
    font-weight: bold;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit .category span {
    display: inline-block;
    vertical-align: middle;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit .category span.icon img {
    max-width: 30px;
    vertical-align: top;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit .category span.txt {
    padding-left: 10px;
    font-size: 1.4rem;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit .category > a {
    background: none;
    text-align: left;
    color: #333;
    padding: 0;
    line-height: 1.4;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit .category > a i {
    margin-right: 8px;
    color: #14783a;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit .category > a .txt > i { margin-right: 5px; }

.no-touch #global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit .category > a:hover .txt,
#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit .category > a:focus .txt { text-decoration: underline; }

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul {
    font-size: 0;
    margin-top: 4px;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul > li {
    font-size: 1.2rem;
    display: inline-block;
    width: 25%;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul.div5 > li { width: 20%; }
#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul.div3 > li { width: 33.333%; }

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul > li > a {
    text-align: left;
    background: none;
    color: #333;
    font-weight: normal;
    display: block;
    padding: 4px 8px;
    transition: all 0.3s ease-in-out;
}

.no-touch #global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul > li > a:hover,
#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul > li > a:focus {
    background-color: #f3f3f3;
    color: #000;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul > li > a span {
    display: inline-block;
    vertical-align: middle;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul > li > a .icon {
    vertical-align: middle;
    display: inline-block;
    padding-right: 8px;
    color: #14783a;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul > li > a .icon i { display: block; }

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul > li > a .icon img {
    vertical-align: middle;
    display: block;
    max-width: 30px;
}

#global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit > ul > li > a .txt { font-size: 1.4rem; }


/* ----------------------------------------------------------------------
	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: 940px;
	margin: 0 auto;
	padding: 6px 0;
}

.bread_crumb > .content > ul > li > a,
.bread_crumb > .content > ul > li > strong { padding: 0 0.5rem; 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; }


/* ----------------------------------------------------------------------
	5：ページトップボタン
---------------------------------------------------------------------- */
#page_top_btn {
	position: fixed;
	bottom: -54px;
    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: 90px; display: block; }

.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：フッター
---------------------------------------------------------------------- */
#footer {
    background-color: #1d4f0d;
    width: 100%;
	height: 71px;
	position: absolute;
	bottom: 0;
}

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

#footer.longines { background-color: #102753; }

#footer .contents_block {
    padding: 15px 0;
    margin: 0 auto;
    width: 940px;
}

#footer .contents_block > .grid { display: table; width: 100%; }
#footer .contents_block > .grid > .cell { display: table-cell; vertical-align: middle; }

#footer .contents_block > .grid > .cell + .cell {
    text-align: right;
    vertical-align: middle;
    line-height: 1.4;
}

#footer .contents_block p.copyright {
    color: #fff;
    font-size: 1rem;
    text-align: right;
    margin-top: 10px;
    font-family: "Droid Sans", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', Meiryo,'ＭＳ Ｐゴシック',sans-serif;/* --- android 6.0対策 --- */
}

#footer .contents_block ul { font-size: 0; }

#footer .contents_block ul > li {
    font-size: 1.1rem;
    display: inline-block;
    border-left: 1px solid #999;
    padding: 0 8px;
}

#footer .contents_block ul > li:last-child { border-right: 1px solid #999; }

#footer .contents_block ul > li > a {
    display: block;
    text-decoration: none;
    color: #fff;
}

.no-touch #footer .contents_block ul > li > a:hover,
#footer .contents_block ul > li > a:focus { text-decoration: underline; }

#footer .contents_block ul > li > a i { margin-left: 0.3em; }


/* ----------------------------------------------------------------------
	7：表示モード
---------------------------------------------------------------------- */
#rwd_mode {
	max-width: 940px;
	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; }




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

	959px以下

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

@media only screen and (max-width: 959px) {
	
    /* - basic layout
    ---------------------------------------------------------------------- */
    #wrapper { padding-bottom: 136px; }
    #contentsBody { width: 100%; max-width: 100%; }
    
    
	/* - ヘッダー
    ---------------------------------------------------------------------- */
    #header { height: auto; display: none; }
    #header_bg, #header_bg.on { display: none; }
    
    #header.opened {
        position: fixed;
        left: 0;
        width: 100%;
        top: 56px;
        display: block;
        z-index: 320;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        height: calc(100% - 56px);
        padding-bottom: 50px;
        
        /*top: 55px;*/
    }
    
    #header #global_nav { display: none; }
    #header.opened #global_nav {
        display: block;
        animation: obj_fade_in 0.5s ease-out, obj_scale_in 0.1s ease-out;
    }
    
	#header .line { width: 100%; }
    #header .line > .inner > .cell { float: none; }
    #header .line > .inner > .cell.left { display: none; }
    #header .line > .inner > .cell.pr { display: none; }
    #header .line > .inner > .cell.right { float: none; justify-content: center; }
    
    #header > .content.fixed {
        animation: header_move_in 0.5s ease-in-out;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        z-index: 900;
        position: static;
    }
    
    #header > .content.fixed .line > .inner > .cell.right { height: auto; }
    
    
    /* - ヘッダー
    ---------------------------------------------------------------------- */
	#header .line > .inner > .cell.right { height: auto; padding: 10px 0; }
    
    /* ----- スマッピーボタン ----- */
    #header > .content.fixed .header_qr_btn > a { height: 36px; }
    #header > .content.fixed .header_qr_btn > a span.wrap span.icon i { font-size: 3rem; }
    #header > .content.fixed .header_qr_btn > a span.blow { top: -4px; left: -12px; }
    
    /* ----- ネット投票ログイン ----- */
    #header > .content.fixed .header_login_btn > a { height: 36px; }
    #header > .content.fixed .header_login_btn > a .wrap > span.txt > span.cap { display: block; }
    
    /* ----- お問い合わせ／FAQ ----- */
    #header > .content.fixed .line > .inner > .cell.right .submenu > .cell.faq.off { display: inline-block; }
    
    #header .line > .inner > .cell.right .submenu > .cell.faq a { height: auto; }
    #header > .content.fixed .line > .inner > .cell.right .submenu > .cell.faq a { height: auto; }
    
    #header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span { display: inline-block; }
    #header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span.cap { font-size: 1.1rem; }
    
    #header > .content.fixed .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt {
        font-size: 1rem;
        padding-left: 4px;
    }
    
    #header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span .devide { display: inline; }
    
    #header > .content.fixed .line > .inner > .cell.right .submenu > .cell.faq a i { font-size: 2.2rem; }
    
    #header > .content.fixed .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span.cap { display: inline-block; }
    
    /* ----- サイト内検索 ----- */
    #header > .content.fixed .line > .inner > .cell.right .submenu > .cell.search .search_btn { display: none; }
    #header > .content.fixed .line > .inner > .cell.right .submenu > .cell.search .search_main { display: block; }
    
    #header .line > .inner > .cell.right .submenu > .cell.search .search_main .search_box { display: inline-block; }
    
    .search_box input[type="text"] { width: 100%; }
    
    #header > .content.fixed .search_box input[type="text"] { height: 28px; }
    #header > .content.fixed .line > .inner > .cell.right .submenu > .cell.search .search_main .close { display: none; }
    
    
    /* --- スマホ用ロゴライン --- */
    div.sp_header { display: block; }
    
    .sp_mode #header .line > .inner > .cell.right > .submenu > .cell.smappy { display: none; }
    #header .line > .inner > .cell.right > .submenu > .cell.login { display: none; }
    
    #header .line > .inner > .cell.right > .submenu {
        font-size: 1.3rem;
        display: table;
    }

    #header .line > .inner > .cell.right > .submenu > .cell {
        display: table-cell;
        font-size: 1.3rem;
        vertical-align: middle;
    }
    
    #header .line > .inner > .cell.right > .submenu > .cell + .cell { margin-left: 0; }
    
    #header .line > .inner > .cell.right > .submenu > .cell.faq {
        padding-left: 0;
        padding-right: 10px;
    }
    
    #header .line > .inner > .cell.right > .submenu > .cell.search { padding-left: 10px; }
    
    
    /* - グローバルナビゲーション
    ---------------------------------------------------------------------- */
    #header .line#global_nav > .inner { width: 100%; position: static; }
    
    #global_nav > .inner > ul { display: block; }
    #global_nav > .inner > ul > li { display: block; width: auto; }
    
    #global_nav > .inner > ul > li#gnav_keiba,
    #global_nav > .inner > ul > li#gnav_cash,
    #global_nav > .inner > ul > li#gnav_dento,
    #global_nav > .inner > ul > li#gnav_event,
    #global_nav > .inner > ul > li#gnav_facilities,
    #global_nav > .inner > ul > li#gnav_company { width: auto; }
    
    #global_nav > .inner > ul > li .submenu { display: block; opacity: 1; position: static; }
    #global_nav > .inner > ul > li.on .submenu { overflow-y: visible; }
    
    #global_nav > .inner > ul > li .submenu > .sub_head { padding-right: 0; margin-bottom: 0;}
    #global_nav > .inner > ul > li .submenu > .sub_head > .close { display: none; }
    
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner { display: block; }
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div { display: block; }
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.main { padding-right: 0; }
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.main > p > a { display: block; }
    
    
    /* --- ログインボタンエリア --- */
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt { padding: 0 0 10px 0; }
    
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul {
        display: block;
        font-size: 0;
        text-align: center;
    }
    
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li {
        display: inline-block;
        font-size: 1.3rem;
        padding: 5px 0;
    }
    
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a.pc { display: none; }
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a.sp { display: block; }
    
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a > img { max-width: 180px; }
    
    #global_nav > .inner > ul > li .menu_unit > a i { margin-right: 0.4em; display: inline-block; }
    
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.main { display: none; }
    
    #global_nav > .inner > ul > li .submenu > .inner > .cell { padding: 10px; }
	#global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul > li { width: 33.33%; }
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul > li > a { padding: 8px; }
    
    
    /* --- 1ユニットに入りきらないメニュー用 --- */
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul > li.line.break {
        width: 100%;
    }
    
    /* - ページトップボタン
    ---------------------------------------------------------------------- */
    #page_top_btn.bottom { bottom: 120px; }
    
    
    /* - フッター
    ---------------------------------------------------------------------- */
	#footer { height: 106px; }
    
    #footer .contents_block {
        width: auto;
        max-width: 100%;
        padding: 15px;
    }
    
    #footer .contents_block > .grid { display: block; }
    #footer .contents_block > .grid > .cell { display: block; text-align: center; }
    #footer .contents_block > .grid > .cell + .cell { text-align: center; margin-top: 15px; }
    #footer .contents_block p.copyright { text-align: center; margin-top: 15px; }
	
}


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

	767px以下

------------------------------------------------------------ */
@media only screen and (max-width: 767px) {
    
    /* - basic layout
    ---------------------------------------------------------------------- */
    #contentsBody > .body_wrapper {
		width: 100%;
		margin: 30px auto 0px;
		padding: 0 10px;
	}
    
    /* - ヘッダー
    ---------------------------------------------------------------------- */
	#header .line > .inner > .cell.right .submenu > .cell.faq a { height: auto; }
    #header .line > .inner > .cell.right .submenu > .cell.faq a i { font-size: 2rem; }
    #header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span { display: inline-block; }
    #header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span.cap { font-size: 1.1rem; }
    #header .line > .inner > .cell.right .submenu > .cell.faq a > .wrap > span.txt > span .devide { display: inline; }
    
	#header .line > .inner > .cell.right > .submenu > .cell.search { text-align: center; }
    
    #header .line > .inner > .cell.right .submenu > .cell.search .search_main .search_box { display: block; }
    
    /* - グローバルナビゲーション
    ---------------------------------------------------------------------- */
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul > li,
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul.div3 > li,
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul.div5 > li { width: 50%; }

    /* --- dentoログインブロック --- */
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .login_unit { display: block; }
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .login_unit .btn_list { margin: 0 auto; }
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .login_unit .related_links { margin-top: 15px; }
    
    
    /* - パンくずメニュー
    ---------------------------------------------------------------------- */
	.bread_crumb > .content > ul > li > a { font-size: 1.2rem; }
	
}

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

	639px以下

------------------------------------------------------------ */
@media only screen and (max-width: 639px) {
    #wrapper { padding-bottom: 192px; }
    
    /* - グローバルナビゲーション
    ---------------------------------------------------------------------- */
    /* --- ログインボタンエリア --- */
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul { text-align: center; }
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li { margin-right: 10px; }
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a .pc { display: none; }
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a .sp { display: block; }
    
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li > a img { max-width: 100px; }
    #global_nav > .inner > ul > li#gnav_facilities .submenu > .sub_head > div.inner > div.opt > ul > li > a img { max-width: 225px; }
    
    /* --- 1ユニットに入りきらないメニュー用 --- */
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul > li.line,
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul.div3 > li.line,
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul.div5 > li.line {
        width: 100%;
    }

    /* - フッター
    ---------------------------------------------------------------------- */
    #footer { height: 162px; }

    #footer .contents_block > .grid > .cell:nth-child(1) > ul > li {
        display: block;
        border: none;
    }

    #footer .contents_block > .grid > .cell:nth-child(1) > ul > li + li {
        margin-top: 5px;
    }
    
    #footer .contents_block > .grid > .cell:nth-child(1) > ul > li > a {
        display: inline-block;
        padding: 2px;
        position: relative;
    }

    #footer .contents_block > .grid > .cell:nth-child(1) > ul > li > a::before {
        content: '・';
        margin-right: 0.1em;
    }

    /*
    #footer .contents_block > .grid > .cell:nth-child(1) > ul > li:first-child {
        
    }

    #footer .contents_block > .grid > .cell:nth-child(1) > ul > li:nth-child(2){
        border-right: 1px solid #999;
    }

    #footer .contents_block > .grid > .cell:nth-child(1) > ul > li:last-child {
        margin-top: 6px;
    }
    */
    
    /* - ページトップボタン
    ---------------------------------------------------------------------- */
    #page_top_btn.bottom { bottom: 172px; }
    
}


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

	479px以下

------------------------------------------------------------ */
@media only screen and (max-width: 479px) {
    
    /* - basic layout
    ---------------------------------------------------------------------- */
    /*#wrapper { padding-bottom: 180px; }*/
    #wrapper { padding-bottom: 236px; }
    
    /* --- サイト内検索 --- */
    .search_box input[type="text"] { width: 150px; }
    
    /* - グローバルナビゲーション
    ---------------------------------------------------------------------- */
    /* --- ログインボタンエリア --- */
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul > li > a { padding: 6px; }
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul > li > a .txt { font-size: 1.3rem; }

    /* --- dentoログインブロック --- */
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .login_unit .btn_list { width: auto; }
    
    #global_nav > .inner > ul > li#gnav_facilities .submenu > .sub_head > div.inner > div.opt > ul > li { margin-right: 0; }
    
    /* - ページトップボタン
    ---------------------------------------------------------------------- */
    #page_top_btn { right: 10px; }
    /*#page_top_btn.bottom { bottom: 160px; }*/
    #page_top_btn.bottom { bottom: 216px; }
    .jra-app #page_top_btn.bottom { bottom: 30px; }
    
    
    /* - フッター
    ---------------------------------------------------------------------- */
    /*#footer { height: 150px; }*/
    #footer { height: 206px; }
    
    #footer .contents_block .grid > .cell:last-child ul > li:nth-child(3) { border-right: 1px solid #999; }
    
    #footer .contents_block ul > li.english {
        display: block;
        margin-top: 15px;
        border: none;
    }
    
    #footer .contents_block ul > li.english > a {
        display: inline-block;
        border: 1px solid #222;
        background-color: #133508;
        padding: 6px 10px;
    }
    
    #footer.longines .contents_block ul > li.english > a { border-color: #000; }
    
}


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

	374px以下

------------------------------------------------------------ */
@media only screen and (max-width: 374px) {
    
    /* - basic layout
    ---------------------------------------------------------------------- */
    /*#wrapper { padding-bottom: 206px; }*/
    #wrapper { padding-bottom: 236px; }
    
    /* - フッター
    ---------------------------------------------------------------------- */
    /*#footer { height: auto; min-height: 186px; }*/
    #footer { height: auto; min-height: 206px; }
    #footer .contents_block .grid > .cell:first-child ul > li + li { margin-top: 5px; }
    #footer .contents_block .grid > .cell:first-child ul > li:first-child { border-right: 1px solid #999; }
    
}


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

	359px以下

------------------------------------------------------------ */
@media only screen and (max-width: 359px) {
    
    
    /* - スマホ用ロゴライン
    ---------------------------------------------------------------------- */
    div.sp_header > .content { padding: 5px; }
    
    div.sp_header > .content > .inner > .cell.center {
        /*padding-right: 0;*/
        padding-left: 2px;
    }
    
    .sp_header .header_qr_btn > a { padding: 0 2px; }
    
    .sp_header .header_qr_btn > a span.wrap span.txt {
        font-size: 1rem;
        letter-spacing: -0.1em;
    }

    .sp_header .header_qr_btn > a span.wrap span.txt > span.cap {
        letter-spacing: normal;
    }
    
    .sp_header .header_login_btn > a .wrap > span.txt {
        font-size: 1rem;
        letter-spacing: -0.1em;
    }
    
    .sp_header .header_login_btn > a { padding: 1px 2px; }
    
    div.sp_header > .content > .inner > .cell.right {
       width: 50px;
       text-align: right;
    }
    
    div.sp_header > .content > .inner > .cell.right > .close > a {
        min-width: 1px;
        font-size: 1rem;
        padding: 5px 4px;
        width: 46px;
        
        padding: 4px;
    }
    
    div.sp_header > .content > .inner > .cell.right > .close > a > .inner > .cell { display: block; }
    div.sp_header > .content > .inner > .cell.right > .close > a > .inner > .cell > .icon { width: 16px; }
    div.sp_header > .content > .inner > .cell.right > .close > a.active > .inner > .cell > .icon > span:nth-of-type(1) { width: 16px; }
    div.sp_header > .content > .inner > .cell.right > .close > a.active > .inner > .cell > .icon > span:nth-of-type(3) { width: 16px; }
    
    div.sp_header > .content > .inner > .cell.right > .close > a > .inner > .cell.txt {
        padding-left: 0;
        line-height: 1.2;
        margin-top: 1px;
        letter-spacing: -0.1em;
        margin-top: 2px;
    }
    
    /*#header .line > .inner > .cell.right > .submenu > .cell.search { margin-left: 10px; }*/
    
    
    
    
    #header .line > .inner > .cell.right {
        display: block;
    }
    
    
    #header .line > .inner > .cell.right > .submenu {
        margin: 0 auto;
    }
    
    #header .line > .inner > .cell.right > .submenu > .cell + .cell {
        margin-left: 0;
        padding-left: 0;
    }
    /*
    #header .line > .inner > .cell.right > .submenu > .cell.search {
        padding-left: 10px;
    }*/
    
    #header .line > .inner > .cell.right > .submenu > .cell.faq {
        padding-right: 5px;
    }
    
    #header .line > .inner > .cell.right > .submenu > .cell.search {
        padding-left: 5px;
    }
    
    .search_box input[type="text"] { width: 130px; }
    
    
    /* - グローバルナビゲーション
    ---------------------------------------------------------------------- */
    /* --- ログインボタンエリア --- */
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li { margin-right: 5px; }
    #global_nav > .inner > ul > li .submenu > .sub_head > div.inner > div.opt > ul > li a img { max-width: 90px; }
    
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul > li, #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul.div3 > li, #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul.div5 > li {
        width: 100%;
    }
    
    #global_nav > .inner > ul > li .submenu > .inner > .cell.menu .group_unit > ul > li > a { padding: 6px; }

    #global_nav > .inner > ul > li .submenu  > .inner > .cell.menu .group_unit .category span.txt {
        padding-left: 10px;
        font-size: 1.3rem;
    }
    
    /* - ページトップボタン
    ---------------------------------------------------------------------- */
    #page_top_btn.bottom { bottom: 178px; }
    
    /* - 表示モード
    ---------------------------------------------------------------------- */
    #rwd_mode { text-align: left; padding-left: 10px; }
    
    /* - フッター
    ---------------------------------------------------------------------- */
    #footer .contents_block ul > li { padding: 0 10px; }
    
}

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