﻿@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;700;900&display=swap');
/* ----------　all　---------- */
.linkStyle{
	color:#0057ad;
	text-decoration: underline;
}
.linkStyle:hover{
	color:#0057ad;
	opacity: 0.7;
	transition: all 0.5s;
}

/* color */
.txt_color_nomal{color: #1a1a1a;}
.txt_color1{color: #86bed6} /* メインカラー */
.txt_color2{color: #f5fafc} /* サブカラー */
.txt_color3{color: #0057ad} /* アクセントカラー1 */
.txt_color4{color: #dbe7ec} /* アクセントカラー2 */

/* background-color */
.bg_color1{background-color: #86bed6} /* メインカラー */
.bg_color2{background-color: #f5fafc} /* サブカラー */
.bg_color3{background-color: #0057ad} /* アクセントカラー1 */
.bg_color4{background-color: #dbe7ec} /* アクセントカラー2 */

/* border-color ※!important */
.border_color1{border-color: #86bed6}
.border_color2{border-color: #f5fafc}
.border_color3{border-color: #0057ad}
.border_color4{border-color: #dbe7ec}


/* hover ---------------------------------------------------------------------------------------------*/
.hvr_txt_color_nomal:hover{color: #1a1a1a;}
.hvr_txt_color1:hover{color: #86bed6} /* メインカラー */
.hvr_txt_color2:hover{color: #f5fafc} /* サブカラー */
.hvr_txt_color3:hover{color: #0057ad} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #dbe7ec} /* アクセントカラー2 */

/* background-color */
.hvr_bg_color1:hover{background-color: #86bed6} /* メインカラー */
.hvr_bg_color2:hover{background-color: #f5fafc} /* サブカラー */
.hvr_bg_color3:hover{background-color: #0057ad} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #dbe7ec} /* アクセントカラー2 */

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #86bed6 }
.hvr_border_color2:hover{border-color: #f5fafc}
.hvr_border_color3:hover{border-color: #0057ad}
.hvr_border_color4:hover{border-color: #dbe7ec}


body {
    line-height: 1.5;
}

#wrap {
    font-family: 'Barlow', "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

/* nav */


/* footer */


/* ----------　TOP　---------- */

/* main-img */

#main_img {
    height: calc(100vh - 110px);
    position: relative;
}

#main_img:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #86bed6;
    opacity: 0.4;
}

.copybox {
    text-align: left;
    width: 40%;
    top: 25%;
    left: 6%;
    z-index: 3;
}

.copybox a {
    margin: 0;
}

#main_img:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    background-image: url(Dup/img/hito1.png);
    background-repeat: no-repeat;
    background-position: 85% 100%;
    background-size: 40%;
}

/* top */

#intro {
    background-image: url(../Dup/img/con-bg.png);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 300px;
    background-color: #ffffff;
}

#intro .box_wrap .box {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#intro .box_wrap .box figure {
    width: 45%;
}
 
#intro .box_wrap .box > div {
    margin-left: 0;
    transform: none;
    width: 50%;
}


/* top-cms */



/* ----------　下層ページ　---------- */



/* 会社情報 */
/* お問い合わせ */
/* プライバシーポリシー */
/* サイトマップ */


/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
    
.copybox {
    text-align: left;
    width: 85%;
    top: auto;
    left: 3%;
    z-index: 3;
    bottom: 5%;
}

#main_img:after {

    background-position: -30px 100%;
    background-size: 115%;
}
    
    

#intro {
    background-size: cover;
    padding-bottom: 150px;
}

#intro .box_wrap .box {
    width: 90%;
    margin: 0 auto 50px;
}

#intro .box_wrap .box {
    flex-direction: column;
}

#intro .box_wrap .box figure,#intro .box_wrap .box > div {
    width: 100%;
}
 
#contents .d_flex > div {
    padding: 50px;
}
    
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
    
h1 {
    width: 50%;
}
    
#main_nav li {
    margin-bottom: 5px;
}
    
#main_img {
    height: calc(85vh - 110px);
}
    
.copybox {
    width: 95%;
    margin: auto;
    left: 0;
    right: 0;
    top: 5%;
}

#main_img:after {
    background-position: 50% 100%;
    background-size: contain;
    height: 70%;
    top: auto;
        bottom: 0;
}

#contents {
    background-size: cover;
}

#contents .d_flex > div {
    padding: 20px;
}

#contents .contents_txt h3.active span {
    width: 90%;
    transform: translate(-5px,-5px);
}

.sp-fix-bnr {
    bottom: 10px;
    z-index: 5;
    width: 80%;
    right: 50px;
    margin: auto;
    transition: 0.3s;
}

.is-hidden {
  visibility: hidden;
  opacity: 0;
}

    
#intro {
        padding-bottom: 50px;
}

#cms_1-a .pager li {
    margin: 0;
}

#copyright {
    padding: 20px 40px;
}
    
}