﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
body{font-family: 'Noto Sans JP',"游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;font-weight: 400;}
.font_bold{font-weight: 700;}


/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#intro .intro_title,#contents2 .cate_box{position: relative;}
/*リピートなし*/
#main_img:after,#intro .intro_title:before,#contents2 .cate_box:before{
content: "";
display: block;
background-size: 100%;
background-repeat: no-repeat;
position: absolute;
}

#main_img::before{display: none;}
#main_img:after{
    background-image: url(./Dup/img/catch.png);
    /*
    width: clamp(600px,44vw,850px);
    height: clamp(420px,30vw,575px);
    */
    width: 44vw;
    height: 30vw;
    top: 55%;
    right: 1%;
	-ms-transform: translate(0,-50%);
	-webkit-transform: translate(0,-50%);
	transform: translate(0,-50%);
}
#intro .intro_title:before{
    background-image: url(./Dup/img/txt1.png);
    width: 250px;
    height: 100px;
    top: -90px;
    left: -50px;
    opacity: 0.3;
}
#contents2 .cate_box:before{
    background-image: url(./Dup/img/obj1.png);
    width: 200px;
    height: 265px;
    top: -70px;
    right: -90px;
}
/*--------------------------------
全体
--------------------------------*/
#sp_nav a.active{border-color: #ffd86c;}

.fix_banner{
width: 250px;
position: fixed;
bottom: -12px;
right: 90px;
z-index: 10;
}
/* スマホ時真ん中へ */
@media  screen and (max-width: 667px){
.fix_banner{
width: 150px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
}
/*--------------------------------
TOP
--------------------------------*/
#main_img{
    overflow: hidden;
    height: 48vw;
    min-height: 600px;
}
#contents1 .bg_color2{background-color: #f6f2e6;}
#top_info.bg_color2{background-color: #ffd86c;}

/* topお知らせ */
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*--------------------------------
下層
--------------------------------*/
/* 流れ */
.flow_type2 .sub_cate_title {
    border-bottom: solid 3px #ccc;
    position: relative;
}
.flow_type2 .sub_cate_title::after {
    content: '';
    display: block;
    background: #fe9c05;
    width: 30%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -3px;
}
.flow_type2 .box_wrap {
	border: 3px solid #f58214;
}
.flow_type2 .cate_box {
	padding: 30px;
	width: 100%!important;
}
.flow_type2 .box_txt1 {
    background-color: #f7f7f7;
    color: #f58214;
    text-align: center;
}
.flow_type2 .cate_box:not(:last-child) {
	border-bottom: 3px solid #f58214;
	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: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}
.flow_type2 .cate_box:not(:last-child)::before {
	border-width: 22px;
	border-top-color: #f58214;
	bottom: -44px;
}
.flow_type2 .cate_box:not(:last-child)::after {
	border-width: 18px;
	border-top-color: #fff;
	bottom: -35px;
}

.flow_type2 .sub_cate{counter-reset: number 0;}

.flow_type2 .box_txt1::before {
    counter-increment: number 1;
    content: "step." counter(number);
    background-color: #f58214;
    padding: 5px 10px;
    margin: 0 auto;
    font-weight: 700;
    color: #ffffff;
    display: block;
    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;*/
    }
    .flow_type2 .cate_box:not(:last-child)::before {
    	bottom: -41px;
    }
    .flow_type2 .cate_box:not(:last-child)::after {
    	bottom: -33px;
    }
}

@media screen and (max-width: 667px){
    #page4.firefox .flow_type2 .cate_box:not(:last-child)::before {
    	bottom: -44px;
    }
    #page4.firefox .flow_type2 .cate_box:not(:last-child)::after {
    	bottom: -36px;
    }
}


/* 5-c QA削除 */
#cms_5-c .box_title1::before,#cms_5-c .box_txt1::before,
.cms_5-c .box_title1::before,.cms_5-c .box_txt1::before{
display: none;
}
#cms_5-c .box_title1,#cms_5-c .box_txt1,
.cms_5-c .box_title1,.cms_5-c .box_txt1{
padding-left: 0;
}


/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
    #main_img{
        height: 45vh;
        background-position: center left;
    }
    #main_img:after{
        width: 62vw;
        height: 43vw;
        top: 52%;
        right: 3%;
    }
    #intro .intro_title:before{
        width: 200px;
        height: 82px;
        top: -70px;
        left: -35px;
    }
    #contents2 .cate_box:before{display: none;}
    #page_title .box{padding: 165px 0 90px;}
}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
    #main_img{
        height: 66vw;
        margin-top: 40px!important;
        background-position: center left -15px;
    }
    #main_img:after{
        width: 70vw;
        height: 48vw;
        top: 56%;
        right: 0;
    }
    #intro .intro_title:before{
        width: 150px;
        height: 60px;
        top: -70px;
        left: -25px;
    }
    #page_title .box{padding: 130px 0 60px;}
}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #333; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #333;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #333;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #333;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------------
カラー
--------------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #333333;}
.txt_black,.hvr_txt_black:hover{color: black;}
.txt_white,.hvr_txt_white:hover{color: white;}
.txt_red,.hvr_txt_red:hover{color: red;}
.txt_yellow{color: yellow;}
.txt_color1,.hvr_txt_color1:hover{color: #f58214;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #ffc832;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #28a05a;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #f5f5f5;} /* アクセントカラー2 */

/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: white;} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: black;} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: #f58214;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #ffc832;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #28a05a;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #f5f5f5;} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}

/* border-color */
.border_white,.hvr_border_white:hover{border-color: white;}
.border_black,.hvr_border_black:hover{border-color: black;}
.border_color1,.hvr_border_color1:hover{border-color: #f58214;}
.border_color2,.hvr_border_color2:hover{border-color: #ffc832;}
.border_color3,.hvr_border_color3:hover{border-color: #28a05a;}
.border_color4,.hvr_border_color4:hover{border-color: #f5f5f5;}