﻿@import url('https://fonts.googleapis.com/css2?family=MonteCarlo&family=Shippori+Mincho+B1:wght@500;600&display=swap');

.con_title, #contents4, #top_cms .cms_title h2, .more, a[href^="tel:"], a[href^="mailto:"], #page-top, #page_title, .cate_title, .sub_cate_title, #sp_nav, #pc_nav, #top_sns, .cate_list{
    font-family: 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}

#contents4 a .con_txt p.txt_color2, #top_cms .cms_title p, #page_title p, #under_link{
    font-family: 'MonteCarlo', 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    letter-spacing: 0
}

/*** fade ***/

.fadein .fade_box{
    opacity: 0;
    transition: 1s;
    transition-property: opacity, filter, transform;
    filter: blur(5px);
    transform: translateY(10px);
}
#top_cms .cms_title h2 span, #page_title h2 span{
    display: inline-block;
    opacity: 0;
    transition: 0.5s;
    transition-property: opacity, filter, transform;
    filter: blur(5px);
    transform: translateX(10px);
}
.fadein .fade_box.active, #top_cms .cms_title h2 span.active, #page_title h2 span.active{
    opacity: 1;
    filter: none;
    transform: none;
}

/*** other ***/

h1 img{
    max-width: 120px!important;
    height: auto!important;
}

#wrap{
    background-image: url('./Dup/img/bg_img.jpg');
    background-attachment: fixed;
}

#header {
    background: linear-gradient(to bottom, rgba(45,13,178,0.8), rgba(45,13,178,0));
}

#pc_nav{
    display: none;
}

#main_img .main_title{
    opacity: 0;
    filter: blur(5px);
    transform: translate(-50%, -50%) scale(1.1);
    transition: 1s;
    transition-property: filter, transform, opacity;
    z-index: 2;
}
#main_img .main_title.active{
    opacity: 1;
    filter: none;
    transform: translate(-50%, -50%);
}

.con_title{
    padding: 0;
}
.con_box::before{
    display: none;
}

#contents1{
    padding-bottom: 200px;
}
#contents1 .grid_5{
    padding-top: 0;
    position: relative;
    top: 100px;
}
#contents1 .con_box::after{
    position: absolute;
    content: "";
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: 150px;
    background-position: top left, bottom right;
    background-repeat: no-repeat;
    pointer-events: none;
}
#contents1 .con_title, #top_info .con_title{
    text-align: center;
    padding-top: 60px;
    padding-bottom: 40px;
    background-image: url('./Dup/img/bg_img8.png'), url('./Dup/img/bg_img10.png');
    background-repeat: no-repeat;
    background-size: 300px;
    background-position: bottom center, top center;
}

#contents2, #contents3, #contents2 .con_box, #contents3 .con_box, #contents2 .con_box > .d_table, #contents3 .con_box > .d_table{
    min-height: inherit;
}
#contents2 .con_box > .d_table::before, #contents3 .con_box > .d_table::before{
    display: none;
}
#contents2 .con_box, #contents3 .con_box{
    padding: 100px;
    background-image: none!important;
    background-color: rgba(18,6,137,0.5)!important;
}
#contents2 .con_box::after, #contents3 .con_box::after{
    position: absolute;
    content: "";
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    margin: auto;
    border: solid 1px #fff;
    pointer-events: none;
    background-image: url('./Dup/img/bg_img4.png'), url('./Dup/img/bg_img5.png'), url('./Dup/img/bg_img6.png'), url('./Dup/img/bg_img7.png');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: top 10px left 10px, top 10px right 10px, bottom 10px right 10px, bottom 10px left 10px;
}
#contents2 .con_box h2, #contents3 .con_box h2{
	padding-top: 60px;
	background-image: url('./Dup/img/bg_img3.png');
	background-size: 50px;
	background-repeat: no-repeat;
	background-position: top center;
	text-align: center;
}

#contents4 a .con_txt p.txt_color2, #top_cms .cms_title p{
    font-size: 40px;
}
#contents4 .con_bg_img{
    background-color: #1a0033;
}

#top_cms{
    background-color: rgba(18,6,137,0.6);
}

#under_page .under_box{
    background-color: rgba(18,6,137,0.8);
}
#under_page .under_box::before{
    position: absolute;
    content: "";
    width: 80%;
    height: 75px;
    max-width: 500px;
    pointer-events: none;
    left: 0;
    right: 0;
    margin: auto;
    top: -5px;
    transform: translateY(-100%);
    background-image: url('./Dup/img/bg_img9.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
}
#under_page .under_box.bg_light{
    background-image: url('./Dup/img/bg_img11.png');
    background-size: 100%;
    background-position: top center;
    background-repeat: no-repeat;
}

#page_title{
    height: 400px;
}
#page_title .page_title_box{
    text-align: center;
    top: 160px;
}
#page_title h2{
    font-size: 20px;
    margin-bottom: 0;
    letter-spacing: 3px;
}
#page_title p{
    font-size: 50px;
}

#under_link a:hover .con_bg_img{
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.2;
}

.cate_list{
    padding: 0;
    border-bottom: none;
    margin-bottom: 100px;
    justify-content: center;
}
.cate_list li{
    width: auto;
    padding: 5px;
    margin: 0;
}
.cate_list li a{
    padding: 5px 15px;
    background-color: #f2f2f2;
    color: #210051;
}
.cate_list li a:hover{
    background-color: #210051;
    color: #fff;
}
.cate_list li::before{
    display: none;
}

.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: center;
	padding-top: 60px;
	background-image: url('./Dup/img/bg_img2.png');
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 50px;
	margin-bottom: 50px;
	color: #fff;
	font-weight: bold
}

.foot_banner{
    right: 10px;
    bottom: 10px;
    z-index: 1;
}
#copyright{
    padding-bottom: 100px;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
#wrap{
    background-attachment: scroll;
}
#contents1{
    padding-bottom: 100px;
}
#contents1 .grid_5{
    top: 0;
}
#contents2 .con_box, #contents3 .con_box{
    padding: 50px;
}
#under_page .under_box.bg_light{
    background-size: 800px;
}
#page_title{
    height: 350px;
}
#page_title .page_title_box{
    top: 130px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
header .menu_stick {
    top: 30px;
}
h1 img{
    max-width: 80px!important;
}
#contents1 .con_title{
    background-size: 100%;
}
#contents1 .con_box, #top_info .con_box{
    padding-top: 50px;
}
#contents2 .con_box, #contents3 .con_box{
    padding: 50px 30px;
}
#contents2 .con_box::after, #contents3 .con_box::after{
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}
.cate_list li{
    width: 100%;
    text-align: center;
}
.cate_title{
	font-size: 20px;
}
.foot_banner{
    width: calc(100% - 20px);
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
#wrap{
    background-attachment: scroll;
}
.more a{
    padding-top: 20px;
}
.tel_bt{
    padding-top: 10px;
}
.sitemap_box .more a{
    line-height: 80px;
}
}