﻿@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500&family=Noto+Sans+JP:wght@300&display=swap');

body, .font_sans-serif, #intro h2, #contents1 h2, #contents2 h2, #top_cms h2, #top_info h2, #f_contact .con_bt, #top_info .more_bt2 a, #main_img .txt, #f_contact .con_txt{
    font-family: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif!important;font-weight: 300;
}

#intro h2::before, #contents1 h2::before, #contents2 h2::before, .con_no, #page_title, a[href^="tel:"], .more_bt a, #top_cms .top_cms_title span, .date, .cms_5-c .box_title1::before, #cms_5-c .box_title1::before, .cms_5-c .box_txt1::before, #cms_5-c .box_txt1::before{
    font-family: 'Barlow', 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif!important;
}

.font_bold{
    font-weight: 500
}
.cate_img, .cate_img1{
    margin-left: auto;
    margin-right: auto;
}
#logo{
    max-width: 150px;
}
#main_img h2, #page_title h2{
    font-weight: 200
}
#main_img .txt{
    left: 50px;
    bottom: 50px;
    top: auto;
}
#main_img h2{
    font-size: 50px;
    line-height: 1.3;
    margin-bottom: 30px;
    padding-bottom: 30px;
    position: relative;
}
#main_img h2::before{
    position: absolute;
    content: "";
    width: 100px;
    height: 1px;
    left: 0;
    bottom: 0;
    background-color: #fff;
}
#sp_nav a.active{
    border-color: #fff;
}
.more_bt a{
    background-color: #fff;
    color: #112f8e;
}

body{
    background-color: #f9f9f9;
    background-image: url('/Dup/img/bg_img3.png');
}

#f_contact::before{
    opacity: 0.7;
    background-color: #112f8e;
}
#f_contact a span.hover_box{
    opacity: 0.8;
}

#intro .bg_box{
    background-image: url(./Dup/img/bg_img.png), linear-gradient(to bottom right, #112f8e, #6475a0)!important;
    background-position: top left!important;
    background-repeat: repeat!important;
    background-size: 300px, auto!important;
}
#intro .intro_bg{
    display: none;
}
#intro h2{
    position: relative;
}
#intro h2::before{
    position: absolute;
    content: "INTRODUCTION";
    font-size: 80px;
    color: #fff;
    top: -65px;
    left: -20px;
    opacity: 0.1;
    pointer-events: none;
}
#contents1 h2{
    position: relative;
}
#contents1 h2::before{
    position: absolute;
    content: "01";
    font-size: 100px;
    color: #112f8e;
    top: -80px;
    left: -20px;
    opacity: 0.1;
    pointer-events: none;
}
#contents2 h2{
    position: relative;
    padding: 0;
}
#contents2 h2::before{
    position: absolute;
    content: "02";
    font-size: 100px;
    color: #fff;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
    pointer-events: none;
}
#contents1 span{
    background-image: linear-gradient(to bottom right, rgba(242,242,242,1), rgba(242,242,242,0)), url(./Dup/img/bg_img2.png)!important;
    background-position: top left!important;
    background-repeat: repeat!important;
    background-size: auto, 300px!important;
}
#top_cms .top_cms_box{
    margin-bottom: 100px;
}
#top_cms .top_cms_title{
    padding-bottom: 20px;
    border-bottom: solid 1px;
}
#top_cms .more_bt{
    margin-top: 50px;
}
.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: center;
	padding-bottom: 10px!important;
	margin-bottom: 50px;
	border-bottom: solid 2px #e6e6e6;
	color: #333;
	font-weight: 300;
	position: relative;
}
.cate_title::before{
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: 0;
    right: 0;
    bottom: -2px;
    background-color: #878787;
    margin: auto;
}
#cms_6-c .box_title{
    position: relative;
}
#cms_6-c .box_title::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 1px;
    left: 0;
    bottom: -1px;
    background-color: #878787;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
#main_img h2{
    font-size: 30px;
}
#intro h2, #contents1 h2, #contents2 h2{
    font-size: 20px;
}

}

/** mobile 750 **/
@media screen and (max-width: 667px){
    #logo{
        max-width: 100px;
    }
#main_img .txt{
    width: calc(100% - 40px)!important;
    left: 20px;
}
#main_img h2{
    font-size: 18px;
}
#intro h2::before {
    font-size: 50px;
    top: -40px;
}
#contents1{
    padding-top: 60px;
}
#contents1 h2::before, #contents2 h2::before{
    font-size: 70px;
    top: -60px;
}
.cate_title{
	font-size: 20px;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
    .cate_list li a{
        padding-top: 8px!important;
    }

}
