﻿/* ----------　all　---------- */
.linkStyle{
	color:#46a6cc;
	text-decoration: underline;
}
.linkStyle:hover{
	color:#46a6cc;
	opacity: 0.7;
	transition: all 0.5s;
}



/* nav */

#header h1 {
    z-index: 3;
}

header #header #main_menu li.page08_link a {
    height: auto!important;
}

/* footer */


footer .tel a {
    transition:0.3s;
}

footer .tel a:hover {
    opacity: 0.7;
}

/* ----------　TOP　---------- */

/* main-img */

#main_img {
    height: 90vh;
    overflow: hidden;
}

#main_img #catch {
    top: 50%;
    left: 1%;
    background: transparent;
}

#main_img #catch .catch_wrap {
    padding: 50px;
    left: 2.5%;
    bottom: 5%;
}

#main_img #catch::before {
    content: "";
    background-color: rgba(70,166,204,1);
    width: calc(100% + 150px);
    height: calc(100% + 600px);
    position: absolute;
    top: -310px;
    left: -180px;
    z-index: -2;
}

#main_img #catch h2 span {
    padding: 30px 30px;
}

/* top */

#contents_links .square_box a {
    background-color: rgba(70,166,204,0.6);
}

#intro {
    background-image: none;
}

#intro_title {
    background-image: url(Dup/img/intro-title.png);
    background-repeat: no-repeat;
    background-position: center top;
}

#intro .box_wrap {
    row-gap: 100px;
}

#intro .box_wrap .box {
    width: 90%;
    justify-content: space-around;
    align-items: center;
    position: relative;
}

#intro .box_wrap .box figure, #intro .box_wrap .box .box-txt {
    width: 45%;
    margin: 0;
    transform: none;
}

#intro .box_wrap .box .box-txt {
    box-shadow: none;
}

#intro .box_wrap .box > div span {
    display: none;
}

#intro .box_wrap .box:nth-of-type(2) {
    flex-direction: row-reverse;
}

#intro .box_wrap .box:before {
    content: "";
    width: 60%;
    height: 80%;
    background-color: #46a6cc;
    position: absolute;
    z-index: -1;
    bottom: -40px;
}

#intro .box_wrap .box:nth-of-type(1):before {
    left: -5%;
}

#intro .box_wrap .box:nth-of-type(2):before {
    right: -5%;
}

/* top-cms */

.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;
}




/* ----------　下層ページ　---------- */

.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 #90a2c4;
}
.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: #46a6cc;
    color: #eef1f6;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    left: 0;
    top: 0;
}
.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){
        
#main_img {
    height: 75vh;
}
    
#main_img #catch h2 {
    font-size: 20px;
    text-align: center;
}

#main_img #catch::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
    
#intro .box_wrap .box {
    width: 100%;
    justify-content: space-around;
    flex-direction: column;
}

#intro .box_wrap .box figure, #intro .box_wrap .box .box-txt {
    width: 100%;
}

#intro .box_wrap .box:nth-of-type(1):before {
    left: 0%;
}

#intro .box_wrap .box:nth-of-type(2):before {
    right: 0%;
}

#contents .d_flex > div {
    padding: 0;
}
    
.pager li {
    margin: 0;
}
    
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){

    
#main_img #catch h2 span {
    padding: 15px 30px;
}
    
#contents .contents_txt > div {
    padding: 20px;
}
    
.link_type1 .link_top .link_title{
    font-size: 15px;
}

.top_cms_title h3 {
    padding-top: 20px;
}
    
.BA_type1 .box_img1 {margin-right: 5%;margin-bottom: 50px;}
.BA_type1 .box_img2 {margin-left: 5%;}
.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;}

    
}