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

/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
/*font: inherit;*/
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers
*/
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/*====================*/

*{
	position:relative;
	box-sizing:border-box;
}

body{
	font-family: 游ゴシック,メイリオ,Meiryo,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Osaka,ＭＳＰゴシック,MS PGothic,sans-serif;
	font-family: 'Kosugi Maru', sans-serif;
	font-size:16px;
	line-height:1.5;
	letter-spacing:0.08em;
	color:#333;
}

#preload{
	position:fixed;
	background:#fff;
	width:100vw;
	height:100vh;
	z-index:999;
	background-image:url(./img/loader.gif);
	background-repeat:no-repeat;
	background-position:center;
}

/* h1,h2,h3,h4,h5,h6{
	font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
font-family: 'Shippori Mincho B1', serif;
} */

a{
	color:#3283c1;
}

span{
	font-weight:inherit;
	font-family:inherit;
}

/*記事内の画像*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em !important;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em !important;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto !important;
	margin-right: auto !important;
}

table.aligncenter,
table.alignright,
table.alignleft{
	display:table;
}

table.flex_table.aligncenter,
table.flex_table.alignright,
table.flex_table.alignleft{
	float:none;
}

.mincho{
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.btn a{
	display:inline-block;
	padding:.5em;
	color:#fff;
	text-decoration:none;
	background-color:#ff5722;
	border:1px solid #ff5722;
	border-radius:5px;
	transition:.2s;
}

.btn a:hover{
	color:#ff5722;
	background-color:#fff;
}

.noborder{
	border:0 !important;
	box-shadow:none !important;
}


/* head */
#header_wrap{
	background: #fff;
    box-shadow: 2px 2px 5px #666666;
	z-index: 1;
}



#page #header_wrap{
	height:auto;
}


#header{
	max-width:1200px;
	margin:0 auto;

	display:flex;
	align-items:center;
	justify-content:space-between;
	margin:auto;
	padding:0 3em;

}

#header h1{
	padding:1em;
}

#header h1:before{
position:absolute;
content:'';
width:100%;
height:60px;
left:0;
bottom:0;
}

#header h1 a{
	display:block;
	padding:7px 0 0 1.8em;
	color:#2f2240;
	font-size:180%;
	font-weight:bold;
	letter-spacing:.1em;
	text-decoration:none;
	background-image:url(./img/logo.png);
	background-position:left center;
	background-size:1.5em;
	background-repeat:no-repeat;
		overflow:hidden;
	text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
	}


#header #head_add{
	color:#333;
	padding:.5em 1em;
	font-size:130%;
text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;

}

#header #head_add span{
	display:block;
	font-size:80%;

}

#header #head_add a:hover{
	opacity:.5;
}

/* main_image */
#main_image_wrap div.slick-track p:nth-child(4)::before{
	content: '';
    display: block;
    width: 400px;
    height: 400px;
    position: absolute;
    top: -1px;
    right: 0;
    background-image: url(./img/sakura_left.png);
    background-repeat: no-repeat;
    background-position: top -35px right -170px;
    background-size: contain;
    opacity: .7;
}

#main_image_wrap div.slick-track p:nth-child(4)::after{
	content: '';
    display: block;
    width: 400px;
    height: 300px;
    position: absolute;
    left: 0;
    bottom: -1px;
    background-image: url(./img/sakura_right.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    opacity: .7;
    transform: scale(-1,1);
}

#main_image_wrap div.slick-track p:nth-child(1)::before{
	content: '';
    display: block;
    width: 450px;
    height: 338px;
	position: absolute;
    top: -45px;
    right: 0;
    background-image: url(./img/syakunage.png);
	background-repeat: no-repeat;
    background-position: top -60px right -80px;
	background-size: contain;
	opacity: .7;
}

#main_image_wrap div.slick-track p:nth-child(1)::after{
	content: '';
    display: block;
    width: 450px;
    height: 338px;
	position: absolute;
    left: -1px;
    bottom: -1px;
    background-image: url(./img/syakunage.png);
	background-repeat: no-repeat;
	background-position: bottom -13px left 85px;
	background-size: contain;
	transform: scale(-1,1);
	opacity: .7;
}

/* #main_image_wrap div.slick-track p:nth-child(3)::before{
    width: 302px;
    height: 367px;
    top: -45px;
    right: 0;
    background-image: url(./img/snow_right@2x.png);
    background-position: center;
}

#main_image_wrap div.slick-track p:nth-child(3)::after{
    width: 385px;
    height: 337px;
    left: -1px;
    bottom: -1px;
    background-image: url(./img/snow_left@2x.png);
    background-size: contain;
    background-position: left;
	transform: scale(1,1);
}

#main_image_wrap div.slick-track p:nth-child(4)::before{
    width: 302px;
    height: 367px;
    top: -45px;
    right: 0;
    background-image: url(./img/momiji_right.png);
    background-position: center;
}

#main_image_wrap div.slick-track p:nth-child(4)::after{
    width: 385px;
    height: 337px;
    left: -1px;
    bottom: -1px;
    background-image: url(./img/momiji_left.png);
    background-size: contain;
    background-position: left;
	transform: scale(1,1);
} */

#main_image {
/* 	position:fixed; */
	width:100%;
	vertical-align: middle;
	top:0;
	z-index:-1;
}

#main_image .slick-track p{
	width:100vh;
	height:900px;

	background-size:cover;
	background-position:center;
}

#main_image .slick-track p span:first-child{
	display: block;
	text-indent: -9999px;
}

#main_image .slick-track p span{
    display: inline-block;
    writing-mode: vertical-rl;
    color: #fff;
    font-size: 200%;
    text-shadow: 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb, 0 0 3px #9b7bbb;
    padding: 2em 1em;
    max-width: 1200px;
	margin: auto;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 2em;
}

#main_image_wrap > p{
    position: absolute;
    margin: auto;
    width: 100%;
    max-width: 1200px;
    font-size: 200%;
    left: 0;
    right: 0;
    top: 2em;
    writing-mode: vertical-rl;
}

#main_image_wrap > p > span span{
	margin:.2em;
	padding:0 .2em;
	font-size:150%;
	color:#fff;
	background:#a54d4d;
	border-radius:8px;
	text-shadow:none;
	box-shadow:2px 2px 5px #fff;
}

#main_image_wrap > p > span small{
	display: inline-block;
	font-size:80%;
	line-height:1.2;
}

/* main_menu */
#main_menu{
	margin-bottom:1.5em;
	background:#9b7bbb;
}

#page #main_menu{
	margin-bottom:0;
}

#main_menu ul{
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin:auto;
	max-width:1200px;
}

#main_menu ul li{
	width:100%;
}

#main_menu ul li a{
	display:block;
	padding:.8em;
	color:#fff;
	font-weight:bold;
	text-align:center;
	text-decoration:none;
	transition:.2s;
}

#main_menu ul li a:hover{
	color:#9b7bbb;
	background:#fff;
}


/* news */
#news_wrap{
	padding:1em 0;
	margin:0 auto 1.5em;
	max-width:calc(1200px - 2em);
	border-bottom:3px dotted #aaa;
}

#news_wrap ul{
	display:flex;
	flex-direction:column;
	margin:auto;
	max-width:1000px;
}

#news_wrap ul li{
	display:flex;
}

#news_wrap ul li span{
	padding:.5em;
}

#news_wrap #kako{
	justify-content:flex-end;
}

/* searchform */
#search{
	padding:1em  1em 1.5em;
	margin:0 auto;
	max-width:1200px;
	text-align:right;
}

#search input{
	font:inherit;
}


/* main */

#page #main_wrap::before{
	content: '';
    display: block;
    width: 600px;
    height: 400px;
    position: absolute;
    top: 6.5em;
    right: 0;
    background-image: url(./img/sakura.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    opacity: .3;
    z-index: -1;
}

#page #main_wrap::after {
	content: '';
    display: block;
    width: 400px;
    height: 400px;
    position: absolute;
    left: 0;
    bottom: -3px;
    background-image: url(./img/sakura_left.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    opacity: .3;
    transform: scale(-1,1);
    z-index: -1;
}

#main{
	padding:1em  1em 1.5em;
	margin:0 auto;
	max-width:1200px;
	overflow:hidden;
}

#page #main {
	min-height:500px;
}


/* main parts */

#main_wrap #p_list{
	padding:.5em;
	margin:0  auto;
	max-width:1200px;
}

#main_wrap #breadcrumb{
	display:flex;
	font-size:90%;
	justify-content:flex-end;
	padding:0 1em;
}

#main_wrap #breadcrumb li{
	margin-left: .5em;
	padding-left: 0;
}

#main_wrap #breadcrumb li:after{
	margin-left: .5em;
	content: '＞';
}

#main_wrap #breadcrumb li:last-child:after{
	content:'';
}

#main_wrap h2{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#main_wrap h2:before{
	position:absolute;
	display:block;
	content:'';
	width:100%;
	height:100%;
	background:rgba(255,255,255,.6);
}

#main_wrap h2 span{
	display:block;
	padding: 1em .5em;
	margin:auto;
	max-width:1200px;
	font-size:200%;
	text-shadow:2px 2px 2px #fff;

}

#main_wrap h3{
	background: url(./img/h3_deco_1.png);
	background-repeat: no-repeat;
	background-position: right 1.7em;
	background-size: 30px;
	border-bottom: 3px solid #2d0454;
	margin-bottom: 1.5em;
}

#main_wrap h3::first-letter{
	font-size: 2em;
	color: #2d0454;
}

#main_wrap h4{
    margin-bottom: 1.5em;
    padding: .3em;
    color: #333;
    font-size: 150%;
    border-bottom: 3px solid #9b7bbb;
}

#main_wrap h4::before{
	position: absolute;
    bottom: -3px;
    left: 0;
    width: 20%;
    height: 3px;
    content: '';
    background: #dfbeff;
}

#main_wrap h5{
	margin-bottom:1.5em;
	padding:.5em;
	font-size:120%;
	border-bottom:1px dotted #666;
}

#main_wrap h6{
    margin-bottom: 1.5em;
    padding: .5em 0 .5em 1.5em;
    font-size: 100%;
}

#main_wrap h6:before{
    content: '';
    display: block;
    background: #9b7bbb;
    font-size: 120%;
    width: 18px;
    height: 18px;
    position: absolute;
    top: .4em;
    left: 0;
}

#main_wrap h6:after {
    content: '';
    display: block;
    background: #9b7bbb;
    border: 1px solid #fff;
    font-size: 120%;
    width: 18px;
    height: 18px;
    position: absolute;
    top: .6em;
    left: 0.2em;
    opacity: .7;
}

#main_wrap p{
	margin-bottom:1.5em;
}

#main_wrap #main > p{
	padding:0 2em;
}

#main_wrap a:hover{
	text-decoration:none;
}

#main_wrap #main hr{
	clear:both;
	border-bottom:1px dotted #ccc;
}

#main_wrap #main blockquote{
	clear:both;
	width:calc(100% - 2em);
	margin:1em;
	margin-bottom:1.5em;
	padding:1em;
	border-radius:8px;
	background:#efefef
}

#main_wrap #main blockquote > :last-child{
	margin-bottom:0;
}

#main_wrap img{
	max-width:100%;
	height:auto;
	margin:.5em;
	box-shadow:2px 2px 5px #aaa;
}

#main_wrap #main ul{
	margin-bottom:1.5em;
}

#main_wrap #main ul li{
	margin-left:1.5em;
	margin-bottom:.5em;
	padding:.2em;
	border-bottom:1px dotted #ccc;
}

#main_wrap #main ul li:before {
	display: block;
	position: absolute;
	content: '';
	margin: auto;
	width: .5em;
	height: .5em;
	background-color: #9b7bbb;
	top:.7em;
	left: -1.5em;
	transform: rotate(45deg);
}

#main_wrap #main ol{
	margin-bottom:1.5em;
}

#main_wrap #main ol li{
	margin-left:1.5em;
	margin-bottom:.5em;
	counter-increment: olNum1;

}

#main_wrap #main ol li:before {
	display: block;
	position: absolute;
	content: '';
	margin: auto;
	width: 1em;
	height: 1em;
//	background-color: #333;
	border-radius:5px;
	top:.25em;
	left: -1.5em;
}

#main_wrap #main ol > li:after{
	position: absolute;
	display:flex;
	justify-content:center;
	align-items:center;
	width: 1em;
	height: 1em;
	border-radius: 25px;
	color: #2f2240;
	top: .25em;
	left: -1.5em;
	content: counter(olNum1);
}

#main_wrap table{
	margin-bottom:1.5em;
	background:#f8f6ef;
}

#main_wrap table th,
#main_wrap table td{
	vertical-align:top;
	padding:1em;
	border-bottom:1px solid #ccc;
}

#main_wrap table th{
	padding:1em;
	word-break:keep-all;
	color:#fff;
	background:#9b7bbb;
	border-right:1px dotted #9b7bbb;
}


#main_wrap table tr > th > :last-child,
#main_wrap table tr > td > :last-child{
	margin-bottom:0;
}

#main_wrap table.flex_table,
#main_wrap table.flex_table > tbody{
	display:block;
	max-width:100%;
	border:0;
	background:transparent;
}

#main_wrap table.flex_table > tbody > tr{
	display:flex;
}

#main_wrap table.flex_table > tbody > tr > td{
	display:block;
	padding:1em;
	/* width:auto !important; */
	border:0;
}

#main_wrap table.flex_table > tbody > tr > td table.flex_table td{
	padding:.5em;
}

#main_wrap table.flex_table.aligncenter > tbody > tr{
	justify-content:center;
}

#main_wrap table.flex_table.aligncenter > tbody > tr > td{
	width:auto !important;
}

#main_wrap table.flex_table.alignright > tbody > tr{
	justify-content:flex-end;
}


#main_wrap table.flex_table.al_center > tbody > tr{
	align-items:center;
}

#main_wrap table.flex_table.eq_width > tbody > tr > td{
	width:100% !important;
}

#main_wrap table.large_table::before{
}

#main_wrap table.large_table{
	width:96% !important;
	margin-left:auto;
	margin-right:auto;
	border-top: 0;
    border-bottom: 0;
}

#main_wrap table.large_table tr:first-of-type{
	border-top: 2px #2d0454 solid;
}

#main_wrap table.large_table tr:last-of-type{
}

#main_wrap table.large_table strong{
	word-break: keep-all;
}

#main_wrap table.large_table{
	/* display: block; */
	height:auto !important;
	overflow-x: scroll;
	table-layout:fixed; 
	box-sizing: border-box;
}

#main_wrap table.large_table td,
#main_wrap table.large_table th{
	white-space: nowrap;
}

#main_wrap table.large_table {
    overflow: auto;
}

#main_wrap table.large_table th{
	vertical-align:middle;
}

#main_wrap table.large_table td{
	padding:.5em;
	vertical-align: middle;
	//max-width:500px;
}

#main_wrap table::-webkit-scrollbar{ /* スクロールバー全体 */
    height: 10px;
}

#main_wrap table::-webkit-scrollbar-thumb{ /* スクロールバーのある部分 */
    background: #2d0454;
    border-radius: 10px;
}
#main_wrap table::-webkit-scrollbar-track-piece:start{ /* スクロールバーが表示されてない部分（前） */
    background: #c7bad3;
    border-radius: 10px 0 0 10px;
}
#main_wrap table::-webkit-scrollbar-track-piece:end{ /* スクロールバーが表示されてない部分（後ろ） */
    background: #c7bad3;
    border-radius: 0 10px 10px 0;
}

/* form */

#page #main form input,
#page #main form textarea{
	max-width:800px;
	padding:.2em 1em;
	font-size: 100%;
	border:1px solid #ccc;
	border-radius:5px;
	font-family: 游ゴシック,メイリオ,Meiryo,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Osaka,ＭＳ\ Ｐゴシック,MS PGothic,sans-serif;
}

#page #main form textarea{
	width:100%;
}

#page #main form select{
	padding:1em;
	padding:.2em 1em;
	font-size: 100%;
	border:1px solid #ccc;
	border-radius:5px;
	font-family: 游ゴシック,メイリオ,Meiryo,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Osaka,ＭＳ\ Ｐゴシック,MS PGothic,sans-serif;
}

#page #main form input[type=submit],
#page #main form button[type=submit]{
	position:relative;
	display:block;
	margin:auto;
	color:#fff;
	font-weight:bold;
	letter-spacing:0.5em;
	text-shadow:none;
	background: #333;
	border:0;
	cursor:pointer;
	transition:.2s;
	font-family: 游ゴシック,メイリオ,Meiryo,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Osaka,ＭＳ\ Ｐゴシック,MS PGothic,sans-serif;
}

#page table#mfp_confirm_table tr th,
#page table#mfp_confirm_table tr td{
	padding:1em .5em;
	font-size:100%;
}

#page .mfp_element_submit,
#page .mfp_element_reset,
#page .mfp_element_button,
#page button.mfp_next,
#page button.mfp_prev{
	position:relative;
	margin:auto;
	color:#fff;
	font-weight:bold;
	letter-spacing:0.05em;
	text-shadow:none;
	background: #052f47;
	cursor:pointer;
	transition:.2s;
	font-family: 游ゴシック,メイリオ,Meiryo,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Osaka,ＭＳ\ Ｐゴシック,MS PGothic,sans-serif;
}


#page #main form input[type=submit]:hover,
#page #main form button[type=submit]:hover{
	background-color:#718692;
	transition:.2s;
}

#page #main form input[type=submit]:before {
    display: block;
    position: absolute;
    content: '';
    margin: auto;
    width: 1em;
    height: .5em;
    background: linear-gradient(to top left, rgba(255,255,255,0) 50%, #052F47 50.5%) no-repeat top left/100% 100%;
    top: .5em;
    left: -1.2em;
}

#page #main form input[type=reset]{
	position:relative;
	display:inline-block;
	margin:auto;
	padding:.5em 1em;
	width:auto;
	color:#fff;
	font-size:100%;
	letter-spacing:.8em;
	background-color:#666;
	text-align:center;
	cursor:pointer;
	transition:.2s;
}

#page #main form input[type=reset]:hover{
	background-color:#aaa;
	transition:.2s;
}


/* page advance */
#page iframe{
	max-width:100%;
}

#page .su-spoiler-title{
	display: inline-block;
	color: #9b7bbb;
	font-size:100%;
	text-decoration:underline;
}

#page .su-spoiler-title:hover{
	text-decoration:none;
}

#page .gallery {
	display:flex;
	flex-wrap:wrap;
	margin-bottom:1.5em;
}

#page .gallery-item{
	display:block;
	float:none!important;
	width:auto !important;
}

#page .gallery-columns-3 .gallery-item{
	width:33.3333% !important;
	
}
#page .gallery-item img{
	width:calc(100% - 1em);
	height:auto;
	border:none;
}

#page .mejs-inner,
#page .mejs-layers{
height: 100%;
    width: 100%;
}

/* footer */
#footer_wrap{
	clear:both;
	border-top:3px solid #333;
}

#footer_wrap #footer{
	margin:auto;
	max-width:1200px;
}

#footer_wrap ul{
	display:flex;
}

#footer_wrap ul li{
	padding:.5em;
}

#footer_wrap ul li a{
}

#footer_wrap ul li a:hover{
	text-decoration:none;
}

#footer_wrap address{
	display: flex;
        justify-content: flex-end;
	margin:auto;
	max-width:1200px;
	font-style:normal;
}

#footer_wrap #foot_add p span{
	display: block;
    padding: 7px 0 0 1.8em;
    color: #2f2240;
    font-size: 180%;
    font-weight: bold;
    letter-spacing: .1em;
    text-decoration: none;
    background-image: url(./img/logo.png);
    background-position: left center;
    background-size: 1.5em;
    background-repeat: no-repeat;
}

#footer_wrap #foot_add p:first-line{
	font-weight:bold;
	font-size:120%;
}

#copyright{
	padding:.5em;
	text-align:center;
	font-size:90%;
}

/* pagetop */
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 10px;
  bottom: 50px;
  background: rgba(29, 159, 214, 0.7);
  opacity: 0;
  transition:.2s;
  z-index:999;
  transform: rotate(45deg);
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
    transform: rotate(-45deg);
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f062';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  line-height:1;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#sp_toggle,navul{
	display:none;
}

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

/*記事内の画像*/
.alignleft {
	float: none;
	clear: both;
	display: block;
	margin-left: auto !important;
	margin-right: auto !important;
}

.alignright {
	float: none;
	clear: both;
	display: block;
	margin-left: auto !important;
	margin-right: auto !important;

}

#news_wrap{
	margin:0 1em;
}

#main_image_wrap,
#main_image{
	height:auto;
}

#main_image .slick-track p span{
	padding: 4em 1em 1em 1em;
}

#main_image p{
	padding-top:40%;
	height:0;
}

#main_wrap iframe{
	width:100%;
}

#main_wrap img{
	max-width:100%;
	height:auto;
}

#main_wrap table{
	width:100% !important;
}

#main_wrap table th,
#main_wrap table td{
	width:auto !important;
}

#main_wrap table.flex_table > tbody > tr{
	flex-direction:column;
}

#main_wrap table.flex_table > tbody > tr > td{
	width:100% !important;
}

#footer_wrap ul{
	flex-direction:column;
}

#footer_wrap ul li{
	padding:1em .5em;
}

}

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

#header{
	display:block;
	padding:8px 1em 0;
	
}

#header h1 {
	padding:1em 0;
}

#header h1 a{
	padding-top:15%;
	width:100%;
	height:0;
	background-repeat:no-repeat;
	background-size:contain;
	background-position:left center;
}

#header #head_add{
	display:none;
}

#header #head_add img{
	height:30px;
}

#sp_toggle{
	position:relative;
	display:table;
	margin: 0 0 0 auto;
	padding:1.5em;
	font-size:100%;
	color:#333;
	text-align:center;
	font-weight:bold;
	box-sizing:border-box;
	cursor:pointer;
}

#sp_toggle #sp_toggle_icon{
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -.5em;
  background: #333;
  transition: .2s;
}

#sp_toggle #sp_toggle_icon:before,
#sp_toggle #sp_toggle_icon:after{
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 2px;
  background: #333;
  transition: .3s;
}

#sp_toggle #sp_toggle_icon:before{
  margin-top: -6px;
}

#sp_toggle #sp_toggle_icon:after{
  margin-top: 4px;
}

#sp_toggle #sp_toggle_icon.close{
  background: transparent;
}

#sp_toggle #sp_toggle_icon.close:before, #panel-btn .close:after{
  margin-top: 0;
}

#sp_toggle #sp_toggle_icon.close:before{
  margin-top: -1px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

#sp_toggle #sp_toggle_icon.close:after{
  margin-top: -1px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

#main_menu{
	position:fixed;
	top:0;
	right:0;
	background:rgba(255,255,255,.7);
	z-index:9999;
}

#main_menu.menuopen{
	width:100%;
}

#main_menu ul{
	display:none;
	flex-direction: column;
	width:100vw;
	height:100vh;
}

#main_menu ul li a{
	margin-bottom:1.5em;
	padding-left: 1em;
	text-align:left;
	color:#333;
}

#main_menu ul li:first-of-type a{
	padding-left: 1em;
	background-image:none;
}


#main_image .slick-track p{
	height:300px
}

#main_image_wrap div.slick-track p:nth-child(2n)::before,
#main_image_wrap div.slick-track p:nth-child(2n)::after{
	width: 250px;
	height: 200px;
	background-size: contain;
}

#main_image_wrap div.slick-track p:nth-child(1)::before,
#main_image_wrap div.slick-track p:nth-child(1)::after{
    width: 270px;
    height: 203px;
}

#main_image_wrap > p{
	font-size:80%;
}

#main_wrap.online h2{
	font-size:150%;
}

#main_wrap #breadcrumb{
	font-size:70%;
}


#main_wrap h3{
	font-size:120%;
	background-position: right bottom -1px;
}

#main_wrap h4{
	font-size:120%;
}

#main_wrap h5{
	padding:0;
}

#main_wrap #main > p{
	padding:0;
}

#main_wrap img{
	margin:.5em 0;
}
#main_wrap table.large_table{
	display: block;
}

#main > table:not(.large_table),
#main > table:not(.large_table) tbody,
#main > table:not(.large_table) tbody tr,
#main > table:not(.large_table) tbody tr th,
#main > table:not(.large_table) tbody tr td{
	display:block;
	padding:0;

}

#main > table:not(.large_table) tbody tr th,
#main > table:not(.large_table) tbody tr td{
	padding:1em;
	text-align:left;
}


#footer_wrap{
	padding:0 1em;
}

#footer_wrap #footer{
	margin-bottom:3em;
}

#footer_wrap #foot_add p span{
	font-size: 4vh;
}


#copyright p{
	font-size:3vw;
}

}