﻿@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Noto+Serif+JP&display=swap');

body, #wrap, .font_sans-serif, .font_en{
    font-family: 'Libre Baskerville', 'Noto Serif JP', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif"
}

#loader_h{
    top: 0;
    left: 0;
    z-index: 9999
}
#loader_h div{
    left: -50px;
}

.font_bold{
    font-weight: normal;
}

body::before{
    display: none;
}

header{
    border-bottom: none;
}
header #header{
    position: absolute;
    z-index: 2;
}
header #header h1{
    width: 100px!important;
}
header .sns_links{
    width: auto!important;
}
header .sns_links ul{
    margin-left: 20px;
}
header .sns_links li{
    width: auto;
}
header .sns_links li a{
opacity: 1;
    display: block;
    padding: 12px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #333;
    box-sizing: border-box;
}
header .sns_links li a:hover{
    opacity: 0.7;
}

#main_contents{
    align-items: flex-end;
    padding-top: 0;
    padding-bottom: 0;
}
#main_contents::after{
    display: none;
}
#main_contents #catch{
    transform: none;
    position: absolute;
    z-index: 3;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    margin-left: 0;
    width: auto!important;
    right: 30px;
    top: 30px;
}
#main_contents #main_img{
    transform: translateY(50px);
    height: 550px;
    background-color: #15152b;
}
#main_contents #main_menu{
    padding-bottom: 50px;
}
#main_contents #main_menu li a{
    font-size: 16px;
    padding-left: 0!important;
}
#main_contents #main_menu li::before{
    display: none;
}
#main_contents #main_menu li.active::after, #main_contents #main_menu li:hover::after{
    transform: none;
}
#main_contents #catch h2{
    font-size: 30px;
}
#menu_bt > div span {
    margin: 0 auto 10px;
    height: 2px;
}
#menu_bt > div div{
    font-size: 12px;
}
#menu_bt.active > div span:nth-of-type(1) {
    transform: translateY(6px) rotate(45deg);
}
#menu_bt.active > div span:nth-of-type(2) {
    transform: translateY(-6px) rotate(-45deg);
}

#intro::after{
    z-index: auto;
}
#intro > div{
    padding: 50px;
    background-color: rgba(0,0,0,0.6);
    border: solid 1px #aaa;
}

#contents h4{
    background-color: #15152b;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    transform: translateY(-20px);
}
#contents p{
    transform: none;
    padding: 30px;
    background-color: rgba(0,0,0,0.6);
    border: solid 1px #aaa;
}

#top_cms .top_cms_box > .cms_wrap{
    padding: 50px;
}
#top_cms .top_cms_title > div{
    width: 100%!important;
    text-align: right;
}
#top_cms .top_cms_title h3 span{
    padding: 0;
    border-top: none;
    font-size: 34px;
}
#top_cms .top_cms_title h4 span{
    border-bottom: none;
    opacity: 0.5;
}
#top_cms .more a{
    border: none;
}
#top_news .more a {
    padding: 10px 40px 10px 10px;
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    z-index: 1;
}
#top_news .more a img {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

section[id^="page"], section#cms{
    padding-top: 50px;
    background-color: #fff;
}

#page_title{
    margin-top: 0;
    padding-top: 230px;
    padding-bottom: 230px;
    transform: translateY(50px);
}
#page_title > div{
    text-align: left;
}
#page_title > div h2 span{
    border-top: none;
    padding: 0;
}
#page_title > div h3 span{
    border-bottom: none;
    padding-bottom: 0;
}
.cate_list li{
    border-width: 1px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.cate_list a {
    padding-left: 48px;
    font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.cate_list a .font_en{
    font-size: 14px;
}

#cms_4-a .cate_box_h, .cms_4-a .cate_box_h{
    border-left: solid 1px #15152b;
}
#cms_4-a .box_img1::before, #cms_4-a .box_img2::before, .cms_4-a .box_img1::before, .cms_4-a .box_img2::before{
    position: absolute;
    width: 100px;
    font-size: 14px;
    text-align: center;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
}
#cms_4-a .box_img1::before, .cms_4-a .box_img1::before{
    content: "Before";
    background-color: #15152b;
    color: #fff;
}
#cms_4-a .box_img2::before, .cms_4-a .box_img2::before{
    content: "After";
    background-color: #fff;
    color: #15152b;
}

#page07 .box{
    border-color: #e6e6e6;
}
#page07 .grid_4 h3::after{
    background-color: #141414;
}

#page09 .txt_white{
    color: #141414;
}

#page10 .grid_4{
    background-color: transparent;
}
#page10 .grid_4 a{
    background-color: #141414;
}
#page10 .grid_4 a .no{
    box-shadow: none;
    background-color: #333;
}

#footer .grid_6{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-box-lines: multiple;
    -moz-box-lines: multiple;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding-left: 0;
    padding-right: 0;
}
#footer .grid_6 h3{
    font-size: 40px;
    width: 100%;
}
#footer .grid_6 p{
    width: 100%;
    margin-bottom: 0;
}
#footer .footer_txt{
    margin-top: 30px;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
header #header{
    padding-left: 30px;
}
header #header h1{
    width: 80px!important
}
#intro > div{
    padding: 50px 20px;
}
#main_contents{
    padding-top: 70px;
}
#main_contents #catch{
    right: auto;
    left: 20px;
    top: auto;
    bottom: 30px;
	-webkit-writing-mode: horizontal-tb;
	-ms-writing-mode: lr-tb;
    writing-mode: horizontal-tb;
}
#main_nav .sns_links{
    border: none;
}
#top_cms .top_cms_title > div{
    text-align: left;
}
#top_cms .more a{
    background-color: #333;
}
#page_title{
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}
#page10 .grid_4{
    width: 100%!important;
}
#page10 .grid_4 a .bg_color3{
    display: none;
}
#footer .grid_6 h3{
    font-size: 30px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
header #header{
    padding: 10px;
}
#main_contents #main_img {
    transform: none;
    height: 60vw;
    width: 100%!important;
    margin-left: 0;
}
#main_contents #catch h2 {
    font-size: 20px;
}
#main_contents #catch {
    bottom: -20px;
}
#menu_bt > div div{
    letter-spacing: 2px;
}
#top_cms .top_cms_box > .cms_wrap{
    padding: 50px 20px;
}
#top_cms .top_cms_title h3 span {
    font-size: 24px;
}
#page_title{
    padding-top: 80px;
    padding-bottom: 80px;
    width: 100%!important;
    transform: none;
}
section[id^="page"], section#cms{
    padding-top: 0;
}
#footer .grid_6 h3{
    font-size: 30px;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
#main_contents #main_menu li a{
    padding-top: 5px;
}
}