﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@500&display=swap');
  
:root{--font_kiwi: 'Kiwi Maru' , 'Zen Maru Gothic', "Yu Gothic Medium", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", "MS PGothic", "sans-serif";}
:root{--font_maru: 'Zen Maru Gothic', "Yu Gothic Medium", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", "MS PGothic", "sans-serif";}

.font_serif,.con1_title,.intro_title, #contents .con_title,h3,h2,h4,h5,h6,#cms_3-g .box_txt1, .cms_3-g .box_txt1, .font_sans-serif{font-family:var(--font_kiwi) !important;}
body {font-family:var(--font_maru) !important;}


/* ---------- font ---------- */
/* フォントサイズ */
.font_10{font-size: 11px;}.font_11{font-size: 12px;}.font_12{font-size: 13px;}.font_13{font-size: 14px;}
.font_14{font-size: 17px;}.font_15{font-size: 16px;}.font_16{font-size: 17px;}.font_17{font-size: 18px;}
.font_18{font-size: 19px;}.font_19{font-size: 20px;}.font_20{font-size: 25px;}.font_21{font-size: 22px;}
.font_22{font-size: 23px;}.font_23{font-size: 24px;}.font_24{font-size: 25px;}.font_25{font-size: 26px;}
.font_26{font-size: 27px;}.font_27{font-size: 28px;}.font_28{font-size: 29px;}.font_29{font-size: 30px;}
.font_30{font-size: 31px;}.font_31{font-size: 32px;}.font_32{font-size: 33px;}.font_33{font-size: 34px;}
.font_34{font-size: 35px;}.font_35{font-size: 36px;}.font_36{font-size: 37px;}.font_37{font-size: 38px;}
.font_38{font-size: 39px;}.font_39{font-size: 40px;}.font_40{font-size: 41px;}.font_41{font-size: 42px;}
.font_42{font-size: 43px;}.font_43{font-size: 44px;}.font_44{font-size: 45px;}.font_45{font-size: 46px;}
.font_46{font-size: 47px;}.font_47{font-size: 48px;}.font_48{font-size: 49px;}.font_49{font-size: 50px;}
.font_50{font-size: 51px;}

/* フォントサイズ 基準値から+- */
.font_100per{font-size:-webkit-calc(1rem + 1px);font-size : calc(1rem + 1px);}
.font_200per{font-size:-webkit-calc(2rem + 1px);font-size : calc(2rem + 1px);}
.font_2up{font-size:-webkit-calc(1rem + 3px);font-size : calc(1rem + 3px);}
.font_4up{font-size:-webkit-calc(1rem + 5px);font-size : calc(1rem + 5px);}
.font_6up{font-size:-webkit-calc(1rem + 7px);font-size : calc(1rem + 7px);}
.font_8up{font-size:-webkit-calc(1rem + 9px);font-size : calc(1rem + 9px);}
.font_10up{font-size:-webkit-calc(1rem + 11px);font-size : calc(1rem + 11px);}
.font_12up{font-size:-webkit-calc(1rem + 13px);font-size : calc(1rem + 13px);}
.font_14up{font-size:-webkit-calc(1rem + 15px);font-size : calc(1rem + 15px);}
.font_2dw{font-size:-webkit-calc(1rem - 1px);font-size : calc(1rem - 1px);}
.font_4dw{font-size:-webkit-calc(1rem - 3px);font-size : calc(1rem - 3px);}
.font_6dw{font-size:-webkit-calc(1rem - 5px);font-size : calc(1rem - 5px);}
.font_8dw{font-size:-webkit-calc(1rem - 7px);font-size : calc(1rem - 7px);}

/*タブレット*/
@media screen and (max-width: 768px){
/* フォントサイズ　タブレット */
.font_10_tb{font-size: 11px;}.font_11_tb{font-size: 12px;}.font_12_tb{font-size: 13px;}.font_13_tb{font-size: 14px;}
.font_14_tb{font-size: 15px;}.font_15_tb{font-size: 16px;}.font_16_tb{font-size: 17px;}.font_17_tb{font-size: 18px;}
.font_18_tb{font-size: 19px;}.font_19_tb{font-size: 20px;}.font_20_tb{font-size: 21px;}.font_21_tb{font-size: 22px;}
.font_22_tb{font-size: 23px;}.font_23_tb{font-size: 24px;}.font_24_tb{font-size: 25px;}.font_25_tb{font-size: 26px;}
.font_26_tb{font-size: 27px;}.font_27_tb{font-size: 28px;}.font_28_tb{font-size: 29px;}.font_29_tb{font-size: 30px;}
.font_30_tb{font-size: 31px;}.font_31_tb{font-size: 32px;}.font_32_tb{font-size: 33px;}.font_33_tb{font-size: 34px;}
.font_34_tb{font-size: 35px;}.font_35_tb{font-size: 36px;}.font_36_tb{font-size: 37px;}.font_37_tb{font-size: 38px;}
.font_38_tb{font-size: 39px;}.font_39_tb{font-size: 40px;}.font_40_tb{font-size: 41px;}.font_41_tb{font-size: 42px;}
.font_42_tb{font-size: 43px;}.font_43_tb{font-size: 44px;}.font_44_tb{font-size: 45px;}.font_45_tb{font-size: 46px;}
.font_46_tb{font-size: 47px;}.font_47_tb{font-size: 48px;}.font_48_tb{font-size: 49px;}.font_49_tb{font-size: 50px;}
.font_50_tb{font-size: 51px;}

/* フォントサイズ 基準値から+- */
.font_100per_tb{font-size:-webkit-calc(1rem + 1px);font-size : calc(1rem + 1px);}
.font_200per_tb{font-size:-webkit-calc(2rem + 1px);font-size : calc(2rem + 1px);}
.font_2up_tb{font-size:-webkit-calc(1rem + 3px);font-size : calc(1rem + 3px);}
.font_4up_tb{font-size:-webkit-calc(1rem + 5px);font-size : calc(1rem + 5px);}
.font_6up_tb{font-size:-webkit-calc(1rem + 7px);font-size : calc(1rem + 7px);}
.font_8up_tb{font-size:-webkit-calc(1rem + 9px);font-size : calc(1rem + 9px);}
.font_10up_tb{font-size:-webkit-calc(1rem + 11px);font-size : calc(1rem + 11px);}
.font_12up_tb{font-size:-webkit-calc(1rem + 13px);font-size : calc(1rem + 13px);}
.font_14up_tb{font-size:-webkit-calc(1rem + 15px);font-size : calc(1rem + 15px);}
.font_2dw_tb{font-size:-webkit-calc(1rem - 1px);font-size : calc(1rem - 1px);}
}


/*スマホ*/
@media screen and (max-width: 667px){
/* フォントサイズ　スマホ */
.font_10_sp{font-size: 11px;}.font_11_sp{font-size: 12px;}.font_12_sp{font-size: 13px;}.font_13_sp{font-size: 14px;}
.font_14_sp{font-size: 14px;}.font_15_sp{font-size: 16px;}.font_16_sp{font-size: 17px;}.font_17_sp{font-size: 18px;}
.font_18_sp{font-size: 19px;}.font_19_sp{font-size: 20px;}.font_20_sp{font-size: 21px;}.font_21_sp{font-size: 22px;}
.font_22_sp{font-size: 23px;}.font_23_sp{font-size: 24px;}.font_24_sp{font-size: 25px;}.font_25_sp{font-size: 26px;}
.font_26_sp{font-size: 27px;}.font_27_sp{font-size: 28px;}.font_28_sp{font-size: 29px;}.font_29_sp{font-size: 30px;}
.font_30_sp{font-size: 31px;}.font_31_sp{font-size: 32px;}.font_32_sp{font-size: 33px;}.font_33_sp{font-size: 34px;}
.font_34_sp{font-size: 35px;}.font_35_sp{font-size: 36px;}.font_36_sp{font-size: 37px;}.font_37_sp{font-size: 38px;}
.font_38_sp{font-size: 39px;}.font_39_sp{font-size: 40px;}.font_40_sp{font-size: 41px;}.font_41_sp{font-size: 42px;}
.font_42_sp{font-size: 43px;}.font_43_sp{font-size: 44px;}.font_44_sp{font-size: 45px;}.font_45_sp{font-size: 46px;}
.font_46_sp{font-size: 47px;}.font_47_sp{font-size: 48px;}.font_48_sp{font-size: 49px;}.font_49_sp{font-size: 50px;}
.font_50_sp{font-size: 51px;}

/* フォントサイズ 基準値から+- */
.font_100per_sp{font-size:-webkit-calc(1rem + 1px);font-size : calc(1rem + 1px);}
.font_200per_sp{font-size:-webkit-calc(2rem + 1px);font-size : calc(2rem + 1px);}
.font_2up_sp{font-size:-webkit-calc(1rem + 3px);font-size : calc(1rem + 3px);}
.font_4up_sp{font-size:-webkit-calc(1rem + 5px);font-size : calc(1rem + 5px);}
.font_6up_sp{font-size:-webkit-calc(1rem + 7px);font-size : calc(1rem + 7px);}
.font_8up_sp{font-size:-webkit-calc(1rem + 9px);font-size : calc(1rem + 9px);}
.font_10up_sp{font-size:-webkit-calc(1rem + 11px);font-size : calc(1rem + 11px);}
.font_12up_sp{font-size:-webkit-calc(1rem + 13px);font-size : calc(1rem + 13px);}
.font_14up_sp{font-size:-webkit-calc(1rem + 15px);font-size : calc(1rem + 15px);}
.font_2dw_sp{font-size:-webkit-calc(1rem - 1px);font-size : calc(1rem - 1px);}

}





/* ---------- color ---------- */
.sp_tel .font_24{
    color: var(--color3);
}


/* ---------- all ---------- */
#wrap{
    min-width: 1200px;
}
header .bg_color2, .pc_sc_nav.sc, #contents2, footer .bg_color2, .bg_color2, .sp_tel .bg_color3  {
    background: url( "../img/bg1.jpg" ) top center / 1000px repeat;
}
#top_cms .bg_color2{
    background: none;
}

.width_1280-max {
    width: 100%;
    max-width: 1500px;
}
header {
    box-shadow: 0 10px 10px rgb(255 255 255 / 0%);
}
#header {
    position: relative;
    background: url(../img/h_yane.png) center bottom -2vh / 42% no-repeat #fffbf5;
    /* padding-top: 2%; */
}
h1 img{
    max-width: min(35%, 264px)!important;
    padding-bottom: 20px;
}

nav.bg_color2 ul {
    max-width: 1500px;
    padding-left: 0;
    padding-right: 0;
}
nav.bg_color2 li a{
    padding-left: 25px;
    padding-right: 25px;
        
    .font_18{
        font-size: 17px;
    }
}

header nav li a, .pc_sc_nav li a {
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 30px;
    padding: 40px 25px 0 !important;
}
header nav li:nth-of-type(1) a, .pc_sc_nav li:nth-of-type(1) a {
    background-image: url(../img/icon1.png);
}
header nav li:nth-of-type(2) a, .pc_sc_nav li:nth-of-type(2) a {
    background-image: url(../img/icon2.png);
}
header nav li:nth-of-type(3) a, .pc_sc_nav li:nth-of-type(3) a {
    background-image: url(../img/icon3.png);
}
header nav li:nth-of-type(4) a, .pc_sc_nav li:nth-of-type(4) a {
    background-image: url(../img/icon4.png);
}
header nav li:nth-of-type(5) a, .pc_sc_nav li:nth-of-type(5) a {
    background-image: url(../img/icon5.png);
}
header nav li:nth-of-type(6) a, .pc_sc_nav li:nth-of-type(6) a {
    background-image: url(../img/icon6.png);
}


/* ---------- top ---------- */
#main_img{
    padding: 0;
}
#main_img .slick {
    box-shadow: 0 0 15px rgb(0 0 0 / 0%);
}
#contents2 .con_img_wrap::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    transform: rotate(5deg);
    top: -40px;
    left: 0;
    background-color: var(--color3);
}

.item1 {
    z-index: 2;
    width: min(23%, 300px);
    bottom: -2px;
    right: 10%;
}
#contents_links h3{
    padding: 10px;
}
.item2 {
    position: relative;
    z-index: 2;
    width: min(18%, 250px);
    bottom: 0px;
    left: 5%;
    margin-top: -7%;
}

#top_cms{
    padding: 0;
}
#contact_bar {
    box-shadow: 0 0px 33px rgba(0, 0, 0, 0.07);
}


/* ---------- under ---------- */
.cate_box{
    border-radius: 5px;
}
#page_title h2{
    font-weight: normal;
}
#page10 .font_20 {
    font-size: 17px;
}



/* ---------- 1280px ---------- */
@media screen and (max-width: 1280px){
nav.bg_color2 li a {
.font_18 {
    font-size: 16px;
}
}
}

/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
#menu_wrap ul li a{
    font-size: 21px;
}
#wrap{
    min-width: 100%;
}
#header {
    background: none;
    padding-bottom: 0;
}
h1 img {
    max-width: min(27%, 264px) !important;
    padding-bottom: 0;
}
#main_img {
    margin-bottom: 30px;
}
.item1 {
    width: 30%;
    right: 4%;
}
.item2 {
    width: 24%;
    margin-top: 0;
}

#page10 .font_18_tb {
    font-size: 16px!important;
}
}

/* ---------- mobile ---------- */
@media screen and (max-width: 667px){
h1 img {
    max-width: 44% !important;
}
#header {
    padding: 20px;
    
    .menu_bt {
        position: absolute;
        right: 12px;
    }
}
#menu_wrap ul li a {
    font-size: 16px;
}
#intro{
    padding-top: 80px;
    padding-bottom: 100px;
}
.item1 {
    width: 58%;
    right: 3%;
}
.item2 {
    width: 47%;
}

.font_16_sp {
    font-size: 21px;
}
#page_title .pd_50px.width_1280-max.linehight_1.txt_center{
    padding: 50px 10px;
}
}

/* fix_bnr ---------------------------------------------------------------------------------------------*/
/*#fix_bnr {
    bottom: 9px;
    right: 67px;
    z-index: 10;
    width: 70%;
    max-width: 320px;
    transition: 0.5s;
    opacity: 0;
pointer-events: none;
z-index: 2;
}*/
#fix_bnr {
    bottom: 18px;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 10;
    width: 70%;
    max-width: 320px;
    transition: 0.5s;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}
#fix_bnr.scroll{
    opacity: 1;
pointer-events: auto;
}
#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: 62% !important;
        right: 6px;
        left: 0;
        margin: auto;
        bottom: 10px;
}
}
/* fix_bnr end ---------------------------------------------------------------------------------------------*/








