﻿/********** font **********/

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;700&family=Noto+Sans+JP:wght@500;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-en: 'Barlow', '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_en, a[href^="tel:"]{
    font-family: var(--font-en);
}

/********** color **********/

:root{
    --color1: #000f66;
    --color2: #f2f2f2;
    --color3: #00d3aa;
    --color3s: #00bc98;
    --color4: #e4e4e4;
    --black: #222;
}

/********** all **********/

.loader_txt, .cms_title h2, #catch h2, #question h2, #contents h2, #contents .box h3, #top_cms .cms_title h2, #page_title h2{
    font-family: var(--font-jp);
}

.cms_link{
    display: none;
}

.tel_banner{
    z-index: 9;
    right: 60px;
    bottom: 0;
}

footer .footer_con_box .footer_con{
    font-family: var(--font-en);
}

#footer .f_link{
    background-image: url('./Dup/img/bg_img.png');
    background-repeat: repeat-x;
    background-size: 15px;
}
#footer h2{
    font-family: var(--font-en);
}

#copyright{
    padding-top: 70px;
}

.page-top a{
    border-radius: 5px 0 0 5px;
}

.marker {
    background: -webkit-linear-gradient(transparent 60%, var(--color3) 60%);
    background: -o-linear-gradient(transparent 60%, var(--color3) 60%);
    background: linear-gradient(transparent 60%, var(--color3) 60%);
}

/********** top **********/

.top_loader .loader_txt{
    display: none;
}

.menu{
    top: 0;
    left: 0;
    transform: none;
    max-width: 300px;
}
.menu .logo{
    padding: 30px;
}

.main_img_wrap {
    height: 80vh;
    min-height: 800px;
}
.main_img{
    position: static!important;
    width: calc(100% - 40px);
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
}
.main_img .catch1, .main_img .catch2{
    top: 50%;
    transform: translateY(-50%);
    width: 35%;
}
.main_img .catch1 img, .main_img .catch2 img{
    transform: scale(0.9);
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0,.73,.6,1.58);
}
.main_img .catch1.active img, .main_img .catch2.active img{
    opacity: 1;
    transform: none;
}
.main_img .catch1{
    left: 5%;
}
.main_img .catch2{
    right: 5%;
}

.t_banner_box{
    justify-content: space-around;
}
.t_banner_box .banner{
    max-width: 400px;
}
.t_banner_box .banner:hover {
    margin-top: 0;
    transform: translateY(-10px);
}

.news_wrap{
    padding-bottom: 1px;
    background-image: url('./Dup/img/bg_img.png');
    background-repeat: repeat-x;
    background-size: 15px;
}

#contents h2, #contents .box .box_item .sub_title{
    display: none;
}

#top_cms{
    background-image: url('./Dup/img/bg_img2.png');
    background-repeat: repeat-x;
    background-size: 15px;
}

#question .sliceTxt4, #question .sliceTxt5{
    font-size: inherit;
    font-size: -webkit-inherit;
    text-shadow: none;
    color: var(--black);
}
#question .sliceTxt6, #question .sliceTxt7, #question .sliceTxt8, #question .sliceTxt9 {
    color: var(--color1);
    font-size: 80px;
    font-size: -webkit-calc(1rem + 30px);
    font-size: calc(1rem + 30px);
    text-shadow: 2px 2px 1px #fff, -2px 2px 1px #fff, 2px -2px 1px #fff, -2px -2px 1px #fff, 2px 0px 1px #fff, 0px 2px 1px #fff, -2px 0px 1px #fff, 0px -2px 1px #fff;
}
#question .txt {
    width: calc(50% - 40px);
    margin-right: 20px;
    margin-left: 20px;
    padding-left: 50px;
    box-sizing: border-box;
    padding-bottom: 10px;
    font-weight: bold;
    font-size: 18px;
}
#question .txt .check {
    position: absolute;
    left: 4px;
}

.top_cms_box.cms1 .sub_title, .cms_title .sub_title{
    font-family: var(--font-en);
}

.more{
    font-family: var(--font-en);
}

/********** under_page **********/

#page_title{
    background-position: center;
}
#page_title .title p{
    font-family: var(--font-en);
}

.date, .pager{
    font-family: var(--font-en);
}

.cms_5-c .box_title1::before, .cms_5-c .box_txt1::before, #cms_5-c .box_title1::before, #cms_5-c .box_txt1::before{
    font-family: var(--font-en);
}

.cms_3-b .cate_box:last-of-type{
    border-bottom: none;
}


/********** tablet 780 **********/
@media screen and (max-width: 768px){
.main_img_wrap {
    height: auto;
    min-height: inherit;
}
#question .txt {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 20px;
}
#copyright{
    padding-top: 10px;
    padding-bottom: 100px;
}
}

/********** mobile 750 **********/
@media screen and (max-width: 667px){
.main_img{
    height: 100vw;
    background-image: url('./Dup/img/main_img_sp.jpg')!important;
}
.main_img .catch1, .main_img .catch2 {
    top: auto;
    transform: none;
    width: 70%;
    left: 0;
    right: 0;
    margin: auto;
}
.main_img .catch1{
    top: 10%;
}
.main_img .catch2{
    bottom: 10%;
}
.tel_banner{
    max-width: calc(100% - 70px);
    right: auto;
    left: 10px;
}
#copyright {
    padding-bottom: 80px!important;
}
.page-top{
    bottom: 10px!important;
}
}