﻿/*firefoxで縦書き中央寄せにする*/
/*div.tategaki {*/
/*text-align: center;*/
/*}*/

/*div.tategaki h2{*/
/*writing-mode: vertical-rl;*/
/*display: inline-block;*/
/*}*/


/*スクロールバー ------------------------------------*/
.scroll_bar{
   background-color: rgba(246, 246, 246, .2);
   overflow-y: scroll;
   
    scrollbar-width: thin;
   scrollbar-color: #002c62 rgba(246, 246, 246, .2);
}

.scroll_bar::-webkit-scrollbar{
   width: 10px;
}
.scroll_bar::-webkit-scrollbar-track{
   background-color: rgba(246, 246, 246, .2);
}
.scroll_bar::-webkit-scrollbar-thumb{
    background-color: #002c62;
}



/* メインイメージ -----------------------------------*/
.catch {
    z-index: 3;
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translate(0%, -50%);/* X横 Y縦 始点が要素の中心になる */
    width: 30%;
    max-width: 390px;
}
.catch_bg{
    background: linear-gradient(90deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.7) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

/* タブレット */
@media screen and (max-width: 768px){
    #main_img{
        min-height: auto;
        height: auto;
    }
    .catch {
        width: 25%;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    #main_img{
        min-height: auto;
        height: auto;
    }
}
/* 動画 -----*/
.video{
    height: 100vh;
}
@media screen and (max-width: 768px){
    .video{
    height: auto;
    width: 100%;
    }
}
/* トップページ -------------------------------------*/
#top_cms .top_cms_box .top_cms_title p::after{
        top: 12px;
}
.more a{
    transition: all 0.5s;
    background-color: rgba(255,255,255,0.5);
}
.more a:hover{
    box-shadow: 5px 5px 15px rgb(0 36 80 / 30%);
    background-color: transparent;
    background: linear-gradient(140deg, rgba(255,255,255,1) 0%, rgba(85,134,195,1) 35%, rgba(0,44,98,1) 85%);
    border-color: #FFF;
}
#main_wrap{
    /*box-shadow: inset 5px 0 10px rgb(0 36 80 / 10%);*/
}
#top_cms{
    background: url(./Dup/img/bg1.jpg);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}
.top_cms_title{
    background: url(./Dup/img/dec01.png) no-repeat;
    background-size: contain;
    background-position: left center;
    padding-left: 30px;
}
#intro{
    background: url(./Dup/img/bg2.jpg);
    background-size: cover;
    background-position: center top;
}
#intro h3::before{
    content: "";
    background-image: url(./Dup/img/dec03.png);
    width: 100px;
    height: 85px;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 75px;
    left: -140px;
}
#intro h3::after{
    content: "";
    background-image: url(./Dup/img/dec04.png);
    width: 180px;
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    right: -220px;
}
#intro h3{
    position: relative;
    font-size: 30px;
    margin: 0 auto 30px;
    width: 55px;
}
#intro p{
    height: 400px;
    margin: 30px auto;
    width: 510px;
}
#contents1::before{
    content: "";
    background-image: url(./Dup/img/dec02.png);
    width: 320px;
    height: 320px;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 29%;
    left: 5%;
    transform: rotate(335deg);
    z-index: -1;
    opacity: 0.6;
}
#contents1 .con1_img_box{
    padding-top: 5%;
}
#contents1 .txt4_box{
    width: 21%!important;
}

#contents1 .txt5{
    width: 80%!important;
    margin-left: 22%;
}
#contents2 h3::after{
    top: 31px;
}
#contents2 > div{
    height: 100%;
}
.txt7{
    position: absolute;
    bottom: 5%;
    width: 70%;
    max-width: 580px;
}


/* タブレット */
@media screen and (max-width: 820px){
    #intro p{
        height: 565px;
        width: 380px;
    }
}
@media screen and (max-width: 768px){
    #intro h3{margin: 0 auto 40px;}
    #intro p{height: 35%;width: 600px;}
    #contents1::before{
        bottom: 5%;
        width: 250px;
        height: 250px;
    }
    #contents1 .txt4_box{
        width: 100%!important;
        padding-bottom: 0px;
    }
    .txt7{
        position: static;
        width: 87%;
        max-width: 590px;
        margin: 0 auto;
    }
    #contents2 > div{
        background: url(./Dup/img/bg3.jpg);
        background-size: cover;
        background-position: center top;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    #intro{
        margin: 0;
        padding: 50px 0;
        width: 100%;
        background: url(./Dup/img/bg2_sp.jpg);
    }
    #intro h3::before{
        width: 70px;
        height: 59px;
        bottom: 55px;
        left: -90px;
    }
    #intro h3::after{
        width: 110px;
        height: 60px;
        bottom: -15px;
        right: -120px;
    }
    #intro h3 {font-size: 20px;width: 40px;}
    #intro p{
        height: auto;
        margin: 0px auto;
        width: 90%;
    }
    #contents1 .txt4_box{padding:5% 0;}
    #contents1 h4{text-align: center;}
    #contents1 .txt5{
        width: 100%!important;
        margin-left: 0;
    }
    #contents1::before{
        bottom: auto;
        top: 260px;
        left: 3%;
        width: 180px;
        height: 180px;
    }
    #contents2 h3{
        max-width: 215px;
    }
    #top_cms{
        background: none!important;
    }
    .body_before_topcms{
        content: "";
     display: block;
     position: fixed;
     top: 0;
     left: 0;
     z-index: -1;
     width: 100vw;
     height: 100vh;
     background: url(./Dup/img/bg1_sp.jpg) no-repeat;
     background-size: cover;
     background-position: center;
    }
    
    .top_cms_title{
        padding-left: 10px;
    }
    .top_cms_title h3{
        line-height: 1.2em;
        letter-spacing: 0rem;
        font-size: 23px;
    }
}

/* CMS・下層ページ ----------------------------------*/
#cms_4-c .cate_box{
    padding: 1px;
}
#page10,#page09,#page08,#page07{
    margin-bottom: 0px;
    padding-bottom: 50px;
}
.cate_title{
    width: 100%;
    padding: 10px;
    background-color: #c9d0d9;
    background: linear-gradient(90deg, rgba(246,246,246,1) 0%, rgba(242,242,243,1) 20%, rgba(201,208,217,1) 100%);
    color: #353535;
    border-top: none;
    border-bottom: none;
    border-left: 10px solid;
    border-color: #002c62;
    box-shadow: 1px 2px 5px rgb(21 25 30 / 10%);
}
.cms_6-a .cate_box{
    background-color: rgba(255,255,255,0.5);
}

#cms_6-a .cate_box{
    box-shadow: 1px 4px 10px rgb(145 149 153 / 30%);
    background: linear-gradient(270deg, rgba(246,246,246,0.7) 0%, rgba(242,242,243,0.7) 20%, rgb(229 231 233) 100%);
    margin-bottom: 50px;
}
.tel_wrap{
    margin-bottom: 0;
    padding: 80px 50px 40px;
}
/* スマホ */
@media screen and (max-width: 667px){
    #page10 span{
        letter-spacing: 0.07em;
    }
    .tel_wrap{
        padding: 80px 20px 100px;
    }
    .cate_title{
        width: 90%;
    }
    .sub_cate_title2{
        border:none;
        background-color: #efeff1;
        padding:0;
    }
    .privacy_box h3 span{
        letter-spacing: 0.03em;
        line-height: 1.5;
    }
}
@media screen and (max-width: 370px){
    .privacy_box h3 span{width: 230px;}
}
/* 全体 ---------------------------------------------*/
.cate_list li a{
    opacity: 1;
    color: #607b9b;
}
.cate_list li a:hover{
    opacity: 0.7;
}

.body_before{display: none;}
#cms,#page07,#page08,#page09,#page10{
    background: url(./Dup/img/bg2.jpg);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}
#cms::before,#page07::before,#page08::before,#page09::before,#page10::before{
    content: "";
    background-image: url(./Dup/img/dec03.png);
    width: 220px;
    height: 186px;
    background-size: cover;
    background-repeat: no-repeat;
    position: fixed;
    bottom: 5%;
    right: 8%;
    /*transform: rotate(335deg);*/
    z-index: -1;
    opacity: 0.3;
}


.close_menu{
    background-color: rgba(255,255,255,0.3);
}
.close_menu:hover{
    background-color: #002c62;
}
#header h1{
    width: 180px;
    margin: 20px auto 40px;
}
header{
    width: 330px;
    background: url(./Dup/img/img_tate.jpg);
    background-size: cover;
    background-position: center top;
    z-index: 1;
}
#header nav ul li{
    background-color: transparent;
}
#header nav ul li a{
    text-shadow: 0px 0px 5px rgb(255 255 255 / 50%);
}
#header .en_font li a{
    color: #000;
}
.sns_links.side_bar{
    background-color: #002c62;
}
#footer{
    position: relative;
    z-index: 1;
}
#footer_txt{
    padding-top: 50px;
}

.linkStyle{
	color:#002c62;
	text-decoration: underline;
	transition: all 0.5s;
}
.linkStyle:hover{
	color:#002c62;
	opacity: 0.7;
	text-decoration: none;
}

/* タブレット */
@media screen and (max-width: 768px){
    #menu_wrap ul.menu_nav li a,#menu_wrap{
        background-color: #002c62;
    }
    #menu_wrap ul li a{
        color: #f6f6f6;
    }
    #header h1{
        width: 120px;
        margin: 0px;
    }
    header{
        width: 100%;
    }
    #footer{
    background: url(./Dup/img/img_tate.jpg);
    background-size: cover;
    background-position: center top;
    }
    #page_title{
        margin-bottom: 0px;
        position: relative;
        z-index: 2;
    }
    #cms{
        margin-bottom: 0;
        padding-bottom: 50px;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    #copyright{
        z-index: 1;
        position: relative;
    }
    header{
        z-index: 3;
        position: relative;
    }
    #cms,#page07,#page08,#page09,#page10{
        background: none!important;
        background-attachment: scroll;
    }
    .body_before{
    content: "";
    display: block;
    position: fixed;
    top: 0;
     left: 0;
     z-index: -1;
     width: 100vw;
     height: 100vh;
     background: url(./Dup/img/bg2_sp.jpg) no-repeat;
     background-size: cover;
     background-position: center;
    }
    
    #cms::before, #page07::before, #page08::before, #page09::before, #page10::before{
        width: 90px;
        height: 77px;
        bottom: 10px;
        right: 10px;
        position: absolute;
    }

    #page_title h2{
        font-size: 20px;
        letter-spacing: 0em;
    }
    #page-top{
        width: 60px;
        height: 60px;
    }
    #header h1{
        width: 80px;
    }
    footer .logo img{
        max-width: 150px;
    }
    #footer_txt a{
        font-size: 32px;
    }
    /*#page-top{*/
    /*    bottom: 36px!important;*/
    /*}*/
}

/* 配色 ----------------------------------------------*/

.txt_color1,.hvr_txt_color1:hover{color: #002c62} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #f6f6f6} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #001734} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #b5d7d2} /* アクセントカラー2 */

.bg_color1,.hvr_bg_color1:hover{background-color: #002c62} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #dfe5ed} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #001734} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #b5d7d2} /* アクセントカラー2 */

.border_color1,.hvr_border_color1:hover{border-color: #002c62}
.border_color2,.hvr_border_color2:hover{border-color: #dfe5ed}
.border_color3,.hvr_border_color3:hover{border-color: #c9d0d9}
.border_color4,.hvr_border_color4:hover{border-color: #b5d7d2}

/* 文字・文字間・空間 --------------------------------*/
body{
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    font-family: 'Hina Mincho', serif!important;
    /*font-family: 'Zen Antique Soft', serif;*/
    /*font-family: 'Zen Old Mincho', serif;*/
}

#menu_wrap ul.menu_nav li a,#page10 h3{
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    font-family: 'Hina Mincho', serif!important;
    /*font-family: 'Zen Antique Soft', serif;*/
    /*font-family: 'Zen Old Mincho', serif;*/
}

#header .en_font li a,#page_title .en_font,.top_cms_title .en_font,#page07 .en_font,#footer,.cate_title{
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    /*font-family: 'Hina Mincho', serif;*/
    font-family: 'Zen Antique Soft', serif!important;
    /*font-family: 'Zen Old Mincho', serif;*/
}



/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){}

/*テンプレート  -------------------------------------*/
#footer_txt{padding-bottom: 70px;}
.font_14{
    font-size: 16px;
}

/* タブレット */
@media screen and (max-width: 768px){
    .font_2dw_tb{font-size: 16px;}
}
/* スマホ */
@media screen and (max-width: 667px){
    .font_12_sp,.font_14_sp{
        font-size: 16px;
    }
    .pager a{margin: 0;}
}


/* ---------- loopSlider ---------- */
#topcms_gallery_type1 .loopSliderWrap{
    top: 0;
    left: 0;
    height: 300px;
}
#topcms_gallery_type1 .loopSlider {
    margin: 0 auto;
    height: 300px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
#topcms_gallery_type1 .loopSlider .ul {
    height:300px;
    float: left;
    overflow: hidden;
}
#topcms_gallery_type1 .loopSlider .ul .li {
    width: 300px;
    height: 300px;
    float: left;
    display: inline;
    overflow: hidden;
	position: relative;
	box-sizing: border-box;
	padding: 0;
}
#topcms_gallery_type1 .loopSlider .ul .li img{
    border-radius: 0;
}
#topcms_gallery_type1 .loopSliderWrap:after {
    content: "";
    display: none;
    clear: none;
}

/*リンクボタン*/
#topcms_gallery_type1 .btn{z-index: 3;}
#topcms_gallery_type1 .btn a::before {
    content: '';
    position: absolute;
    bottom: 55px;
    right: 27%;
    width: 42%;
    height: 1px;
    background: #333;
    transition: all .3s;
}
#topcms_gallery_type1 .btn a::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 27%;
    width: 15px;
    height: 1px;
    background: #333;
    transform: rotate(35deg);
    transition: all .3s;
}
#topcms_gallery_type1 .btn a:hover::before {
    right: 16%;
    background: #fff;
}
#topcms_gallery_type1 .btn a:hover::after {
    right: 15%;
    background: #fff;
}
#topcms_gallery_type1 .btn {
    display: block;
}
#topcms_gallery_type1 .btn a {
    background: #fff;
    color: #212121;
    width: 200px;
    height: 200px;
    display: flex;
    align-content: center;
    justify-content: center;
    border-radius: 50%;
    flex-wrap: wrap;
    transition: all 0.4s;
}
#topcms_gallery_type1 .btn a:hover {
    background: #1c1c1c;
    color: #fff;
}
#topcms_gallery_type1 .btn a span, .btn a strong {
    text-align: center;
}
@media(max-width: 768px) {
#topcms_gallery_type1,#topcms_gallery_type1 .loopSliderWrap,#topcms_gallery_type1 .loopSlider,#topcms_gallery_type1 .loopSlider ul,#topcms_gallery_type1 .loopSlider .ul .li{
	height: 280px;
}
#topcms_gallery_type1 .loopSlider .ul .li{
    width: 280px;
}
#topcms_gallery_type1 {
    padding-bottom: 0;
    padding-top: 0;
}
}
@media(max-width: 667px) {
#topcms_gallery_type1,.loopSliderWrap,.loopSlider,.loopSlider .ul,.loopSlider .ul .li{
	height: 179px!important;
}
#topcms_gallery_type1 .loopSlider .ul .li{
    width: 179px;
}
#topcms_gallery_type1 .btn a::after {
    bottom: 35px;
    right: 27%;
}
#topcms_gallery_type1 .btn a::before {
    bottom: 30px;
    right: 27%;
}
#topcms_gallery_type1 .btn a {
    width: 140px;
    height: 140px;
    line-height: 1.7;
}
}



/*お知らせ--------------------*/
.topcms_news_type4 .cate_box{
	width: 30.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
}
.topcms_news_type4 .cate_box{
	background-color: #fff;
	padding: 0;
	box-shadow: 10px 25px 30px rgb(0 0 0 / 8%);
	/*border-top: 2px solid #002c62;*/
}
.topcms_news_type4 .txt_height{
	height: 2em
}
.topcms_news_type4 .box_title1:empty{
	display: block!important;
}
/*  タブレット ---------- */
@media screen and (max-width: 768px){
}
/*  スマートフォン ---------- */
@media screen and (max-width: 667px){
.topcms_news_type4 .cate_box {
    width: 100%!important;
    margin-bottom: 20px;
}
}