﻿
/* ---------- font ---------- */

/*@import url('https://fonts.googleapis.com/css2?family=Jost:wght@500&family=Zen+Kaku+Gothic+New:wght@500;900&display=swap');

:root{
    --font-jp: 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-en: 'Jost', 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
	font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
body, .font_sans-serif, .font_serif{
    font-family: var(--font-jp);
}
.font_en, a[href^="tel:"]{
    font-family: var(--font-en);
}*/


/* ---------- color ---------- */
#copyright{
    background-color: var(--color1);
}




/* ---------- all ---------- */
header #header #header_menu li:hover{
    border-color: #fff;
}
#wrap {
    background-image: url(../img/bg1.jpg);
    overflow: hidden;
    background-repeat: repeat;
    background-size: 100% auto;
    min-width: 1280px;
}
#loader{
    background-image: url(../img/bg1.jpg);
}
/*#main_img::before, #main_img::after {
	position: relative;
}
#main_img::before, #main_img::after {
    content: '';
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    z-index: 1;
}*/
.all_bg {
    pointer-events: none;
}
footer.width_1280-max{
    max-width: 100%;
    background-image: url(../img/f_bg.jpg);
    background-size: cover;
}
footer.width_1280-max, footer.width_1280-max a, #copyright{
    color: #fff;
}



/* ---------- top ---------- */
#main_img:before{
    background: none;
}
#intro:before{
    background: rgba(0, 0, 0, 0.5);
}
#intro .txt_wrap{
    padding-top: 95px;
}
#intro .txt_wrap .title {
    letter-spacing: 7px;
    line-height: 1.7;
    text-align: start;
    padding-top: 20px;
    font-size: -webkit-calc(1rem + 14px);
    font-size: calc(1rem + 14px);
}
.top_line_btn{
    padding: 7px 0;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center!important;
    display: inline-block;
    width: 300px !important;
    margin-top: 20px;
}
#content1{
    background-color: var(--color1);
    max-width: 100%;
    color: #fff;
}
#content1 h2{
    position: relative;
}
#content1 h2::before {
    content: '';
    display: inline-block;
    width: 30vw;
    height: 30vh;
    background-image: url(../img/item1.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: -46px;
    z-index: -1;
    opacity: 0.3;
}

#t_cms_banner .box_title {
    background-color: #fff;
}
#t_cms_banner .bg_color img{
    opacity: 0.6;
}

#content1 .con1_wrap {
    padding-bottom: 70px;
}
#content1 .con1_img1 {
    width: calc(100% - 14vw);
}
#content2 .contents_box_wrap .con_box {
    position: relative;
}
#content2 .contents_box_wrap .con_box::before {
    content: '';
    display: inline-block;
    width: 114px;
    height: 114px;
    background-image: url(../img/no1.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: -23px;
    top: -46px;
    z-index: -1;
    opacity: 0.2;
}
/*#content2 .contents_box_wrap .con_box:nth-of-type(2)::before{
    background-image: url(../img/no2.png);
}
#content2 .contents_box_wrap .con_box:nth-of-type(3)::before{
    background-image: url(../img/no3.png);
}*/
#content2 .con_box .txt_center {
    text-align: left;
}
#content2 .back_color2::after{
    background: rgb(3 2 14 / 52%);
    background: rgba(0, 0, 0, 0.64);
}
#content2 .con_box:nth-of-type(1), #content2 .con_box:nth-of-type(2) {
    padding-bottom: 100px!important;
}
#content2 .more_wrap{
    display: none;
}

.item3 {
    bottom: -8%;
    left: -5%;
    right: 0;
    width: 42%;
    z-index: 2;
    pointer-events: none;
    position: absolute;
    min-width: 488px;
}
.item2 {
    bottom: -3%;
    right: 0;
    width: 42%;
    z-index: 2;
    pointer-events: none;
}

#top_cms .cms_title {
    margin-bottom: 50px;
}

#t_cms_banner .img_box:hover .box_title{
    transition: .5s;
}


/* ---------- under ---------- */
#cms_5-f .cate_box .box_txt1, .cms_5-f .cate_box .box_txt1 {
    background-color: rgb(255 255 255 / 44%);
    padding-left: 34px;
}

#t_cms_banner .box_txt {
    display: none;
}





/* ---------- tablet ---------- */
@media screen and (max-width: 768px) {
#wrap{
    min-width: 100%;
}
#main_img {
    height: 100%;
}
#intro .txt_wrap {
    padding-top: 95px;
    padding-bottom: 150px;
}
#intro .txt_wrap .title{
    font-size: -webkit-calc(1rem + 10px);
    font-size: calc(1rem + 10px);
}
#content1 #con1_txt > div {
    height: 453px;
}
.item2 {
    right: -8%;
}
}

/* ---------- mobile ---------- */
@media screen and (max-width: 667px){
#copyright {
    padding-bottom: 15px;
}
#intro .txt_wrap {
    padding-top: 50px;
    padding-bottom: 150px;
}
.item3 {
    bottom: -6%;
    min-width: 100%;
}
#content1 #con1_txt > div {
    padding-top: 5px!important;
}
#content1 #con1_txt > div{
    height: 100%!important;
}
#content1 .con1_wrap {
    padding-bottom: 0;
}
#content2 .back_color2 {
    padding-top: 60px !important;
    padding-bottom: 145px !important;
}
.item2 {
    bottom: -3%;
    width: 59%;
}

.top_cms_box {
        margin-bottom: 100px;
    }
.more_btn {
    width: 135px;
}
.cms_btn_wrap .more_btn {
    width: 193px;
}

.sp_contact{
    display: none;
}
#intro:before {
    background: rgb(0 0 0 / 61%);
}
#footer .pd_l-r5per {
    padding: 0 10%;
}
}


/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 9px;
    right: 67px;
    z-index: 10;
    width: 70%;
    max-width: 320px;
    transition: 0.5s;
    opacity: 0;
}
#fix_bnr.scroll{
    opacity: 1;
}
#fix_bnr.close{
    opacity: 0;
    z-index: -1;
}
@media screen and (max-width: 768px){
#fix_bnr.close{
    transform: translateX(200px);
}
}
@media screen and (max-width: 667px){
#fix_bnr {
    width: 70%!important;
    right: 0;
    left: 0;
    margin: auto;
    bottom: 10px;
}
}
/* fix_bnr end ---------------------------------------------------------------------------------------------*/





