/*
Theme Name:urushi
*/
@charset "utf-8";
/* CSS Document */
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
font-family: 'Courgette', cursive;
font-family: 'Noto Sans JP', sans-serif;
font-family: 'Noto Serif JP', serif;
*/
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: 'Noto Sans JP', sans-serif;
	font-size:16px;
	background-color: #f8f2e1;
    background-image: url("img/main_bg_2.png");
    background-size: contain;
    background-repeat: repeat-y;
    background-position: top;
	line-height:1.5;
	letter-spacing:0.02em;
	font-weight: normal;
	color:#333;
}

*{
	outline: none;
}

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

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

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

table.aligncenter{
	display:table;
}

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

.mincho{
	font-family: 'Noto Serif JP', serif;
}

.oubun{
	font-family: 'Courgette', cursive;
}

.rtl{
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}

a{
	color:#333;
	text-decoration:none;
	cursor:pointer;
}


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

table .btn a{
	display:block;
}

.btn a:hover{
	color:#173F5D;
	background:#fff;
}

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

img.flow_pc{
    display: block;
    width: 100%;
    height: auto;
}

img.flow_mobile{
    display: none;
}

#lightboxOverlay{
    position: fixed !important;
}

/*header*/
header{
    position: fixed;
    margin: auto;
    width: 100%;
    top:0;
    z-index: 9999;
}

header nav{
    margin: auto;
    transition: .2s;
}

header nav ul{
	display: flex;
    justify-content: space-between;
	background-color: #f1e7ce;
    padding: 1em;
	margin: 0 auto 3em auto;
  	max-width: 1200px;
    border-radius: .5em;
    transition: .2s;
}




header nav ul li{
    display: inline-block;
    width: calc(100% / 7);
    height: 3em;
    overflow: hidden;
}

header nav ul li::after{
    content: '';
    background: url(img/menu_line.png);
    position: absolute;
    display: block;
    width: 0;
    height: .5em;
    top: 2.5em;
    /* box-shadow: 0px -5px 5px -5px #d15a4d inset, 0px 8px 4px -4px #d15a4d; */
    background-size: contain;
    background-repeat: repeat-x;
    left: 0;
    transition: .2s;
    z-index: 6;
}

header nav ul li:hover::after{
    top: -100px;
}

header nav ul li:first-child:hover:after,
header nav ul li:last-child:hover:after{
    top: 2.5em;
}

header nav ul li.current::after{
	width: 100%;
}

header nav ul li::before {
    content: '';
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 5em;
    width: 100%;
    height: 3em;
    position: absolute;
    top: 0%;
    background-color: #f1e7ce;
    z-index: 5;
    transition: .3s;
}
header nav ul li:first-child:before,
header nav ul li:last-child:before{
    background-color: transparent;
}
header nav ul li:first-child,
header nav ul li:last-child{
    text-align: center;
}

header nav ul li:first-child::before{
    background-image: url(icon/top@2x.png);
    background-size: 4em;
    z-index: 1;
}

header nav ul li.s1::before{
    background-image: url(icon/session1_c@2x.png);
}
header nav ul li.s2::before{
    background-image: url(icon/session2_c@2x.png);
}
header nav ul li.s3::before{
    background-image: url(icon/session3_c@2x.png);
}
header nav ul li.s4::before{
    background-image: url(icon/session4_c@2x.png);
}
header nav ul li.s5::before{
    background-image: url(icon/session5_c@2x.png);
}
header nav ul li.e6::before{
    background-image: url(icon/session6_title@2x.png);
    background-size: 9em;
    z-index: 1;

}


header nav ul li:hover::before {
    top: -100%;
}

header nav ul li:first-child::before,
header nav ul li.e6:hover::before {
    top: 0%;
}

header nav ul li a {
    display: block;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

header nav ul li span{
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: bold;
    top: 0;
    transition: .3s;
}
header nav ul li:hover span {
    display: block;
    top: -24px;
}

header nav ul li:first-child a,
header nav ul li:last-child a{
    opacity: 0;
}

header h1{
    font-family: 'M PLUS Rounded 1c', sans-serif;
    display: block;
    /* position: absolute; */
    max-width: 1200px;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    opacity: 1;
    transition: .2s;
}

header h1 img{
    position: absolute;
    top: 5px;
    width: calc(523px / 3);
    height: auto;
}

header h1 a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 142px;
    height: 80px;
    margin: auto;
    background-image: url(./img/header_img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    transition: .2s;
}

/* header h1 a::after{
    content: '';
    display: block;
    width: 3em;
    height: 3em;
    background: url(./img/tori.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 1em;
    right: -2.5em;
} */

header h1 a span{
	text-indent: -9999%;
	overflow: hidden;
}

header.fixed h1{
    opacity:0;
}

header.fixed h1 a{
    height: 0;
}

header.fixed nav{
    margin-top:0em;
    background-color: #f1e7ce;
    transition:.2s;
    box-shadow: 2px 2px 5px #999;
    animation: headfix 1s 0s 1 forwards;
    -webkit-animation: headfix 1s 0s 1 forwards;
    -moz-animation: headfix 1s 0s 1 forwards;
}

@keyframes headfix{
0%{
    opacity:0;
}
100%{
    opacity:1;
}

}

header.fixed nav ul{
    margin-bottom: 1em;

    border-radius:0;
}

#page #page_title{
    margin-top:300px !important;
}

.foreground {
	fill: #fff;
}
.background {
	stroke: #586609;
	stroke-width: 14;
	stroke-linejoin: round;
}
.background2 {
	stroke: #586609;
	stroke-width: 11;
	stroke-linejoin: round;
}
.background3 {
	stroke: #586609;
	stroke-width: 8;
	stroke-linejoin: round;
}

/*slider*/

.slide {
	transition: 2s ease;
	transform: scale(.85);
}
.slick-current,
.is-active-next{
	transform: scale(1);	
}

#main_image{
    margin-top: 300px;
}

#main_image img{
	width: 100%;
	height: auto;
}

#main_image ul.slider li.slide span.slide_img{
	display: block;
	margin: auto;
	width: 100% !important;
	height: 625px;
	border-radius: 1em;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	text-indent: -100%;
	overflow: hidden;
} 

#main_image ul.slider li.slide span.slide_img::before{
	content: '';
	display: block;
	background-color: rgba(51, 51, 51, .2);
	height: 100%;
	border-radius: 1em;
}

#main_image ul.slider li.slide span.slide_cont{
	color: #fff;
	position: absolute;
	bottom: 1.5em;
	left: 2em;
}

#main_image p{
	width: 40%;
    height: 100%;
    background: url("./img/title2x.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-indent: -999%;
    overflow: hidden;
}

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

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

#main_wrap #main table.flex_table > tbody > tr > td{
	display:block;
	padding:.5em;
	width:auto !important;
	background:transparent;
	border:0;
}

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

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

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

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


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

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



#main_wrap{
	margin: 8em 0 23em;
}

#main_wrap #main{
	max-width: 1200px;
	margin: auto;
}

#main_wrap #main h3{
	color: #586609;
    font-size: 150%;
    font-weight: bold;
    background: url("img/h3_img.png");
    background-size: 1em;
    background-repeat: no-repeat;
    background-position: 1em top;
    padding: .2em 0 .2em 2em;
    margin-bottom: .8em;
}

#main_wrap #main h4{
    font-size: 130%;
    color: #fff;
    padding: .2em 1.5em;
    margin-bottom: 1em;
    background: #75b34e;
    border-radius: 1em 0;
}

#main_wrap #main h4::before {
    /* content: ''; */
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 0 80px;
    background-color: #75b34e;
    transform: rotate(80deg);
    position: absolute;
    top: 3px;
    left: 0;
}

#main_wrap #main h4::after {
    /* content: ''; */
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 0 80px;
    background-color: #586609;
    transform: rotate(80deg);
    position: absolute;
    top: 3px;
    right: 0;
}

#main_wrap #main h5{
    display: inline-block;
    color: #555831;
    padding: 0.2em 1em;
    border: 3px solid #b3d358;
    border-radius: 0.5em 10em;
    margin-bottom: 1em;
}

#main_wrap #main h6{
    border-bottom: 1px dotted #aaa;
    margin-bottom: 1em;
}

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

#main_wrap #main ul li{
    margin-left: 1.5em;
    margin-bottom: .5em;
    padding: .2em;
}

#main_wrap #main ul li::before {
    display: block;
    position: absolute;
    content: '';
    margin: auto;
    width: 0.7em;
    height: 0.7em;
    background-color: #333;
    top: 0.5em;
    left: -1.3em;
    border-radius: 50%;
}

#main_wrap #main ul li::after {
    display: block;
    position: absolute;
    content: '';
    margin: auto;
    width: .7em;
    height: .5em;
    background-color: #c93b2d;
    top: 7px;
    left: -1.3em;
    border-radius: .5em;
}

#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: 1.2em;
    height: 1.2em;
    background-color: #586609;
    border-radius: 10px 0;
    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: #fff;
    top: .37em;
    left: -1.36em;
    content: counter(olNum1);
}

#main_wrap table.flex_table,
#main_wrap table.morio_hukidashi_r,
#main_wrap table.morio_hukidashi_l,
#main_wrap table.uchan_hukidashi_r,
#main_wrap table.uchan_hukidashi_l,
#main_wrap table.yama_hukidashi_r,
#main_wrap table.yama_hukidashi_l{
    background: transparent;
}

#main_wrap table.flex_table,
#main_wrap table.morio_hukidashi_r th,
#main_wrap table.morio_hukidashi_l th,
#main_wrap table.uchan_hukidashi_r th,
#main_wrap table.uchan_hukidashi_l th,
#main_wrap table.yama_hukidashi_r th,
#main_wrap table.yama_hukidashi_l th,
#main_wrap table.morio_hukidashi_r td,
#main_wrap table.morio_hukidashi_l td,
#main_wrap table.uchan_hukidashi_r td,
#main_wrap table.uchan_hukidashi_l td,
#main_wrap table.yama_hukidashi_r td,
#main_wrap table.yama_hukidashi_l td{
    border-bottom: none;
}

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

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

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

#main_wrap #main iframe{
    border-image: url(./img/menu_line.png) 2;
    border-style: solid;
    border-width: .3em;
    padding: 1em;
}

#main #sec{
	max-width: 600px;
    margin: auto;
}

#main #sec li{
	margin: 2.5em;
}

#main_wrap #main ul#sec li::before,
#main_wrap #main ul#sec li::after{
    display: none;
}

#main #sec li span{
	font-size: 110%;
    font-weight: bold;
	padding: 18px;
    background-size: 100%;
    background-repeat: no-repeat;
}
#main #sec li span.s1{
    background-image: url("icon/session1_a@2x.png");

}
#main #sec li span.s2{
    background-image: url("icon/session2_a@2x.png");
}
#main #sec li span.s3{
    background-image: url("icon/session3_a@2x.png");
}
#main #sec li span.s4{
    background-image: url("icon/session4_a@2x.png");
}
#main #sec li span.s5{
    background-image: url("icon/session5_a@2x.png");
}
#main #sec li span.e6{
    background-image: url("icon/session6@2x.png");
}


#main #sec li span a{
    display: inline-block;
    width: 5em;
    height: 1.5em;
	padding: 0;
	color: #586609;
    opacity: 0;
}

#main #sec li span a::after{
	content: none;
}

#main #sec li a{
	padding: 0 0 0 2em;
	text-decoration: none;
    color: #333;
}

#main #sec li:first-child a::after{
	width: calc(100% - 2em);
}

#main #sec li a::after {
    content: '';
    background: url("img/sec_line.png");
    position: absolute;
    display: block;
    width: 0;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    left: 2em;
	transition: .2s;
}

#main #sec li a:hover::after{
	width: calc(100% - 2em);
}

/*page*/
#page #page_title{
    max-width: 800px;
    margin: auto;
}

#page #page_title h2{
    font-family: vdl-megamaru, sans-serif;
    font-weight: 400;    font-size: 200%;
	color: #fff;
    text-shadow: 2px 2px 2px #333;
	text-align: center;
	background-color: #71830e;
    padding: .5em;
}
/* 
#page #page_title::before{
	content: '';
	display: block;
	width: 100%;
	height: 4em;
	background: url("./img/slide_top.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

#page #page_title::after{
	content: '';
	display: block;
	width: 100%;
	height: 4em;
	background: url("./img/slide_bottom.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
} */

#page #p_list{
	max-width: 800px;
	margin: auto;
	font-size: 90%;
}

#page #p_list #breadcrumb{
	display: flex;
	justify-content: start;
	margin: 1em 0;
}

#page #p_list #breadcrumb li::after{
    content: '>';
    padding: 0 .5em;
}

#page #p_list #breadcrumb li:last-child::after{
    display: none;
}

#page #p_list a{
	text-decoration: underline;
}

#page #p_list a:hover{
	text-decoration: none;
}

#page #main_wrap{
	margin-top: 3em;
    z-index: 10;
}

#page #main{
	max-width: 800px;
	margin-bottom: 1.5em;
}

#page #main_wrap #main h5 {
    display: block;
    color: #333;
    font-size: 110%;
    padding: 0 0 0 1.2em;
    border: 0;
    margin-bottom: 0.5em;
}

#page #main_wrap #main h5::before{
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background-color: #c93b2d;
    position: absolute;
    top: 5px;
    left: 0;
}
#main p{
    padding: 0 1em;
	margin-bottom: 1.5em;
}

#main p.iframe_wrap{
    padding: 0;
}

#page iframe{
    border-image: url(./img/menu_line.png) 2;
    border-style: solid;
    border-width: .3em;
    padding: 1em;
}


/* 吹き出し */
#page table.morio_hukidashi_r tbody,
#page table.morio_hukidashi_l tbody,
#page table.uchan_hukidashi_r tbody,
#page table.uchan_hukidashi_l tbody,
#page table.yama_hukidashi_r tbody,
#page table.yama_hukidashi_l tbody{
    display: block;
}

#page table.morio_hukidashi_r tbody > tr,
#page table.morio_hukidashi_l tbody > tr,
#page table.uchan_hukidashi_r tbody > tr,
#page table.uchan_hukidashi_l tbody > tr,
#page table.yama_hukidashi_r tbody > tr,
#page table.yama_hukidashi_l tbody > tr{
    display: flex;
    align-items: flex-start;
}

#page table.morio_hukidashi_r tbody > tr > td:first-child,
#page table.morio_hukidashi_l tbody > tr > td:last-child,
#page table.uchan_hukidashi_r tbody > tr > td:first-child,
#page table.uchan_hukidashi_l tbody > tr > td:last-child,
#page table.yama_hukidashi_r tbody > tr > td:first-child,
#page table.yama_hukidashi_l tbody > tr > td:last-child{
    width: 20%;
}

#page table.morio_hukidashi_r tbody > tr > td:last-child,
#page table.morio_hukidashi_l tbody > tr > td:first-child,
#page table.uchan_hukidashi_r tbody > tr > td:last-child,
#page table.uchan_hukidashi_l tbody > tr > td:first-child,
#page table.yama_hukidashi_r tbody > tr > td:last-child,
#page table.yama_hukidashi_l tbody > tr > td:first-child{
    width: 80%;
    padding: 1em;
    border-radius: .5em;
    color: #333;
    background-color: #fff;
}

#page table.morio_hukidashi_r tbody > tr > td:last-child,
#page table.morio_hukidashi_l tbody > tr > td:first-child{
    border: 4px solid #279fb5;
}

#page table.uchan_hukidashi_r tbody > tr > td:last-child,
#page table.uchan_hukidashi_l tbody > tr > td:first-child{
    border: 4px solid #e19724;
}
#page table.yama_hukidashi_r tbody > tr > td:last-child,
#page table.yama_hukidashi_l tbody > tr > td:first-child{
    border: 4px solid #c9977a;
}

#page table.morio_hukidashi_r tbody > tr > td:last-child,
#page table.uchan_hukidashi_r tbody > tr > td:last-child,
#page table.yama_hukidashi_r tbody > tr > td:last-child{
    margin: 0 2em 0 1em;
}

#page table.morio_hukidashi_l tbody > tr > td:first-child,
#page table.uchan_hukidashi_l tbody > tr > td:first-child,
#page table.yama_hukidashi_l tbody > tr > td:first-child{
    margin-left: 2em;
}

#page table.morio_hukidashi_r tbody > tr > td:last-child::before,
#page table.uchan_hukidashi_r tbody > tr > td:last-child::before,
#page table.yama_hukidashi_r tbody > tr > td:last-child::before{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: -.6em;
    top: 1.5em;
    border-right: 1em solid #fff;
    border-top: .8em solid transparent;
    border-bottom: 1em solid transparent;
    z-index: 2;
}

#page table.morio_hukidashi_l tbody > tr > td:first-child::before,
#page table.uchan_hukidashi_l tbody > tr > td:first-child::before,
#page table.yama_hukidashi_l tbody > tr > td:first-child::before{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    right: -.6em;
    top: 1.5em;
    border-left: 1em solid #fff;
    border-top: .8em solid transparent;
    border-bottom: 1em solid transparent;
    z-index: 2;
}


#page table.morio_hukidashi_r tbody > tr > td:last-child::after,
#page table.uchan_hukidashi_r tbody > tr > td:last-child::after,
#page table.yama_hukidashi_r tbody > tr > td:last-child::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: -1em;
    top: 1.5em;
    border-top: .8em solid transparent;
    border-bottom: 1em solid transparent;
    z-index: 1;
}

#page table.morio_hukidashi_l tbody > tr > td:first-child::after,
#page table.uchan_hukidashi_l tbody > tr > td:first-child::after,
#page table.yama_hukidashi_l tbody > tr > td:first-child::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    right: -1em;
    top: 1.5em;
    border-top: .8em solid transparent;
    border-bottom: 1em solid transparent;
    z-index: 1;
}

#page table.morio_hukidashi_r tbody > tr > td:last-child::after{
    border-right: 1em solid #279fb5;
}
#page table.morio_hukidashi_l tbody > tr > td:first-child::after{
    border-left: 1em solid #279fb5;
}

#page table.uchan_hukidashi_r tbody > tr > td:last-child::after{
    border-right: 1em solid #e19724;
}
#page table.uchan_hukidashi_l tbody > tr > td:first-child::after{
    border-left: 1em solid #e19724;
}

#page table.yama_hukidashi_r tbody > tr > td:last-child::after{
    border-right: 1em solid #c9977a;
}
#page table.yama_hukidashi_l tbody > tr > td:first-child::after{
    border-left: 1em solid #c9977a;
}

#page #main table.morio_hukidashi_r tbody > tr > td >p,
#page #main table.morio_hukidashi_l tbody > tr > td >p,
#page #main table.uchan_hukidashi_r tbody > tr > td >p,
#page #main table.uchan_hukidashi_l tbody > tr > td >p,
#page #main table.yama_hukidashi_r tbody > tr > td >p,
#page #main table.yama_hukidashi_l tbody > tr > td >p{
    margin-bottom: 0;
}


#page .right-yamachan{
    padding: 1em;
	border: 4px solid #c9977a;
    border-radius: .5em;
    color: #333;
    background-color: #fff;
    margin: 0 110px 3.5em 235px;
}

#page .right-yamachan::before{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    right: -.6em;
    top: 1.5em;
    border-left: 1em solid #fff;
    border-top: .8em solid transparent;
    border-bottom: 1em solid transparent;
	z-index: 2;
}

#page .right-yamachan::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    right: -1em;
    top: 1.5em;
    border-left: 1em solid #c9977a;
    border-top: .8em solid transparent;
    border-bottom: 1em solid transparent;
    z-index: 1;
}

#page #main .right-yamachan p{
	margin-bottom: 0;
}

#page .right-yamachan .icon2{
    width: 73px;
    height: 82px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: -105px;
    top: 0;
    text-indent: -150%;
    overflow: hidden;
}
#page #mokuji{
	display: block;
	max-width: 800px;
	margin: auto;
}

#page #mokuji h3 a:hover{
	color: #586609;
}

#page #pretop{
	text-align: right;
}

#page #arrow{
	display: flex;
	justify-content: space-between;
}

#page p#next{
    max-width: 350px;
    padding: 0 0 0 .5em;
    margin-right: 2.3em;
}

#page p#next::before {
    content: '';
    display: block;
    width: 3em;
    height: 1em;
    background: url(./img/arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: .1em;
    right: -3em;
}

#page p#prev{
    max-width: 350px;
    padding: 0 0 0 .5em;
    margin: 0 0 0 2em;
}

#page p#prev::before {
    content: '';
    display: block;
    width: 3em;
    height: 1em;
    background: url(./img/arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(-1, 1);
    position: absolute;
    top: .1em;
    left: -2.5em;
}

/* コンタクトフォーム */
#main form p {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: bold;
    line-height: 2em;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    height: 2em;
    border: 2px solid #b3ab99;
    border-radius: 1em;
    padding-left: 1em;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    border: 2px solid #b3ab99;
    border-radius: 1em;
    padding-left: 1em;
    min-width: 60%;
}

input.wpcf7-form-control.wpcf7-submit {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: bold;
    font-size: 90%;
    padding: .5em 1em;
    background: #b3ab99;
    border: 1px solid #b3ab99;
    border-radius: .5em;
}

input.wpcf7-form-control.wpcf7-submit:hover {
    cursor: pointer;
}

/* footer*/
#footer_wrap {
    width: 100%;
    height: auto;
    z-index: 1;
}

#footer_wrap::before{
    content: '';
    display: block;
    width: 100%;
    height: 80px;
    background: url(./img/sample-3@2x.png);
    background-size: auto;
    background-repeat: repeat-x;
    background-position: center;
    position: absolute;
    top: -65px;
    z-index: 2;
}

div#ft_morio, #ft_uchan_set, #ft_yama_set {
    position: absolute;
    bottom: 90px;
}
div#ft_uchan_set {
    display: flex;
    flex-direction: row-reverse;
    left: 35%;
}
div#ft_yama_set {
    display: flex;
    right: 0;
}
div#ft_uchan_nae {
    bottom: -72px;
    z-index: 1;
}
div#ft_yama {
    height: 200px;
    bottom: -340px;
    z-index: 3;
}
div#ft_morio{
    z-index: 1;
}
div#ft_uchan {
    z-index: 3;
}
div#ft_yama_tree {
    z-index: 1;
}
footer{
	background-color: #5ab25b;
	text-align: center;
	padding-top: 25px;
}

footer p{
	color: #fff;
	font-size: 75%;
	padding-bottom: 10px;
}
/* 以降サイトごとの記述 */
/* 背景設定 */
@media screen and (max-width: 1600px) {
    div#ft_morio, #ft_uchan_set, #ft_yama_set {
    bottom: 96px;
    }
    div#ft_morio img, #ft_uchan img, #ft_uchan_nae img, #ft_yama img, #ft_yama_tree img {
    display: block;
    width: 100%;
    }
    div#ft_morio {
        width: calc(394px * 0.8);
    }
    div#ft_uchan {
        width: calc(99px * 0.8);
    }
    div#ft_uchan_nae {
        width: calc(169px * 0.8);
        bottom: -55px;
    }
    div#ft_yama {
        width: calc(98px * 0.8);
        bottom: -266px;
    }
    div#ft_yama_tree {
        width: calc(567px * 0.8);
    }
}
@media screen and (max-width: 1380px){
    div#ft_yama {
    bottom: -272px;
    }
}
@media screen and (max-width: 1150px) {
    #footer_wrap::before{
        height: 38px;
        background-size: auto 38px;
        top: -32px;
    }
    div#ft_morio {
        width: calc(394px * 0.6);
    }
    div#ft_uchan {
        width: calc(99px * 0.6);
    }
    div#ft_uchan_nae {
        width: calc(169px * 0.6);
        bottom: -40px;
    }
    div#ft_yama {
        width: calc(98px * 0.6);
        bottom: -207px;
    }
    div#ft_yama_tree {
        width: calc(567px * 0.6);
    }
}
@media screen and (max-width: 870px){
    div#ft_uchan_set{
        left: 30%;
    }
}




/* 小型ノート */
@media screen and (max-width: 1030px) {
    #main_wrap #main{
        max-width: 800px;
    }
    #main_wrap #main > table.flex_table > tbody > tr{
        display: flex;
        flex-direction: column;
    }
    #main_wrap #main table.flex_table.eq_width > tbody > tr > td{
        width: auto;
    }
    #main_image ul.slider li.slide span.slide_img{
        border-radius: 0;
    }
    #main_image ul.slider li.slide span.slide_img::before{
        border-radius: 0;
    }
    .slick-list.draggable{
        padding: 0 !important;
    }
    #main_wrap #main iframe{
        display: block;
        margin: auto;
    }
    
}



/* タブレット */
@media screen and (max-width: 800px) {
    #page #p_list #breadcrumb{
        padding: 0 1em;
    }
    #main_wrap{
        padding: 0 1em;
    }
    #main_image p{
        width: 60%;
    }
    #main_image ul.slider li.slide span.slide_img{
        height: 400px;
    }
    #main_wrap #main iframe{
        width: 100%;
    }
    #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: #b0262c;
    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: #b0262c;
    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);
    }
    
    header h1{
        display: none;
    }

    header nav{
        width: unset;
        position:fixed;
        top:0;
        right:0;
        background:rgba(255,255,255,.8);
        margin-top: 0;
        z-index:9999;
    }

    
    header nav.menuopen{
        width: 100%;
    }
    
    header nav ul{
        display:none;
        flex-direction: column;
        width:100vw;
        height:100vh;
        margin: 0;
        background-color: transparent;
        border-radius: 0;
        transition: 0s;
    }
    header nav ul li{
        display: block;
        font-weight: bold;
        line-height: 2em;
        width: 100%;
        margin-bottom: 1.5em;
        overflow: unset;
    }
    header nav ul li:first-child,
    header nav ul li:last-child {
    text-align: left;
    }
    header nav ul li span{
        top: -1.5em;
        left: 7em;
    }
    header nav ul li::before{
        background-position: left;
        background-color: transparent;
    }
    header nav ul li:hover::before{
        top: 0%;
    }
    header nav ul li:hover::after{
        top: 2.5em;
    }
    /* header nav ul li:hover span{
        top: -1.5em;
    } */
    header nav ul li a{
        margin-bottom: 1.5em;
        padding-left: 1em;
        z-index: 10;
    }
    header.fixed nav{
        margin-top:0;
        background-color:rgba(255,255,255,.8);
        animation: headfix 0s 0s 1 forwards;
        -webkit-animation: headfix 0s 0s 1 forwards;
        -moz-animation: headfix 0s 0s 1 forwards;
    }

    header.fixed nav ul{
        margin-bottom: 0;
        box-shadow: none;
    }
    #main_image{
        margin-top: 0px;
    }

    #page #page_title {
        margin-top: 0px !important;
    }
    div#ft_morio, #ft_uchan, #ft_uchan_nae, #ft_yama, #ft_yama_tree {
        display: none;
    }
    #footer_wrap::before{
        height: 80px;
        background-size: auto;
        background-position: left;
        top: -65px;
    }
}

/* スマートフォン */
@media screen and (max-width: 500px) {
    img.flow_pc{
        display: none;
    }

    img.flow_mobile{
        display: block;
        width: 100%;
        height: auto;
    }

    .slide{
        transform: scale(1);
    }

    #page table.morio_hukidashi_r tbody > tr,
    #page table.uchan_hukidashi_r tbody > tr,
    #page table.yama_hukidashi_r tbody > tr{
        flex-direction: column-reverse;
    }

    #page table.morio_hukidashi_l tbody > tr,
    #page table.uchan_hukidashi_l tbody > tr,
    #page table.yama_hukidashi_l tbody > tr{
        flex-direction: column;
    }

    #page table.morio_hukidashi_r tbody > tr > td:last-child::before,
    #page table.uchan_hukidashi_r tbody > tr > td:last-child::before,
    #page table.yama_hukidashi_r tbody > tr > td:last-child::before{
        content: '';
        position: absolute;
        display: block;
        width: 0;
        height: 0;
        left: 6em;
        top: unset;
        bottom: -1.5em;
        border: 12px solid transparent;
        border-top: 12px solid #FFF;
        z-index: 2;
    }
    
    #page table.morio_hukidashi_r tbody > tr > td:last-child::after,
    #page table.uchan_hukidashi_r tbody > tr > td:last-child::after,
    #page table.yama_hukidashi_r tbody > tr > td:last-child::after{
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        top: unset;
        left: 5.9em;
        bottom: -2em;
        border: 14px solid transparent;
        border-top: 14px solid #279fb5;
        z-index: 1;
    }
    #page table.morio_hukidashi_r tbody > tr > td:last-child::after{
        border-right: 14px solid transparent;
    }

    #page table.yama_hukidashi_r tbody > tr > td:last-child::after{
        border-top: 14px solid #c9977a;
    }

    #page table.uchan_hukidashi_r tbody > tr > td:last-child::after{
        border-top: 14px solid #e19724;
    }

    #page table.morio_hukidashi_l tbody > tr > td:first-child::before,
    #page table.uchan_hukidashi_l tbody > tr > td:first-child::before,
    #page table.yama_hukidashi_l tbody > tr > td:first-child::before{
        content: '';
        position: absolute;
        display: block;
        width: 0;
        height: 0;
        right: 15em;
        left: 1.8em;
        top: unset;
        bottom: -1.7em;
        border: 14px solid transparent;
        border-top: 14px solid #fff;
        z-index: 2;
    }
    #page table.morio_hukidashi_l tbody > tr > td:first-child::after,
    #page table.uchan_hukidashi_l tbody > tr > td:first-child::after,
    #page table.yama_hukidashi_l tbody > tr > td:first-child::after{
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        right: 15em;
        left: 1.8em;
        top: unset;
        bottom: -2em;
        border: 14px solid transparent;
        border-top: 14px solid #e19724;
        z-index: 1;
    }
    #page table.morio_hukidashi_r tbody > tr > td:last-child,
    #page table.uchan_hukidashi_r tbody > tr > td:last-child,
    #page table.yama_hukidashi_r tbody > tr > td:last-child{
            margin: 0 0 .5em 2em;
    }

    #page table.morio_hukidashi_l tbody > tr > td:first-child,
    #page table.uchan_hukidashi_l tbody > tr > td:first-child,
    #page table.yama_hukidashi_l tbody > tr > td:first-child{
        margin-bottom: .5em;
    }
    #page table.yama_hukidashi_l tbody > tr > td:first-child::after{
        border-top: 14px solid #c9977a;
    }

    #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: #b0262c;
    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: #b0262c;
    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);
    }
    
    header nav{
        width: unset;
        position:fixed;
        top:0;
        right:0;
        background:rgba(255,255,255,.8);
        margin-top: 0;
        z-index:9999;
    }
    header nav.menuopen{
        width: 100%;
    }
    
    header nav ul{
        display:none;
        flex-direction: column;
        width:100vw;
        height:100vh;
        margin: 0;
        background-color: transparent;
        border-radius: 0;
    }

    header nav ul li{
        font-weight: bold;
        margin-bottom: 1.5em;
    }



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

    #main_wrap #main iframe{
        height: 230px;
    }

    #main #sec li {
    display: inline-block;
    margin: 2.5em;
    }
    #main #sec li span{
        display: block;
        background-size: contain;
        margin-bottom: 2em;
    }
    #page #arrow{
        flex-direction: column;
    }
    #page p#next{
        position: absolute;
        right: 0;
        top: 3em;
    }



}