﻿/** font **/

@import url('https://fonts.googleapis.com/css2?family=Lexend+Exa&family=M+PLUS+1p:wght@800&family=Noto+Sans+JP:wght@400;700&display=swap');

:root{
    --font-jp: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-jp2: 'M PLUS 1p', 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-en: 'Lexend Exa', 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
body, .font_sans-serif{
    font-family: var(--font-jp);
}
.font_jp2{
    font-family: var(--font-jp2);
}
.font_en, a[href^="tel:"]{
    font-family: var(--font-en);
}

/** color **/

:root{
    --color1: #0091ea;
    --color2: #f0f5f7;
    --color3: #e22c1e;
    --color4: #e6e6e6;
    --black: #222222
}

/** fade **/

.fadein .fade_box{
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s;
    transition-property: opacity, transform;
}
.fadein .fade_box.fade_left{
    transform: translateX(-20px);
}
.fadein .fade_box.fade_right{
    transform: translateX(20px);
}
.fadein .fade_box.active{
    opacity: 1;
    transform: none!important;
}

/** other **/

html, body{
    line-height: 2;
    font-size: 14px;
}
h2, h3, h4, h5, h6{
    line-height: 1.5;
}


#wrap {
    width: 100%;
    margin-top: 0;
}

.top_page header{
    display: none;
}

#loading_logo{
    max-width: 250px;
    width: 250px;
}

#wrap:not(.top_page) header{
    display: none;
}
#wrap.top_page #header ul{
    justify-content: center;
}

.main_img{
    height: 42vw!important;
}
.main_img_wrap {
    width: 100%;
}
.main_img_wrap .main_catch{
    display: none;
}

.main_wrap {
    margin-top: 42vw;
}

.menu .nav ul{
    padding-left: 170px;
}
.menu .nav ul li, .menu .nav ul li a, .top_nav ul li, .top_nav ul li a{
    transform: none;
}
.menu .nav ul li, .top_nav ul li{
    padding: 0;
    border: none;
}
.menu .nav ul li a{
    padding: 10px 15px;
}
.menu .nav ul li a .nav2{
    font-family: var(--font-en);
}
.top_nav ul li a{
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 3px 5px rgba(0,0,0,0.2);
}

.menu .nav .logo{
    width: 125px!important;
}

#contents{
    background-color: #fff;
}
#contents .con1_txt_wrap{
    background-image: url('./Dup/img/bg_img.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}
#contents .con1_img{
    border-radius: 0 50px 50px 0;
}
#contents .flex_row-re .con1_img{
    border-radius: 50px 0 0 50px;
}
#contents .con1_title span{
    background-image: linear-gradient(to bottom, currentColor, currentColor);
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.5s;
    transition-delay: 0.5s;
}
#contents .con1_title.active span{
    background-size: 100% 1px;
}

#contents2{
    background-image: url('./Dup/img/bg_img2.png');
    background-size: 500px;
    background-position: 0 0;
    animation: anime1 30s linear infinite;
}
@keyframes anime1 {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 500px -500px;
    }
}
#contents2 .con2_title{
    background-image: url('./Dup/img/check.png');
    background-size: 30px;
    background-position: left center;
    background-repeat: no-repeat;
}

#contents3{
    background-color: #ffeaea;
    background-image: url(./Dup/img/bg_img3.png);
    background-repeat: no-repeat;
    background-size: 500px;
    background-position: right 20px bottom -140px;
}

.top_cms_box{
    padding-bottom: 0;
}
.top_cms_box:before{
    display: none;
}
#top_cms .line{
    display: none;
}
#top_cms, .all_page{
    background-color: #fff;
}
#top_cms:before, .all_page:before{
    display: none;
}
#top_cms .cms_title{
    text-align: center;
}
#top_cms .cms_title p.font_2up{
    font-family: var(--font-en);
    font-weight: normal;
}

.cms_3-f .cate_box_h a::before{
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left: solid 15px var(--color3);
    border-top: solid 15px transparent;
    border-bottom: solid 15px transparent;
    transform: rotate(45deg);
    right: -2px;
    bottom: -10px;
    transition: 0.3s;
}
.cms_3-f .cate_box_h a:hover::before{
    border-left: solid 15px var(--color1);
}

.more{
    font-family: var(--font-en);
    border-radius: 50px;
}
.more:hover{
    color: #fff;
}
.more::before{
    background-color: currentColor!important;
}
.more .txt_color_nomal{
    color: currentColor;
}
.top_cms_box .more_box .more div{
    font-weight: normal;
}
.more span:before{
    background-color: currentColor!important;
}
.more span:after{
    border-left: 5px solid currentColor!important;
}

.date, .pager{
    font-family: var(--font-en);
}

.other .box{
    border: none;
    background-color: var(--black);
}
.other .box a{
    color: #fff;
    overflow: hidden;
}
.other .box p, .other .box h2, .other .box h2 span{
    color: currentColor;
}
.other .box figure{
    opacity: 0.6;
    transition: 1s;
    transition-delay: 0s;
}
.other .box a:hover figure{
    opacity: 0.4;
    transform: scale(1.1);
    filter: blur(3px);
}
.other .box_title2{
    font-family: var(--font-en);
}

#page_title{
    text-align: center;
}
#page_title .page_title_box{
    margin-left: 0;
    width: 100%;
}
#page_title .page_title_box:before{
    display: none;
}
#page_title .page_title_box p{
    padding-right: 0;
}
#page_title #title_img{
    width: 100%;
}
#page_title #title_img::after{
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: var(--color1);
    transition: width 0.3s;
    transition-delay: 1s;
    transform: none;
}
#page_title #title_img.active::after{
    width: 100px;
}
#page_title .img-container:before{
    background-color: var(--color1);
}
#page_title p.font_45{
    color: var(--black);
}
#page_title p.font_25{
    font-family: var(--font-en);
    color: var(--color3);
}

.cate_list{
    border-bottom: none;
}
.cate_list li {
    margin-right: 10px;
    margin-bottom: 10px;
    width: auto;
}
.cate_list li a{
    padding: 5px 15px;
    background-color: var(--color2);
    font-size: 14px;
    color: black;
}
.cate_list li a:hover{
    background-color: var(--color3);
    color: #fff;
}
.cate_list li a::before{
    color: currentColor!important;
}

#cms_6-c{
    counter-reset: number 0;
}
#cms_6-c .cate_box::before{
    position: absolute;
    counter-increment: number 1;
    content: "0" counter(number);
    background-color: var(--color1);
    color: #fff;
    width: 50px;
    height: 50px;
    left: 0;
    right: 0;
    top: -30px;
    margin: auto;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    display: block;
    font-family: var(--font-en);
}

.sns_box{
    padding: 50px;
}

footer{
    background-color: var(--black);
}
footer .svg_box{
    display: none!important;
}
footer .logo{
    width: 250px!important;
    margin-bottom: 50px;
}
footer .logo img{
    width: 100%!important;
}
.footer_banner{
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
}
.footer_banner a{
    border-radius: 10px 0 0 10px;
}



/** tablet 780 **/
@media screen and (max-width: 768px){
main{
    margin-top: 0!important;
}
#wrap:not(.top_page) header{
    display: block;
}
.main_img_wrap {
    height: 60vw;
}
.main_wrap .main_catch{
    display: block;
    margin-top: 70px;
    /*margin-top: -100px;*/
}
#header{
    padding-top: 20px;
}
#contents .con1_img, #contents .flex_row-re .con1_img{
    border-radius: 0;
    background-image: none!important;
}
#contents .con1_img img, #contents #contents_img{
    border-radius: 0 20px 20px 0;
}
#contents .flex_row-re .con1_img img{
    border-radius: 20px 0 0 20px;
}
#contents #contents_img{
    height: 50vw;
}
#contents3{
    background-position: right -90px bottom -140px;
}
#copyright{
    padding-bottom: 50px;
}
.footer_banner{
    width: 300px;
    top: auto;
    right: 0;
    left: 0;
    margin: auto;
    transform: none;
    bottom: 0;
}
.footer_banner a{
    border-radius: 10px 10px 0 0;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
.main_img {
    height: 125vw!important;
}
.main_wrap {
    margin-top: 125vw!important;
}
.main_wrap .main_catch{
    margin-top: 50px;
    /*margin-top: -50px;*/
}
#contents .con1_txt_wrap{
    background-position: left -50px top -50px;
    background-size: 300px;
}
#contents3{
    background-size: 300px;
    background-position: right -30px top -100px;
}
.cate_list li{
    width: 100%;
}
.sns_box{
    padding: 50px 0;
}
#page_title p.font_45{
    font-size: 24px;
    letter-spacing: 5px;
}
#page_title .img-container_img::after{
    display: none;
}
#copyright{
    padding-bottom: 20px;
}
.footer_banner{
    width: calc(100% - 100px);
    left: auto;
    right: 80px;
}
}