﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=M+PLUS+Rounded+1c&display=swap');

body, .font_sans-serif{
    font-family: 'M PLUS Rounded 1c', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    font-weight: normal;
}
#contents_links .box_wrap .box a p span, .en_font, #top_cms .top_cms_box .top_cms_title p, #menu_wrap nav ul li a .title2, #page_title.active > div p, #page10 .box a > div p, a[href^="tel:"]{
    font-family: 'Montserrat', 'M PLUS Rounded 1c', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    font-weight: normal;
}
.font_bold{
    font-weight: normal;
}
p, h1, h2, h3, h4, h5, h6, #main_nav ul li a, #top_cms .top_cms_box .top_cms_title, footer #footer_bottom ul li, #menu_wrap nav ul li a, .cate_list li a, .tel, .banner_cms{
    transform: rotate(0.03deg);
}
h1::after{
    border-color: #099bbd transparent transparent transparent!important;
}
#loader::after, .sm-slider::after, #page_title::before, #menu_wrap::after, #tel_contact, #page10 .box a::after{
    background-image: none!important;
    background-color: #099bbd!important;
}
#main_nav{
    padding: 0 20px;
    right: 0;
    margin: auto;
    width: 100%;
    max-width: 1280px;
    box-sizing: border-box;
}
.other #main_nav{
    position: absolute;
    top: 100%;
}
#main_nav ul{
    background-color: #fff;
    justify-content: center;
    padding: 30px 0;
}
#main_nav ul li{
    margin: 0;
}
#main_nav ul li:not(:last-of-type){
    border-right: solid 1px #e6e6e6;
}
#main_nav ul li a{
    color: #333;
    padding: 0 40px;
}
#main_nav ul li a:hover{
    transform: translateY(-5px);
    opacity: 1;
    color: #099bbd;
}
#main_nav ul::before, #main_nav ul::after{
    display: none;
}
#main_img::after, .sm-slider::after{
    display: none;
}
#menu_wrap nav ul li{
    padding: 20px;
    margin: 0;
}

.intro_top_wrap{
    background-image: url('./Dup/img/bg_img1.png');
    background-position: left 0 bottom 50px;
    background-repeat: repeat-x;
    background-size: 1500px;
    animation: line1 30s linear infinite;
}
#contents{
    padding-left: 50px;
    padding-right: 50px;
}
#contents::before{
    background-color: rgba(9,155,189,0.6);
    background-image: url('./Dup/img/nami1.png'), url('./Dup/img/nami2.png');
    background-size: 1200px 50px, 1300px 50px;
    background-position-y: 0;
    background-position-x: 0;
    background-repeat: repeat-x;
    animation: nami1 20s linear infinite;
    opacity: 1;
}
#contents h3{
    margin-bottom: 100px;
    text-align: center;
    margin-bottom: 50px;
    font-size: 60px;
}
#contents > div{
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-top: solid 1px #fff;
    border-bottom: solid 1px #fff;
    border-left: none;
}
#contents > div::after{
    display: none;
}
#contents > div::before{
    position: absolute;
    content: "";
    width: 1px;
    height: 50px;
    left: 0;
    right: 0;
    top: -25px;
    background-color: #fff;
    margin: auto;
}
#contents > div h4{
    line-height: 1.5;
    font-size: 26px;
}

#top_cms .top_cms_box .top_cms_title{
    text-align: center;
}
#top_cms .top_cms_box .top_cms_title p{
    left: 50%;
    transform: translateX(-50%);
}
#top_cms .more{
    text-align: center;
}
#top_cms .top_cms_box .more a{
    color: #099bbd;
    border: solid 1px #099bbd;
}
#top_cms .top_cms_box .more a:hover{
    color: #fff;
}
#top_cms .top_cms_box .more a::after{
    background-color: #099bbd;
}

.other main{
    padding-top: 50px;
}
#page_title{
    padding-top: 200px;
}
.pager{
    padding-top: 0;
    justify-content: center;
}
.pager li{
    margin: 0 5px;
}

.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: left;
	padding-bottom: 10px!important;
	margin-bottom: 50px;
	border-bottom: solid 2px #e6e6e6;
	color: #333;
	font-weight: normal;
	position: relative;
}
.cate_title::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    left: 0;
    bottom: -2px;
    background-color: #099bbd;
}

#page10 .box a > div p{
    opacity: 0.1;
}

footer #footer::after{
    background-color: #333!important;
    opacity: 0.8;
}
#footer_bottom{
    background-color: #333!important;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
#menu_wrap{
    padding: 50px 0;
}
#menu_wrap nav ul li a{
    padding-top: 0;
}
.other main{
    padding-top: 0;
}
#page_title{
    padding-top: 150px;
}
#page_title > div h3{
    font-size: 24px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
.intro_top_wrap{
    background-position: left 0 bottom 0;
    background-size: 1000px;
    animation: line2 20s linear infinite;
}
#contents h3{
    font-size: 50px;
}
#contents{
    padding-left: 5%;
    padding-right: 5%;
}
#contents > div h4{
    font-size: 20px;
}
#contents > div{
    padding-left: 0;
    padding-right: 0;
}
#page_title{
    padding-bottom: 100px;
}
#page_title > div p{
    letter-spacing: 4px;
    bottom: 22px;
}
.cate_title{
    font-size: 20px;
}
#footer_box h2{
    padding: 0 20px;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
}


@keyframes line1 {
    0%{
        background-position: left 0 bottom 50px;
    }
    100%{
        background-position: left -1500px bottom 50px;
    }
}
@keyframes line2 {
    0%{
        background-position: left 0 bottom 0;
    }
    100%{
        background-position: left -1000px bottom 0;
    }
}
@keyframes nami1 {
    0%{
        background-position-x: 0, 0;
    }
    100%{
        background-position-x: -2400px, -1300px;
    }
}