﻿/* ----------　all　---------- */
.linkStyle{
	color:#1717c4;
	text-decoration: underline;
}
.linkStyle:hover{
	color:#1717c4;
	opacity: 0.7;
	transition: all 0.5s;
}

/* color */
.txt_color1{color: #1717c4} /* メインカラー */
.txt_color2{color: #eeeef3} /* サブカラー */
.txt_color3{color: #2a2a31} /* アクセントカラー1 */
.txt_color4{color: #fcfcfc} /* アクセントカラー2 */

/* background-color */
.bg_color1{background-color: #1717c4} /* メインカラー */
.bg_color2{background-color: #eeeef3} /* サブカラー */
.bg_color3{background-color: #2a2a31} /* アクセントカラー1 */
.bg_color4{background-color: #fcfcfc} /* アクセントカラー2 */


/* border-color ※!important */
.border_color1{border-color: #1717c4}
.border_color2{border-color: #eeeef3}
.border_color3{border-color: #2a2a31}
.border_color4{border-color: #fcfcfc}


/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color1:hover{color: #1717c4} /* メインカラー */
.hvr_txt_color2:hover{color: #eeeef3} /* サブカラー */
.hvr_txt_color3:hover{color: #2a2a31} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #fcfcfc} /* アクセントカラー2 */

/* background-color */
.hvr_bg_color1:hover{background-color: #1717c4} /* メインカラー */
.hvr_bg_color2:hover{background-color: #eeeef3} /* サブカラー */
.hvr_bg_color3:hover{background-color: #2a2a31} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #fcfcfc} /* アクセントカラー2 */

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #1717c4}
.hvr_border_color2:hover{border-color: #eeeef3}
.hvr_border_color3:hover{border-color: #2a2a31}
.hvr_border_color4:hover{border-color: #fcfcfc}




/* nav */

#header {
    top: 0;
}

#header.headfix {
    background-color: #ffffff;
}

#header.headfix #header_contact a.btn_back {
    background-color: #1717c4;
}

#header.headfix #header_contact a.btn_back:hover {
    opacity: 0.7;
}

#header.headfix #header_contact span {
    color: #ffffff;
}

#logo {
    width: 73px;
}

#logo img {
    filter: drop-shadow(1px 1px 0px white);
}

#pc_nav li {
    text-shadow: 1px 1px white;
}

/* footer */

#footer_contact {
    position: relative;
    z-index: 0;
}

#footer_contact:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: -1;
}



/* ----------　TOP　---------- */

/* main-img */

.maincopy {
    z-index: 2;
    max-width: 1300px;
    width: 60%;
    right: 5%;
    bottom: 5%;
}

#vegas {
    height: 100vh!important;
    background-size: cover;
}

header span.before {
    bottom: auto;
    top: 0;
}

header span.after {
    top: auto;
    bottom:0;
}

/* top */

.hm {
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0.2;
}

#top_message {
    background-color: rgba(255,255,255,0.85);
}

#top_message h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

#top_contents1 h3::before, #top_contents2 h3::before {
    color: #ffffff;
    opacity: 1;
    z-index: -1;
}



/* top-cms */

.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}


.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: #2a2a31;
    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;
}

/* ----------　下層ページ　---------- */

#filter_white {
    background-color: rgba(228, 243, 247, 0.7);
}

/* 会社情報 */
/* お問い合わせ */
/* プライバシーポリシー */
/* サイトマップ */


/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
    
#wrap {
    padding-top: 90px;
}

header span.before, header span.after {
    display: none;
}
    
#vegas {
    height: 60vh!important;
    background-color: #1717c4;
    background-image: none!important;
}

#video {
    height: 60vh;
}

#video video {
    height: 100%;
    width: auto!important;
    transform: translateX(-10%);
}
    
.maincopy {
    width: 95%;
    left: 0;
    bottom: 2%;
    right: 0;
    margin: auto;
}
    
#top_message {
    background-color: transparent;
}
    
#top_contents1, #top_contents2 {
    display: flex;
    flex-direction: column;
}

#top_contents1 div span.after, #top_contents2 div span.after {
    display: none;
}

.top_contents1_box, .top_contents2_box {
    order: 2;
}

#top_contents1 h3::before, #top_contents2 h3::before {
    color: #1717c4;
    font-size: 65px;
    top: -50%;
    opacity: 0.7;
}
    
    
.top_contents1_img, .top_contents2_img {
    position: initial;
    height: 450px;
}
    
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
    
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
    
#video {
    height: 45vh;
}
    
#top_message h2 {
    font-size: 25px;
}

#top_message .c-btn {
    padding: 20px 60px;
}

.top_contents1_img, .top_contents2_img {
    height: 300px;
}

.top_contents1_box, .top_contents2_box{
    background-color: transparent;
    width: 100%!important;
    margin: 0;
}

.link_type2 .more,.link_type2 .cate_box a:after {
    display: none;
}

#footer_contact p:last-of-type .c-btn {
    padding: 30px 20px;
}

.fa-angle-right {
    margin-left: 25px;
}
    
}