﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');
/* ----------　all　---------- */
.linkStyle{
	text-decoration: underline;
}
.linkStyle:hover{
	opacity: 0.7;
	transition: all 0.5s;
}

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
}


/* nav */


/* footer */

.f_contact_box h4 {
    line-height: 1.2;
}

.copy {
    padding-bottom: 10px;
}

.fix-con {
    right: 100px;
    bottom: 10px;
    z-index: 5;
}

.fix-con a {
    color: #ffffff;
    background-color: #3f48ad;
    font-size: 25px;
    line-height: 1.3;
    text-align: center;
    padding: 20px 40px;
    border-radius: 60px;
    font-weight: bold;
    border: 2px solid #3f48ad;
    transition: 0.3s;
    transform: translate(0px, 25px);
}
.fix-con a:hover {
    background-color: #ffffff;
    color: #3f48ad;
}


/* ----------　TOP　---------- */

/* main-img */

#main_img {
    position: relative;
}

#main_img:before {
    content: "";
    width: 100%;
    height: calc(100% - 100px);
    position: absolute;
    top: 100px;
    left: 0;
    z-index: 2;
    background-color: rgba(63,72,173,0.3);
}

#main_img_inner {
    z-index: 5;
    left: 0;
    right: 0;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    top: 20%;
}

.inner-1 {
    row-gap: 20px;
    flex-direction: column;
}

.inner-3 {
    row-gap: 80px;
    flex-direction: column;
}

/* top */

.con1_squ {
    z-index: 1;
}

.topTxt1 .arrow {
    display: none;
}

.top_bnr_box {
    max-width: 1280px;
    margin: 100px auto 50px;
    justify-content: space-around;
}

.top_bnr {
    max-width: 330px;
    width: 30%;
    transition: 0.3s;
}

.top_bnr:hover {
    box-shadow: 0 5px 10px rgb(0 0 0 / 30%);
    transform: translate(0,-15px);
}

#con3 .box .icon {
    margin: 20px auto;
}

#con2 {
    background-image: url('/Dup/img/con2-bg.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 25%;
}

#con2 .en {
    font-size: 30px;
}

#con2 .topimg2 {
    width: 90%;
}

/* top-cms */



/* ----------　下層ページ　---------- */


.cate_list li a:hover {
    background-color: #3F48AD;
    color: #DBE4E8;
}

/* 会社情報 */
/* お問い合わせ */

#page8 .contact_tel a {
    width: 300px;
}

#page8 .con_box {
    column-gap: 5%;
    row-gap: 40px;
}



/*before・after*/

.BA_type1 .box_item, .BA_type1 .box_img1, .BA_type1 .box_img2 {position: relative;}
.BA_type1 .box_item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50.3%;
    transform: translate(-50%,-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 17px 0 17px 40px;
    border-color: transparent transparent transparent #68BCE0;
}
.BA_type1 .box_img1 {margin-right: 40px;}
.BA_type1 .box_img2 {margin-left: 40px;}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {
    position: absolute;
    height: 33px;
    width: 87px;
    background-color: #fff;
    color: #434343;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
.BA_type1 .box_img1::after {content: "before";}
.BA_type1 .box_img2::after {content: "after";}

.BA_type1 .box_img1 img, .BA_type1 .box_img2 img {
    position: initial;
    transform: none;
}


/* プライバシーポリシー */
/* サイトマップ */


/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
    
.cate_list li {
    width: auto!important;
}

.cate_list li a {
    padding: 10px 15px;
}
    
#main_img {
    height: 50vh;
    overflow: hidden;
}

#main_img > img {
    height: 50vh;
    width: auto;
}
    
#con2 {
    background-size: 50%;
}
    
#con2 .topimg2 {
    width: 100%;
}

#con2 .name {
    margin: 10px 0;
    text-align: center;
}

.BA_type1 .box_img1 {
    margin-left: 0;
    margin-right: 20px;
}

.BA_type1 .box_img2 {
    margin-right: 0;
}

#cms_2-b .cate::before {
    display: block;
    height: 100px;
    margin-top: -100px;
    content: "";
}

    
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
    
.logo1 {
    max-width: 100px;
}

.cate_list li {
    width: 100%!important;
}

#main_img {
    height: 90vh;
    overflow: hidden;
}

#main_img_inner {
    row-gap: 50px;
    top: 25%;
}

#main_img > img {
    height: 90vh;
    width: auto;
    transform: translate(-40%,0);
}


.inner-1 {
    flex-direction: row;
    width: 100%!important;
    justify-content: space-between;
}

.inner-1 figure,.inner-3 figure {
    width: 40%;
}

.inner-1 figure:nth-of-type(2) {
    width: 15%;
    transform: rotate(-90deg) translate(0px, 5px);
}

.inner-3 {
    flex-direction: row;
    width: 100%!important;
    justify-content: space-between;
}


.fix-con {
    right: 85px;
}

.fix-con span {
    display: none;
}

.fix-con a {
    font-size: 16px;
    line-height: 1.5;
    padding: 15px 15px;
    transform: translate(0px, 5px);
}
    
.f_contact_box h4 {
    font-size: 30px;
}
    
.topTxt1 {
    display: block;
}

.top_bnr_box {
    flex-direction: column;
    row-gap: 15px;
}

.top_bnr {
    width: 90%;
}

.top_bnr:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

#con3 .box .icon img {
    width: 95%;
}

#con2 {
    background-size: 80%;
}
    
}

/*top-cms-about*/

.link_type1 .link_top .link_title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
	margin-bottom: 30px;
    color: #474521;
    font-weight: normal;
}
.link_type1 .link_top .link_title{
    font-size: 20px;
    margin-bottom: 20px;
}
.link_type1 .link_top a{
	padding-top: 80px;
    padding-bottom: 60px;
}
.link_type1 .link_top a:hover{
    background-color: #ededeb;
}
.link_type1 .link_top a:hover .link_img1{
    transform: translate(-50%, -50%) scale(1.1,1.1);
    opacity: 0.1;
}
@media screen and (max-width: 667px){
.link_type1 .link_top .link_title{
    font-size: 15px;
}
}

@media screen and (max-width: 667px){
.BA_type1 .box_img1 {margin-right:0;margin-bottom: 50px;}
.BA_type1 .box_img2 {margin-left: 0;}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {height: 30px;font-size: 15px;}
.BA_type1 .box_item::after {transform: translate(-50%,-60%) rotate( 90deg);border-width: 20px 0 20px 23px;}
}