﻿@import url('https://fonts.googleapis.com/css2?family=Sree+Krushnadevaraya&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@400;500&display=swap');

.font1,
.title_box p{
    font-family: 'Sree Krushnadevaraya', serif;
    line-height:1.5;
}
.font2,
.font_un{
    font-family: 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}

.linkStyle{
    color:#81a095;
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
    text-decoration:underline;
}

.bg_white_opa{
    background-color:rgba(255,255,255,0.5);
}



/*--all page---------------------------
-------------------------------------*/
#header{
    border-bottom:1px solid #fff;
}
#logo{
    max-width:400px;
}
.h_tel_btn{
    color:#333;
}
.h_box_mail a{
    background-color: #81a095;
    border:1px solid #81a095;
}
.button_container span{
    background:#333;
}
#footer_nav,
.s_footer_info_r{
    background-color: #e7e9e3;
}
#footer_nav li a:hover{
    opacity:0.7;
}
#logo2 img{
    max-width:500px;
}
.sns_title{
    line-height:40px;
}
.s_footer_copy{
    color:#333;
    padding-top:10px;
    padding-bottom:5px;
}
.s_footer_copy a{
    color:#333;
}
#gmap{
    display:none;
}
.sf_access .grid_6{
    width:100%!important;
    text-align: center;
}
.sf_access .footer_txt{
    text-align:center;
}
.sns_link li a{
    justify-content: center!important;
}


/*--top page---------------------------
-------------------------------------*/
/*main_img*/
.catch {
    bottom: 100px;
    left: 150px;
    width: 45vw;
    max-width: 900px;
}
.intro_right::before,
.con3_right::before{
    content: '';
    position: absolute;
    display: block;
    width: 115%;
    height: 90%;
    bottom: 0;
    background: rgba(255,255,255,0.5);
    z-index: 1;
}
.intro_right::before{
    right: 0;    
}
.con3_right::before{
    left:0;
}
.intro_right p,
.intro_right h2,
.con3_right p,
.con3_right h3{
    position:relative;
    z-index:2;
}
.intro_box .font1,
.con3_box .font1{
    font-size: 5rem;
    position: absolute;
    opacity: 0.6;
}
.intro_box .font1{
    top: -10px;    
    left: -5%;    
}
.con3_box .font1{
    top: -30px;
    right: -5%;    
}

#main_img .swiper-wrapper::before,
.c2_box_bg::before,
.contents_no{
    display:none;
}
.c2_box .con2_sub{
    font-size: 5rem;
    position: absolute;
    top: -150px;
    left: -50px;
    opacity: 0.5;
}
.c2_box .con2_sub2{
    font-size: 5rem;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.5;
}
.more_btn > span{
    background: rgba(255,255,255,0.5);
    border:1px solid #81a095;
    color:#81a095;
}
.fix_bnr{
    right:20px;
    bottom:20px;
    z-index:8;
}
.cms_3-a .cate_title span{
    margin-right:10px;
    font-size:1.5rem;
}
    
/*--under page---------------------------
-------------------------------------*/
.title_box p{
    font-size: 2.5rem;
    opacity: 0.5;
}
#cms_1-a .date::before{
    content:'';
    position:absolute;
    display:block;
    width:70px;
    height:1px;
    bottom:-10px;
    left:0;
    background-color:#777;
}
.topcms_news_type1 .box_wrap, #topcms_news_type1.box_wrap {
	align-items: stretch;
}
.topcms_news_type1 .cate_box a, #topcms_news_type1 .cate_box .box_item{
	flex-direction: column;
}
.topcms_news_type1 .cate_box, #topcms_news_type1 .cate_box{
	width: 30.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	box-shadow: 0 10px 20px rgb(0 0 0 / 0);
}
.topcms_news_type1 .cate_box, #topcms_news_type1 .cate_box .box_item{
	box-shadow: 0 10px 20px rgb(0 0 0 / 20%);
	background-color: #fff;
	padding: 0;
}
.topcms_news_type1 .cate_box:hover, #topcms_news_type1 .cate_box .box_item:hover {
	transform: translateY(-5px);
}
.topcms_news_type1 .cate_box .box_item, #topcms_news_type1 .cate_box .box_item{
	cursor: pointer;
}
.topcms_news_type1 .txt_height, #topcms_news_type1 .txt_height{
	height: 3em
}
.topcms_news_type1 .box_txt1:empty, #topcms_news_type1 .box_txt1:empty {
	display: block!important;
}
.topcms_news_type1 .box_img1, #topcms_news_type1 .box_item .box_img1{
	flex-grow: 0;
}
.topcms_news_type1 .txt_box, #topcms_news_type1 .txt_box{
	flex-grow: 1
}

/* topcms_news_type1 .modal */
html.modalset{overflow: hidden;}
.topcms_news_type1 .modal, #topcms_news_type1 .modal{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	line-height: 1.7;
}
.topcms_news_type1 .modal-wrap, #topcms_news_type1 .modal-wrap {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
	overflow: auto;
	padding: 20px;
	padding-top: 100px;
	padding-bottom: 50px;
}
.topcms_news_type1 .modal-bg, #topcms_news_type1 .modal-bg{
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
}
.topcms_news_type1 .modal-box, #topcms_news_type1 .modal-box {
	width: 90%;
	max-width: 900px;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	padding: 10px;
	padding-bottom: 23px;
	background-color: #fff;
	text-align: left;
	border-radius: 20px;
}
.topcms_news_type1 .modal-box .inner, #topcms_news_type1 .modal-box .inner{
	max-height: 100%!important;
	overflow: auto;
	-ms-overflow-style: none;
}
.topcms_news_type1 .modal-box .inner::-webkit-scrollbar, #topcms_news_type1 .modal-box .inner::-webkit-scrollbar {
	width: 2px;
	height: 10px;
}
.topcms_news_type1 .modal-box .inner::-webkit-scrollbar-track, #topcms_news_type1 .modal-box .inner::-webkit-scrollbar-track {
	border-radius: 5px;
	box-shadow: 0 0 4px #aaa inset;
}
.topcms_news_type1 .modal-box .inner::-webkit-scrollbar-thumb, #topcms_news_type1 .modal-box .inner::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background: #333;
}
.topcms_news_type1 .modal-box .modal-close, #topcms_news_type1 .modal-box .modal-close{
	cursor: pointer;
	position: absolute;
	top: 19px;
	right: 25px;
}
.topcms_news_type1 .modal-box .modal-close img, #topcms_news_type1 .modal-box .modal-close img {box-shadow: 0 2px 4px rgb(0 0 0 / 0%);}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type1 .cate_box, #topcms_news_type1 .cate_box {width: 46.33333%!important;}
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.topcms_news_type1 .cate_box, #topcms_news_type1 .cate_box {width: 100%!important;}
}
.s_footer_info_l::before{
    display:none;
}
#page8 .phone_txt h4{
    width:120px;
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#logo {
    max-width: 250px;
}
.catch{
    right:50px;
}
.intro_box .font1{
    top:0;
    left: 1%;
}
.c2_box .con2_sub{
    font-size: 4rem;
    top: -100px;
}
.c2_box .con2_sub2{
    font-size: 4rem;
    top: 10px;
}
.con3_box .font1 {
    font-size: 4rem;
    top: -10px;
    right: 2%;
}
.fix_bnr{
    right:35px;
}
footer{
    padding-bottom:50px;
}
#page_top{
    bottom:2%;
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.catch {
    top: 50px;
    right: 20px;
    width: 55vw;
}
.intro_box .font1,
.con3_box .font1,
.c2_box .con2_sub,
.c2_box .con2_sub2{
    font-size: 3.5rem;
}
.intro_box .font1{
    top: 20px;
}
.c2_box .con2_sub{
    left: -30px;
    top: -90px;
}
.c2_box_txt h2{
    letter-spacing: 1px;
}
.c2_box .con2_sub2 {
    left: -10px;
    top: -40px;
}
.con3_box .font1{
    top: 10px;
}
.sf_contact_tel p{
    letter-spacing:-1px;
}
.overlay{
    background:rgba(231,233,227,0.95)!important;
}
.button_container.active .top,
.button_container.active .bottom{
    background: #333;
}
.overlay .sns_link{
    padding-left: 20px;
}
.title_box p {
    font-size: 1.5rem;
}
.fix_bnr{
    bottom:10px;
}
footer{
    padding-bottom:30px;
}
}

/* ---------- IEの処理 ---------- */
@media all and (-ms-high-contrast: none){
#contact_tel a{
    padding-top:35px;
}
}


