﻿/* all page */
/*fonts*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
body, .hannari {
    font-family: 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #0066BA;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
.txt_color1, .hvr_txt_color1:hover{color: #0066BA;}
.txt_color2, .hvr_txt_color2:hover{color: #a6d7ff;}
.txt_color3, .hvr_txt_color3:hover{color: #2a9fff;}
/*.txt_color4, .hvr_txt_color4:hover{color: #c9baa9}*/

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: #0066BA;}
.bg_color2, .hvr_bg_color2:hover{background-color: #a6d7ff;}
.bg_color3, .hvr_bg_color3:hover{background-color: #2a9fff;}
/*.bg_color4, .hvr_bg_color4:hover{background-color: #c9baa9}*/

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: #0066BA;}
.border_color2, .hvr_border_color2:hover{border-color: #a6d7ff;}
.border_color3, .hvr_border_color3:hover{border-color: #2a9fff;}
/*.border_color4, .hvr_border_color4:hover{border-color: #c9baa9}*/

.overlay {
    background: linear-gradient(135deg, rgba(0,102,186,0.9) , rgba(42,159,255,0.9) );
}

/* header */
header.scr_header {
    background-color: rgba(0,102,186,0.5);
}
#pc_nav li, #top_pc_nav li, #footer_nav li {
    max-width: 250px;
}
#logo {
    max-width: 350px;
}
header.scr_header #logo {
    max-width: 300px;
}
#pc_nav li:last-of-type a:hover::after{display: none;}
#pc_nav li:last-of-type a{
    border: 1px solid;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}
#pc_nav li:last-of-type a:hover{
    transform: translateY(-5px);
}

/* top ----------------*/

/* main img */
#main_img:before {
    background-color: rgba(70,70,70,0.2);
}
.menu p.bg_white{background: none;}

/* main */

/* intro */
/*▼モーダル関連▼*/
.modal_btn .more_box {
    cursor: pointer;
}
.modal_btn .more_line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    transition: all .3s ease-in-out;
    transform: translateX(-99%);
}
.modal_btn > span:hover .more_line {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}
.modal_btn > span i {
    position: absolute;
    top: calc(50% - 0.5em);
    right: 1.5rem;
    transition: all 0.3s;
}
.modal_btn > span:hover i {
    position: absolute;
    top: calc(50% - 0.5em);
    right: 1rem;
}
.modal_wrap {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.95;
    z-index: 102;
    max-width: 1280px;
    height: auto;
}
.modal_wrap .modal_scroll {
    overflow-y: auto;
}
.modal_wrap .close_bt {
    top: 20px;
    right: 20px;
    cursor: pointer;
}
/*▲モーダル関連▲*/
#intro .line:before {
    left: 0;
    transform: none;
}

/* contents */
/*アニメーション*/
.animate {
  opacity: 0;
  transition: all 2s;
}
.animate.show {
  opacity: 1;
}
.animate.show:nth-of-type(1) {
  transition-delay: 0.2s;
}
.animate.show:nth-of-type(2) {
  transition-delay: 0.4s;
}
.animate.show:nth-of-type(3) {
  transition-delay: 0.6s;
}
.animate.show:nth-of-type(4) {
  transition-delay: 0.8s;
}
.animate.show:nth-of-type(5) {
  transition-delay: 1.0s;
}
.animate.show:nth-of-type(6) {
  transition-delay: 1.2s;
}
.animate.show:nth-of-type(7) {
  transition-delay: 1.4s;
}
.animate.show:nth-of-type(8) {
  transition-delay: 1.6s;
}

#contents3 .con3_box > div {
  width: 24%!important;
}

/* topcms */


/* footer */



/* under page */
.btn_container a{padding: 8px 30px;}

/* cms1 */

/* cms2 */

/* cms3 */

/* cms4 */

/* cms5 */

/* page7 */

/* page8 */

/* page9 */

/* page10 */


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#logo {opacity: 0;}
.page #logo {
	opacity: 1;
	max-width: 270px;
}
header.scr_header #logo {opacity: 1;}
#intro .line:before {
    left: 50%;
    transform: translate(-50%,0);
}
#contents3 .con3_box > div {
    width: 50%!important;
}
#page_title .page_title_box {
    width: 50%;
}
#overlay .left li {max-width: 210px;}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#logo {
    max-width: 270px;
}
header.scr_header #logo {
    max-width: 220px;
}
.modal_wrap {
    height: 100%;
}
#contents3 .con3_box > div {
    width: 100%!important;
}
#page_title .page_title_box {
    background-color: rgba(0,102,186,0.5);
    width: 100%;
}

}





