﻿@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@700&display=swap');

#main_nav, #contents_links, #top_cms .top_cms_box .top_cms_title h3, #footer_bottom, #menu_wrap, #page_title, .date, .en_font, a[href^="tel:"], #intro #intro_box #intro_txt h3::after, #main_img h2, #page10 .box a > div h3{
    font-family: 'Barlow', "Noto Sans JP","游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

/**** fade ****/

.fadein .fade_box{
    opacity: 0;
    transition: 1s;
    transition-property: opacity, transform;
    transform: translateY(20px);
}
.fadein .fade_box.active{
    opacity: 1;
    transform: none;
}

/*********/

#header h1{
    height: auto!important;
}
h1 img {
    width: 240px;
}

#main_nav{
    padding: 0;
}
.other #main_nav{
    position: absolute!important;
    left: 0;
    bottom: 0;
    top: auto;
}
#main_nav ul{
    background-color: #fff;
    padding: 20px 50px;
}
#main_nav ul::before, #main_nav ul::after{
    display: none;
}
#main_nav ul li:not(:last-of-type){
    margin-right: 30px;
}
#main_nav ul li a{
    color: #111111;
}
#menu_wrap nav ul li{
    margin-bottom: 0;
}
#menu_wrap nav ul li a{
    padding-top: 10px;
    padding-bottom: 10px;
}
#menu_wrap nav ul li a .title1{
    font-size: 20px;
    margin-right: 10px;
}
#menu_wrap nav ul li a .title2{
    position: relative;
    left: 0;
    bottom: 0;
    opacity: 1;
    font-size: 12px;
    font-weight: normal;
    opacity: 0.6;
}
#menu_wrap::before{
    display: none;
}

#main_img{
    overflow: hidden;
}
#main_img::after{
    width: 1000px;
    height: 1000px;
    top: auto;
    left: auto;
    bottom: -500px;
    right: -500px;
    transform: rotate(45deg);
    background-image: linear-gradient(to right, #e72525, #111111)!important;
    opacity: 0.2;
}
#main_img h2{
    position: absolute;
    right: 0;
    bottom: 200px;
    font-size: 50px;
    line-height: 1.5;
}
#main_img h2 span {
    transform: translateY(2em);
}
.sm-slider::after{
    background-image: none!important;
    background-color: #111!important;
    opacity: 0.2!important;
}

#intro #intro_box #intro_txt h3::after{
    content: "INTRODUCTION"!important;
}
#intro_txt::before, #intro_txt::after{
    position: absolute;
    content: "";
    width: 200px;
    height: 200px;
    transform: rotate(45deg);
    background-color: #e72525;
}
#intro_txt::before{
    left: -100px;
    top: -100px;
}
#intro_txt::after{
    right: -100px;
    bottom: -100px;
}
#intro_txt p{
    z-index: 1;
    position: relative;
}

#contents{
    padding: 0;
    margin-bottom: 0;
}
#contents::after{
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}
#contents::before, #contents div::after{
    display: none;
}
#contents h3{
    margin-bottom: 0;
    font-size: 40px;
    padding: 100px 20px;
    letter-spacing: 5px;
    text-align: center;
    background-color: rgba(17,17,17,0.2);
}
#contents div{
    width: 100%;
    margin-left: 0;
    border: none;
    padding: 100px 50px 150px;
    background-color: rgba(17,17,17,0.6);
}
#contents div h4, #contents div p{
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

#contents2 .con2_img{
    top: -50px;
    position: relative;
    z-index: 3;
}

#contact_bt{
    top: 20px;
    right: 80px;
    z-index: 98;
}
#contact_bt a{
    height: 40px;
    line-height: 40px;
}

#top_cms{
    max-width: 100%;
    padding: 0;
}
#top_cms .top_cms_box::before{
    position: absolute;
    content: "";
    width: 360px;
    height: 360px;
    left: -180px;
    top: -180px;
    transform: rotate(45deg);
    background-color: #f6f6f6;
}
#top_cms .top_cms_box:nth-of-type(2)::before, #top_cms .top_cms_box:nth-of-type(5)::before{
    background-color: #fff;
}
#top_cms .top_cms_box{
    margin-bottom: 0;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    animation: none!important;
    opacity: 0;
    transition: 1s;
    transition-property: opacity;
}
#top_cms .top_cms_box.active{
    opacity: 1!important;
}
#top_cms .top_cms_box:nth-of-type(2), #top_cms .top_cms_box:nth-of-type(5){
    background-color: #f6f6f6;
}
#top_cms .top_cms_box > .cms_wrap, #top_cms .top_cms_box > .more{
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}
#top_cms .top_cms_box .top_cms_title{
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}
#top_cms .top_cms_box .top_cms_title::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 1px;
    left: -20px;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: currentColor;
}
#top_cms .top_cms_box .top_cms_title h3{
    font-size: 50px;
    display: inline-block;
    padding-right: 20px;
    padding-left: 50px;
}
#top_cms .top_cms_box .top_cms_title p{
    display: inline-block;
    position: static;
    font-size: 20px;
    opacity: 0.4;
    letter-spacing: 3px;
}

#page_title{
    padding-top: 200px;
    padding-bottom: 200px;
}
#page_title > div{
    margin-bottom: 0;
}
#page_title h3{
    font-size: 60px;
    letter-spacing: 10px;
    line-height: 1.5;
}
#page_title p{
    opacity: 0.6!important;
    transform: none!important;
    font-size: 20px!important;
    position: static!important;
}

#page10 .box a > div{
    padding-top: 0;
}
#page10 .box a > div h3, #page10 .box a > div p{
    display: inline-block;
}
#page10 .box a > div h3{
    padding-right: 20px;
    font-size: 26px;
}
#page10 .box a > div p {
    position: relative;
    font-size: 18px;
    opacity: 0.6;
    left: 0;
    bottom: 0;
    letter-spacing: 2px;
    font-weight: normal;
}

#footer_box{
    padding-right: 50px;
}

.foot_link{
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    z-index: 96;
    line-height: 60px;
}
.foot_link a{
    background-color: #ce1313;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
h1 img {
    width: 200px;
}
#main_img h2 {
    bottom: 100px;
    width: 100%!important;
}
#contents::after{
    background-attachment: scroll
}
#contact_bt{
    top: 40px;
    right: 100px;
    z-index: 98;
}
#contact_bt a{
    height: 60px;
    line-height: 60px;
}
#top_cms{
    padding: 0;
}
#top_cms .top_cms_box::before{
    width: 300px;
    height: 300px;
    left: -150px;
    top: -150px;
}
#top_cms .top_cms_box .top_cms_title h3{
    padding-left: 30px;
}
#top_cms .top_cms_box .top_cms_title::before{
    width: 30px;
}
#page_title{
    padding-top: 150px;
    padding-bottom: 100px;
}
#page_title h3{
    font-size: 50px;
    letter-spacing: 6px;
}
#page_title p{
    font-size: 16px!important;
    letter-spacing: 2px!important;
}
#page10 .box a{
    padding: 20px;
}
.foot_link{
    top: auto;
    transform: none;
    bottom: 52px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
h1 img {
    width: 150px;
}
#main_img{
    padding-top: calc(100vh - 100px);
}
#main_img::after {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
}
#main_img h2 {
    position: relative;
    font-size: 26px;
    bottom: 0;
}
#main_img h2 span{
    transform: none!important;
}
#menu_wrap nav ul li a .title1{
    font-size: 16px;
}
#contact_bt{
    top: 20px;
    right: 80px;
}
#contact_bt a{
    height: 40px;
    line-height: 40px;
}
#contents div {
    padding: 50px 20px 100px;
}
#contents h3 {
    font-size: 30px;
    padding: 50px 20px;
    letter-spacing: 3px;
}
#top_cms .top_cms_box .top_cms_title h3{
    font-size: 40px;
    padding-right: 10px;
}
#top_cms .top_cms_box .top_cms_title p{
    font-size: 16px;
    letter-spacing: 2px;
}
#page_title{
    padding-bottom: 80px;
}
#page_title h3 {
    font-size: 34px;
    letter-spacing: 4px;
}
#footer_box{
    padding-left: 20px!important;
    padding-right: 20px!important;
}
#page10 .box a > div h3{
    font-size: 20px;
    padding-right: 10px;
    margin-bottom: 10px;
}
#page10 .box a > div p{
    font-size: 12px;
    display: block;
}
.foot_link{
    bottom: 0;
    width: calc(100% - 40px);
    right: 40px;
    line-height: 49px;
}
.foot_link a{
    background-color: #ce1313;
}
#footer_bottom{
    padding-bottom: 70px;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {

}