/*
Theme Name: ss_yamato
Description:takano ssyamato
Author: takano
Version: 1.0
*/
@charset "utf-8";
body{
	margin: 0;
	padding: 0;
	font-weight: 500;
	font-size: 18px;
	background-image: url("images/body_bg.jpg");
	background-repeat: repeat-y;
	background-size:contain;
	background-position: top;
	color: #08322c;
	font-family: 'Noto Serif JP', serif;
}

html{
	scroll-behavior: smooth;
}
.pc{display: block;}
.sp{display: none;}
.tablet{ display: none; }

h2,h3,h4,h5,h6{
	margin: 0;
	padding: 0;
	line-height: 180%;
}
p{
	line-height: 180%;
	margin: 0;
	padding: 0;
}
img{
	image-rendering: -webkit-optimize-contrast;
	vertical-align: bottom;
}
.lf{
	text-align: left;
}
.rt{
	text-align: right;
}
.cen{
	text-align: center;
}
.shadow{
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

/* タブ */
.content {
    display: none;
}
.content.show {
    display: block;
	padding:30px;
	box-sizing: border-box;
	background-color: #fff;
}
.tab-container{
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
	margin: 20px 0 0 0;
	padding: 0;
	column-gap: 1.5%;
	border-bottom: 5px solid #08322c;
	color: #fff;
	font-size: 1.2em;
}
.tab{
	cursor: pointer;
	background-color: #ccc;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
	padding:30px 10px 25px 10px;
	border-radius: 0 20px 0 0;
}
.active{
	background-color: #08322c;
	color: #fff;
}


/* header */
.header {
	width: 100%;
	height: 100px;
	margin: 0 auto;
	padding: 0 15px;
	overflow:visible;
    position:fixed;
    top: 0;
	z-index:555;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	transition: .3s;
}
h1{
	width: 25%;
	max-width: 280px;
	height: 100px;
	margin: 0;
	padding: 20px;
	box-sizing: border-box;
	background-color: #fffff4;
	border-radius: 0 0 30px 30px;
	display: flex;
	justify-content: center;
	align-items: center;
}
h1 a{
	text-decoration: none;
}
h1 img{
	width: 100%;
	height: auto;
}
/* PCヘッダーメニュー */
.header .hdmenu{
	flex: 1;
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	transition: 0.4s;
	padding: 15px 98px 0 0;
	box-sizing: border-box;
	margin: 0;
}
.header .hdmenu a:hover{
	transition: 0.4s;
	opacity: 0.5;
}
.header .hdmenu ul{
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	padding: 0 25px;
	margin: 0;
	background-color: #08322c;
	column-gap: 25px;
	box-sizing: border-box;
}
.header .hdmenu ul li{
	list-style: none;
	margin: 0;
	padding: 15px 0;
	box-sizing: border-box;
}
.header .hdmenu ul li a{
	text-decoration: none;
	padding:0;
	color: #fff;
}
.home{
	background-color: #08322c;
	padding: 15px 0;
	box-sizing: border-box;
}
.home a{
	text-decoration: none;
	padding: 0 0 0 30px;
	color: #fff;
}
header{
	pointer-events: none;
}
.header a,.menu-btn{
	pointer-events: auto;
}
	
/* メニューボタン */
.menu-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    display: flex;
    height: 56px;
    width: 56px;
    justify-content: center;
    align-items: center;
    z-index: 200;
    background:rgba(8,50,44,100);
	box-sizing: border-box;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 4px;
    width: 35px;
    border-radius: 4px;
    background-color: #fff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 10px;
}
.menu-btn span:after {
    top: 10px;
}
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check {
    display: none;
}


/* メニュー展開 */
.m_bace{
	max-width: 500px;
	margin: 0 auto;
    padding: 50px 0 0 0;
	box-sizing: border-box;
}
.m_bace ul {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
	margin: 0;
	padding: 0;
	border-top: solid 2px #5f4b51;
}
.m_bace ul li {
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: dotted 1px #5f4b51;
}
.m_bace ul li a {
    display: block;
    width: 100%;
    font-size: 1.0em;
    box-sizing: border-box;
    color:#5f4b51;
    text-decoration: none;
    padding: 12px 2em 12px 8px;
    position: relative;
	font-weight: bold;
}
.m_bace li a::after{
    font-family: "Font Awesome 7 Free";
	font-weight: 900;
	content: "\f061";
	color: #999;
    position: absolute;
    right: 8px;
    top: 50%;
	transform: translateY(-50%);
}
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 150;
    background:rgba(255,255,255,0.9);
    transition: all 0.4s;/*アニメーション設定*/
	backdrop-filter: blur(10px);
	pointer-events: auto;/*下の要素をクリック不可に*/
}
#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}
.menu_tel{
	box-sizing: border-box;
	color: #fff;
	width: 260px;
	margin: 35px auto 0 auto;
	text-align: center;
}
.menu_tel a{
	background-color: #786535;
	line-height: 45px;
	padding:5px 10px;
	text-decoration: none;
	color: #fff;
	display: block;
	box-sizing: border-box;
	font-weight: bold;
	transition: 0.5s;
	border-radius: 0 20px 0 20px;
}
.menu_tel a:hover{
	opacity: 0.5;
	transition: 0.5s;
}

/* slide */
.slidebace {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: relative;
	margin: 0;
	padding:0;
}

.slidebace img{
	width: 100%;
  height: 100vh;
	object-fit: cover;
}
.slidebace .path{
	height: auto;
	position:absolute;
	top:52%;
	left: 50%;
	transform: translate(-50%, -52%);
	z-index: 100;
	writing-mode: vertical-rl;
	background-color: #fffff4;
	border-radius:0 30px 0 30px;
	padding: 30px 25px 15px 20px;
	box-sizing: border-box;
	font-size: 3.0vh;
	line-height: 150%;
}


/* scroll */
#scl01,#scl02,#scl03,#scl04,#scl05{
scroll-margin-top: 130px;
}

/* page */
.conbace_top{
	margin: 0 0 0 0;
	padding:80px 0 0 0;
}
.conbace_page{
	margin: 120px 0 0 0;
	padding:0 0 0 0;
}
.pagebace{
	max-width: 1230px;
	margin: 0 auto;
	padding:0 15px;
	box-sizing: border-box;
}

/* page用カスタム */
.pagebace ul{
	margin: 5px 0 5px 0;
	padding: 0 0 0 30px;
}
.pagebace ul li{
	padding: 0;
	margin: 0;
	line-height: 180%;
}
.pagebace ol{
	margin: 5px 0 5px 0;
	padding: 0 0 0 25px;
}
.pagebace ol li{
	padding: 0 0 0 5px;
	margin: 0;
	line-height: 180%;
}

/* post */
.pdate{
	margin: 0;
	padding: 50px 15px 10px 15px;
	font-weight: bold;
}
h3.ptit{
	width: 100%;
	margin:0;
	padding: 15px 25px;
	box-sizing: border-box;
	font-size: 1.4em;
	border: 1px solid #08322c;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 0 25px 0 0;
}
.postbace{
	min-height: 350px;
	border-right: 1px solid #08322c;
	border-bottom: 1px solid #08322c;
	border-left: 1px solid #08322c;
	padding: 25px;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 0 0 0 25px;
}
.postbace h2{
	font-size: 1.8em;
	margin: 0;
	padding: 0;
}
.postbace h3{
	font-size: 1.6em;
	margin: 0;
	padding: 0;
}
.postbace h4{
	font-size: 1.4em;
	margin: 0;
	padding: 0;
}
.postbace h5{
	font-size: 1.2em;
	margin: 0;
	padding: 0;
}
.postbace h6{
	font-size: 1.0em;
	margin: 0;
	padding: 0;
}


/* table */
.tbl_box {
	border-spacing:0;
	border-collapse:collapse;
	border: solid 1px #08322c;
	width: 100%;
	margin:0;
}
.tbl_box th {
	padding:15px;
	background-color: #efefef;
	border-right: solid 1px #08322c;
	border-bottom: solid 1px #08322c;
	color: #08322c;
	vertical-align: top;
	box-sizing: border-box;
	line-height: 180%;
}
.tbl_box td {
	color: #333;
	padding:15px;
	border-bottom: solid 1px #08322c;
	background-color: #fff;
	vertical-align: top;
	line-height: 180%;
}
.tbl_box p{
	padding: 0;
}
.tbl_box td.ryoukin{
	background-color: #08322c;
	color: #fff;
	font-weight: bold;
}

/* table2 */
.tbl_box2 {
	border-spacing:0;
	border-collapse:collapse;
	border-top: solid 2px #08322c;
	border-bottom: solid 2px #08322c;
	border-right:none;
	border-left:none;
	width: 100%;
	margin:0;
}
.tbl_box2 th {
	padding:15px;
	background-color: #fbe7dc;
	border-right:none;
	border-left:none;
	border-bottom: solid 1px #08322c;
	color: #08322c;
	box-sizing: border-box;
	text-align: left;
	width: 75%;
}
.tbl_box2 td {
	color: #333;
	padding:15px;
	border-bottom: solid 1px #08322c;
	background-color: #fff;
	line-height: 180%;
}
.tbl_box2 td.ryoukin{
	text-align: right;
}
.tbl_box2 th span{
	font-weight: normal;
	font-size: 0.8em;
	color: #555;
}


/* アコーディオン */
.toggle {
display: none;
}
.option {
position: relative;
}
.ac_title,
.ac_content {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transform: translateZ(0);
transition: all 0.3s;
}
.ac_title {
	padding:20px 18px 20px 75px;
	line-height: 180%;
	margin: 20px 0 0 0;
	display: block;
	cursor: pointer;
	background-color: #786535;
	color: #fff;
}
.ac_title .twp{
	display: flex;
	align-items: flex-start;
	column-gap: 10px;
	color: #fff;
}
.ac_title::before {
 content:"";
position: absolute;
left: 20px;
top: 50%;
transition: all 0.3s;
font-weight: bold;
width: 41px;
  height: 41px;
  background: url("images/faq.png") no-repeat center / contain;
transform: translateY(-50%);
}
.ac_content {
margin-top: 10px;
max-height: 0;
overflow: hidden;
}
.toggle:checked + .ac_title + .ac_content {
max-height: 3000px;
transition: all 1.5s;
}
.toggle:checked + .ac_title::before {
transform: rotate(180deg);
transform: translateY(-50%) rotateZ(90deg);
}
.ans_tx{
	background-color: #efefef;
	padding: 25px;
	margin: 0 15px;
	display: flex;
	align-items: flex-start;
	column-gap: 10px;
	color: #4f4841;
}
.qa-num {
  white-space: nowrap;
  line-height: 180%;
}
.qa-text {
  flex: 1;
}
.qa-text p{
  line-height: 180%;
	margin: 0;
	padding: 0;
}
.qa-text h4{
	margin: 10px 0 0 0;
	padding: 0;
}
.qa-text ul{
	margin: 0 0 0 40px;
	padding: 0;
	line-height: 150%;
}
.qa_link{
	display: inline-block;
	background-color: #fff;
	border-radius: 10px;
	margin-top: 15px;
	position: relative;
	color: #333;
}
.qa_link a{
	display: block;
	font-weight: bold;
	padding: 15px 15px 15px 45px;
	text-decoration: none;
	color: #333;
	border-radius: 10px;
	border:1px solid #ccc;
	box-sizing: border-box;
	transition: 0.4s;
}
.qa_link a::before{
	font-family: "Font Awesome 7 Free";
	font-weight: 400;
	content: "\f1c1";
	color: #aaa;
	position: absolute;
	left: 15px;
	top: 52%;
	transform: translateY(-52%);
	font-size: 1.2em;
}
.qa_link a:hover{
	opacity: 0.5;
	transition: 0.4s;
}

/* news */
.fr_news{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: flex-start;
	margin: 0 5%;
	padding: 0;
	column-gap: 5%;
}
.fr_news h3{
	writing-mode: vertical-rl;
	margin: 0;
	background-color: #08322c;
	color: #fff;
	font-size: 1.8em;
	padding: 80px 30px 80px 25px;
	line-height: 100%;
	letter-spacing: 5px;
}
.fr_news h3 span{
	font-size: 0.6em;
	font-weight: normal;
	margin-top: 3px;
}
ul.newsbox{
	flex: 1;
	padding:100px 0 30px 0;
	margin: 0;
	box-sizing: border-box;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	column-gap: 6%;
	row-gap:65px; 
}
ul.newsbox li{
	width: 20.5%;
	list-style: none;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	transition: 0.5s;
}
ul.newsbox li .imgbox{
	border-radius: 0 30px 0 30px;
	margin: 5px 0 10px 0;
	background-color: #fff;
}
ul.newsbox li img{
	width: 100%;
	height:15.4vw;
	object-fit: cover;
	border: 1px solid #ccc;
	border-radius: 0 30px 0 30px;
}
ul.newsbox li p{
	padding:0 5px;
	line-height: 140%;
}
ul.newsbox li a{
	text-decoration: none;
	color: #08322c;
}
ul.newsbox li a:hover{
	opacity: 0.3;
	transition: 0.5s;
}


/* 戻るボタン */
.rt_link{
	width: 250px;
	margin: 100px auto 0 auto;
	text-align: center;
	background-color: #fff;
}
.rt_link a{
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	line-height: 65px;
	padding:0;
	display: block;
	transition: all 0.8s;
	background-color: #584a27;
}
.rt_link a:hover{
	opacity: 0.3;
}


/* single */
.single_info{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	margin: 50px 0 0 0;
}
.single_info .s_date{
	margin: 0 15px 0 0;
}
.single_wrapper{
	width: 100%;
	min-height: 300px;
	padding: 0 10px;
	box-sizing: border-box;
	transition: 0.4s;
}
.single_wrapper p{
	padding: 0;
	margin: 0;
}
.single_wrapper a:hover{
	opacity: 0.5;
	transition: 0.4s;
}

/* pagenation */
.pagination{
   margin:40px 0 0 0;
}
.nav-links{
   display:flex;
}
.pagination .page-numbers{
   display:inline-block;
   margin-right:10px;
   padding:8px 13px;
   color:#333;
   border-radius:5px;
   background:#fff;
	border: 1px solid #ccc;
}
.pagination .current{
   padding:8px 13px;
   background:#ccc;
   color:#fff;
	border: 1px solid #ccc;
}
.pagination .prev,
.pagination .next{
   background:transparent;
   box-shadow:none;
	background:#fff;
   color:#333;
}
.pagination .dots{
   background:transparent;
   box-shadow:none;
}
.pagination a{
	text-decoration: none;
}


/* flexbox */
.flb{
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}
.flb li{
	list-style: none;
	padding: 0;
}
.fstart{
	justify-content: flex-start;
}
.fcenter{
	justify-content: center;
}
.fbetween{
	justify-content:space-between;
}
.alc{
	align-items: center;
}

/* fade animation */
.fade {
  animation: fadeIn 1.5s forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}



/* footer */
footer{
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	box-sizing: border-box;
	column-gap: 20px;
}
.caution{
	width: 100%;
	background-color: rgba(255, 255, 255, 0.5);
	border-top:1px solid #000;
	border-bottom:1px solid #000;
	padding: 45px 0;
	margin: 120px 0 0 0;
	box-sizing: border-box;
}
.caution div{
	position: relative;
	padding: 0 15px 0 80px;
}
.caution div::before{
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	content: "\f06a";
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 3.0em;
	color: #786535;
}


.ft_con{
	width: 100%;
	max-width: 1250px;
	margin: 0 auto;
	padding: 35px 25px;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 25px;
}
.ft_con .ft_info{
	flex: 1;
}
.ft_con .ft_info h6{
	font-size: 2.0em;
	margin: 0 0 20px 0;
	padding: 0;
	max-width: 320px;
}
.ft_con .ft_info h6 img{
	width: 100%;
	height: auto;
}
.adtxt{
	max-width: 320px;
	padding: 10px 20px;
	box-sizing: border-box;
	background-color: #fff;
	border:5px double #0e2d52;
	border-radius:0 30px;
}
.adtxt p{
	color: #0e2d52;
}
.adtxt a{
	text-decoration: none;
}

.ft_con .ft_sitemap{
	margin: 0;
	padding:0;
}
.ft_con .ft_sitemap ul li{
	line-height: 180%;
	padding: 3px 0;
}
.ft_con .ft_sitemap ul li a{
	text-decoration: none;
	color: #08322c;
}


ul.ft_bannerbox{
	width: 100%;
	background-image: url("images/ft_banner_bg.jpg");
	background-size: contain;
	margin: 0;
	padding:45px 25px;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
ul.ft_bannerbox li{
	width: 15%;
	list-style: none;
	background-color: #fff;
	padding:0;
	box-sizing: border-box;
	transition: 0.5s;
}
ul.ft_bannerbox li img{
	width: 100%;
	height: auto;
}
ul.ft_bannerbox li a:hover{
	opacity: 0.3;
	transition: 0.5s;
}

.copyright{
	text-align: center;
	color: #fff;
	width: 100%;
	margin:0;
	padding: 25px 0;
	font-size: 0.8em;
	background-color: #08322c;
}


/* fade */
.view{
opacity : 0;
transform : translate(0, 70px);
transition : all 500ms;
}
.view.scrollin{
opacity : 1;
transform : translate(0, 0);
}

/* contactform7 */
.wpcf7
{
 	padding: 0;
	width: 100%;
	box-sizing: border-box;
}
.wpcf7 p{
	margin: 0;
	padding: 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea
{
    background-color: #fff;
	border: 1px solid #786535;
    color: #000;
    width: 100%;
	line-height: 180%;
	padding: 10px;
	margin: 0;
	box-sizing: border-box;
	font-size:1.0em;
	vertical-align:bottom;
}
.wpcf7 textarea
{
	min-height: 250px;
}
.wpcf7 input::placeholder {
  opacity: 0.8;
}

.wpcf7 input[type="submit"]{
	width: 100%;
	box-sizing: border-box;
	background-color: #08322c;
	border: none;
	line-height: 65px;
	font-size: 1.2em;
	margin: 10px 0;
	padding: 0 25px;
	color: #fff;
	font-weight: bold;
}
.cbox{
	text-align: center;
	margin-top: 50px;
}
.sbmt{
	width: 280px;
	margin: 50px auto 0 auto;
}
.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
    -ms-transform: scale(1.5);
    transform: scale(1.5);
    margin-right: 10px;
}


/** pagetop **/
#page_top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
	transition: 0.4s;
	z-index: 9999;
}
#page_top .icon {
  font-size: 2.4em;
  line-height: 1;
	margin-top: -10px;
}
#page_top .text {
  line-height: 1;
	margin-top: -10px;
}
/* ホバー時 */
#page_top:hover {
	opacity: 0.5;
	transition: 0.4s;
}

/** page用カスタム **/
/** TOPページ **/
.frontpage_con{
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
	box-sizing: border-box;
	margin: 0;
	padding: 120px 0 0 0;
}
.frontpage_con img{
	width: 100%;
	height: auto;
	border-radius: 0 50px 0 50px;
}
.frontpage_con .fr_imgbox01{
	order: 1;
	margin: 0;
	width: 50%;
	max-width: 986px;
	padding: 0 0 0 5%;
	box-sizing: border-box;
}
.frontpage_con .fr_imgbox02{
	order: 3;
	margin: 0;
	width: 50%;
	max-width: 986px;
	padding: 0 5% 0 0;
	box-sizing: border-box;
}
.frontpage_con .fr_copy{
	flex: 1;
	order: 2;
	margin: 0;
	padding: 0 3%;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
}
.vrt_txt{
	writing-mode: vertical-rl;
}
.vrt_txt h3{
	margin: 0 0 0 15px;
	font-size:1.6em;
	padding: 0;
	line-height: 130%;
}
ul.fr_bt{
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	column-gap: 15px;
	margin: 50px 0 0 0;
	padding: 0;
	grid-row-gap: 15px;
}
ul.fr_bt li{
	list-style: none;
	background-color: #fff;
	color: #fff;
	min-width: 250px;
	margin: 0;
	padding: 0;
	text-align: center;
}
ul.fr_bt li a{
	display:block;
	line-height: 60px;
	color: #fff;
	text-decoration: none;
	background-color: #786535;
	transition: 0.5s;
}
ul.fr_bt li a:hover{
	opacity: 0.5;
	transition: 0.5s;
}

.pagetitle{
	background-color: #888;
	height: 300px;
	position: relative;
}
.pagetitle img{
	display: block;
    height: 300px;
    object-fit: cover;
    width: 100%;
	filter: brightness(80%);
}
.pagetitle h2{
	width: 100%;
	padding:0 15px;
	box-sizing: border-box;
	font-size: 2.2em;
	color: #fff;
	position: absolute;
	bottom: 25px;
	text-align: center;
	z-index: 300;
	text-shadow: 0px 0px 5px rgba(55, 55, 55, 0.8);
}

h3.ctit{
	margin:0 0 15px 0;
	font-size: 1.8em;
	line-height: 120%;
	position: relative;
	padding-left: 40px;
}
h3.ctit::before{
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	content: "\f13d";
	position: absolute;
	left: 0px;
	top: 0%;
	transform: translateY(-0%);	
}
ul.pgnav{
	margin: 50px 0 0 0;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	column-gap: 1%;
	grid-row-gap: 15px;
	text-align: center;
}
ul.pgnav li{
	list-style: none;
	width: 24%;
	box-sizing: border-box;
	background-color: #fff;
	border-radius: 0 20px 0 20px;
	transition: 0.5s;
}
ul.pgnav li a{
	display: block;
	background-color: #786535;
	color: #fff;
	text-decoration: none;
	margin: 0;
	padding: 15px;
	line-height: 180%;
	border-radius: 0 20px 0 20px;
}
ul.pgnav li a:hover{
	opacity: 0.5;
	transition: 0.5s;
}

.access{
	width: 100%;
	margin: 25px 0 0 0;
	padding: 0;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	column-gap: 10px;
}
.access ul{
	flex: 1;
	padding: 10px 0 10px 30px;
}
.access h4{
	writing-mode: vertical-rl;
	background-color: #786535;
	padding: 15px;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;	
}
ul.clm{
	width: 100%;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	column-gap: 2%;
	grid-row-gap: 25px;
	padding:0;
	margin:0;
}
ul.clm li.c2{
	list-style: none;
	width: 48%;
	margin: 0;
	padding: 0;
}
ul.clm li.c3{
	list-style: none;
	width: 31%;
	margin: 0;
	padding: 0;
}
ul.clm img{
	width: 100%;
	height: auto;
	border-radius: 0 30px 0 30px;
}
p.note{
	padding: 0 0 0 1.3em;
	text-indent: -1.3em;
}

/** メールフォーム用 **/
h3.ctt{
	font-size: 1.6em;
	margin: 0;
	padding: 0;
}
.ct_tel{
	width: 100%;
	text-align: center;
	font-size: 1.6em;
	background-color: #08322c;
	color: #fff;
	margin: 15px 0 0 0;
	padding: 25px;
	box-sizing: border-box;
}
.contact{
	margin: 15px 0 0 0;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	column-gap: 2%;
	grid-row-gap: 10px;
}
.contact .ct_tit{
	background-color: #786535;
	color: #fff;
	width: 20%;
	padding: 10px;
	box-sizing: border-box;
}
.contact .ct_form{
	flex: 1 78%;
}

.pdf_link{
	width: 250px;
	margin: 30px 0 0 0;
	text-align: center;
	background-color: #fff;
}
.pdf_link a{
	color: #fff;
	text-decoration: none;
	line-height: 65px;
	padding:0;
	display: block;
	transition: all 0.8s;
	background-color: #584a27;
}
.pdf_link a:hover{
	opacity: 0.3;
}

/* 404 */
h2.p404{
	padding: 180px 0 15px 0;
	box-sizing: border-box;
}

/* about */
p.map{
	margin-top: 5px;
	display: inline-block;
}
p.map a{
	background-color: #786535;
	border-radius: 25px;
	display: block;
	box-sizing: border-box;
	padding: 5px 30px;
	text-decoration: none;
	color: #fff;
	transition: 0.5s;
}
p.map a:hover{
	opacity: 0.5;
	transition: 0.5s;
}


/** タブレット **/
@media screen and (max-width: 1024px) {
.tablet{
	display: block;
}
/* PCヘッダーメニュー */
.header .hdmenu{
	display: none;
}	
/* メニュー展開 */
.m_bace{
	max-width: 300px;
}
/** page用カスタム **/
/** TOPページ **/
.frontpage_con{
	padding: 80px 10px 0 10px;
	flex-wrap: wrap;
}
.frontpage_con img{
	border-radius: 0 30px 0 30px;
}
.frontpage_con .fr_imgbox01{
	order: 1;
	width: 100%;
	margin-bottom: 30px;
	padding: 0;
}
.frontpage_con .fr_imgbox02{
	order: 1;
	width: 100%;
	margin-bottom: 30px;
	padding: 0;
}
.frontpage_con .fr_copy{
	order: 2;
	padding: 0 10px;
}
.vrt_txt{
	writing-mode: vertical-rl;
}
.vrt_txt h3{
	margin: 0 0 0 10px;
	font-size:1.4em;
}
/* news */
.fr_news{
	margin: 0 10px;
	column-gap: 5%;
}
.fr_news h3{
	font-size: 1.4em;
}
ul.newsbox{
	column-gap: 6%;
}
ul.newsbox li{
	width: 47%;
}
ul.newsbox li img{
	height:35vw;
}
	
	
ul.pgnav{
	justify-content: flex-start;
	padding: 0 1%;
	column-gap: 2%;
}	
ul.pgnav li{
	width: 32%;
	text-align: left;
}
}

/** モバイル **/
@media screen and (max-width: 768px) {
body{
	font-size: 16px;
}
/* header */
h1{
	line-height: 0;
	width: 40%;
}
.pc{display: none;}
.sp{display: block;}
.scroll{
	display: none;
}
/* news */
.fr_news h3{
	writing-mode:horizontal-tb;
	font-size: 1.8em;
	padding: 20px 20px 15px 20px;
	margin-top: 30px;
	width: 100%;
	box-sizing: border-box;
}
.fr_news h3 span{
	margin-top: 0px;
}
ul.newsbox{
	padding:30px 0 30px 0;
}
ul.newsbox li img{
	height:40vw;
}
	
.frontpage_con .fr_copy{
	width: 100%;
	padding: 0 15px;
	box-sizing: border-box;
	justify-content: flex-start;
}
.vrt_txt{
	writing-mode:horizontal-tb;
}
.vrt_txt h3{
	margin: 0 0 15px 0;
}
	
/* タブ */
.content.show {
	padding:15px;
}
.tab-container{
	font-size: 1.0em;
}
.tab{
	padding:20px 10px 15px 10px;
}
.ans_tx{
	padding: 15px;
	margin: 0 0;
}

/** メールフォーム用 **/
h3.ctt{
	font-size: 1.2em;
}
.ct_tel{
	font-size: 1.2em;
}
.contact .ct_tit{
	width: 100%;
}
.contact .ct_form{
	flex: 1 100%;
}
	
/* footer */
.ft_con .ft_info h6{
	margin: 0 auto 25px auto;
}
.adtxt{
	max-width: 320px;
	margin: 0 auto;
}
	
.ft_con .ft_sitemap{
	display: none;
}
ul.ft_bannerbox {
	grid-row-gap: 15px;
}
ul.ft_bannerbox li{
	width: 47%;
}
	
ul.pgnav li{
	width: 49%;
}
	
ul.clm li.c2{
	width: 100%;
}
ul.clm li.c3{
	width: 100%;
}
	
}