﻿/* all page */
/*fonts*/

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: var(--color1);text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
#google_privacy a{color: var(--color1);}
:root{
	--color1: #0F6AC2;
	--color2: #697A84;
	--color3: #0F7FB9;
	--color4: #E6EAED;
}

.txt_color1, .hvr_txt_color1:hover{color: var(--color1);}
.txt_color2, .hvr_txt_color2:hover{color: var(--color2);}
.txt_color3, .hvr_txt_color3:hover{color: var(--color3);}
.txt_color4, .hvr_txt_color4:hover{color: var(--color4);}

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: var(--color1);}
.bg_color2, .hvr_bg_color2:hover{background-color: var(--color2);}
.bg_color3, .hvr_bg_color3:hover{background-color: var(--color3);}
.bg_color4, .hvr_bg_color4:hover{background-color: var(--color4);}

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: var(--color1);}
.border_color2, .hvr_border_color2:hover{border-color: var(--color2);}
.border_color3, .hvr_border_color3:hover{border-color: var(--color3);}
.border_color4, .hvr_border_color4:hover{border-color: var(--color4);}


/* header */
.index_header #header #header_menu li {max-height: 6.5em;}
.is-show {background-color: rgba(255, 255, 255, 0.9);}
.drawer-nav {background-color: rgba(255, 255, 255, 0.90);}

/* footer */



/* top ----------------------------------------------------------------*/
#wrap{overflow: hidden;}

/* main img */
#main_img{
    height: 100vh;
    max-height: 85vh;
    background-image: url(/Files/img/fv_bg_1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.fv_btn {
    width: 18%;
    max-width: 320px;
    right: 1%;
    bottom: 2%;
}
.fv_btn a {
    display: block;
    animation: btn_style 2s infinite;
}
@keyframes btn_style {
  0% {
    transform: translate(2px, 0px);
  }
  5% {
    transform: translate(-2px, 0px);
  }
  10% {
    transform: translate(2px, 0px);
  }
  15% {
    transform: translate(-2px, 0px);
  }
  20% {
    transform: translate(2px, 0px);
  }
  25% {
    transform: translate(-2px, 0px);
  }
  30% {
    transform: translate(0px, 0px);
  }
}

.fv_right {
    width: 15%;
    max-width: 170px;
    right: 4px;
    top: 3%;
}
.fv_left {
    width: 20%;
    max-width: 360px;
    left: 3%;
    bottom: 5%;
}
.fv_center {
    width: 80%;
    max-width: 1280px;
    left: 50%;
    bottom: -1%;
    transform: translateX(-50%);
}
.nami_right {
    width: 60%;
    max-width: 970px;
    right: 0;
    bottom: 0;
}
.nami_left {
    width: 65%;
    max-width: 1050px;
    left: 0;
    bottom: 0;
}
.fv_catch {
    width: 30%;
    max-width: 250px;
    left: 50%;
    top: 2%;
    transform: translateX(-50%);
}


/* main */

/* intro */
#intro {
    height: 300px;
    max-height: 300px;
    background-image: url(/Files/img/intro_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

/* contents */


/* topcms */
#top_cms .cms_title .title_box {background-color: rgba(255,255,255,0.15);}
#top_cms .cms_title .title_box h2 {font-weight: bold;}

.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: var(--color1);
    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;
}

/* under page ----------------------------------------------------------------*/
#page_title h2 {
    font-weight: bold;
    text-shadow: none;
}
.cate_list li a {
    background-color: var(--color1);
    color: #fff;
    border: solid 1px var(--color1);
}
.cate_list li a:hover {
    background-color: #fff;
    color: var(--color1);
}
#page_title .back_color2 {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ---------- 1536px ---------- */
@media screen and (max-width: 1536px){
.fv_center {width: 70%;}
.nami_left {width: 60%;}
.nami_right {width: 55%;}
.fv_left {width: 17%;}
.fv_right {
    width: 9%;
    right: 2%;
}
.fv_catch {
    width: 15%;
    max-width: 200px;
}
.fv_btn {width: 16%;}

}
/* ---------- 1366px ---------- */
@media screen and (max-width: 1366px){}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.nami_left {
    width: 112%;
    left: -17%;
}
.fv_center {
    width: 115%;
    left: 60%;
    bottom: 10%;
}
.nami_right {
    width: 80%;
    right: -20%;
}
.fv_left {
    width: 30%;
    left: 3%;
}
.fv_right {
    width: 15%;
    top: 6%;
}
.fv_catch {
    width: 45%;
    max-width: 240px;
    top: 5%;
}
.fv_btn {width: 30%;}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#intro {
    height: auto;
    max-height: inherit;
    background-size: 250%;
}
.nami_left {width: 130%;}
.fv_center {
    width: 140%;
    left: 65%;
}
.nami_right {
    width: 90%;
    right: -25%;
}
.fv_left {
    width: 36%;
    left: 1%;
    bottom: 3%;
}
.fv_right {width: 18%;}
.fv_catch {
    width: 43%;
    left: 53%;
}
.fv_btn {width: 45%;}

.link_type2 .cate_box a:after, .link_type2 .more{
    display: none;
}

}





