﻿@media screen and (min-width:769px){
    figure.intro_img1.portrait_img img {
    left: 0;
}
}
figure.intro_img2.rectangle_img.mg_t-30px.pc_hide.d_block_sp.grid_12{
    display:none;
}
.intro_video iframe {
    width: 100%;
    height: 400px;
}
.intro_video{
    margin-top:30px;
}
section.top_title.bg_posi_c-c.bg_repe-no.bg_size-cover.posi_rel {
    background-position: bottom;
}
section.top_title.bg_posi_c-c.bg_repe-no.bg_size-cover.posi_rel.top_title2 {
    background-position: center;
}
#page_title .en{
    text-align:center;
}
.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: #28282d;
    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;
}




.flow_type2 .cate_title {
    border-bottom: solid 3px #28282d;
    position: relative;
}
.flow_type2 .cate_title::after {
    content: '';
    display: block;
    background: #28282d;
    width: 30%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -3px;
}
.flow_type2 .box_wrap {
	border: 3px solid #28282d;
}
.flow_type2 .cate_box {
	padding: 30px;
	width: 100%!important;
}
.flow_type2 .box_txt1 {
    color: #28282d;
    text-align: center;
    background: #efefef;
}
.flow_type2 .cate_box:not(:last-child) {
	border-bottom: 3px solid #28282d;
	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: #28282d;
}
.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: #28282d;
    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;}
}







#page4 .banner_wrap{
    margin-bottom:0;
}
a.linkStyle {
    color: black;
    text-decoration: underline;
}
#contents .con_title {
    margin-bottom: 0;
}
.icon1{
    position: relative;
    left: 30px;
}
.icon_box {
    max-width:300px;
    margin: auto;
}
div#main_b img {
    width: 500px;
}
div#main_b {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#main_img:before {
    background-color: rgb(255 255 255 / 30%); 
}
main.blur {
    background: url(Dup/img/bg.jpg);
    background-size: contain;
}
.banner_wrap {
    display: flex;
    justify-content: space-around;
    max-width: 1280px;
    margin: auto;
    margin-bottom: 100px;
}
.banner_wrap a {
    display: block;
    width: 50%;
    padding: 20px;
    transition: all 0.3s;
}
.banner_wrap a:hover{
    opacity:0.7;
}
h4.modal_title2.font_20.font_18_sp.font_bold.mg_b-30px.mg_b-10px_sp {
    font-size: 28px;
}

/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){

div#main_b img {
    width: 80%;
}
.banner_wrap a {
    width: 100%;
    padding: 0;
}
.banner_wrap {
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 10px;
    margin-bottom: 30px;
}
div#intro_wrap {
    padding-bottom: 30px;
}
.icon_box {
    max-width: 80%;
}
div#cms_2-g h3 {
    font-size: 24px;
    letter-spacing: 1px;
}
.sm-slider {
    min-height: 300px!important;
    height:50% !important;
}
.top .sm-slider{
    height:100% !important;
    min-height: 800px!important;
}
.intro_video iframe {
    width: 100%;
    height: 250px;
}
}


/*2023_0904_修正*/
@media screen and (max-width: 667px){
    .overlay ul.sp_tel li a {
    max-width: 280px;
}
}