﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@600&display=swap');

body, .font_sans-serif, .font_en{
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
header, #main_img .txt1, #contents1 h2, #contents2 h2, #contents3 h3, #top_cms .cms_title .font_en, .button, #page_title .font_en, .cate_title, #sp_nav .font_en, .con_no{
    font-family: 'Noto Serif JP', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
.font_bold{
    font-weight: normal;
}

#main_img{
    position: absolute!important;
    top: 0;
    left: 0;
    z-index: -1;
}
#main_img .scroll_bt{
    display: none!important;
}

.txt_shadow, .txt_shadow-l, .txt_shadow-b{
    text-shadow: none;
}

.button{
    border: none;
    background-color: #333333;
    color: #fff;
    z-index: 1;
}
.button:hover{
    background-color: transparent;
    transform: translateY(-5px);
}
.button:hover::after{
    box-shadow: inset 0 0 0 15em #00389b;
}
.button2{
    color: #333;
    border-color: #333;
}
.button2:hover{
    color: #00389b;
    border-color: #f2f2f2;
    background-color: #f2f2f2;
    box-shadow: none;
}

header{
    background-image: url('./Dup/img/bg_img3.png'), linear-gradient(to bottom right, #EFE0A3, #DEB887);
    background-size: cover, auto;
    background-position: center;
}

#main_menu ul li{
    text-align: center;
}
#main_menu ul li a{
    margin-bottom: 0;
    padding: 10px 0!important;
}
#main_menu ul li a:hover{
    transform: translateY(-5px);
    color: #00389b;
}
#main_menu ul li a::before{
    display: none;
}

.fadein .fade_box{
    opacity: 0;
    transform: translate(-10px,20px) skewY(2deg);
    transition: 0.8s;
    transition-property: opacity,transform;
}
.fadein .fade_box.active{
    opacity: 1;
    transform: none;
}

.con_no span::before{
    position: absolute;
    content: "";
    width: 30px;
    height: 1px;
    left: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: #333;
}

#contents1{
    max-width: 100%;
    position: relative;
    padding-top: 20px;
}
#contents1::before, #contents1::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 5vw;
    background-size: 100% 100%;
    left: 0;
    z-index: 1;
}
#contents1::before{
    background-image: url('./Dup/img/bg_img1.png');
    top: calc(-5vw + 1px);
}
#contents1::after{
    background-image: url('./Dup/img/bg_img2.png');
    bottom: calc(-5vw + 1px);
}
#contents1 h2{
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 30px;
    position: relative;
}
#contents1 h2::before{
    position: absolute;
    content: "";
    width: 100px;
    height: 3px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eae7e5;
    margin: auto;
}

#contents2{
    padding: 0;
    padding-bottom: 150px;
    max-width: 100%;
    background-image: url('./Dup/img/intro.png');
    background-size: 1600px;
    background-position-y: 100%;
    background-position-x: 0;
    animation: anim1 linear 40s infinite;
    background-repeat: repeat-x;
    position: relative;
}
@keyframes anim1 {
0% {
    background-position-x: 0
}
100% {
    background-position-x: -1600px
}
}
#contents2 > div{
    align-items: flex-start;
    max-width: 1280px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 20px;
}
#contents2 div.grid_6{
    padding-top: 50px;
    padding-right: 20px;
}
#contents2 figure{
    margin-top: -50px;
    width: 50%!important;
}
#contents2 h2, #contents3 h3{
    margin-bottom: 30px;
}

#contents3{
    padding: 0;
    padding-bottom: 100px;
    margin-top: -50px;
    max-width: 100%;
    background: linear-gradient(to bottom, transparent 200px, #fbf9f9 200px);
}
#contents3 > div{
    max-width: 1280px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 20px;
}
#contents3 figure{
    margin-bottom: 50px;
}
#contents3 div.grid_6:last-child{
    margin-top: 70px;
}

#top_cms .cms_title{
    padding-left: 0;
    margin-bottom: 50px;
}
.cms_title::before{
    display: none;
}
#top_cms .cms_title h2{
    position: relative;
    font-size: 30px;
    color: #333;
}
#top_cms .cms_title h2::before{
    position: absolute;
    content: "";
    width: 20px;
    height: 5px;
    left: -40px;
    background-color: #00389b;
    top: 0;
    bottom: 0;
    margin: auto;
}
#top_cms .cms_title p{
    color: #333;
    opacity: 0.4;
    letter-spacing: 3px;
}

#page_title .title_img::before{
    display: none;
}
#page_title .page_box{
    padding-left: 50px;
    margin-top: 50px;
    margin-bottom: 100px;
}
#page_title .page_box::before{
    width: 1px;
    height: 200px;
    background-color: #333333;
    top: auto;
    bottom: 0;
    transform: none;
}
#page_title .page_box p{
    letter-spacing: 3px;
}

.con_wrap{
    margin-top: 100vh;
}

.link_box ul{
    justify-content: center;
}
.link_box ul li{
    margin: 0 10px;
}

.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: center;
	padding-bottom: 20px!important;
	margin-bottom: 50px;
	color: #333;
	font-weight: normal;
	position: relative;
}
.cate_title::before{
    position: absolute;
    content: "";
    width: 40px;
    height: 5px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #00389b;
    margin: auto;
}

.footer_wrap{
    background-color: #fff;
    border-top: solid 1px #eae7e5;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
header{
    padding: 15px 0!important;
}
#main_img{
    height: 60vw!important;
    margin-top: 75px;
}
#contents1{
    padding-top: 50px;
}
#contents2 > div, #contents3 > div{
    padding-left: 20px;
}
#contents3{
    background: linear-gradient(to bottom, transparent 150px, #fbf9f9 150px);
}
.con_wrap{
    margin-top: 60vw;
}
#top_cms .cms_title{
    text-align: center;
}
#top_cms .cms_title h2{
    padding-top: 20px;
}
#top_cms .cms_title h2::before{
    width: 50px;
    height: 5px;
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    margin: auto;
}
#page_title .page_box{
    padding-left: 0;
    padding-right: 0;
    margin: 70px 0;
    text-align: center;
}
#page_title .page_box::before{
    height: 100px;
    right: 0;
    bottom: auto;
    top: -120px;
    margin: auto;
}
#page_title .page_box h2{
    font-size: 30px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
header{
    padding: 14px 0!important;
}
#main_img{
    margin-top: 60px;
}
#contents1{
    padding: 50px 20px;
}
#contents1::before, #contents1::after{
    height: 8vw;
}
#contents1::before{
    top: calc(-8vw + 1px);
}
#contents1::after{
    bottom: calc(-8vw + 1px);
}
#contents2 > div{
    flex-direction: column-reverse;
}
#contents2 div.grid_6 {
    padding-right: 0;
}
#contents2 figure{
    margin-top: -30px;
    width: 100%!important;
}
#top_cms .cms_title h2 {
    font-size: 24px;
}
#page_title .page_box h2{
    font-size: 24px;
}
.cate_title{
	font-size: 20px;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
.pc_box .contact_bt a{
    padding-top: 15px;
    padding-bottom: 15px;
}
}