﻿/* memo */
/*
t_style　font_15以下、font_2dw以下コメントアウトしています。
 */
 

/*■■ otoiawase ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

/* スマホ */
@media screen and (max-width: 667px){
    #contact_tel a{padding: 30px 0;}
}

/*■■ メインイメージ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#main_img{
    aspect-ratio: 9 / 4;
}
.main_pc img{
    top: -5vw;
}

.catch{
    position: absolute;
    height: 100%!important;
    object-fit: contain;
    width: 47.5%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 3;
}

.main_pc{display: block;}
.main_sp{display: none;}
/* 1920 */
@media screen and (max-width: 1420px){
    #main_img{aspect-ratio: 5 / 3;}
    .catch{width: 62%;}
}


/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){
    .main_pc{display: none;}
    .main_sp{display: block;}
    #main_img{aspect-ratio: auto;}
}



/*■■ top, all ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#header #logo h1{width: 90% !important;}
#top_contents1 .title,#top_contents1 .title h2{
    font-weight: bold;
    font-size: 2rem;
}
#top_contents1 .catch_txt .title h2{
    font-size: 2.5rem;
}
.top_about {
        font-size: 4rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
    margin: 0 auto 60px;
    line-height: 1.2;
    padding: 0 0 10px;
}
.top_about .small{
    font-size: 1.6rem;
}
#top_contents2 .img_box{width: 34% !important;}
#top_contents2 .con_box .con_img{
    aspect-ratio: 4 / 3;
    height: auto!important;
}
#top_contents2 .text{
    line-height: 1.4;
}

.inner .txt_white {color: var(--color1);}

/* タブレット */
@media screen and (max-width: 768px){
    #top_contents2 .img_box{width: 80% !important;}
}
/* スマホ */
@media screen and (max-width: 667px){
    .top_about .small{font-size: 1.4rem;letter-spacing: 0em;}
    #top_contents2 .img_box{width: 100% !important;}
    #logo h1.logo{max-width: 80px;}
    #top_contents1 .catch_txt .title h2{
        font-size: 2rem;
    }
}

/*■■ topcms ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

#cms_2-a .cate_box{
    background-color: var(--color4);
    padding: 50px 3%;
}
#cms_2-a .cate_box .box_txt1 {
    padding-bottom: 0;
}
#cms_2-a .cate_box .box_title1{
    padding-top: 0;
}


/*■■ topcms ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

.topcms_about_type1 {counter-reset: box 0;padding-top: 35px;}
.topcms_about_type1 .cate_box {
	width: 24%!important;
	padding: 55px 25px 25px;
	background-color: var(--color1);
	border-radius: 10px;
	box-sizing: border-box;
	margin: 0 auto 60px;
}
.topcms_about_type1 .number {
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 90px;
}
.topcms_about_type1 .number::before {
	counter-increment: box 1;
	content: "0"counter(box);
	font-size: 67px;
	line-height: 1;
	text-align: center;
	color: var(--color3);
	display: inline-block;
	position: absolute;
	right: 0;
	left: 0;
	top: -42px;
	margin: auto;
	z-index: 0;
}
/* .topcms_about_type1 .number::after {
    content: "";
    position: absolute;
    display: block;
    width: 73%;
    height: 2px;
    background: #ffbe51;
    left: 0;
    right: 0;
    margin: auto;
    top: 22px;
} */
.topcms_about_type1 .cate_box .box_title1{
    font-size: 1.7rem;line-height: 1.6;z-index: 1;
    color: #fff;
}
.topcms_about_type1 .cate_box .box_txt1{
    color: #fff;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
    .topcms_about_type1 .cate_box {
    	margin: 0 auto 80px;
    	width: 80%!important;
    }
    .topcms_about_type1 .cate_box:last-of-type {
    	margin-bottom: 0;
    }

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.topcms_about_type1 .cate_box {
	width: 90%!important;
	padding: 50px 25px 25px;
}
.topcms_about_type1 .number::before{
	font-size: 59px;
	top: -34px;
}
.topcms_about_type1 .number::after{
	width: 72%;
}
}
/*■■ リンクボタン ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#top_contact_box .tel_bt{
    background-color: var(--color1)!important;
}

#top_contact_box .con_bt{
    background-color: #06C755!important;
    border-color: #30ad05!important;
}
#top_contact_box .con_bt a,#top_contact_box .tel_bt a{
    color: #fff;
    padding-left: 0;
}
#top_contact_box .con_bt:hover{
    background-color: #1add6a!important;
}
#top_contact_box .tel_bt:hover{
    background-color: #138cdd!important;
}

.linkStyle{
	color: var(--color1);
	text-decoration: underline;
	transition: all 0.5s;
}

.linkStyle:hover{
	opacity: 0.7;
	text-decoration: none;
}

/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){}

/*--------------------------------------------
 モーダル 
----------------------------------------------*/
.modal_bt{
    cursor: pointer;
    margin-top: 30px;
    margin-bottom: 20px;
    background-color: var(--color1);
    color: #fff;
}
.modal_bt:hover{
    opacity: 0.7!important;
    background-color: var(--color3);
    color: #fff;
}


.modal_box{
    top: 0;
    left: 0;
    background-color: rgba(245,255,255,0.9);
    z-index: 101;
    overflow-y: scroll;
}
.modal_box .close{
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

/* タブレット */
@media screen and (max-width: 768px){
    .modal_bt{
        margin: 20px auto;
    }
    .modal_wrap .modal_item{
        padding-top: 130px;
    }
}

/* スマホ */
@media screen and (max-width: 667px){
    .modal_bt{}
}


/*■■ about us ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.flow_type3 .cate_img1{
    max-height: 450px !important;
}
.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate .cate_title{
    font-size: 2.4rem;
    line-height: 1.4;
}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{
    z-index: 0;
    color: var(--color1);
}
.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(--color2);
	opacity: 0.7;
	left: 0;
	top: -70px;
	z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}

.btn_container {
    width: 480px;
}

/* タブレット */
@media screen and (max-width: 768px){
    .flow_type3 .cate_img1{
        max-height: 300px!important;
    }
}

/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
    .flow_type3 .box_title1::before{
    	left: auto;
    	right: 0;
    	top: -50px
    }
    .flow_type3 .box_item {
        padding-top: 36px;
    }
    .flow_type3 .cate_img1{
        max-height: 300px!important;
    }
    .flow_type3 .cate .cate_title{
        letter-spacing: 0em;
        font-size: 1.8rem;
    }
    .flow_type3 .cate_txt2{    padding: 30px 3%;}
}
/*■■ ボタンアニメーション ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.fix_banner{
    animation-name:updownAnime2;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: reverse;
    animation-duration:2.5s; /* アニメーション時間 */
}

@keyframes updownAnime2{
  0% {transform: translateY(0);}
  60% {transform: translateY(0);}
  70% {transform: translateY(5px);}
  80% {transform: translateY(0px);}
  90% {transform: translateY(5px);}
  100% {transform: translateY(0px);}
}

/*■■  閉じるボタン付き追従バナー ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.fix_banner{
	max-width: 340px;
	position: fixed;
	bottom: 0;
	right: 90px;
	z-index: 10;
	transition: 0.5s;
}
.fix_banner .close_bt{
	position: absolute;
	bottom: 75px;
    right: 7px;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: 0.5s;
	background-color: #fff;
	border: solid 2px #06c755;
	z-index: 11;
	cursor: pointer;
}
.fix_banner .close_bt:hover{opacity: 0.7;}
.fix_banner .close_bt span{
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
}
.fix_banner .close_bt span:before,.fix_banner .close_bt span:after{
	content: "";
	display: block;
	background-color: var(--color1);
	height: 2px;
	width: 20px;
	position: absolute;
	top:50%;
	left: 50%;
}
.fix_banner .close_bt span:before{
	-ms-transform: translate(-50%,-50%) rotate(-45deg);
	-webkit-transform: translate(-50%,-50%) rotate(-45deg);
	transform: translate(-50%,-50%) rotate(-45deg);
}
.fix_banner .close_bt span:after{
	-ms-transform: translate(-50%,-50%) rotate(45deg);
	-webkit-transform: translate(-50%,-50%) rotate(45deg);
	transform: translate(-50%,-50%) rotate(45deg);
}
.fix_banner.close {opacity: 0;z-index: -1;
}
.fix_banner.close2{opacity: 0;z-index: -1;}

@media  screen and (max-width: 768px){
.fix_banner{max-width: 200px;}
.fix_banner .close_bt{bottom: 90px;right: 170px;}
}

@media  screen and (max-width: 667px){
.fix_banner{
    max-width: 210px;
        right: 40px;
}
.fix_banner .close_bt{
	width: 25px;
	height: 25px;
	bottom: 45px;
	right: 184px;
}
.fix_banner .close_bt span{
	width: 25px;
	height: 25px;
}
}

