﻿/* all page */
/*fonts*/

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #160a0a;text-decoration: underline;transition: opacity .3s;}
#google_privacy a{color: #160a0a;}
.linkStyle:hover{opacity: 0.7}
:root{
	--color1: #00053a;
	/*--font-jp: 'Noto Sans JP', "游ゴシック Medium", sans-serif;*/
}

.txt_color1, .hvr_txt_color1:hover{color: var(--color1);}

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: var(--color1);}

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: var(--color1);}


/* header */
#header .logo img{width: 100% !important;}
#header .logo {padding-top: 30px;}
.clone-nav #logo .logo, .all_header #logo .logo{padding-top: 0;}
.clone-nav #logo {width: 13%!important;}
.drawer-nav {background-color: rgba(255,255,255,0.95);}
.is-show {background-color: rgba(255,255,255,0.95);}

/* footer */
#footer .tel a{color: var(--color1);}



/* top ----------------------------------------------------------------*/

/* main img */
#main_img {
    /*background-image: url('./Dup/img/fv.jpg');*/
    /*background-position: center center;*/
    /*background-repeat: no-repeat;*/
    /*background-size: 100%;*/
    max-height: 80vh;
    position: relative;
    width: 80%!important;
    margin: 0 auto;
}
.catch {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 80%;
    max-height: 430px;
    z-index: 1;
}
.catch img {
    width: auto;
    height: 100%;
}

/* main */

/* intro */
#intro {
    height: 350px;
    max-height: 350px;
    margin-top: 150px;
}

/* contents */
#contents h2 {
    font-size: 46px;
    font-weight: bold;
    color: var(--color1);
    filter: drop-shadow(3px 3px 0px #fff);
}
#contents h2 .svg_box {
    color: #fff;
}


/* topcms */
#top_cms .cms_title .title_box {
    background-color: rgba(255,255,255,0.15);
}
#top_cms .cms_title .title_box h2 {
    /*color: white;*/
    font-weight: bold;
    border-left: 2px solid;
    border-right: 2px solid;
}

/* under page ----------------------------------------------------------------*/
#page_title h2 {
    color: #fff;
    font-weight: bold;
    border-left: 2px solid;
    border-right: 2px solid;
    /*color: var(--color1);*/
    /*filter: drop-shadow(2px 2px 0px #fff);*/
    text-shadow: none;
}
#page_title .back_color2 {
    /*background-color: rgba(241,86,28,0.3);*/
}
.cate_list li a {
    padding: 10px;
    background-color: var(--color1);
    border: 1px solid var(--color1);
    color: #fff;
}
.cate_list li a:hover {
    background-color: transparent;
    color:  var(--color1);
}


/* cms4 */
.flow_type2 .cate_title {
    border-bottom: solid 3px #ccc;
    position: relative;
}
.flow_type2 .cate_title::after {
    content: '';
    display: block;
    background: #00053a;
    width: 30%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -3px;
}
.flow_type2 .box_wrap {
	border: 3px solid #00053a;
}
.flow_type2 .cate_box {
	padding: 30px;
	width: 100%!important;
}
.flow_type2 .box_txt1 {
    background-color: #f7f7f7;
    color: #00053a;
    text-align: center;
}
.flow_type2 .cate_box:not(:last-child) {
	border-bottom: 3px solid #00053a;
	position: relative;
}
.flow_type2 .cate_box:not(:last-child)::before,
.flow_type2 .cate_box:not(:last-child)::after {
	content: "";
	border: solid transparent;
	position: absolute;
	top: 100%;
	left: 17%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}
.flow_type2 .cate_box:not(:last-child)::before {
	border-width: 22px;
	border-top-color: #00053a;
}
.flow_type2 .cate_box:not(:last-child)::after {
	border-width: 18px;
	border-top-color: #fff;
}

.flow_type2 .cate{counter-reset: number 0;}

.flow_type2 .box_txt1::before {
    counter-increment: number 1;
    content: "step." counter(number);
    background-color: #00053a;
    padding: 5px 10px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin: 0px auto 10px;
    width: 50%;
}
/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
.flow_type2 .cate_box:first-child {
    padding: 20px 20px 30px 20px;
}
.flow_type2 .cate_box:not(:first-child) {
    padding: 40px 20px 20px 20px;
}
.flow_type2 .cate_box:not(:last-child)::before, .flow_type2 .cate_box:not(:last-child)::after {
    left: 50%;
}
}
/*-------- FireFox --------*/
@-moz-document url-prefix() {
.flow_type2 .cate_box:not(:last-child)::before, .flow_type2 .cate_box:not(:last-child)::after {top: 98% !important;}
}


/* ---------- 1536px ---------- */
@media screen and (max-width: 1536px){}
/* ---------- 1366px ---------- */
@media screen and (max-width: 1366px){}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#header .logo {padding-top: 0;}
.clone-nav #logo {width: 20%!important;}
.all_header #logo {width: 19%!important;}
.catch {height: 65%;}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.clone-nav #logo {width: 35%!important;}
.all_header #logo {width: 33%!important;}
#main_img {max-height: calc(100vh - 70px);}
#main_img .fv{transform: translateY(-30px);}
.catch {height: 45%;}
#intro {
    height: auto;
    max-height: none;
    margin-top: 50px;
}
#contents .box h3 {
    width: calc(100% + 2rem)!important;
}

}





