/*
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:1024px;
	width:90%;
	display:flex;
	margin:0 auto;
}
header .site_title{
	width:30%;
}
header .header-nav{
	width:70%;
}



/* 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; */
}

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

header ul.menu > li> a{
	padding:0 1rem;
	font-weight:bold;
	font-size:17px;
}

.header_top .inner{
	padding:5px 0;
}

.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;
	}
	.hamburger-menu {
		display: inline-block;
		cursor: pointer;
		padding: 10px;
		position: relative;
		z-index: 2;
		position: fixed;
		right: 20px;
		top: 10px;
	}
	.hamburger-menu span {
		display: block;
		width: 30px;
		height: 3px;
		margin: 6px auto;
		background-color: #333;
		transition: all 0.3s;
	}
	.pc-header ul.menu{
		display: none !important;
		position: absolute;
		bottom: 0;
		transform: translateY(100%);
		left: 0;
		width: 100%;
		background-color: rgba(255, 255, 255, 0.95); /* 背景を半透明に */
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
		text-align: center;
		padding: 10px 0;
		transition: max-height 0.3s ease-in-out;
		height: 100vh !important;
	}
	.header_nav .menu li {
		padding: 10px 0;
	}
	header ul.menu > li{
		height: fit-content !important;
	}
	.header_nav .menu li a {
		color: #333;
		text-decoration: none;
		font-size: 1.2em;
		padding: 0 !important;
	}
	.header_nav.active .menu {
		display: block !important;
	}
	.header_nav.active .hamburger-menu span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}
	.header_nav.active .hamburger-menu span:nth-child(2) {
		opacity: 0;
	}
	.header_nav.active .hamburger-menu span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}
}


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


/*---------------------------------------------------------------------------*/
/* パンくず 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;.
}
/*────────────────────────
観光情報　（各駅）
────────────────────────*/
ul.kankou {
	width:80%;
	display:flex;
	margin: 0.5em auto;
	flex-wrap:wrap;
}
.kankou li {
	width: 27%;
	height: auto;
	padding: 10px;
	background-color: #f3f3f3;
	margin-left: 10px;
	margin: 0 0.2em;
}

.kankouadvanced li {
	max-width: 680px;
	width:96%;
	height: auto;
	float: left;
	padding: 10px;
	background-color: #f3f3f3;
}
ul.kankou img{
	max-height: 125px;
	object-fit: cover;
}

@media screen and (max-width: 550px) {
	ul.kankou img{
		max-height: 228px;
		border-radius:5px;
	}
	.kankou li, .kankouadvanced li {
		width: 90%;
		float:none;
		margin:15px auto;
		background:none;
	}
	.kankou dt{text-align:center;}
	.kankou dd{
	}
}
.fc {
	font-size: 28px;
	color: #ffffff;
}
@media screen and (max-width: 700px) {
	.fc {
		font-size: 20px;
	}
}
@media screen and (max-width: 500px) {
	.fc {
		font-size: 18px;
	}
}

.t_kankou {
	display: none;
	font-size: 18px;
	position: absolute;
	top: 30px;
	left: 30px;
	color: #ffffff;
	z-index: 2;
}

.tiku {
	width: 700px;
}
.tiku li {
	float: left;
	width: 80px;
	border: 1px solid #CCC;
	background-color: #6CD;
	padding: 5px;
	margin: 0 4px;
	text-align: center;
}
.tiku li.selected2 {
	background-color: #6C9;
	color: #ffffff;
}
@media screen and (max-width: 600px) {
	.fc-j {
		font-size: 15px !important;
	}
	.t_kankou-j {
		font-size: 14px !important;
		position: absolute;
		top: 10px !important;
		left: 10px !important;
	}
}
@media screen and (max-width: 400px) {
	.fc {
		font-size: 16px;
	}
	.t_kankou {
		font-size: 14px;
		position: absolute;
		top: 10px;
		left: 10px;
	}
}

/*────────────────────────
各駅　時刻表リスト
────────────────────────*/

.link-btn> a, .link-btn> ul> li> a{
	min-height: 3em;
	display: block;
	margin: 2rem auto;
	padding: .5em 1em;
	border-radius: 5px;
	position: relative;
	border: 1px solid #e4e4e4;
	border-right: 1px solid #d5d5d5;
	border-bottom: 2px solid #c5c5c5;
}

/*────────────────────────
観光
────────────────────────*/
.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;
	}
}