﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP:wght@700&display=swap');

body, .font_sans-serif, .font_com{
    font-family: 'Montserrat', 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
#cms_4-a_h .cate_name, .cms_4-a_h .cate_name{
	font-family: 'Noto Serif JP', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}

.txt_black{
    color: #111;
}

.rectangle_img2{
    position: relative;
    overflow: hidden;
}
.rectangle_img2 img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#loader img{
    width: 90%;
    max-width: 600px;
}

body{
/*    background-image: linear-gradient(to right, #f6f6f6 1px, transparent 1px);
    background-size: 300px;
    background-position: top 0 left calc(50% - 150px);*/
}

#logo{
    width: 240px;
}

#head_logo{
    top: 0;
    left: 0;
    transform: none;
    width: 200px;
}
#head_logo span{
    background-color: #fff;
}

#sp_nav ul li:last-child{
    display: none;
}

#pc_nav_fix > div > ul{
    font-size: 14px;
}

.contents_no{
    color: #f9c82b;
}

#intro .intro_txt_wrap{
}

#top_contents{
    padding-bottom: 0;
    align-items: flex-start;
}
#top_contents::before{
    display: none;
}
#top_contents .con_box{
    padding-top: 0;
}
#top_contents .con_box.mg_t-100px{
    margin-top: 0;
}
#top_contents .con_box .contents_no{
    color: #fff;
    top: 20px;
}
#top_contents .con_box .contents_no span{
    background-color: #fff;
}
#top_contents .con_box .con_title{
    margin-top: 0;
    top: -30px;
    line-height: 1.5;
    font-size: 20px;
    position: relative;
    display: inline-block;
    background-color: #fff;
    padding: 20px 30px;
}
#top_contents .con_box .box_img img{
    opacity: 0.8;
}

#top_contents .open_bg{
    background-color: #fff;
    opacity: 0.95;
}
#top_contents .con_open .txt_white{
    color: #49555B;
}
#top_contents .con_open .contents_no{
    color: #F9C82B;
}
#top_contents .con_open .contents_no span{
    background-color: #F9C82B;
}

#top_contents2 .con2_title::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 5px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: #f9c82b;
}

section.under_page{
    transform: none;
    position: relative;
    top: 20px;
}
section.under_page.active {
    top: 0;
}

.cate_list{
    margin-bottom: 0!important;
}
.cate{
    margin-bottom: 0!important;
    padding-top: 100px!important;
}
.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: #49555b;
	font-weight: bold;
	position: relative;
	letter-spacing: 2px;
}
.cate_title::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 5px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f9c82b;
    margin: auto;
}

.pager li{
    margin: 3px!important;
}

#cms_4-a_h .cate, .cms_4-a_h .cate{
    padding-top: 0!important;
}
#cms_4-a_h .cate_item .cate_name::before, .cms_4-a_h .cate_item .cate_name::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 5px;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    background-color: #f9c82b;
}
#cms_4-a_h .open .cate_name::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 1px;
    left: 0;
    bottom: 0;
    background-color: #49555B;
}
#cms_4-a_h .cate_item{
    transition: background-color 0.3s;
    cursor: pointer;
}
#cms_4-a_h .cate_item .cate_img1::before, .cms_4-a_h a .cate_img1::before{
    position: absolute;
    content: "";
    width: 200%;
    height: 100%;
    background-color: #000;
    opacity: 0.4;
    right: 100%;
    top: 0;
    transition: right 0.3s;
    transform: skew(-24deg);
    transform-origin: top right;
    z-index: 1;
}
#cms_4-a_h .cate_item:hover .cate_img1::before, .cms_4-a_h a:hover .cate_img1::before{
    right: -70%;
}
#cms_4-a_h .open{
    top: 0;
    left: 0;
    z-index: 10;
    overflow-y: auto;
    background-color: rgba(255,255,255,0.95);
    transform: scale(0.95);
    transition: 0.3s;
    transition-property: opacity, transform;
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
}
#cms_4-a_h .open.active{
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
#cms_4-a_h .open .close{
    top: 20px;
    right: 20px;
    z-index: 1;
    cursor: pointer;
    width: 30px;
}
#cms_4-a_h .swiper-slide{
    opacity: 1!important;
}
#cms_4-a_h .slide_img .thumbnail .swiper-wrapper{
    margin-left: 0!important;
    transform: none!important;
}
#cms_4-a_h .slide_img .thumbnail .swiper-wrapper .swiper-slide{
    cursor: pointer;
}
#cms_4-a_h .cate_box:last-child{
    border-bottom: none;
}

#cms_5-c .box_title1::before, .cms_5-c .box_title1::before{
    content: "Q";
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #F9C82B;
    color: #fff;
    left: 0;
    top: -4px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
}
#cms_5-c .box_txt1::before, .cms_5-c .box_txt1::before{
    content: "A";
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #E3E3E3;
    color: #9EA5A8;
    opacity: 1;
    left: 0;
    top: 13px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
}

#top_info a[href^="tel:"]{
    display: none;
}

footer{
    background-color: #efefef;
}
footer .footer_img{
    display: none;
}
#logo2 img{
    width: 300px;
}

.foot_banner{
    right: 50px;
    bottom: 50px;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}
.foot_banner.active{
    opacity: 1;
    pointer-events: auto;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
#main_img .main_txt{
    bottom: 0!important;
}
#intro {
    padding: 0 20px calc(60vw - 20px);
}
#intro .intro_txt_wrap{
    width: 100%!important;
    opacity: 1;
    transform: none!important;
}
#intro .intro_img {
    width: 100%!important;
    height: 60vw;
    top: auto;
    bottom: 0;
}
#top_contents{
    padding-left: 20px;
    padding-right: 20px;
}
#top_contents .con_box .con_title{
    font-size: 16px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
body{
    background-size: calc(50% - 19.5px);
    background-position: top 0 left 19px;
}
#top_contents .con_box:first-child{
    margin-bottom: 50px;
}
#cms_5-c .box_title1::before, .cms_5-c .box_title1::before{
    top: -8px;
}
.cate_title{
    font-size: 20px;
}

.pager li a {
    height: 50px;
    line-height: 50px;
}
.pager li:not(.prev) a, .pager li:not(.next) a {
    width: 50px;
}
.pager li.prev a, .pager li.next a {
    padding: 0 5px;
}
.foot_banner{
    right: 0;
    left: 0;
    margin: auto;
    bottom: 0;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
}