﻿@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:wght@700&display=swap');

#main_menu, #main_img2, #f_menu, .button-effect, #top_cms .cms_title, a[href^="tel:"], #top_link, #top_contents_h .con_no, #aisatsu_h .ai_name, #cms_6-c .cate_box::before, .cms_6-c .cate_box::before{
    font-family: 'Inria Serif', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
.font_bold{
    font-weight: normal;
}

main, #top_cms{
    background-color: #fff;
}
body, .txt_color_nomal{
    color: #1a1a1a!important;
}
#wrap.txt_white{
    color: #1a1a1a;
}

.button_container span{
    background-color: #ccc;
    box-shadow: none;
}
header{
    color: #fff;
}
header a[href="page08.aspx"], #info_map a[href="page08.aspx"]{
    display: none;
}
header .header{
    margin-bottom: 20px;
}
#main_menu{
    padding: 0;
}
#main_menu.fixed{
    background-color: #fff!important;
}
#main_menu.fixed ul li a, #main_menu.fixed ul li .txt_color2{
    color: #1a1a1a;
}
#main_menu .menu_title{
    font-size: 18px;
}
#main_menu .menu_sub_title{
    font-size: 12px;
    opacity: 0.6;
}

#main_img{
    max-width: 100%!important;
    max-height: 700px;
    height: 700px;
    overflow: hidden;
    margin-bottom: 0;
}

#aisatsu_h{
    margin-top: -100px;
    z-index: 1;
}
#aisatsu_h .ai_name{
    font-size: 50px;
}
#aisatsu_h .ai_name::before{
    position: absolute;
    content: "";
    width: 100px;
    height: 1px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a1a1a;
    margin: auto;
}

#top_contents_h .con_box::before{
    position: absolute;
    content: "";
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: solid 1px #fff;
}
#top_contents_h .con_title::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: #555;
}

#top_cms{
    padding: 0 0 1px;
}
#top_cms .cms_box:first-of-type{
    padding: 100px 30px;
    max-width: 100%!important;
    background-color: #f2f2f2;
}
#top_cms .cms_box:first-of-type > div.border_white{
    max-width: 800px!important;
    margin: 0 auto 50px;
}
#top_cms h2 {
    font-size: 40px;
    letter-spacing: 4px;
    line-height: 1.2;
}
#top_cms .cms_box > div.border_white{
    text-align: left;
    padding: 0;
    margin-bottom: 50px;
    border: none;
}
#top_cms .button-effect{
    width: 100%!important;
    text-align: center;
}
#top_cms .cms_title h2::before, #top_cms .cms_title h2::after{
    display: none;
}
.effect.effect-1{
    color: #1a1a1a;
    border-bottom: none;
    padding-right: 40px;
    overflow: inherit;
    font-size: 18px;
}
.effect.effect-1:hover{
    padding-right: 50px;
    text-indent: inherit;
}
.effect.effect-1:before{
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    justify-content: center;
    width: 50px;
    height: 50px;
    border: solid 1px #1a1a1a;
    border-radius: 50%;
    text-indent: inherit
}
.effect.effect-1:hover:before{
    background-color: #1a1a1a;
    color: #fff;
}

.cate_list li a{
    color: #1a1a1a;
    border-color: #1a1a1a;
    opacity: 0.4;
}
.cate_list li a i{
    color: #1a1a1a;
}
.cate_list li a:hover{
    color: #1a1a1a;
    border-color: #1a1a1a;
    opacity: 1;
}
.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: left;
	padding-bottom: 20px!important;
	margin-bottom: 50px;
	color: #1a1a1a;
	font-weight: normal;
	position: relative;
	border-bottom: solid 2px #ccc;
}
.cate_title::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 5px;
    left: 0;
    bottom: -5px;
    background-color: #1a1a1a;
}

.cms_6-c{
  counter-reset: numberT 0;
}
#cms_6-c{
  counter-reset: number 0;
}

.cms_6-c .cate_box::before{
  counter-increment: numberT 1;
  content: "／0" counter(numberT);
  position: absolute;
  font-size: 50px;
  color: #1a1a1a;
  left: 20px;
  top: -30px;
  line-height: 1;
}
#cms_6-c .cate_box::before{
  counter-increment: number 1;
  content: "／0" counter(number);
  position: absolute;
  font-size: 50px;
  color: #1a1a1a;
  left: 20px;
  top: -30px;
  line-height: 1;
}

#main_img2{
    max-width: 100%!important;
    background-image: none!important;
    height: inherit;
    margin-bottom: 0;
    text-align: center;
}
#main_img2 .page_title{
    background-color: transparent!important;
    padding-top: 100px;
    padding-bottom: 100px;
}
#main_img2 h2{
    font-size: 40px;
    letter-spacing: 4px;
    position: static;
    transform: none;
    display: inline-block;
    background-color: transparent;
    color: #1a1a1a;
    border: solid 1px #1a1a1a;
    line-height: 1.3;
}
#main_img2 h2 .txt_color2{
    color: #1a1a1a;
}

#page9 .txt_color2{
    color: #1a1a1a;
}
#page10 li a span{
    color: #1a1a1a;
    opacity: 0.6;
    display: block;
    padding-left: 0;
}
#page10 li a span::after{
    content: "-";
}

#top_link a:hover .link_bg{
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.6;
}
#info_map{
    padding: 100px 30px;
}
#info_map .txt_white{
    color: #1a1a1a;
}
#info_map > div{
    padding: 50px;
    background-color: rgba(255,255,255,0.8);
}
footer.border_so1-t{
    border-top: none;
}
#foot_txt{
    padding-left: 80px;
    padding-right: 80px;
    color: #fff;
}

.banner{
    width: 50px;
    bottom: 70px;
    right: 10px;
    z-index: 99;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
#main_img{
    height: 60vw;
    max-height: inherit;
}
#aisatsu_h{
    margin-top: -50px;
}
#top_link a:hover .link_bg{
    transform: translate(-50%, -50%);
    opacity: 0.4;
}
#info_map{
    padding: 0;
}
#info_map > div{
    padding: 30px;
}
#main_img2 .page_title{
    padding-top: 70px;
}
#foot_txt{
    margin-top: 50px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#logo{
    margin: 0 auto 50px;
}
#logo img{
    width: 100%!important;
}
#aisatsu_h .ai_name{
    font-size: 40px;
}
#top_cms .cms_box:first-of-type{
    padding: 100px 15px;
}
.map iframe{
    height: 300px;
}
#main_img2 h2 {
    font-size: 26px;
    width: 80%!important;
}
.cate_title{
	font-size: 20px;
}
#foot_txt{
    margin-top: 0;
    padding-left: 20px;
}
#copyright{
    padding-left: 20px;
    text-align: left;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
#top_link span.font_100per{
    padding-top: 15px;
}
.cms_1-e .cate_box_h{
    margin-bottom: 25px;
}
.cms_1-e .date{
    padding-top: 0!important;
    padding-bottom: 0!important;
}
}