﻿
/* ---------- font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@500&family=Zen+Kaku+Gothic+New:wght@500;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500;700;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;
}
body, .font_sans-serif, .font_serif{
    font-family: var(--font-jp);
}
.font_en, a[href^="tel:"]{
    font-family: var(--font-en);
}

.title{
    font-weight: 700;
}

#con1 .title {
    font-size: clamp(25px, 2.5vw, 37px)!important;
    margin-top: 22px;
}
#con2 .title{
    font-size: clamp(25px, 2.5vw, 37px)!important;
    line-height: 1.4;
    margin-bottom: 30px;
}
#con3 .title {
    font-size: clamp(23px, 2vw, 33px)!important;
    line-height: 1.4;
}




/* ---------- color ---------- */
#con1{
    background-color: var(--color2);
    color: #fff;
    text-align: center;
    margin-top: -1px;
    padding-top: 0;
}
#con1 .font_18 {
    display: inline-block;
    /*text-align: left;*/
}
.footer_contact {
    background-color: var(--color2);
}
.txt_color2, .hvr_txt_color2:hover {
    color: var(--color3);
}


/* ---------- all ---------- */
.pagetitle {
    background-color: #ffffff;
}
.font_14 {
    font-size: 16px;
}
#fakeloader .fl {
    max-width: 350px;
}
.logo1 {
    max-width: 234px;
    padding-left: 20px;
    padding-right: 25px;
}
.header-in {
    position: relative;
    width: 80%;
    box-sizing: border-box;
    height: 100px;
    border-radius: 0 0 56px 56px;
    padding: 0px;
    -webkit-box-shadow: 0 2px 20px rgb(0 0 0 / 8%);
    box-shadow: 0 2px 20px rgb(0 0 0 / 8%);
    margin-top: 0;
}
.menu_btn {
    width: 80px;
    height: 80px;
    border-radius: 80px;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 101;
    padding: 30px 25px 25px 25px;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translate(0, -50%);
}
.menu_btn {
    border: none;
    margin: 0px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0);
}
#sp_nav .sp_nav_inner .menu__header .logo3 img {
    max-width: 223px;
}
.footer {
    padding: 150px 0px 0;
}


/* ---------- top ---------- */
.con1_squ, #con3 .box .icon{display: none;}

.fv_img{
    margin-top: -13.5vw;
}
#con2 .topimg2 {
    width: 100%;
}
#con2::before, #topCms::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 74px;
    background-image: url(../img/bg1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    top: -14px;
    left: 0;
    z-index: 3;
}
#topCms::before {
    background-image: url(../img/bg2.png);
}
#con2::after, #topCms::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 74px;
    background-image: url(../img/bg2.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    bottom: -14px;
    left: 0;
    z-index: 3;
    transform: scale(-1, -1);
}
#con3 .box .img {
    border-radius: 0;
}
.con3_title{
    width: min(90%, 750px);
    margin: auto;
}
#con3 .font_15 {
    font-size: 18px;
}
#topCms::after{
    background-image: url(../img/bg1.png);
}




/* ---------- under ---------- */
.cate_list li a {
    border-radius: 100px;
    padding: 10px 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-color: var(--color2);
}
#cms_2-b .cate_box{
border-radius: 20px;
    border-left: 1px solid;
    background-color: #f3f9ff;
    border: none;
}




/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
.header-in {
    box-shadow: 0 2px 20px rgb(0 0 0 / 0%);
}
.menu_btn{
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.menu_btn.stick_trans {
    position: relative;
}
#main_img{
    overflow: hidden;
}
.fv_img {
    margin-top: -12vw;
}
.fv_img img {
    transform: scale(1.25);
    margin-bottom: 6vw;
}
#con1 {
    padding-bottom: 82px;
}
#con1 .font_15 {
    font-size: 16px;
}
#con2 .topimg2 {
    width: 70%;
    margin: 30px auto 0;
    transform: translateX(-38px);
}
#con3{
    padding-bottom: 20px;
    padding-top: 50px;
}
#con3 .width_30per {
    width: 80% !important;
    margin: auto;
    margin-bottom: 50px;
}
.con3_title {
    width: min(90%, 500px);
}
#con3 .box .img {
    width: 60%;
    margin: auto;
}
#topCms {
    padding-bottom: 150px;
}
.footer {
    padding: 150px 0px 0;
}
.cate_list li{
    width: 50% !important;
}
}

/* ---------- mobile ---------- */
@media screen and (max-width: 667px){
body {
    line-height: 1.7;
}
#sp_nav .sp_nav_inner .menu__header .logo3 img {
    max-width: 158px;
}
.menu_btn.stick_trans {
    position: static;
    transform: translate(0, 0);
}
.menu_btn {
    width: 60px;
    height: 60px;
    padding: 20px 18px 20px 18px;
    right: 0;
}
.menu_btn.stick_trans {
    position: static;
    transform: translate(0, 0);
}
.logo1 {
    max-width: 175px;
    padding-left: 0;
}
.fv_img img {
    transform: none;
    margin-bottom: 0;
}
.fv_img {
    margin-top: -27vw;
}
.topTxt1 {
    padding: 4px 25px 9px;
}
#con1 {
    padding-bottom: 57px;
    padding-top: 14px;
}
#con1 .title {
    line-height: 1.3;
    text-align: center;
    margin-top: 28px;
    margin-bottom: 35px;
}
.font_14_sp {
    font-size: 15px;
}
#con2{
    padding-top: 86px;
}
#con2::before, #topCms::before {
    height: 28px;
    top: -1px;
}
#con2 .title {
    font-size: 20px;
    margin-bottom: 30px;
}
#con2 .topimg2 {
        width: 100%;
        margin: 0 auto 35px;
        transform: none;
    }
#con2::after, #topCms::after {
    height: 29px;
    bottom: -1px;
}
.con3_title {
        width: min(100%, 500px);
    }
    #con3 .width_30per {
    width: 100% !important;
    margin-bottom: 0;
}
#con3 .box .img {
    width: 70%;
}
#con3 .font_15 {
font-size: 16px;
}
#con3 .title {
font-size: 20px;margin-bottom: 15px;
}
#con3 {
    padding-bottom: 50px;
}
#topCms {
    padding-bottom: 104px;
}
.topCms {
    border: none;
    padding-bottom: 0;
    padding-top: 100px;
}
    .font_14_sp {
        font-size: 16px;
    }
.f_contact_box .font_50 {
font-size: 33px;
}
.cate_list li{
    width: 100% !important;
}
.cate_list li a {
    border-radius: 100px;
    padding: 6px 15px;
    letter-spacing: 1px;
    line-height: 1.5;
}
.f_contact_img {
    height: 292px;
}
}


/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
bottom: 18px;
    right: 90px;
    z-index: 10;
    width: 70%;
    max-width: 285px;
    transition: 0.5s;
    opacity: 0;
    pointer-events: none;
    z-index: 4;
}
#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{
    pointer-events: none;
}
}
@media screen and (max-width: 667px){
#fix_bnr {
        width: 68% !important;
        right: 0;
        left: -41px;
        margin: auto;
        bottom: 16px;
    }
}
/* fix_bnr end ---------------------------------------------------------------------------------------------*/






