/*
Theme Name: 鉄道
*/



@media (min-width: 751px) {
	.mobile{display:none;}
}
@media (max-width: 750px) {
	.pc{display:none;}
}

.aboutTeam-players{
	display:none;
}

:root {
	--maincolor:#4b8531;
	--subcolor:#000;
}
html #wpadminbar{
	display: none !important;
}
html{
	margin-top: 0 !important;
}


/* 基本構成 */
body{
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", Verdana, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h1, h2, h3, h4, h5, a{
	color:#000;
	text-decoration:none;
}

h1{
	font-size: 2rem;
}

h2{
	letter-spacing: 1px;
}

a:hover{color:#888 !important;}

body{margin:0 !important;}

.container{
	width:95%;
	max-width:1024px;
	margin:0 auto;
	margin-bottom: 5em;
	padding: 4rem 0;
}
.bold{
	font-weight: bold;
}

img{
	width:100%;
	max-width: 100%;
	max-height: 80vh;
	object-fit: contain;
}

div, section{
	position:relative;
}

p{
	margin:10px 0;
}
ul{
	padding:0;
	margin:0;
}
li{
	list-style: none;
}
dd{
	margin:0;
}
.title_bg{
	display:none;
}
a{
	text-decoration:underline;
	cursor: pointer;
}

/* table */
/* table th{
width: 25%;
padding: 4px;
text-align: left;
vertical-align: top;
color: #444;
background-color: #e9f1ed;
border-left: 1px solid #ccc;
border-top: 1px solid #ccc;
border-right: 1px solid #ccc;
}
table td{
padding: 5px;
border-top: 1px solid #ccc;
} */


@media (max-width: 750px) {
	h1{
		font-size: 24px;
	}
	h2{
		font-size: 22px;
	}
}


/* header */
header .inner{
	max-width:1200px;
	width:90%;
	display:flex;
	margin:0 auto;
}
header .site_title{
	width:20%;
}
header .header-nav{
	width:80%;
}



/* footer フッター */
footer .inner{
	padding: 40px 0;
	background-color: var(--maincolor);
}
footer .top{
	max-width: 1024px;
	width: 90%;
	margin: 0 auto;
}
footer .top{
	font-size: 20px;
}
footer .bottom{
	max-width: 800px;
	margin: 0 auto;
}
footer .bottom ul{
	display: flex;
	justify-content: center;
}
footer .bottom ul li{
	margin: 0 8px;
}
footer ul li a{
	color: #fff;
}


/* 緊急速報 alert */
.alert{
	display: flex;
	align-items: center;
	padding: 7px 10px;
	border-radius: 5px;
	border: solid 1px #ff0000;
	width:95%;
	max-width:1024px;
	margin:15px auto;
}
.alert img{
	width: 30px;
	height: auto;
}
.alert p{
	margin: 0;
	padding-left: 20px;
}

/*---------------------------------------------------------------------------*/
/* ヘッダー header
/* ---------------------------------------------------------------------------*/
header{
	position:relative;
	z-index:9000;
}
header a{
	text-decoration:none;
}

.translate{
	display: flex;
	align-items: center;
}

.translate p{
	margin:0;
	padding:2px 15px;
	margin-right:10px;
	font-size:14px;
	border-radius:20px;
	border:solid 1px #ccc;
	text-decoration:underline;
}

.g_translate{
	overflow:hidden;
}

/* --PCヘッダー-- */
header .pc-header{
	margin:0 auto;
	height:100px;
	box-sizing:border-box;
	/* 	padding:1rem 0; */
	padding-top: 15px;
}

.pc-header .inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	padding: 15px 0;
	box-sizing: border-box;
	position: initial;
}

/* メニュー */
.header_nav{
	height:100%;
}

.pc-header ul.menu{
	display:flex;
	align-items: center;
	height:inherit;
}

header .menu a{
	color:var(--maincolor);
}

header ul.menu > li{
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (min-width: 751px) {
	header ul.menu > li> a{
		padding:0 1rem !important;
		font-weight:bold;
		font-size:15px !important;
	}
}

.header_top .inner{
	padding:5px 0;
}
.header_top .header_top .right{
	display: none !important;
}

.catchphrase{
	font-size:13px;
}
/* モバイル画面用のスタイル */
@media (max-width: 768px) {
	header .pc-header{
		height: 60px;
	}
	header .site_title{
		width: fit-content;
	}
	.header_nav{
		height: fit-content;
		position: initial;
	}
	.pc-header .inner{
		padding-bottom: 0;
	}

}


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


/*---------------------------------------------------------------------------*/
/* パンくず breadcrumb
/* ---------------------------------------------------------------------------*/
.breadcrumb{
	background-color:#e8f1ed;
	padding:0.5rem 0;
}
.breadcrumb nav{
	max-width:1024px;
	display:flex;
	margin:0 auto;
	font-size:13px;
}
.breadcrumb nav{
	font-size:13px;
}
.breadcrumb p, .breadcrumb a{
	font-size:13px;
	margin: 0 8px;
}
.breadcrumb ol{
	margin: 0;
	padding: 0;
	max-width:1024px;
	display:flex;
	margin:0 auto;
}
/*---------------------------------------------------------------------------*/


/*---------------------------------------------------------------------------*/
/* 検索窓 search form
/* ---------------------------------------------------------------------------*/
.search_form{
	display: flex;
	align-items: center;
}
.search-box {
	display: flex;
	border: 1px solid #ccc;
	border-radius: 25px; /* 枠の角を丸くする */
	overflow: hidden;
	max-width: 400px;
	margin: 0 auto;
}

.search-box input[type="text"] {
	border: none;
	padding: 5px 10px;
	flex: 1;
	border-radius: 25px 0 0 25px; /* 左側の角を丸くする */
}

.search-box input[type="text"]:focus {
	outline: none;
}

.search-box button {
	background: #fff;
	border: none;
	padding: 0px 10px;
	cursor: pointer;
	border-radius: 0 25px 25px 0; /* 右側の角を丸くする */
}
.search-box button img{
	height:15px;
}

.search-box button:hover {
	background: #f0f0f0;
}

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







/*---------------------------------------------------------------------------*/
/* トップ top
/* ---------------------------------------------------------------------------*/
/* トップ　ヘッダー */
.header_top

/* slick slider 1 */
.slick-slider{
	margin:0;
}
.slider-1 .slick-slide {
	width: 1000px;
	height: 600px;
	margin: 0 0px;
	position: relative;
	overflow: hidden;
}
.slider-1 .slick-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slider-1 .slick-arrow {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #fff;
	cursor: pointer;
	border: none;
	outline: none;
	font-size: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	opacity:0.7;
	filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
}
.slider-1 .slick-arrow::before {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	border: 1px solid #09000d;
	border-width: 2px 2px 0 0;
	position: absolute;
	top: 50%;
	transform: rotate(45deg) translate(-70%, 0%);
}
.slider-1 .slick-next {
	right: 0;
}
.slider-1 .slick-prev {
	left: 0;
}
.slider-1 .slick-next::before {
	left: 50%;
}
.slider-1 .slick-prev::before {
	border-width: 0 0 2px 2px;
	right: 18%;
}
.dots-1{
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
}
.dots-1 .slick-dots {
	text-align: center;
}
.dots-1 .slick-dots li {
	display: inline-block;
}
.dots-1 .slick-dots button {
	display: block;
	width: 10px;
	height: 10px;
	margin: 6px;
	font-size: 0;
	padding: 0;
	border: 0;
	outline: none;
	cursor: pointer;
	background: #bcbcbc;
	border-radius: 50%;
}
.dots-1 .slick-dots .slick-active button {
	background: #0a467d;
}
/* -------------------------------------------- */

.home h2{
	padding-left:1rem;
	font-size:25px;
	position:relative;
}

.home h2:before{
	content:"";
	position:absolute;
	background-color:var(--maincolor);
	width:5px;
	height: 25px;
	top: 50%;
	transform: translateY(-50%);
	left:0;
}

.self_ads div{
	width:700px;
	height:200px;
	border:solid 1px #000;
	margin:0 auto;
	display:flex;
	align-items: center;
	justify-content: center;
}

.self_ads2{
	display:flex;
	justify-content: space-between;
}
.self_ads2 div{
	width:30%;
	height:150px;
	border:solid 1px #000;
	display:flex;
	align-items: center;
	justify-content: center;
}

.home section{
	padding:3rem 0;
}

.home .station{
	display:flex;
	flex-wrap:wrap;
}

.home .station span{
	background-image:url("/wp-content/themes/simple/img/rail1.png");
	background-size: 50%;
	background-repeat: no-repeat;
	background-position-y: 50%;
	background-position-x: 100%;
	margin-bottom:15px;
}

.home .station li{
	padding:15px 30px;
	font-size:16px;
	border:solid 2px var(--maincolor);
	border-radius:30px;
	width:180px;
	box-sizing:border-box;
	margin-right:20px;
	margin-top: 20px;
	background-color:#fff;
	text-align:center;
}

@media screen and (max-width:750px) {
	.home h2{
		padding-left:1rem;
		font-size:20px;
	}
}

/* お知らせ */
.top_news .top_news_content{
	padding: 20px;
	border-radius: 10px;
	box-sizing: border-box;
	background-color: #FFFAF1;
}
.top_news p.date{
	font-size: 13px;
}
.top_news h2:before{
	display: none;
}
.top_news li{
	padding: 13px 0 10px;
	border-top: solid 1px #DEDEDE;
}
.top_news li:first-child{
	border: none;
}
.top_news p.date{
	font-size: 13px;
	color: #F29100;
	margin: 0;
}
.top_news h3{
	font-size: 16px;
	font-weight: 400;
	margin: 5px 0;
}





/*---------------------------------------------------------------------------*/
/* 下層ページ 共通
/* ---------------------------------------------------------------------------*/
article h1 {
	border-bottom: solid 2px var(--maincolor);
	border-left: solid 10px var(--maincolor);
	padding-left: 20px;
}
article h2 {
	border-bottom: solid 2px var(--maincolor);
	margin-top: 50px;
}
article h3 {
	border-left: solid 5px var(--maincolor);
	padding-left: 10px;
	font-size: 20px;
	margin-top: 40px;
}
article section:first-child{
	margin-top: 0;
}
article section{
	margin-top: 80px;
}
/* 人気駅 ベスト3 */
.popular_posts .contents{
	display: flex;
	justify-content: space-between;
	margin-top:40px;
}
.popular_posts .contents .post{
	width: 30%;
}
.popular_posts .contents a{
	text-decoration: none;
}
.popular_posts .contents img{
	border-radius:10px;
}
.popular_posts .contents p{
	font-size: 16px;
	margin:0;
}
.popular_posts .contents .post_title{
	font-weight:bold;
	font-size: 17px;
	margin-top:10px;
	margin-bottom:5px;
}
.popular_posts .contents img{
	height: 200px;
	object-fit: cover;
}



/*---------------------------------------------------------------------------*/
/* 時刻表 timetable
/* ---------------------------------------------------------------------------*/
#kanban {
	max-width: 530px;
	width: 100%;
	margin: 0 auto;
}
#kanban> img {
	width: 100% !important;
	height: auto !important;
}

.panel table{
	border-spacing:initial;
	width:100%;
}
.panel table{
	border-right: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
}
.panel table tr{
	height: 115px;
}
.panel table tr:first-child{
	height:fit-content;
}
.panel table th{
	width:20px;
	text-align: center;
	vertical-align: middle;
}
.panel table td{
	text-align:center;
	line-height:1.2;
	vertical-align: top;
	padding:10px;
}
.panel table td b{
	font-size:18px;
	line-height:2.5;
}
.panel table td span{
	font-size:14px;
}
.time_link li a {
	min-height: 3em;
	display: flex;
	width: 100%;
	padding: 1em 1em;
	border-radius: 5px;
	position: relative;
	border-top: 1px solid #e4e4e4;
	text-decoration:none;
	justify-content: space-between;
	align-items: center;
	box-sizing: border-box;
	border: 1px solid #e4e4e4;
	border-right: 1px solid #d5d5d5;
	border-bottom: 2px solid #c5c5c5;
	margin: 8px auto;
}
.kana, .line {
	font-size: 75%;
	color: #666;
	font-weight: initial;
}
.line {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	width: 50%;
}
.line li{
	margin:0 8px;
}
#rosenzu a p{
	font-size:19px;
}
#rosenzu{
	margin: 70px 0;
}
#rosenzu .label{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0em 1.5em ;
}
.label p{
	font-weight: bold;
}
.all_timetable ul{
	display: flex;
}
.all_timetable ul li{
	margin-right: 30px;
}
.all_timetable ul a{
	border-radius: 5px;
	position: relative;
	display: flex;
	padding: 1.2em 1.5em;
	justify-content: center;
	border: 1px solid var(--maincolor);
	border-right: 1px solid var(--maincolor);
	border-bottom: 2px solid var(--maincolor);
	text-decoration:none;
	box-sizing: border-box;
}

/* tab menu */
.time_table{
	padding:3rem 0;
}
.tab{
	margin-bottom:0.5rem;
}
.tab_menu{
	display:flex;
}
.tab_menu li{
	width:fit-content;
	padding:5px 20px;
	font-size:18px;
	border-bottom:solid 2px #ddd;
	color:#444;
	cursor:pointer;
}
.tab_menu li.active{
	color:var(--maincolor);
	font-weight:bold;
	border-bottom:solid 2px var(--maincolor);
	cursor:initial;
}
.panel li{
	display:none;
}
.panel li.active {
	display: block;
}

.up_down{
	margin-bottom: 40px;
}
.up_down ul{
	display: flex;
}
.up_down li{
	width: 200px;
	overflow-wrap: wrap;
	padding: 10px 20px;
	border: solid 1px var(--maincolor);
	margin-right: 30px;
	border-radius: 5px;
}
.up_down li a{
	text-decoration: none;
}
.up_down li.selected{
	background-color: var(--maincolor);
}
.up_down li.selected a{
	color: #fff;
	pointer-events: none;
}
.up_down li a:hover{
	opacity: 0.8;
}

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

/* 駅情報 */
table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 16px;
	text-align: left;
}
th, td {
	padding: 8px 12px;
	border: 1px solid #ccc; /* ボーダーの色を調整 */
}
td{
	line-height: 2;
}
thead {
	background-color: #f2f2f2; /* ヘッダーの背景色をライトグレーに設定 */
	color: #333; /* ヘッダーの文字色をダークグレーに設定 */
}
/* tbody tr:nth-child(even) {
background-color: #f9f9f9; 
} */
td {
	vertical-align: top;
}

.rosenlist {
	margin: 1rem auto;
	max-width: 680px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.rosenlist .rosen {
	background-color: #fff;
	margin-bottom: 8px;
	border: 1px solid #e4e4e4;
	border-right: 1px solid silver;
	border-bottom-color: silver;
	box-sizing: border-box;
	max-width: 340px;
	width: 100%;
	margin: 1rem auto;
	width: 45%;
	margin: 10px;
}
.rosenlist .rosen-detail {
	text-align: center;
}
.rosenlist .rosen-detail .kana{
	margin-bottom: 25px;
}
.rosen-eki-next {
	float: right;
	width: 50%;
	text-align: right;
	padding: 5px 10px;
	box-sizing: border-box;
}
.rosen-eki-back {
	float: left;
	width: 50%;
	text-align: left;
	padding: 5px 10px;
	box-sizing: border-box;
}

.hotel th, .hotel td{
	min-width: 115px;
}

/* 駅弁 */
.ranking ul li{
	margin: 40px 0;
}
.ranking ul li p.name{
	font-weight: bold;
}
.ekiben .shop li{
	margin: 20px 0;
}
ul.all_ekiben{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.all_ekiben li{
	width: 31%;
	margin: 30px 0;
}
.all_ekiben li p.ekiben_title{
	font-weight: bold;
}


/* 運賃表 */
.scroll-box {
	white-space: nowrap;
	overflow: auto;
}
.table_fare {
	border-top: solid 1px #E1E1E1;
	border-bottom: solid 1px #E1E1E1;
}
.table_fare tr th {
	background-color: #00adba;
	text-align: center;
	width: 48px;
	padding: 2px;
	line-height: 2;
	font-size: 12px;
	white-space: nowrap;
	color: #ffffff;
}
table.table_fare tr:nth-child(2n) {
	background: #f3f3f3;
}
.table_fare tr td {
	width: 48px;
	text-align: center;
}
.table_fare tr:hover td {
	background-color: #d9efff;
}

header .none a, .home .none{
	opacity: 0.3;
	pointer-events: none;
}
.time_table{
	margin-top: 0;
}
.table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch; /* スムーズスクロール（モバイル対応） */
	width: 100%; /* コンテナの横幅いっぱいまで広げる */
}

/* adsense */
.adsense_header {
	width: fit-content;
	margin: 0 auto;
}
.adsense_side {
	position: fixed;
	width: fit-content;
	display: none;
}
.adsense_side.right{
	right: 10px;
	top: 100px;
}
.adsense_side.left{
	left: 10px;
	top: 100px;
}
@media (min-width: 1399px) {
	#ad-container-right,
	#ad-container-left {
		display: block;
	}
}

.close-ad-button{
	border: none;
	background-color: transparent;
	cursor: pointer;
	color: #000;
}

.adsense_side .remove_gr{
	width: 100%;
	padding: 5px 0;
	border-radius: 3px;
	box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
	position: absolute;
	bottom: 0;
	transform: translateY(95%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.adsense_side .close-ad-button{
	font-size: 25px;
	transform: translateY(15%);
}

.adsense_bottom{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	bottom: 0;
	background-color: #fff;
	box-shadow: 0px -1px 5px rgba(0, 0, 0, 0.1);
}
.adsense_bottom .remove_gr{
	width: fit-content;
	box-shadow: 0px -1px 5px rgba(0, 0, 0, 0.1);
	padding: 3px 15px 2px;
	position: absolute;
	left: 0;
	top: 0;
	transform: translateY(-100%);
	border-radius: 3px;
	background-color: #fff;
}
.adsense_bottom .close-ad-button{
	font-size: 25px;
}


.tab-sb a {
	display: inline-block;
	padding: 10px 20px;
	text-decoration: none;
	color: #333;
	border: 1px solid #ccc;
	border-bottom: none;
	background: #f9f9f9;
	cursor: pointer;
}

.tab-sb a.selected {
	background-color: #a7db92; /* 選択中の背景色 */
	color: #000;
	font-weight: bold;
	border-bottom: 3px solid #4B8534; /* 下線の色と太さ */
}

ul.tab li {
	list-style-type: none;
	width: fit-content;
	min-width: 80px;
	padding: 0 4px;
	height: 40px;
	float: left;
	margin-left: 10px;
}

.panel li {
	display: none;
	background: #fff;
}

.panel li.active {
	display: block;
}

.panel table tr{
	height: fit-content;
}

.panel table th {
	padding: 4px;
	height: fit-content;
	color: #444;
	background-color: #e9f1ed;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	position: sticky
}

.panel table td {
	padding: 10px;
	height: fit-content;
	background-color: #fafafa;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
}

ul.tab li a.selected {
	text-decoration: none;
	font-weight: bold;
	color: #000;
	cursor: pointer;
}

.breadcrumb ol{
	display: flex;
	align-items: center;
	font-size: 14px;
}
.breadcrumb ol a{
	margin: 0;
}
.breadcrumb ol li{
	margin: 0 8px;.
}

/*────────────────────────
観光コース
────────────────────────*/
.area {
	margin: auto;
	flex-wrap: wrap;
	display: flex;
}

.tab_class {
	width: fit-content;
	padding: 0 2em;
	height: 50px;
	border-radius: 20px;
	margin-right: 15px;
	background-color: darkgrey;
	line-height: 50px;
	font-size: 15px;
	text-align: center;
	display: block;
	float: left;
	order: -1;
}
.tab_class1 {
	background-color: cadetblue;
	color: aliceblue;
}
.tab_class{text-decoration:none;}

.content_class {
	display: block;
	width: 100%;
	margin-top: 50px;
}

.article-cards{
	display: flex;
	flex-wrap: wrap;
	padding: 0;
}

.card-container img{
	width:100%; 
	height:auto;
	max-width:300px;
	max-height: 200px;
	background-color:#fff;
	object-fit: cover;
	border-radius: 5px;
	border: solid 1px #ccc;
	aspect-ratio: 300/200;
}
.card-container:nth-child(3n){
	margin-right:0;
}
.card-container a{text-decoration:none;}
.card-container p{
	margin-top:0;
	margin-bottom:0;
}
.card-container h3{
	margin-top:1em;
	margin-bottom:2em;
	font-size:15px;
	padding: 0 15px;
	border: none;
}
.course-erea > li{
	display:flex;
}
.kadomaru2{
	margin-left:2%;
	width: 80px;
	padding: 10px;
}
.kadomaru2 img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 100px;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
}
/* 駅名に関連した投稿*/
.article-cards{
	margin-top: 1em;
}
.article-cards figure {
	position: relative;	
}
/*.article-cards figure::before {
content: "";			/* 斜線の背景 */
position: absolute;
bottom: -5px;
right: -6px;
width: 95%;
height: 100%;
border-radius: 10px;
background-image: linear-gradient(
-45deg,
#ffffff 25%,
#a6c3b2 25%, #a6c3b2 50%,
#ffffff 50%, #ffffff 75%,
#a6c3b2 75%, #a6c3b2
);
background-size: 15px 15px;	 /* 背景画像のサイズを指定 */
z-index: -1;
}
/* 観光情報 */
.card-container{
	text-align: center;
	width:33%;
	margin-bottom: 1.5em;
}
.card-container figure{
	max-width: 300px;
	max-height: 200px;
	margin: 0 auto;
}
/* 観光情報 */
.card-container{
	text-align: center;
	width:33%;
	margin-bottom: 1.5em;
}
.card-container figure{
	max-width: 300px;
	max-height: 200px;
	margin: 0 auto;
}

/* 線路・駅名*/
.station_serch {padding: 10px 0;}
.station_serch a{text-decoration:none;}
.station_serch figure {
	width: 87%;
}
.station-name {
	display: flex;
	overflow:hidden;
	overflow-x:scroll;
	width: 96%;
	padding: 0;
	margin-top: -119px;
	padding-bottom:10px;
}
.station-name li {
	margin: auto 40px;
	list-style: none;
	padding: 15px 0;
	writing-mode: vertical-lr;
	border: solid 2px #4b8567;
	border-radius: 12px;
	background-color: white;
}

/* 駅名検索エンジン*/
.area form, .serchform-container form{
	margin: 1em 0;
	margin-bottom: 2.5em;
	text-align: center;
	background-color: #d7efd7;
	padding: 50px;
	border-radius: 10px;
}

/* 駅名に関連した投稿*/
.article-cards{
	margin-top: 1em;
}
.article-cards figure {
	position: relative;	
}

.pagination{
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 40px 0;
	position: relative;
	font-size: 13px;
}
.pagination span, .pagination a {
	display: block;
	width: auto;
	margin: 4px;
	padding: 8px;
	border: 1px solid #000;
	background-color: #fff;
	text-decoration: none;
	text-align: center;
	line-height: 16px;
}
/* ページ番号 */
.pagination .pager{
	width: 32px;
}
/* ホバー時 & 現在のページ */
.pagination a:hover,
.pagination .current  {
	color: #fff;
	border-color: #000;
	background-color: #000;
}
.pagination .current{
	display: block;
	width: 32px;
	margin: 4px;
	padding: 8px;
	border: 1px solid #000;
	text-decoration: none;
	text-align: center;
	line-height: 16px;
}

/* 前へ */
.pagination a.prev {
	margin-right: 16px;
	border:none;
}
/* 次へ */
.pagination a.next {
	margin-left: 16px;
	border:none;
}
/* 最初へ */
.pagination a.first {border:none;}
/* 最後へ */
.pagination a.last {border:none;}

/* Page x / y */
.pagination span.page_num {
	display: none;
}

@media (max-width: 1023px){
	.wp-block-latest-posts.is-grid li, .article-cards li{
		margin: 0 1.25em 3.25em 0;
		width: 100% !important;
	}
}

/* ↓↓↓ 奈良線駅CSS ↓↓↓ */
.tbl-q01 td:first-child {
	background: #fbf5f5;
}
@media screen and (max-width: 640px) {
	.tbl-q01 {
		width: 80%;
	}
	/*   .tbl-q01 .thead {
	display: none;
} */
	.tbl-q01 tr {
		width: 100%;
	}
	.tbl-q01 td {
		display: block;
		text-align: right;
		width: 100%;
	}
	.tbl-q01 td:first-child {
		background: #0072BA;
		color: #fff;
		font-weight: bold;
		text-align: center;
	}
	.tbl-q01 td:before {
		content: attr(data-label);
		float: left;
		font-weight: bold;
		margin-right: 10px;
	}
}

/* ↓↓↓ ここから駅用CSSを追加 ↓↓↓ */
.tbl-d01 td:first-child {
	background: #fbf5f5;
}
@media screen and (max-width: 640px) {
	.tbl-d01 {
		width: 80%;
	}
	.tbl-d01 .thead {
		display: none;
	}
	.tbl-d01 tr {
		width: 100%;
	}
	.tbl-d01 td {
		display: block;
		text-align: right;
		width: 100%;
	}
	.tbl-d01 td:first-child {
		background: #0072BA;
		color: #fff;
		font-weight: bold;
		text-align: center;
	}
	.tbl-d01 td:before {
		content: attr(data-label);
		float: left;
		font-weight: bold;
		margin-right: 10px;
	}
}
/* ↓↓↓ ここから料金スタイル用CSSを追加 ↓↓↓ */

.tbl-st1 td:first-child {
	background: #fbf5f5;
}
@media screen and (max-width: 750px) {
	.tbl-st1 {
		width: 80%;
	}
	.tbl-st1 .thead {
		display: none;
	}
	.tbl-st1 tr {
		width: 100%;
	}
	.tbl-st1 td {
		display: block;
		text-align: right;
		width: 100%;
	}
	.tbl-st1 td:first-child {
		background: #708090;
		color: #fff;
		font-weight: bold;
		text-align: center;
	}
	.tbl-st1 td:before {
		content: attr(data-label);
		float: left;
		font-weight: bold;
		margin-right: 10px;
	}
}

.other_railway ul{
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
.other_railway ul li{
	width: calc(33.33% - 10px);
}
@media screen and (max-width: 768px) {
	.other_railway ul{
		display: block;
	}
	.other_railway ul li{
		width: 100%;
	}
}

.other_railway {
	width: 100%;
	margin: 40px auto;
}
.other_railway .slick-initialized .slick-slide {
	opacity: 0.7;
	transform: scale(0.9);
	transition: all 0.4s ease-in-out;
}
.other_railway .slick-initialized .slick-center {
	opacity: 1;
	transform: scale(1.05);
}
/* ▼▼▼ 矢印(arrow)を見やすくするCSS ▼▼▼ */
.slider-arrows {
	text-align: center;
	margin-top: 20px;
}
.slider-arrows .slick-arrow {
	position: static;
	transform: none;
	display: inline-block;
	vertical-align: middle;
	margin: 0 10px;
	width: 35px;
	height: 35px;
	background-color: #333;
	border-radius: 50%;
	border: none;
	padding: 0;
	color: white;
	font-size: 18px;
	font-weight: initial;
	line-height: 35px;
}
.slider-arrows .slick-arrow:hover {
	background-color: #555;
	cursor: pointer;
}




/*======================================
ハンバーガーメニュー用スタイル
======================================*/

/* 普段はPC用のメニューを表示し、モバイル用は隠す */
.pc-header ul.menu.mobile {
	display: none;
}
.hamburger {
	display: none; /* PCではボタンを非表示 */
}


/* --- 750px以下のモバイル表示 --- */
@media screen and (max-width: 750px) {

	/* PC用のメニューを隠す */
	.menu.pc {
		display: none;
	}

	/* ハンバーガーボタンのスタイル */
	.hamburger {
		display: block;
		position: fixed; /* 画面右上に固定 */
		top: 15px;
		right: 15px;
		width: 42px;
		height: 42px;
		background-color: #333;
		border: none;
		border-radius: 5px;
		z-index: 9999; /* 最前面に表示 */
		cursor: pointer;
	}
	.hamburger__line {
		position: absolute;
		left: 10px;
		width: 22px;
		height: 2px;
		background-color: #fff;
		transition: all 0.3s;
	}
	.hamburger__line:nth-of-type(1) { top: 12px; }
	.hamburger__line:nth-of-type(2) { top: 20px; }
	.hamburger__line:nth-of-type(3) { top: 28px; }

	/* ボタンがアクティブになったら（is-activeクラスが付いたら） */
	.hamburger.is-active .hamburger__line:nth-of-type(1) {
		top: 20px;
		transform: rotate(45deg);
	}
	.hamburger.is-active .hamburger__line:nth-of-type(2) {
		opacity: 0;
	}
	.hamburger.is-active .hamburger__line:nth-of-type(3) {
		top: 20px;
		transform: rotate(-45deg);
	}


	/* モバイル用メニュー本体のスタイル */
	.pc-header ul.menu.mobile {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		width: 80%; /* 画面幅の80% */
		max-width: 300px;
		height: 100vh; /* 画面の高さ100% */
		padding: 60px 20px 20px;
		background-color: #fff;
		box-shadow: -3px 0px 10px rgba(0, 0, 0, 0.1);
		z-index: 9998;
		overflow-y: auto; /* メニュー項目が多い場合にスクロール */

		/* アニメーションの準備 */
		transform: translateX(100%); /* 初期状態は画面の外（右側）に隠す */
		transition: transform 0.3s;
	}

	/* メニューがアクティブになったら（is-activeクラスが付いたら） */
	.pc-header ul.menu.mobile.is-active {
		transform: translateX(0); /* 画面内にスライドイン */
	}

	/* メニュー項目の調整 */
	.menu.mobile li {
		display: block;
		border-bottom: 1px solid #eee;
	}
	.menu.mobile li a {
		display: block;
		padding: 15px 10px;
		color: #333;
	}

	/* 追記：メニュー表示中は背景をスクロールさせない */
	body.no-scroll {
		overflow: hidden;
	}
	ul.menu.pc{
		display: none!important;
	}
	.pc-header ul.menu{
		display: initial;
	}
	.pc-header ul.menu.mobile{
		width: 100vw;
		max-width: 100vw;
		height: 100vh !important;
	}
	header ul.menu > li{
		height: initial !important;
	}
}

/* NEWタイトル */

.heading-015 {
	display: inline-block;
	position: relative;
	padding: .5em 1em;
	border-right: 27px solid #30d025;
	background-color: #f5f5f5;
	color: #333333;
}

.heading-015::before {
	position: absolute;
	bottom: 2px;
	right: -20px;
	z-index: -1;
	transform: rotate(5deg);
	width: 100%;
	height: 50%;
	background-color: #d0d0d0;
	content: "";
	filter: blur(4px);
}

/* メニュータイトル */
/*アコーディオン開閉表示*/
.accordion_tab {
	position: relative;
	margin-bottom: 1px;
	margin-left: 18px;
	width: 90%;
	color: #fff;
	overflow: hidden;
}
.accordion_tab input {
	position: absolute;
	opacity: 0;
	z-index: -1;
}
/*表示ラベル*/
.accordion_tab label {
	position: relative;
	display: block;
	padding-left:15px;
	font-weight: bold; /*太字
	line-height: 3;
	cursor: pointer;
	background-color: #839b5c; /*背景色*/
	border-radius: 8px; /*角を丸める*/
}
/*内容*/
.accordion_contents {
	color: #000; /*開いた時の内容　文字色*/
	max-height: 0;
	overflow: hidden;
	transition: max-height .50s;
}
.accordion_contents a{
	text-decoration:none;
}
/* クリック時に開く */
input:checked ~ .accordion_contents {
	max-height: 100%;
}
/* ラベルに「+」アイコン */
.accordion_tab label::after {
	position: absolute;
	right: 0;
	top: 0;
	display: block;
	width: 3em;
	height: 3em;
	line-height: 3;
	text-align: center;
	transition: all .50s;
}
/* 「+」アイコンのアクション*/
.accordion_tab input[type=checkbox] + label::after {
	content: "+";
}
.accordion_tab input[type=checkbox]:checked + label::after {
	transform: rotate(300deg); /*回転させる*/
}
/* メニュータイトル */
.toc-002 {
    margin-bottom: 30px;
    border: 2px solid #2589d0;
    border-radius: 3px;
}

.toc-002 div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px 0;
    background-color: #2589d0;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
}

.toc-002 div::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4H21V6H8V4ZM3 3.5H6V6.5H3V3.5ZM3 10.5H6V13.5H3V10.5ZM3 17.5H6V20.5H3V17.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    content: '';
}

.toc-002 label::after {
    margin-left: 7px;
    font-weight: 500;
    font-size: .7em;
    color: #fff;
    content: "[開く]";
    cursor: pointer;
}

.toc-002:has(:checked) label::after {
    content: "[閉じる]";
}

.toc-002 input {
    display: none;
}

.toc-002 ol {
    list-style-type: decimal;
    margin: 0;
    overflow: hidden;
}

.toc-002 > ol {
    height: 0;
}

.toc-002:has(:checked) > ol {
    height: auto;
    padding: 1em 1em 1em 3em;
}

.toc-002 ol ol {
    margin-top: 5px;
    padding-left: 1.1em;
}

.toc-002 li {
    padding: 5px 0;
    font-weight: 600;
}

.toc-002 ol ol li {
    font-weight: 500;
    font-size: .9em;
}

.toc-002 a {
    color: #333;
    text-decoration: none;
}