﻿ul.cate_list li a {
    background: #dfdfdf;
}
p.box_title2.txt_center.txt_color3 {
    font-family: 'Geologica';
}
.hvr_bg_color1:hover {
    background-color: #FF9800;
}
.banner_wrap div {
    width: 45%;
}
.banner_wrap {
    display: flex;
    padding: 10px;
    justify-content: space-around;
}
.banner_wrap a:hover {
    opacity: 0.8;
}
.banner_wrap a{
    transition:all 0.3s;
}
.border_color2 {
    border-color: #ffe2bf;
}
.link_type2 .cate_box a {
    color: #fff;
}
.link_type2 .cate_box a:before, .link_type2 .cate_box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}
.link_type2 .cate_box a:after {
    top: 100%;
    background-color: #eb7f00;
    transition: 0.5s;
    z-index: 3;
}
.link_type2 .cate_box a:hover:after {
    top: 0;
}
.link_type2 .cate_box .txt_wrap {
    z-index: 2;
}
.link_type2 .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}
.link_type2 .cate_box a:hover .more {
    opacity: 1;
    font-family: 'Geologica';
}


.flow_type2 .cate_title {
    border-bottom: solid 3px #ccc;
    position: relative;
}
.flow_type2 .cate_title::after {
    content: '';
    display: block;
    background: #eb7f00;
    width: 30%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -3px;
}
.flow_type2 .box_wrap {
    border: 3px solid #eb7f00;
}
.flow_type2 .cate_box {
	padding: 30px;
	width: 100%!important;
}
.flow_type2 .box_txt1 {
    background-color: #f7f7f7;
    color: #d75602;
    font-weight: bold;
    text-align: center;
}
.flow_type2 .cate_box:not(:last-child) {
    border-bottom: 3px solid #eb7f00;
    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: #eb7f00;
}
.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: #eb7f00;
    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;}
}



span.img-container_img {
    background: url(Dup/img/title_bg.jpg) !important;
} 
span.img-container_img:after {
    content: "";
    background: #ffffff73;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
}
.page_title_box p:last-of-type {
    font-family: 'Geologica';
    font-weight: bold;
}
#page-top a {
    background: #eb7f00;
}
footer {
    background-color: #ff9e2b;
}
.nav.mg_center ul {
    position: relative;
    left: 45px;
}
.intro_box_wrap .box {
    position: relative;
    z-index: 2;
}
/*
.point_box:before {
    width: 240px;
    height: 360px;
    content: "";
    position: absolute;
    top: -350px;
    background: url(Dup/img/intro1.png);
    background-size: contain;
    background-repeat: no-repeat;
    left: 50px;
}
.point_box:after {
    width: 110px;
    height: 360px;
    content: "";
    position: absolute;
    top: -350px;
    background: url(Dup/img/intro2.png);
    background-size: contain;
    background-repeat: no-repeat;
    right: 50px;
}
*/
#top_cms .cms_title p:last-of-type span {
    letter-spacing: 0;
}
#contents .box h3:before{
    display:none;
}
.point_box{
    background: #e9e9e9;
}
.point_box .box_wrap {
    padding: 100px;
    padding-top: 150px;
    max-width: 1280px;
    margin: auto;
}
.point_box h3 {
    text-align: center;
    font-size: 58px;
    font-weight: bold;
    position: absolute;
    width: 100%;
    left: 0;
    top: -40px;
}
.point_box .inner_wrap {
    display: flex;
    justify-content: space-around;
        counter-reset: box;
}
.point_box .inner_wrap .box {
    width: 30%;
    background: white;
    padding: 50px 50px 30px;
    box-sizing: border-box;
    border-radius: 10px;
    position:relative;

    counter-increment: box;
}
.point_box .inner_wrap .box:before {
    content: "0"counter(box);
    position: absolute;
    top: -70px;
    font-size: 80px;
    text-align: center;
    width: 100%;
    left: 0;
    color: #ff9e2b;
    font-family: 'Geologica', sans-serif;
}

.point_box .inner_wrap .box p {
    text-align: center;
    font-weight: bold;
    font-size: 24px;
}
.intro_txt_wrap{
    text-align: center;
}
.top_cms_box:before{
    display:none;
}
.hvr_border_color3:hover {
    border-color: #e99027;
}
.hvr_bg_color3:hover {
    background-color: #e99027;
}
#top_cms .top_cms_wrap {
    padding-top: 0;
}
#top_cms .line{
    display:none;
}
#top_cms:before{
    display:none;
}
section#contents {
    background: #f7f7f7 url(Dup/img/bg2.png);
    padding-top: 60px;
}
.top_cms_box {
    position: relative;
    padding: 100px;
    margin-bottom: 0;
}
.top_cms_box:nth-child(even){
    background: #f7f7f7 url(Dup/img/bg2.png);
}
article#top_cms {
    background: white;
}
#top_cms .cms_title p:last-of-type {
    font-size: 22px;
}
#top_cms .cms_title p:first-of-type {
    font-size:62px;
}
.cms_title{
    text-align: center;
}
p.t_cms_txt2, p.t_cms_txt5, p.t_cms_txt8 {
    font-size: 62px;
}
.svg_box{
    display:none;
}
.hvr_txt_color1:hover {
    color: #FF9800;
}
.bg_color2 {
    background-color: #fde9ca;
}
.nav li a span:last-of-type {
    color: #bbbbbb;
}
.txt_color1 {
    color: #fd8000;
}
.txt_color3 {
    color: #ff9e2b;
}
.bg_color4 {
    background-color: #f7f7f7;
}
.bg_color1 {
    background-color: #ff9e2b;
}
.border_color1 {
    border-color: #ff9e2b;
}
#contents .box figure.txt_color3 {
    color: #e9e9e9;
}
.t_cms_img2 .img-container:before {
    background: #4c4c4c;
}
#contents .box figure:after{
    opacity:1;
}
#contents .box .txt_wrap {
    position: relative;
    z-index: 2;
}
.main_img {
    background: url(Dup/img/main_img.jpg);
    background-size: cover;
    height: 100vh;
    background-position:center;
}
div#main_b img {
    width: 700px;
    position: relative;
}
div#main_b {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
div#main_b:before {
    width: 100%;
    height: 100%;
    background: #0a0a0a6b;
    content: "";
    left: 0;
    top: 0;
    position: absolute;
}
p.t_cms_txt2,p.t_cms_txt5,p.t_cms_txt8,.nav li a span:last-of-type,#top_cms .cms_title p:first-of-type{
    font-family: 'Geologica', sans-serif;
    font-weight: bold;
}
.img-container:before {
    background: #FF9800; 
}
/*-----------------------------タブレット------------------------------------*/
@media screen and (max-width:768px){
    .main_img {
    height:100%;
}
.main_img_wrap {
    height: 50vh;
}
div#main_b img {
    width: 450px;
    position: relative;
}
.main_wrap {
    margin-top: 50vh;
}
.point_box {
    margin-top: 100px; 
}

.point_box .inner_wrap .box {
    width: 45%; 
        padding: 50px 40px 20px;
}
.point_box .box_wrap {
    padding: 50px;
    padding-top: 100px;
}
.point_box .inner_wrap {
    flex-wrap: wrap;
    gap:30px;
    
}
.point_box .inner_wrap .box:before {
    content: "0"counter(box);
    position: absolute;
    top: -40px;
    font-size: 60px; 
}
.point_box h3 {
    font-size: 48px;
    top: -35px;
}
p.t_cms_txt2, p.t_cms_txt5, p.t_cms_txt8 {
    font-size: 46px;
}
.top_cms_box {
    padding: 50px;
}
#top_cms .cms_title p:first-of-type {
    font-size: 46px;
}
#top_cms .top_cms_box {
    margin-bottom: 0;
}
header #nav_menu {
    background: white;
}
}
/*-----------------------------スマホ------------------------------------*/
@media screen and (max-width:667px){
    .main_img_wrap {
    height: 100vh;
}
.main_wrap {
    margin-top: 95vh;
}
.main_img {
    background: url(Dup/img/main_img_sp.jpg);
    background-position: center;
    background-size: cover;
}
div#main_b img {
    width: 90%;
}
p.t_cms_txt2, p.t_cms_txt5, p.t_cms_txt8 {
    font-size: 24px;
}
#contents .box h3 {
    display: inline-block;
    position: relative;
    font-size: 18px;
}
p.t_cms_txt4 {
    text-align: left;
}
.point_box h3 {
    font-size: 28px;
    top: -20px;
}
.point_box .box_wrap {
    padding: 20px;
    padding-top: 50px;
}
.point_box .inner_wrap .box p {
    font-size: 20px;
}
.point_box .inner_wrap .box {
    width: 100%;
    padding: 40px 40px 20px;
}
.point_box .inner_wrap .box:before {
    top: -30px;
    font-size: 50px;
}
.point_box .inner_wrap .box p {
    font-size: 20px;
    order: 1;
}
#contents .box .txt_wrap {
    padding: 0;
}
.top_cms_wrap {
    width: 100% !important;
}
.top_cms_box {
    padding: 30px 20px;
}
#top_cms .cms_title p:first-of-type {
    font-size: 24px;
}
.cms_title {
    margin-bottom: 20px;
}
#nav_menu {
    height: 70px;
    width: 70px;
    right: 10px;
}
#page_title .img-container::after {
    background-color: rgb(255 152 0 / 49%); 
}
.banner_wrap {
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.banner_wrap div {
    width: 100%;
}
header .logo img {
    filter: invert(1);
}
}