﻿@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@350&family=Shippori+Mincho+B1:wght@500&display=swap');

.font_com, #intro .intro_sub_title, #top_contents .con_sub_title, #top_contents .intro_sub_title, .cms_title p, .date, #top_info .info_sub_title, #page_title p, .pager, .contents_no text, #blog_cms .cms_title h3{
    font-family: 'Josefin Sans', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

.intro_title, .con_title, #top_cms .cms_title h3, #top_contact h2, #top_info .info_title, #page_title h2, .cate_title, .sub_cate_title, .box_title1, .box_title, #cms_5-c .box_txt1::before, .cms_5-c .box_txt1::before, .main_title h2{
    font-family: 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif"
}

.font_bold{
    font-weight: normal;
}

/*** fade ***/

.cms_title h3, #page_title h2{
    overflow: hidden;
    line-height: 1;
    margin-bottom: 10px;
}
.cms_title h3 span, #page_title h2 span{
    display: inline-block;
    transition: 1s;
    transition-property: transform;
    transition-timing-function: cubic-bezier(0,.64,.29,.99);
    transform-origin: top left;
    transform: translateY(1em);
}
.cms_title h3 span.active, #page_title h2 span.active{
    transform: none;
}

/*** slider ***/

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

.swiper-slide-active .box_img,
.swiper-slide-duplicate-active .box_img,
.swiper-slide-prev .box_img{
  animation: zoomUp 10s linear 0s 1 normal both;  
}

/*** other ***/

h2, h3, h4, h5, h6{
    line-height: 1.5;
}

#wrap{
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
}

#pc_nav{
    padding-bottom: 100px;
}
#pc_nav ul{
    justify-content: flex-end;
}

#pc_nav_fix{
    padding-top: 20px!important;
    padding-bottom: 20px!important;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.new_user a{
    border-radius: 100px;
    padding-top: 12px;
}

#pc_nav_fix > div > .new_user{
    top: 50%;
    right: 70px;
    transform: translateY(-50%);
}

#logo{
    width: 50px!important;
}

#main_img{
    padding-left: 20%;
    min-height: 750px;
}

#head_logo{
    top: 50px;
    left: 5%;
    transform: none;
}
.main_title{
    bottom: 200px;
    left: 5%;
    z-index: 1;
}
.main_title h2{
    font-size: 3.8vw;
}

.contents_no span{
    display: none;
}
.contents_no{
    padding-left: 0;
    font-size: 40px;
    line-height: 1;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: solid 2px;
}

#intro{
    padding-top: 20vw;
}
#intro::before{
    position: absolute;
    content: "";
    width: 60%;
    height: 100%;
    right: 0;
    top: -100px;
    background-image: url('./Dup/img/bg_img.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}
#intro .intro_txt_wrap{
    z-index: auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    margin-bottom: -50px;
    background-image: linear-gradient(-225deg, #17184b 20px, transparent 20px);
    background-repeat: no-repeat;
    border-top-right-radius: 30px;
}

#top_contents::before{
    background-color: #f4f4f2;
    width: 100%;
    background-image: url('./Dup/img/bg_img.png');
    background-size: 1500px;
    background-position-y: 100%;
    background-position-x: 0;
    background-repeat: repeat-x;
    animation: anime1 30s linear infinite;
}

@keyframes anime1 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -1500px;
    }
}

#top_contents .con_txt_wrap{
    padding: 20px 30px;
    background-color: #fff;
    margin-top: -100px;
    position: relative;
    display: inline-block;
    max-width: 90%;
    box-sizing: border-box;
    margin-left: -20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    background-image: linear-gradient(-225deg, #17184b 10px, transparent 10px);
    background-repeat: no-repeat;
    border-top-right-radius: 30px;
}
#top_contents .con_txt_wrap h2{
    margin-top: 0;
}

.top_banner a:hover .banner_bg{
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.2
}

#blog_cms{
    margin-top: -100px;
}
.cms_title{
    margin-bottom: 50px;
}
.cms_box .more{
    margin-top: 50px;
}

#top_info{
    padding-top: 20px;
    padding-bottom: 20px;
}

#page_title{
    position: relative;
}
#page_title p{
    position: absolute;
    font-size: 100px;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    width: 100%;
    line-height: 1;
    opacity: 0.05;
}

.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: #17184b;
	font-weight: normal;
	position: relative;
}
.cate_title::before{
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: #659392;
}

.cate_list a{
    background-color: #17184b;
    color: #fff;
}
.cate_list a:hover{
    background-color: #e8e8e6;
    color: #17184b;
}


#cms_2-a .cate_box:nth-of-type(even), .cms_2-a .cate_box:nth-of-type(even){
    flex-direction: row-reverse
}

#cms_5-c .box_title1, .cms_5-c .box_title1{
    cursor: pointer;
}
#cms_5-c .box_title1 .arrow, .cms_5-c .box_title1 .arrow{
    width: 30px;
    height: 30px;
    bottom: 10px;
    right: 0;
}
#cms_5-c .box_title1 .arrow::before, #cms_5-c .box_title1 .arrow::after, .cms_5-c .box_title1 .arrow::before, .cms_5-c .box_title1 .arrow::after{
    position: absolute;
    content: "";
    width: 15px;
    height: 1px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: currentColor;
    transition: transform 0.3s;
}
#cms_5-c .box_title1 .arrow::after, .cms_5-c .box_title1 .arrow::after{
    transform: rotate(90deg);
}
#cms_5-c .box_title1.active .arrow::after, .cms_5-c .box_title1.active .arrow::after{
    transform: rotate(180deg);
}
#cms_5-c .box_txt1::before, .cms_5-c .box_txt1::before{
    top: 4px;
}

#logo2 img{
    width: 100px;
}

#top_contact .contact_box{
    backdrop-filter: blur(3px);
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    background-image: linear-gradient(-225deg, #17184b 20px, transparent 20px);
    background-repeat: no-repeat;
    border-top-right-radius: 30px;
}

footer .footer_img{
    display: none;
}
footer #footer{
    background-image: url('./Dup/img/bg_img.jpg');
    background-size: cover;
    background-position: center;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
#logo{
    padding-right: 0;
}
.new_user a{
    padding-top: 10px;
}
#main_img{
    margin-top: 20px;
    min-height: inherit;
    padding-left: 150px;
}
.main_title {
    bottom: 20px;
    left: 0;
}
.main_title h2{
    font-size: 30px;
}
#top_contents .con_txt_wrap {
    padding: 15px 20px;
    margin-top: -30px;
}
#top_contents .con_txt_wrap h2{
    font-size: 16px;
}
#page_title p{
    font-size: 80px;
}
#cms_5-c .box_txt1::before, .cms_5-c .box_txt1::before{
    top: 7px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#pc_nav_fix {
    padding-top: 15px!important;
    padding-bottom: 15px!important;
}
#main_img{
    padding-left: 0;
}
.main_title {
    bottom: 0;
    position: relative;
    text-align: center;
}
#intro{
    padding-top: 50px;
}
#intro::before {
    width: 100%;
    height: calc(100% - 100px);
    top: 100px;
}
#intro .intro_txt_wrap{
    margin-bottom: 0;
}
#page_title p{
    position: static;
    font-size: 16px;
    transform: none;
    line-height: 2;
    opacity: 1;
}
#cms_5-c .box_txt1::before, .cms_5-c .box_txt1::before{
    top: 6px;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
.new_user a, #cms_3-f .box_txt2{
    padding-top: 14px;
}
.cate_list li a{
    padding-top: 15px;
}
}