﻿@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap');

/** font **/

:root{
    --font-jp: 'BIZ UDPGothic', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-en: 'BIZ UDPGothic', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
body, .font_sans-serif, .font_serif{
    font-family: var(--font-jp);
}
.font_en, a[href^="tel:"]{
    font-family: var(--font-en);
}

/** color **/

:root{
    --color1: #111111;
    --color2: #f7f7f7;
    --color2s: #f2f2f2;
    --color3: #111111;
    --color4: #e2e2e2;
    --black: #111111;
}

.txt_color2s{
    color: var(--color2s);
}
.bg_color2s{
    background-color: var(--color2s);
}

/** other **/

.square_img2{
    position: relative;
}
.square_img2 img{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

html, body{
    font-size: 14px;
    letter-spacing: 3px;
    line-height: 2;
}

#loader{
    filter: blur(0)!important;
}

#wrap{
    overflow: hidden;
}
#wrap > h2{
    padding: 50px;
}
#wrap.index #main_nav{
    margin: 0;
}

header.top_header #header > div {
    margin-top: 0;
    order: inherit;
    width:90%!important;
}

#menu_bt > div span{
    background-color: #aaa;
    height: 1px;
}
#menu_bt > div span:not(:last-of-type){
    margin-bottom: 6px;
}
#menu_bt.active > div span:nth-of-type(1), #menu_bt.active > div span:nth-of-type(3){
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}
#menu_bt.active > div span:nth-of-type(1){
    transform: rotate(-45deg);
}
#menu_bt.active > div span:nth-of-type(3){
    transform: rotate(45deg);
}

#main_img img:hover, #top_contents .con_img, #top_contents2_h img:hover, #main_img_h{
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.top_header .sns_links {
    position: absolute;
    top: 30px;
    right: 30px;
}
.top_header .sns_links ul{
    justify-content: flex-end;
}
.top_header .sns_links ul li a{
    background-color: #fff;
    border-radius: 50%;
    padding: 12px;
}
.top_header .sns_links li img {
    width: 20px;
    display: block;
}

.width_1000-max{
    max-width: 1280px;
}

#intro_h .intro_no{
    background-image: linear-gradient(to bottom, var(--color1), var(--color1));
    background-size: 50px 2px;
    background-repeat: no-repeat;
    background-position: top;
}
#intro_h .intro_more{
    cursor: pointer;
}
.more_h::before, .more_h::after{
    position: absolute;
    content: "";
    width: 10px;
    height: 1px;
    background-color: currentColor;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}
.more_h::after{
    transition: transform 0.5s;
    transform: rotate(90deg);
}
.more_h.active::after{
    transform: rotate(0deg);
}

#top_contents2_h .flow_wrap{
    justify-content: space-between;
}
#top_contents2_h .flow_box:not(:last-of-type)::before, #top_contents2_h .flow_box:not(:last-of-type)::after{
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: var(--color1);
    z-index: 1;
}
#top_contents2_h .flow_box:not(:last-of-type)::before{
    width: 20px;
    height: 1px;
    right: -20px;
}
#top_contents2_h .flow_box:not(:last-of-type)::after{
    width: 5px;
    height: 5px;
    border-radius: 50%;
    right: -22px;
}

#top_cms .top_cms_box:first-of-type{
    padding-top: 100px;
    padding-bottom: 100px;
    margin-bottom: 100px;
    position: relative;
}
#top_cms .top_cms_box:first-of-type::before{
    position: absolute;
    content: "";
    width: 100vw;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    background-color: var(--color2);
}
#top_cms .top_cms_title{
    text-align: center;
    letter-spacing: 10px;
}
#top_cms .top_cms_title h4{
    width: 100%;
    font-size: 20px;
    margin-right: 0;
}
#top_cms .top_cms_title p{
    width: 100%;
    border-top: none;
    font-size: 30px;
    padding-top: 20px;
    font-weight: bold;
}
#top_cms .more_h::before{
    width: 30px;
}
#top_cms .more_h::after{
    transform-origin: right;
    transform: rotate(45deg);
}
.more_h.active::after{
}

.sc_nav .logo img {
    max-width: 130px;
}

#page_title{
    max-width: 100%;
    text-align: center;
    min-height: inherit;
    padding: 150px 0;
    position: relative;
}
#page_title::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--color2);
    opacity: 0.6;
}
#page_title h2{
    font-size: 40px;
    letter-spacing: 10px;
    position: relative;
}
#page_title p{
    position: relative;
}

#main_nav{
    max-width: 100%;
    margin-bottom: 100px;
}
#main_nav ul{
    padding: 30px 0;
    background-color: var(--color2);
    justify-content: center;
}
#main_nav li a{
    padding: 10px 30px;
    display: block;
    opacity: 1;
}
#main_nav li a.txt_white.bg_color1, .sc_nav li a.txt_white.bg_color1{
    background-color: var(--color4);
    color: var(--black);
}

.cate_list{
    margin-bottom: 100px;
}

.link_type2 .cate_box a{
    transition: background-color 0.3s;
}
.link_type2 .cate_box a:hover{
    background-color: var(--color4);
}
/*.link_type2 .cate_box a:before, .link_type2 .cate_box a:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.link_type2 .cate_box a:after {
    top: 100%;
    background-color: var(--color1);
    transition: 0.1s;
	z-index: 3;
}
.link_type2 .cate_box a:hover:after {
    top: 0;
}*/
.link_type2 .cate_box .txt_wrap {
    z-index: 2;
}
.link_type2 .more {
	box-sizing: border-box;
	transition: opacity .8s;
	z-index: 4;
}
/*.link_type2 .cate_box a:hover .more {
    opacity: 1;
}*/

.cms_4-a .box_wrap{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    height: 800px;
}
.cms_4-a .cate_box:not(:nth-of-type(1)){
    transition: filter 0.3s;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}
.cms_4-a .cate_box:hover{
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
}
.cms_4-a .cate_box:nth-of-type(1){grid-area: 1 / 1 / 2 / 2;}
.cms_4-a .cate_box:nth-of-type(2){grid-area: 1 / 2 / 2 / 4;}
.cms_4-a .cate_box:nth-of-type(3){grid-area: 1 / 4 / 3 / 5;}
.cms_4-a .cate_box:nth-of-type(4){grid-area: 2 / 3 / 3 / 4;}
.cms_4-a .cate_box:nth-of-type(5){grid-area: 2 / 1 / 4 / 3;}
.cms_4-a .cate_box:nth-of-type(6){grid-area: 3 / 3 / 4 / 5;}

#cms_2-g .cate_title_wrap::before{
    display: none;
}

#cms_4-b .box_item{
    cursor: pointer;
}
.modal{
    top: 0;
    left: 0;
    background-color: rgba(242,242,242,0.9);
    z-index: 100;
    backdrop-filter: blur(3px);
}
.modal_wrap{
    overflow-y: auto;
}
.modal_close{
    cursor: pointer;
}

#page10 ul li a:hover{
    color: var(--black);
    background-color: var(--color2);
    box-shadow: none;
    transform: none;
}
#page10 ul li a span.on{
    display: none;
}

#map_h iframe{
    width: 100%;
    height: 300px;
}

footer{
    padding-top: 50px!important;
    padding-left: 20px;
    padding-right: 20px;
}
footer #map{
    display: none;
}

.footer_banner{
    right: 0;
    left: 0;
    margin: auto;
    bottom: 0;
}
.footer_banner a{
    background-color: var(--color4);
    color: var(--black);
}


/** tablet 780 **/
@media screen and (max-width: 768px){
#top_contents2_h .flow_wrap{
    justify-content: center;
}
#top_contents2_h .flow_box:not(:last-of-type)::before, #top_contents2_h .flow_box:not(:last-of-type)::after{
    top: auto;
    left: 0;
    right: 0;
}
#top_contents2_h .flow_box:not(:last-of-type)::before{
    width: 1px;
    height: 20px;
    bottom: -20px;
}
#top_contents2_h .flow_box:not(:last-of-type)::after{
    bottom: -23px;
}
.cms_4-a .box_wrap {
    height: 600px;
}
#page_title {
    padding: 100px 0;
}
#page_title h2 {
    font-size: 36px;
}
footer{
    padding-bottom: 100px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#wrap > h2{
    padding: 50px 20px;
}
#top_cms .top_cms_title {
    letter-spacing: 6px;
}
#top_cms .top_cms_title p {
    font-size: 26px;
}
#top_contents .con_img{
    height: 60vw;
}
.cms_4-a .box_wrap{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    height: 500px;
}
.cms_4-a .cate_box:nth-of-type(1){grid-area: 1 / 1 / 2 / 3;}
.cms_4-a .cate_box:nth-of-type(2){grid-area: 2 / 1 / 4 / 2;}
.cms_4-a .cate_box:nth-of-type(3){grid-area: 2 / 2 / 3 / 3;}
.cms_4-a .cate_box:nth-of-type(4){grid-area: 1 / 3 / 3 / 4;}
.cms_4-a .cate_box:nth-of-type(5){grid-area: 3 / 2 / 5 / 4;}
.cms_4-a .cate_box:nth-of-type(6){grid-area: 4 / 1 / 5 / 2;}
#page_title {
    padding: 80px 0;
}
#page_title h2 {
    font-size: 26px;
    letter-spacing: 6px;
}
footer #footer_txt{
    text-align: center;
}
}