﻿
/* ---------- 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 ---------- */

.linkStyle{color: #84000a;transition: opacity .3s;text-decoration: underline;}
.linkStyle:hover{opacity: 0.7}

:root {
    --normal_color: #333333;
    --color1: #322318; /* メインカラー */
    --color1: #171412;
    --color2: #ebe3d0; /* サブカラー */
    --color3: #5c3a20; /* アクセントカラー1*/
    --color4: #ebe3d0; /* アクセントカラー2*/
    --color5: #84000a;
}
.txt{
	color: var(--normal_color);
}
.more a{
    background-color: var(--color5);
}
.border_color2 {
    border-color: var(--color1)!important;
}


/* ---------- all ---------- */
#wrap, #top_cms{
     background: url(../img/bg2.jpg) center / auto repeat !important;
    min-width: 1200px;
}
#header h1.active img {
    max-width: 140px;
}
#footer{
    background: url(../img/bg3.jpg) center / cover no-repeat !important;
    color: #fff;
}
#footer a{
    color: #fff;
    border-color: #fff;
}
#sns_links li a{opacity: 1;}
footer .logo img {
    max-width: 180px;
}
#footer_menu .border_color1{
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

#main_nav{
    background-size: 7%;
}
#intro, #top_cms .top_cms_box .top_cms_title, #loader,#page_title{
    background-size: 7% auto;
}


/* ---------- top ---------- */
#intro h2 p,#contents1 h2, #contents2 h3 div, .midashi {
    font-size: clamp(20px, 4vw, 50px);
    line-height: 1.3;
    font-weight: bold;
}

.more a img {
    width: 60px;
    height: 15px;
    vertical-align: baseline;
    padding-left: 15px;
    transition: 0.3s;
}

.fv_txt {
    z-index: 2;
    width: 103vh;
    top: 48%;
    left: 53%;
}
.fv_txt2 {
    z-index: 2;
    width: 37vh;
    bottom: -2px;
    left: 0;
}
#contents1 {
    background-image: url(../img/item2.png), url(../img/item3.png), url(../img/item4.png), url(../img/bg2.jpg);
    background-repeat: no-repeat,no-repeat,no-repeat,repeat;
    background-size: 52.5vw, 41vw, 53vw, 600px;
    background-position: bottom right, bottom left, top right, center;
}

#contents1 h2{
    max-height: 700px;
    width: 41% !important;
}
#contents1 .flex_top-left{
    justify-content: center;
}
#contents1 .flex_order1{
    
}
#contents1 .flex_order1 img{
    box-shadow: rgb(208 189 167) 50px 50px 0px!important;
}
#contents1 .flex_order3 {
    width: auto !important;
    font-size: 19px;
    margin-top: 7%;
}

#contents2{
    position: relative;
    overflow: hidden;
}
#contents2::before {
    content: '';
    display: inline-block;
    width: 40vw;
    height: 40vw;
    background-image: url(../img/item1.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: -10%;
    top: -10%;
    opacity: 0.6;
}
#contents2 div.font_18{
    width: auto !important;
}
#contents2 div .txt_vertical{
    max-height: 420px;
}
#contents2 .d_flex {
    justify-content: center;
}
#contents2 h3 .txt_vertical {
    max-height: 600px;
}

#contents3::after{
     display: none;
}

#contents3 {
    background-image: url(../img/item5.png), url(../img/item6.png), url(../img/bg2.jpg);
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: 41vw, 53vw, 600px;
    background-position: top left,bottom right, center;
}
#contents3 .flex_align-stretch {
    align-items: stretch;
}
#contents3 .grid_5 .inner{
    padding: 30px;
    background-color: #fff;
}
#contents3 .grid_5 figure{
    margin-bottom: 0;
}



/* ---------- under ---------- */
#page_title h2{
    line-height: 1.3;
}
#page_title h2 .txt_vertical{
    text-align: left;
}
#page8 #tel_txt p {
    border-left: 1px solid;
}

#cms_5-f .cate_box .open_bt .box_title1::before, .cms_5-f .cate_box .open_bt .box_title1::before{
    display: none;
}
#cms_5-f .cate_box .open_bt .box_title1, .cms_5-f .cate_box .open_bt .box_title1 {
    margin-left: 44px;
}


/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
#wrap, #top_cms{
    min-width: 100%;
}
#header h1.active img {
        max-width: 91px;
    }
.fv_txt {
    width: 69%;
    top: 50%;
    left: 53%;
}
.fv_txt2 {
    width: 40%;
}

#contents3 {
    background-size: 50vw, 71vw, cover;
    padding-top: 126px;
    padding-bottom: 130px;
}
#main_nav{
    background-size: 10%;
}
#intro, #top_cms .top_cms_box .top_cms_title, #loader,#page_title{
    background-size: 7% auto;
}
}

/* ---------- mobile ---------- */
@media screen and (max-width: 667px){
#header h1.active img {
    max-width: 64px;
}
footer .logo img {
    max-width: 126px;
}

#main_img{
    height: 98vh;
}
#main_img #slide_wrap {
    padding: 0;
}
.fv_txt {
    width: 90%;
    top: 47%;
    left: 53%;
}
.fv_txt2{
    width: 100%;
}
#main_img #slide_wrap .down img{display: none;}

#intro h2 p, #contents1 h2, #contents2 h3 div, .midashi {
    font-size: clamp(24px, 4vw, 50px);
}

#contents1 h2 {
    max-height: 100%;
    width: 100% !important;
}
#contents1 .flex_order3 {
    font-size: 14px;
    margin-top: 63px;
}
#contents2 {
    padding: 20px;
}
#contents3 {
    background-size: 78vw, 80vw, cover;
    padding-top: 148px;
    padding-bottom: 130px;
}
.midashi{
    padding: 0 16px;
    margin-bottom: 35px;
}
#contents3 .flex_align-stretch.pd_t-50px_sp{
    padding-top: 0;
}
 #top_cms .top_cms_box .top_cms_title{
     margin-bottom: 0;
 
}
}


/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 9px;
    right: 67px;
    z-index: 10;
    width: 70%;
    max-width: 389px;
    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: 57%!important;
    right: 0;
    left: 0;
    margin: auto;
    bottom: 10px;
}
}
/* fix_bnr end ---------------------------------------------------------------------------------------------*/
