﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');

:root{
    --title1: 3rem;
    --mincho:"Zen Old Mincho", serif;
    --color5: #fcfcfa;
}
.hgs,.liana,.overlay .overlay-nav .en{font-family: "Zen Old Mincho", serif!important;}

/* タブレット */
@media screen and (max-width: 768px){
    :root{
        --title1: 2.2rem;
    }
}

/* スマホ */
@media screen and (max-width: 667px){
    :root{
        --title1: 1.5rem;
    }
}

/*■■ main_img ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

#main_img{
    background-color: var(--color5);
    height: 56vw;
    background: url(../img/main_bg.png);
    background-size: cover;
    background-position: center bottom;
}
#main_img .catch{}
#main_img .main_deco1{
    width: 14%;
    top: 14%;
    left: 10%;
}
#main_img .main_deco2{
    width: 20%;
    top: 53%;
    left: 2%;
}
#main_img .main_deco3{
    width: 23%;
    right: 3%;
    top: 53%;
}



/* タブレット */
@media screen and (max-width: 768px){
    #main_img{height: 70vw;}
}

/* スマホ */
@media screen and (max-width: 667px){
    #main_img{height: 177vw;}
    #main_img .main_deco1{
        width: 35%;
        top: 20%;
        left: 36%;
    }
    #main_img .main_deco2{
        width: 40%;
        top: 63%;
        left: 2%;
    }
    #main_img .main_deco3{
        width: 50%;
        right: 3%;
        top: 65%;
    }
    
}

/*■■ 下層ページへのボタン ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#top_btn{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 100px;
}
#top_btn .btn{
    width: 30%;
    margin: 0 auto 30px;
    /* box-shadow: 0px 5px 20px rgb(0 90 150 / 40%); */
    /* border-radius: 61px; */
    transition: all 0.5s;
}
#top_btn .btn:hover{
    transform: scale(1.03);;
    /* box-shadow: 0px 8px 30px rgb(0 90 150 / 40%); */
    filter: brightness(1.1);
}
/* スマホ */
@media screen and (max-width: 667px){
    #top_btn .btn{width: 80%;}
}

/*■■ top ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.more .more_item{
    border-radius: 5px;
    color: #fff;
}
.top_bg{
    background: url(../img/bg.jpg);
    background-size: cover;
    background-position: center bottom;
}

#intro .intro_right{
    width: 80%;
    margin: 0 auto;
}
#intro_wrap{padding: 50px 10% 50px;}


.intro_title{
    font-size: calc(var(--title1) - 1.0rem);
    color: var(--color1);
    font-family: var( --mincho);
    font-weight: 500;
}


#contents_wrap{padding: 150px 10% 0;}

#contents .con_title,#contents_list .con_title{
    font-size: var(--title1);
    color: var(--color1);
    font-family: var( --mincho);
    font-weight: 500;
}

#top_cms .cms_title p{
    color: var(--color3);
}

#contents .con_title{
    margin-bottom: 20px;
}

#contents_list .txt_wrap{padding: 100px 10% 0;}


#top_cms_wrap{
    padding: 0 5%;
}


.more .more_item:hover{border-color: var(--color1);}
.more .more_item:hover .icon-right.after:after{color: var(--color1);}


/* タブレット */
@media screen and (max-width: 768px){
    #intro_wrap{padding: 150px 0% 50px;}
    #contents_wrap{padding: 50px 5%;}
    #contents_list .txt_wrap{padding: 100px 0% 0;}
    #contents_wrap .con_box.box2{margin-bottom:50px;}
}

/* スマホ */
@media screen and (max-width: 667px){
    #intro_wrap{padding: 50px 0 50px;}
    .intro_title{
        font-size: calc(var(--title1) - .2rem);
        letter-spacing: 0em;
    }
    #intro .intro_right{width: 90%;}
    #contents_list .txt_wrap{
        padding: 30px 5% 0;
    }
    #contents_wrap{padding: 50px 5%;}
    #contents .con_title{
        font-size: calc(var(--title1) + 0.3rem);
        padding: 0 0 15px;
        display: block;
    }
    .con_box_item{
        margin-top: -40px;
    }
}


/*■■ top, all ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

header.scr_header{
    background-color: rgba(255,255,255,0);
    border: none;
}
#pc_nav li a:hover,header.scr_header #pc_nav li a:hover{
    transform: translateY( -3px);
    color: var(--color3);
}
#pc_nav li,header.scr_header #pc_nav li{
    padding: 0px 5px;
}
#pc_nav li a,header.scr_header #pc_nav li a{
    transition: all 0.8s;
    border-radius: 50px;
    padding: 2px 10px;
    transition: all 0.8s;
    color: var(--color1);
    font-family: var( --mincho);
    font-weight: 500;
}
header.scr_header #pc_nav li a{background-color: #fff;}

main .txt_white{
    color: var(--black);
}
.blur{background: rgba(255,255,255,0.7);}

#pc_nav li a{color: var(--color1);}
.menu-trigger-bar{background-color: var(--color1);}

#footer_info .tel_bt a,#footer_info .contact_bt a{
    background-color:var(--color1);
    border-radius: 5px;
}
#footer_info .tel_bt a:hover,#footer_info .contact_bt a:hover{
    background-color:#fff;
    color:var(--color1);
}

/* タブレット */
@media screen and (max-width: 768px){
    #logo a img{max-width: 200px;}
    .info_txt{padding: 50px 5%;}
}

/* スマホ */
@media screen and (max-width: 667px){
    .overlay .overlay-nav .top .en{
        font-family: var( --mincho);
        font-weight: 500;
        font-size: 22px;
    }
}
/*■■ 下層ページ全体 ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

.cate_title {
    font-family: var( --mincho);
    font-weight: 500;
    color: var(--color1);
}

#page_title_img::before{
        background: url(../img/bg.jpg);
    background-size: cover;
    background-position-y: bottom;
    background-position-x: center;
}
#page_title .page_title_box{
    left: 50%;
    transform: translateX(-50%);
    top: -250px;
        width: 100vw;
    text-align: center;
}
#page_title .en:before,#page_title .jp{display: none;}

#page_title .en{
    font-size: var(--title1);
    color: var(--color1);
    font-family: var( --mincho);
    font-weight: 500;
    padding: 0;
    top: auto;
    left: auto;
}

#cms_3-a .box_title1{
    color: var(--color1);
}

.txt{
    background-color: var(--color4);
    padding: 15px 3%;
    border-radius: 30px;
}

/* タブレット */
@media screen and (max-width: 768px){
    #page_title .page_title_box{
        top: -260px;
    }
}

/* スマホ */
@media screen and (max-width: 667px){
    #page_title .en{
        display: block;
        width: 100vw;
        text-align: center;
    }
    #page_title .page_title_box{
        top: -150px;
    }
    .txt{text-align: center;}
}

/*■■ カテゴリリスト,サイトマップ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

.cate_list li a,#page10 li{
    color: #fff;
    border-radius: 5px;
    background-color: var(--color1);
}
.cate_list li a:hover,#page10 li:hover{
    background-color: var(--color3);
}


#page10 .con_box{
    padding: 5% 0px;
    max-width: 800px;
}

#page10 li{
    margin: 20px 10px;
    transition: all 0.3s;
}
#page10 li a{
    color: #fff;
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
#page10 li:hover{}
#page10 li a:hover{}

/* タブレット */
@media screen and (max-width: 768px){
    #page10 .con_box .left,#page10 .con_box .right{
        padding: 0;
    }
}

/* スマホ */
@media screen and (max-width: 667px){
    #page10 .con_box .left li{
        margin-bottom: 0px;
    }
}


/*■■ Before and After ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.BA_type2 .box_title1{
    width: 100%;
    text-align: center;
}

.BA_type2 .img_box{
    width: 100%!important;
    margin: 0 auto 0px;
}
.box_title1{}
.BA_type2 .box_img1_wrap, .BA_type2 .box_img2_wrap {
	width: 48%!important;
	margin: 0 auto 1%;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before {
	position: absolute;
	content: "Before";
	width: 121px;
	background-color: #4d5b57;
	color: #fff;
	text-align: center;
	display: block;
	left: 0;
	bottom: 0;
	margin: auto;
	z-index: 1;
	font-size: 14px;
	letter-spacing: 1px;
	padding: 4px 0px;
	box-sizing: border-box;
}
.BA_type2 .box_img2_wrap::before {
	content: "After";
	background-color: var(--color3);
}

.BA_type2 #cate3599 .box_img1_wrap::before, .BA_type2 #cate3599 .box_img2_wrap::before{
    display: none;
}
.BA_type2 #cate3599 .cate_box{
    margin: 1%;
    background-color: var(--color4);
    width: 48%!important;
    border-radius: 30px;
}

.BA_type2 #cate3599 .box_title1 span{
    margin-bottom:10px;
}
.BA_type2 #cate3599 .box_txt1 {
    padding-top: 10px;
}


/* タブレット */
@media screen and (max-width: 768px){
        .BA_type2 #cate3599 .cate_box{
        width: 100%!important;
        margin: 0 auto 30px;
        padding: 30px 5%;
    }
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){

.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{
	width: 76px;
	font-size: 13px;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{padding: 1px 0px;}
}

/*■■ flow ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{
    z-index: 0;
}
.flow_type3 .box_title1::before, .flow_type3 .box_title1::after{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none
}
.flow_type3 .box_title1::before {
	content: "0"counter(box);
	font-size: 86px;
	color: var(--color4);
	right: 0;
	top: -49px;
	z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color:var(--color2)
}
.top_cms_box .flow_type3{
    align-items: stretch
}
.top_cms_box .flow_type3 .cate_box{
    margin-top: 0px;
    width: 25%;
    box-sizing: border-box;
    padding: 0 2%;
}
/* タブレット */
@media screen and (max-width: 768px){
    .top_cms_box .flow_type3 .cate_box{
        width: 50%;
        margin-top: 40px;
    }
}

/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
    .flow_type3 .box_title1::before{
    	left: auto;
    	right: 0;
    	top: -50px
    }
    .flow_type3 .box_item {
        padding-top: 36px;
    }
    .top_cms_box .flow_type3 .cate_box{width: 100%;}
}

/*■■ top箇条書き ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/* contents_list anim */
#contents_list .fadein_up {
    opacity: 0;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
    transition: transform 1.5s ease,opacity 2s ease;
}
#contents_list .fadein_up.scrollin {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
#contents_list .fadein_up2 {
    opacity: 0;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
    transition: transform 2s ease,opacity 2s ease;
}
#contents_list .fadein_up2.scrollin {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
/* contents_list */
#contents_list .txt_wrap .con_box {
    width: calc(33% - 16px);
    margin: 10px 10px 50px;
    box-sizing: border-box;
}
#contents_list .txt_wrap .con_box:last-of-type {
    margin-right: 0;
}
#contents_list .fadeIn_box .con_box {
    opacity: 0;
}
#contents_list .con_img {
    border-radius: 30px;
}
#contents_list .con_title:before {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    position: absolute;
    bottom: -25px;
	left: 50%;
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%,0);
	background-color: #3e3e3e;
}
#contents_list .con_txt{}
@media screen and (max-width: 768px){
#contents_list .txt_wrap .con_box {
    width: calc(42% - 12px);
}
}
@media screen and (max-width: 667px){
#contents_list .txt_wrap .con_box {
    width: 90%;
    margin-right: 0;
    margin-bottom: -10px;
}
#contents_list .con_title h3:before {
    bottom: -15px;
}
}




/*■■ TOPアニメーション ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


#main_img{
	/*transform: translate(-50%, -54%) scale(1.05);*/
	transform: scale(1.05);
    filter: blur(20px);
	transition: transform 1.5s ease, opacity 2s;
	transition-property: opacity,transform,filter;
	opacity: 0;
}
#main_img.start{
    transform: scale(1);
    /*transform: translate(-50%, -50%) scale(1);*/
    opacity: 1;
    filter: blur(0px);
}




.main_deco1,.main_deco2,.main_deco3{
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;/* アニメーションを反転して繰り返す */
}

.main_deco1{
    animation-name:fuwafuwa1;
    animation-duration: 1.5s; /* アニメーション時間 */
}

@keyframes fuwafuwa1{
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(3px);
  }
}

.main_deco2{
    animation-name:fuwafuwa2;
    animation-duration: 1.3s; /* アニメーション時間 */
}

@keyframes fuwafuwa2{
  0% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0px);
  }
}

.main_deco3{
    animation-name:fuwafuwa3;
    animation-duration: 1.5s; /* アニメーション時間 */
}

@keyframes fuwafuwa3{
  0% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(-5px);
  }
}