@charset "utf-8";
/* CSS Document */

/* スタイル
----------------------------------------------------------- */
/* main */
main {
	width: 1000px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.r-inner {
	background: #cfdbe4;
	margin-top: 20px;
	padding: 10px;
}
#rightbox div#ot-facebook {
	margin-bottom: 10px;
	width: 100%;
}

/* LINE */
#rightbox div#ot-line {
	text-align: center;
	margin-bottom: 20px;
	/*width: 100%;*/
}
#rightbox div#ot-line p {
	display: inline-block;
	/*text-align: left;*/
	padding: 0 15px;
}

/* Instagram */
#rightbox div#ot-instagram {
	text-align: center;
	margin-bottom: 20px;
	/*width: 100%;*/
}
#rightbox div#ot-instagram p {
	display: inline-block;
	text-align: left;
	padding: 0 15px;
}


/* bnrarea */
ul.bnrarea {
	margin: 50px auto 0;
}
ul.bnrarea li {
	width: 180px;
	height: 50px;
	margin: 0 10px 20px;
	font-size: .14rem;
	line-height: 1.4;
	font-weight: bold;
	color: #111;
	font-family: "Lucida Grande", "segoe UI", "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", Meiryo, Arial, sans-serif;
	position: relative;
	transition: all 0.4s ease;
	float: left;
}
ul.bnrarea li.bnrimg {
	background: none;
}
ul.bnrarea li.bnrimg a {
	padding: 0;
}
ul.bnrarea li.bnrimg img {
	width: 180px;
	height: 50px;
}
ul.bnrarea li.bnrpink {	background: url(../images/bnr-pink.png) 0 0 no-repeat; }
ul.bnrarea li.bnrblue {	background: url(../images/bnr-blue.png) 0 0 no-repeat; }
ul.bnrarea li.bnrgreen {	background: url(../images/bnr-green.png) 0 0 no-repeat; }
ul.bnrarea li.bnrorange {	background: url(../images/bnr-orange.png) 0 0 no-repeat; }
ul.bnrarea li a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 5px 10px 5px 20px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-content: center;
	align-items: center;
}
ul.bnrarea li:hover {
	filter: alpha(opacity=60);
	opacity: 0.6;
	-moz-opacity: 0.6;
}
ul.bnrarea li a:link,
ul.bnrarea li a:visited,
ul.bnrarea li a:active {
	color: #313131;
	text-decoration: none;
}
ul.bnrarea li a:hover {
	color: #313131;
	text-decoration: none;
}

/* visual */
div#visual {
	width: 100%;
	height: 367px;
	background: url(../images/visual-bg02.png) center no-repeat;
	background-size: cover;
}
div#visual div.visual_inner {
	width: 100%;
	height: 367px;
	background: url(../images/visual-bg01.png) center no-repeat;
	position: relative;
}
div#visual div.visual_inner p {
	position: absolute;
	top: 35px;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

/* covid_box */
section.covid_box {
	background: #F3AE6A;
	padding: 5px;
}
section.covid_box div.covid_box_inner {
	background: #FFFFFF;
	border: 1px solid #CCCCCC;
	padding: 15px;
}

section.covid_box div.covid_box_inner a {
	display: inline-block;
	background: url(http://yamagata-ot.jp/common/images/arrow03.png) left .4em no-repeat;
	padding-left: 20px;
}

/* たぶ */
section.tab-wrapper ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
}
section.tab-wrapper ul li {
	background: #ccc;
	border-radius: 10px 10px 0 0;
	color: #fff;
	display: inline-block;
	font-weight: bold;
	text-align: center;
	padding: 6px 10px 2px;
	min-width: 85px;
	font-size: .13rem;
}
section.tab-wrapper ul li:hover {
	cursor: pointer;
}
section.tab-wrapper dl {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: flex-start;
	margin-bottom: 15px;
}
section.tab-wrapper dl dt {
	margin: 0 15px 0 0;
	position: relative;
	font-weight: bold;
	color: #666;
}
section.tab-wrapper dl dd {
	position: relative;
}
section.tab-wrapper dl dd.category {
	color: #fff;
	display: block;
	text-align: center;
	min-width: 90px;
	max-height: 23px;
	font-size: .13rem;
	border-radius: 10px;
	margin: 0 20px 0 0;
}
section.tab-wrapper dl dd.tab-text {
	font-size: .16rem;
	font-size: .15rem;
	line-height: 1.4;
}
/* tab nav bg */
section.tab-wrapper ul li:nth-of-type(1) {
	background: #999;
}

section.tab-wrapper ul li#shonai,
section.tab-wrapper ul li#shonai_branch,
dl.all dd.category_25,
dl.shonai dd.category,
dl.all_branch dd.category_8,
dl.shonai_branch dd.category
{ background: #ffa200; }
section.tab-wrapper ul li#saihoku,
section.tab-wrapper ul li#saihoku_branch,
dl.all dd.category_26,
dl.saihoku dd.category,
dl.all_branch dd.category_9,
dl.saihoku_branch dd.category
{	background: #00a03e; }
section.tab-wrapper ul li#okitama,
section.tab-wrapper ul li#okitama_branch,
dl.all dd.category_28,
dl.okitama dd.category,
dl.all_branch dd.category_10,
dl.okitama_branch dd.category
{ background: #24a8ac; }
section.tab-wrapper ul li#murayama,
section.tab-wrapper ul li#murayama_branch,
dl.all dd.category_27,
dl.murayama dd.category,
dl.all_branch dd.category_11,
dl.murayama_branch dd.category
{	background: #0087cb; }
section.tab-wrapper ul li#shusai,
dl.all dd.category_2,
dl.shusai dd.category
{	background: #F1703E; }
section.tab-wrapper ul li#ippan,
dl.ippan dd.category
{	background: #f74773; }
section.tab-wrapper ul li#member,
dl.member dd.category
{	background: #8e5ac9; }
section.tab-wrapper ul li#other_branch,
dl.all_branch dd.category_37,
dl.other_branch dd.category,
section.tab-wrapper ul li#other,
dl.all dd.category_7,
dl.other dd.category
{	background: #FF85FB; }
section.tab-wrapper div.tab-box {
	border: 1px solid #999;
	padding: 20px 15px 5px;
	overflow: hidden;
}

/* pickup_branch */
section.pickup_branch ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content:flex-start;
}
section.pickup_branch ul li {
	margin-right: 10px;
}
section.pickup_branch ul li::before {
	content: none;
}
/* notice */
section.notice ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content:flex-start;
}
section.notice ul li {
	margin-right: 10px;
}

/* link-box */
section.link-box {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	text-align: center;
}
section.link-box dl {
	background: #ccc;
	border-radius: 10px;
	width: 48%;
	position: relative;
	padding: 30px 10px;
}
section.link-box dl a {
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	transition: all  0.4s ease;
}
section.link-box dl a:hover {
	background: rgba(255,255,255,.3);
}
section.link-box dl.general-box {
	background: #f25c5c;
}
section.link-box dl.member-box {
	background: #66ab48;
}
section.link-box dl dd {
	color: #fff;
	font-size: .14rem;
}
section.link-box dl dd:nth-of-type(1) {
	font-weight: bold;
	margin-top: 20px;
}
section.link-box dl dd:nth-of-type(2) {
	background: url(../common/images/arrow02.png) left center no-repeat;
	padding-left: 15px;
	display: inline-block;
}
/* section event */
h3.event {
	background-image: url(../images/icon-event.png);
	color: #FF8A56;
	margin-bottom: 5px;
}
h3.event::after {
	content: none;
}
section.event div.calendar-wrapper {
	width: 100%;
	border: 1px solid #999;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
}
section.event {
	padding-top: 40px;
}
section.event div.calendar-inner {
	padding: 0 20px 15px;
}
section.event div.calendar-inner p.month {
	font-size: .24rem;
	font-weight: bold;
	text-align: center;
	padding: 10px 0 5px;
	margin: 0 20px 15px;
	border-bottom: 1px dotted #999;
}
section.event p.month-btn {
	flex-basis: 73px;
	background: #ebebeb;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-content: center;
	align-items: center;
	line-height: 0.5;
	position: relative;
}
section.event p.month-btn span {
	margin: 0 auto;
}
section.event p.month-btn a {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 1;
	transition: all  0.4s ease;
}
section.event p.month-btn a:hover {
	background: rgba(255,255,255,.3);
}
section.event div.calendar-inner table {
	position: relative;
	flex-basis: 75%;
	font-size: .18rem;
}
section.event div.calendar-inner table tr td {
	padding: 6px 5px;
	color: #68ae3b;
	font-weight: bold;
}
section.event div.calendar-inner table tr td.link {
	background-color: #ffe7ee;
}

section.event div.calendar-inner table tr td:hover {
	background: #ffe7ee;
}
section.event div.calendar-inner table tr:first-child th {
	text-align: center;
	font-weight: bold;
	padding: 10px;
}
section.event div.calendar-inner table tr:first-child th:first-child {
	color: #ff5874;
}
section.event div.calendar-inner table tr:first-child th:last-child {
	color: #3b9fae;
}
section.event div.calendar-inner table tr td:first-child {
	color: #ff5874;
}
section.event div.calendar-inner table tr td:last-child {
	color: #3b9fae;
}
section.event div.calendar-inner table tr:not(:first-child) {
	text-align: right;
}

section.event div.calendar-inner div.komado {
	position: absolute;
	display: none;
	width: 250px;
	min-height: 20px;
	padding: 6px;
	border: 1px dotted #999;
	background-color: #fff;
	z-index: 999;
	text-align: left;
	font-size: .13rem;
	left: 10px;
}
section.event div.calendar-inner div.komado .clsbtn {
	padding: 20px 0 5px 0;
	text-align: center;
}


/* section news */
h3.news {
	background-image: url(../images/icon-news.png);
	color: #9ba3aa;
	margin-bottom: 10px;
}
h3.news::after {
	content: none;
}
section.news {
	padding-top: 40px;
}
section.news dl {
	overflow: hidden;
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #999;
}
section.news dl dt {
	float: left;
	font-weight: bold;
	padding-right: 10px;
}
section.news dl dd {
	padding-left: 8em;
}

@media screen and (max-width: 950px) {
	
}


@media screen and (max-width: 768px) {
	main {
		width: 100%;
		display: block;
	}
	#leftbox {
		width: 95%;
		margin: 0 auto;
	}
	#rightbox {
		width: 95%;
		margin: 30px auto;
	}
	/* visual */
	div#visual {
		width: 100%;
		height: 200px;
		background: url(../images/visual-bg02.png) center no-repeat;
		background-size: cover;
	}
	div#visual div.visual_inner {
		width: 100%;
		height: 200px;
		background: url(../images/visual-bg01.png) center no-repeat;
		position: relative;
		background-size: cover;
	}
	div#visual div.visual_inner p {
		width: 90%;
	}
	/* たぶ*/
	section.tab-wrapper ul {
		flex-wrap: wrap;
	}
section.tab-wrapper ul li {
	background: #ccc;
	border-radius: 10px;
	color: #fff;
	display: inline-block;
	font-weight: bold;
	text-align: center;
	margin: 0 0 10px 0;
	padding: 4px 0 0 0;
	width: 31%;
}
section.tab-wrapper ul li:hover {
	cursor: pointer;
}
section.tab-wrapper dl {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;
}
section.tab-wrapper dl:last-of-type {
	margin-bottom: 15px;
}
section.tab-wrapper dl dt {
	margin: 0 15px 10px 0;
	position: relative;
	font-weight: bold;
	color: #666;
}
section.tab-wrapper dl dd {
	position: relative;
}
section.tab-wrapper dl dd.category {
	color: #fff;
	display: block;
	text-align: center;
	width: 90px;
	max-height: 23px;
	font-size: .13rem;
	border-radius: 10px;
	margin: 0 20px 0 0;
}
section.tab-wrapper dl dd.tab-text {
	font-size: .15rem;
	line-height: 1.4;
	width: 100%;
}

/* pickup_branch */
section.pickup_branch ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content:space-between;
}
section.pickup_branch ul li {
	margin-right: 0;
	width: 48%;
}

/* notice */
section.notice ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content:space-between;
}
section.notice ul li {
	margin-right: 0;
	width: 48%;
}

/* calendar */	
section.event div.calendar-wrapper {
	width: 100%;
	border: 1px solid #999;
	display: block;
}
section.event {
	padding-top: 40px;
}
section.event div.calendar-inner {
	flex-basis: 1;
	padding: 0 20px 15px;
}
section.event div.calendar-inner p.month {
	font-size: .24rem;
	font-weight: bold;
	text-align: center;
	padding: 10px 0 5px;
	margin: 0 20px 15px;
	border-bottom: 1px dotted #999;
}
section.event p.month-btn {
	padding: 15px 0;
}
section.event p.month-btn span {
	margin: 0 auto;
}
section.event p.month-btn a {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 1;
	transition: all  0.4s ease;
}
section.event p.month-btn a:hover {
	background: rgba(255,255,255,.3);
}
	section.event div.calendar-inner table {
		flex-basis: 100%;
		width: 100%;
		font-size: .2rem;
	}
	section.news dl dt {
		float: none;
		font-weight: bold;
		padding-right: 0;
	}
	section.news dl dd {
		padding-left: 0;
	}
}

h4 span.golist {
	float:right;
	color: #fff;
	display: block;
	text-align: center;
	min-width: 90px;
	max-height: 23px;
	font-size: .13rem;
	border-radius: 10px;
	background: #0F6094;
}
h4 span.golist a {
	color: #fff;
}

@media screen and (max-width: 480px) {

}