﻿/* ------------- my css ------------- */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* color */
.txt_color_nomal, .hvr_txt_color_nomal:hover{color: var(--black);}
:root{
    --color1: #5acbd1; 
    --color2: #e1f9ff; 
    --color3: #007bbf; 
    --color4: #f2eec7; 
    --black: #151a1e; 
}

.txt_red, .hvr_txt_red:hover{color: #C12326;}
.txt_gray, .hvr_txt_gray:hover{color: #ccc}
.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)} /* アクセントカラー1 */
.txt_color4, .hvr_txt_color4:hover{color: var(--color4)} /* アクセントカラー2 */

/* background-color */
.bg_black, .hvr_bg_black:hover{background-color: var(--black)} /* 黒背景 */
.bg_gray, .hvr_bg_gray:hover{background-color: #ccc}
.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)} /* アクセントカラー1 */
.bg_color4, .hvr_bg_color4:hover{background-color: var(--color4)} /* アクセントカラー2 */
.bg_color_clear, .hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.border_black, .hvr_border_black:hover{border-color: var(--black)}
.border_gray, .hvr_border_gray:hover{border-color: #ccc}
.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)}


/*自動リンク設定*/
.linkStyle{
    color:var(--color4);
}
.linkStyle:hover{
	opacity:0.7
}
/*フォント*/
 #pc_nav, #sp_nav, .pager, .date,  #contents1-h .con_box .con_sub_title, #top_cms .cms_title h2,  #top_info .con_title, #page_title h2, .cate_list::before ,.font_serif{
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

.font_jp, .con_title, .cate_title, .box_title1, .box_title{
     font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
.font_en,#contents1 .con_box .con_sub_title,.more,a[href^="tel:"], #page_title p{
    font-family:  "Roboto", sans-serif;;
}
.font_bold {
    font-weight: bold;
}

/*------------- header -------------*/
#header h1 img {
    height: auto;
    width: 130px !important;
    z-index: 101;
    position: relative;
}


#pc_nav  {
    display: none;
}

#header .contact_bt {
    background-color: rgba(90, 203, 209, 0.4);
}

#header::before {
        background: transparent ;
}


@media screen and (max-width: 768px) {
#header h1 img {
    width: 70px !important;
}
}

@media screen and (max-width: 667px) {
    #header {
        padding: 10px;
    }
}


/*------------- nav -------------*/

.menu_stick .shadow_h{
    box-shadow: 0 0 12px rgba(0, 58, 81, 0.9),0 0 20px rgba(0, 101, 132, 0.9);
}

#sp_nav ul li a{
    font-size: 18px;
}

#sp_nav {
    background-color: rgba(0, 123, 191, 0.7);
}
@media screen and (max-width: 667px) {
#sp_nav ul li a {
    font-size: 16px;
}
}
/*------------- FV -------------*/

#main_img .bg_box{
    background-image:linear-gradient(to bottom, rgba(6, 32, 73, 0), var(--color3) calc(100% - 50px));
    height: 30%;
    opacity: 0.6;
}

.top-img, .top-img2 {
  transition: opacity 1s ease;
}

#main_img .top-img{
    width: 80%;
    right: 0;
    bottom: 0;
    z-index: 2;
    max-width: 1100px;
}
#main_img .top-img2{
    width: 60%;
    left: 0;
    top: 0;
    z-index: 2;
    max-width: 900px;
}

#main_img .top-img3{
    max-width: 200px;
    top: 0;
    left: 0;
}

#main_img .top-img4{
    max-width: 110px;
    top: 40%;
    right: 10%;
}


/* ふわふわアニメーション */
.fuwa {
    animation: fuwaMove 3s ease-in-out infinite;
     z-index: 2;
}

@keyframes fuwaMove {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

#main_img .top-img5.fuwa{
    max-width: 80px;
    bottom: 30%;
    right: 15%;
    animation: fuwaMove 5s ease-in-out infinite;
}



#main_img .main_txt{
    right: 0;
    left: auto;
    bottom: 5%;
    text-align: right;
}
#main_img .sub_txt {
    right: 0;
    z-index: 2;
    top: 21%;
    border-radius: 10px 0 0 10px;
    padding: 20px 10px;
}

#main_img .main_txt p,#main_img .main_txt .main_txt_h3{
  padding-right: 3%;  
}

#main_img .main_txt p{
    display: inline;
    border-bottom: 2px solid;
}


#main_img .main_txt h3{
    display: block;
    border: none;
    line-height: 1.2;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
   
#main_img .top-img3 {
    max-width: 120px;
}

    #main_img .top-img4{
    max-width: 80px;
    top: auto;
    bottom: 36%;
    right: 2%;
}
#main_img .top-img5.fuwa {
    max-width: 50px;
}
    #main_img .main_txt h3 {
        font-size: calc(20px + 7vw);
    }
}

@media screen and (max-width: 667px) {
    #main_img .bg_box{
        height: 56%;
    }

#main_img .top-img3 {
    max-width: 110px;
}

    #main_img .top-img4{
    max-width: 60px;
    top: auto;
    bottom: 30%;
    right: -4%;
}
#main_img .top-img5.fuwa {
    max-width: 20px;
    bottom: 25%;
}
    #main_img .main_txt h3 {
        font-size: calc(20px + 5vw);
    }
    #main_img .main_txt p{
    border-bottom: 1px solid;
}
.height80vh_tb {
        height: 70vh;
    }
    #main_img .sub_txt {
    top: 20%;
    padding: 20px 5px;
}


}

/*------------- video -------------*/
video{
    max-width: 1000px;
    min-width: auto;
    min-height: auto;
        top: 10%;
      -webkit-transform: translate(-50%, 0); 
    -ms-transform: translate(-50%, 0);
     transform: translate(-50%, 0);
}


.video_wrap {
                    height: 70vh;
}


@media screen and (max-width: 768px) {
    video {
        -webkit-transform: translate(0%, 0%);
        -ms-transform: translate(0%, 0%);
        transform: translate(0%, 0%);
        
    }
    .video_wrap {
                    height: auto;
}

    
}


/*------------- TOP -------------*/
#contents1 .con_box .con_sub_title, #contents1-h .con_box .con_sub_title{
    font-size: 100px;
    top: -60px;
    font-weight: bold;
}
#contents2 .con2_img::before {
    height: 30%;
}

main{
    background-image: linear-gradient(90deg, #b6f0f7, #f9fdff 48%, #b2eff5);
}

#contents2{
    background-color: var(--color3);
}


#contents2 .con2_img::before{
    background-image: linear-gradient(to bottom, rgba(6, 32, 73, 0), var(--color3) calc(100% - 50px), rgba(6, 32, 73, 0));
}


.con_sub_title.txt_color2{
    color: var(--color3);
    mix-blend-mode: multiply;
    
}

.cms_title h2{
    font-weight: bold;
    text-shadow:none;
}

#contents2 .con2_txt_wrap{
    margin-top: -30px;
}


#top_info .txt_shadow_h{
    text-shadow:none;
}


.tel_bt:hover{
	border: solid 1px rgba(255,255,255,0.5)
}

#top_banner .banner_box .bg_black{
    background: #535353;
}

@media screen and (max-width: 768px) {
/*.con_sub_title.txt_color2{
    mix-blend-mode: screen;
    
}*/
.con_title .border{
    display: none;
}
}

@media screen and (max-width: 667px) {
    #contents1 .con_box .con_sub_title, #contents1-h .con_box .con_sub_title{
    font-size: 50px;
    top: -30px;
}


}


/*------------- 下層 -------------*/
#page_title{
    background-image: transparent;
}

#page_title .opacity02 {
    opacity: 1;

}
.awa{
    bottom: 10px;
    right: 2%;
    width: 20%;
    max-width: 150px;
}


@media screen and (max-width: 667px) {
    #page_title h2 {
        font-size: 26px;
}
}

/*------------- page3 -------------*/
.cate .txt_bf,.cate .txt_af{
    display: none;
}

.cate:last-child .txt_bf,.cate:last-child .txt_af{
    display: block;
}

.txt_bf,.txt_af{
    color: var(--color3)!important;
}

/*------------- page4 -------------*/
#cms_3-e .cate:last-child .sub_cate_title,#cms_3-e .cate:last-child .cate_txt1{
    display: none;
}

/*------------- page5 -------------*/
#cms_5-c .box_txt1::before {
    color: var(--color4);
}
#cms_5-c .box_title1 {
    border-color: rgba(255, 255, 255, 0.3);
}
#cms_5-c .border_so2-b{
    border-bottom: 1px solid;
}

/*------------- page6 -------------*/
#cms_2-b .cate_title{
    color: var(--color3);
    border-color: var(--color1);
}

/*------------- page7 -------------*/
#cms_7-b .cate_box .box_img{
        width: 90%;
    max-width: 450px;
}

/*------------- footer -------------*/
#footer .bg_black{
    background:var(--color3);
}

#footer .opacity03{
    opacity: 0.7;
}