﻿
/* ---------- font ---------- */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

:root{
    --font-jp:  "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-en: 'Jost',  "Noto Sans JP", "游ゴシック 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_Quick{
    font-family: var(--font-jp)!important;
    font-weight: 500;
}
.font_en, a[href^="tel:"]{
    font-family: var(--font-en)!important;
}

/* ---------- color ---------- */



/* ---------- all ---------- */
header.width_100per {
    position: absolute;
    z-index: 6;
    width: calc(100% - 120px) !important;
}
#header .contact_box {
    margin-top: 20px;
}
.mail_bt a {
    border-radius: 5px;
}
.tel_bt a i {
    top: 55%;
}
#header-nav{
    display: none;
}
#header .tel_bt a{
    font-size: 27px;
    color: #fff;
}

#logo {
    width: 230px;
    height: 160px;
}
#top_contents1 .font_2dw {
    font-size: 16px;
    line-height: 1.6;
}
/*#fix_menu {
    background-color: var(--color2);
}*/

.more a {
    padding: 15px;
    border-radius: 5px;
}

#footer_nav{
    position: relative;
    padding-bottom: 193px;
    margin-bottom: 0;
}
#footer_nav::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 150px;
    background-image: url(../img/bg_item3.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    bottom: -1px;
    left: 0;
    z-index: 2;
}
#footer::before{
    background-color: #4d4d4d;
}

#top_contents2 .con_box .text_box:before, #top_contents2:after, #footer_nav:after, #top_contact_box:before {
    content: "";
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
}
#top_contents2 .con_box .text_box:before {
    background-image: url(../img/con_item1.png);
    background-size: 100%;
    width: 17vw;
    height: 7vw;
    top: -4vw;
    left: 89px;
}
#top_contents2 .con_box:nth-of-type(2) .text_box:before {
    background-image: url(../img/con_item2.png);
    width: 19vw;
    height: 7vw;
    top: -5vw;
    left: 36px;
}
#top_contents2:after{
   background-image: url(../img/con_item3.png);
    width: 4.5vw;
    height: 15.9vw;
    bottom: -5vw;
    right: 36px;
    z-index: 3;
}
#footer_nav.top:after {
    background-image: url(../img/con_item4.png);
    width: 29vw;
    height: 11vw;
    bottom: -4vw;
    right: 50px;
    z-index: 3;
    /* left: 39px; */
    margin: auto;
}
#footer_nav::after, #footer_nav:before{
    pointer-events: none;
}
#top_contact_box{
    background: url( "../img/top_contact_box_bg.jpg" ) center / cover no-repeat!important;
}
#top_contact_box:before{
    background-image: url(../img/con_item5.png);
    width: 18.5vw;
    height: 16.9vw;
    top: -13vw;
    left: 6vw;
    z-index: 3;
}


.fv_item2 img,#top_contents2 .con_box .text_box:before, #top_contents2 .con_box:nth-of-type(2) .text_box:before ,#top_contents2::after, #footer_nav.top::after, #top_contact_box:before{
    animation: kaku 1s infinite steps(2);

}
@keyframes kaku {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-10deg); }
  }

/* ---------- top ---------- */
#main_img {
    max-height: 100vh;
    height: 100vh;
}
#main_img::before {
    display: inline-block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(18 18 18 / 17%);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 2;
}

.swiper-container {
    height: 100vh;
}
.swiper-container-fade .swiper-slide{
    height: 100vh!important;
    width: 100%!important;
}
.swiper-wrapper img{
    height: 100%!important;
    width: 100%!important;
    object-fit: cover;
}

.fv_txt {
    z-index: 3;
    width: 31%;
    transform: none;
    top: 46%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: auto;
    filter: drop-shadow(2px 2px 32px rgba(0, 0, 0, 0.4));
}
.fv_item1{
    right: 0;
    top: 50px;
    width: min(17%, 280px);
    z-index: 3;
    display: none;
}
.fv_item2 {
    right: 4%;
    bottom: 0;
    width: 15%;
    z-index: 5;
}
.fv_item3{
    left: 0;
    bottom: -1px;
    width: 100%;
    z-index: 4;
    pointer-events: none;
}


#top_contents1 {
    padding: 0 5% 165px;
    background: url( "../img/intro_item2.png" ) center top 2% / 100% no-repeat;
}
.catch_txt {
    max-width: 850px;
}
.top_txt1{
    width: min(50vw, 500px);
    margin: 0 auto 70px;
}
.top_txt2{
    width: min(100%, 450px);
    margin: 0 0 38px;
}
.top_txt3{
    width: min(100%, 450px);
    margin: 0 0 38px;
}
#top_contents1::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 8vw;
    background-image: url(../img/bg_item1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    bottom: -1px;
    left: 0;
    z-index: 2;
}

#top_contents2 {
    padding: 80px 0 132px;
    position: relative;
}
#top_contents2::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 8vw;
    background-image: url(../img/bg_item2.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    bottom: -1px;
    left: 0;
    z-index: 2;
}

#top_contents2 .con_box .text_box, #top_contents2 .con_box:nth-of-type(2) .con_img{
    border-radius: 10px 0 0 10px;
}
#top_contents2 .con_box .con_img, #top_contents2 .con_box:nth-of-type(2) .text_box{
    border-radius: 0 10px 10px 0;
}
#top_contents2 .con_box .text_box .linehight_2 {
    line-height: 1.8;
}

#top_contents2 .con_box .text_box{
    overflow: visible;
}
#top_contents2 .con_box .text_box .before{
    display: none;
}

#top_info .top_map iframe {
        border-radius: 10px;
}

#top_contact_box .con_bt a{
    padding-left: 0;
}


/* ---------- under ---------- */
#page_title::before {
   background: rgb(77 77 77 / 20%);
}
.page_title_inner{
    background: url( "../img/page_title_inner_bg.jpg" ) center / cover no-repeat!important;
}



/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
#logo {
    height: 95px;
}

#main_img {
    max-height: 56vh;
    height: 56vh;
}
.swiper-container-fade .swiper-slide {
    height: 56vh !important;
}

.fv_txt {
    width: 45%;
    top: 51%;
}
.fv_item2 {
    width: 19%;
}
.top_txt1 {
    width: min(50vw, 500px);
    margin: 18px auto 49px;
}
#top_contents1 {
    padding: 0 5% 125px;
}
#top_contents2 .con_box .text_box:before {
    width: 29vw;
    height: 16vw;
    top: -8vw;
    left: 35px;
}

kaku animation {
    transform: rotate(-5deg);
}
.fv_item2 img, #top_contents2 .con_box .text_box:before, #top_contents2 .con_box:nth-of-type(2) .text_box:before, #top_contents2::after, #footer_nav.top::after {
    animation: kaku 1s infinite steps(2);
}
#top_contents2 .con_box:nth-of-type(2) .text_box:before {
    width: 30vw;
    height: 12vw;
    top: -8vw;
    left: 36px;
}
#top_contents2::after {
    width: 6.5vw;
    height: 23.9vw;
    bottom: -5vw;
    right: 36px;
}

#footer_nav {
    position: relative;
    padding-bottom: 187px;
    margin-bottom: 0;
}
#footer_nav::before{
    height: 56px;
    bottom: -1px;
}
#footer_nav.top::after {
    width: 55vw;
    height: 20vw;
    bottom: -2vw;
    left: 3vw;
}
#top_contact_box:before{
    width: 27.5vw;
    height: 24.9vw;
    top: -19vw;
}

}


/* ---------- mobile ---------- */
@media screen and (max-width: 667px){
#logo {
    height: 78px;
}
#main_img {
    max-height: 90vh;
    height: 90vh;
}
.swiper-container, .swiper-container-fade .swiper-slide{
    height: 90vh!important;
}

.fv_txt {
    width: 80%;
    top: 43%;
}
.fv_item2 {
    width: 38%;
}

.top_txt1 {
    width: 81%;
    margin: 18px auto 27px;
}
.intro_item1{
    width: 80%;
}
#top_contents1 {
    padding: 0 5% 91px;
}
#top_contents2 .con_box .text_box {
    padding: 87px 20px 30px;
}
#top_contents2 .con_box .text_box:before {
    width: 55vw;
        height: 23vw;
    top: -3vw;
    left: 16px;
}
#top_contents2 .con_box:nth-of-type(2) .text_box:before {
    width: 57vw;
    height: 21vw;
    top: -5vw;
    left: 18px;
}
#top_contents2::after {
    width: 13.5vw;
    height: 47.9vw;
    bottom: -12vw;
    right: 36px;
}

#top_contact_box{
    margin-top: 194px;
}
#top_contact_box:before {
    width: 52vw;
    height: 48vw;
    top: -37vw;
    left: 6vw;
}

#footer_nav{
    display: block!important;
}
#footer_nav ul{
    display: none;
}
#footer {
    padding-top: 65px;
    margin-top: 0;
}
#footer_nav {
    padding-bottom: 53px;
}
#footer_nav.top::after {
    width: 90vw;
    height: 34vw;
    bottom: -8vw;
    left: -18px;
    right: 0;
    margin: auto;
}
}



/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 11px;
    right: 101px;
    z-index: 5;
    width: 40%;
    max-width: 350px;
    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);
}
#fix_bnr {
    bottom: 11px;
    right: 0;
    left: 19px;
    margin: auto;
    width: 54%;
    max-width: 367px;
}
}
@media screen and (max-width: 667px){
#fix_bnr {
    width: 66% !important;
    margin: auto;
    bottom: 6px;
}
}
/* fix_bnr end ---------------------------------------------------------------------------------------------*/




