﻿/* ------------- my css ------------- */



/* color */
.txt_color_nomal, .hvr_txt_color_nomal:hover{color: var(--black);}
:root{
    --color1: #48b577; 
    --color2: #e5f9ec; 
    --color3: #3f7054; 
    --color4: #ffd150; 
    --black: #151a1e; 
}

.txt_red, .hvr_txt_red:hover{color: #C12326;}
.txt_gray, .hvr_txt_gray:hover{color: #ccc}
.txt_color1, .hvr_txt_color1:hover{color: var(--color1)} /* メインカラー */
.txt_color2, .hvr_txt_color2:hover{color: var(--color2)} /* サブカラー */
.txt_color3, .hvr_txt_color3:hover{color: var(--color3)} /* アクセントカラー1 */
.txt_color4, .hvr_txt_color4:hover{color: var(--color4)} /* アクセントカラー2 */

/* background-color */
.bg_black, .hvr_bg_black:hover{background-color: var(--black)} /* 黒背景 */
.bg_gray, .hvr_bg_gray:hover{background-color: #ccc}
.bg_color1, .hvr_bg_color1:hover{background-color: var(--color1)} /* メインカラー */
.bg_color2, .hvr_bg_color2:hover{background-color: var(--color2)} /* サブカラー */
.bg_color3, .hvr_bg_color3:hover{background-color: var(--color3)} /* アクセントカラー1 */
.bg_color4, .hvr_bg_color4:hover{background-color: var(--color4)} /* アクセントカラー2 */
.bg_color_clear, .hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.border_black, .hvr_border_black:hover{border-color: var(--black)}
.border_gray, .hvr_border_gray:hover{border-color: #ccc}
.border_color1, .hvr_border_color1:hover{border-color: var(--color1)}
.border_color2, .hvr_border_color2:hover{border-color: var(--color2)}
.border_color3, .hvr_border_color3:hover{border-color: var(--color3)}
.border_color4, .hvr_border_color4:hover{border-color: var(--color4)}


/*自動リンク設定*/
.linkStyle{
    color:var(--color1);
}
.linkStyle:hover{
	opacity:0.7
}

/*------------- loading -------------*/

#loading .bg_white{
    background-color: var(--color4);
}

/*------------- header -------------*/
.overlay.open {
    z-index: 100;
}
#header{
    position: relative;
    z-index: 999;
}

/*SP MENU*/
@media screen and (max-width: 667px) {
    .tb_sns_wrap .sns_links_tb li {
        width: 25px;
    }
}

/*------------- footer -------------*/
#footer::before {
    background: var(--color3);
}
/*グーグルマップ非表示*/

.top_map, #page7 .map{
    display: none;
}

/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 15px;
    right: 0;
    left: 0;
    z-index: 10;
    width: 70%;
    max-width: 350px;
    transition: 0.5s;
    opacity: 0;
    margin: auto;
}
#fix_bnr.scroll{
    opacity: 1;
}
#fix_bnr.close{
    opacity: 0;
    z-index: -1;
}

#fix_bnr:hover{
    scale: 1.1;
}
@media screen and (max-width: 768px){
#fix_bnr{
    max-width: 300px;
}
#fix_bnr.close{
    transform: translateX(200px);
}
}
@media screen and (max-width: 667px){
#fix_bnr {
    width: 77% !important;
    right: auto;
    left: 50%;
    margin: auto;
    bottom: 10px;
    opacity: 0;
   transform: translate(-50%, 0);
}
}

.vibrate-realistic, #fix_bnr a:hover img {
  animation: realisticVibrate 2s infinite;
  display: inline-block;
}

/* fix_bnr end ---------------------------------------------------------------------------------------------*/

/*------------- FV -------------*/

#main_img{
    height: 100vh;
}
.fv_img1,.fv_img2,.fv_img3,.fv_img4,.fv_txt1,.fv_txt2,.fv_btm,.item2,.item3,.item4,.illust1,.illust2,.illust3,.nara{
    pointer-events: none;
}

.fv_img1{
    bottom: 0;
    left: 53%;
    width: 65%;
    max-width: 770px;
    transform: translate(-50%, 0);
}
.fv_img2{
    bottom: 0;
    right: 5%;
    width: 13%;
    max-width: 135px;
    z-index: 3;
}
.fv_img3{
    bottom: 7%;
    right: 13%;
    width: 33%;
    max-width: 320px;
}


.fv_img4{
    bottom: 0;
    left: 48%;
    width: 95%;
    max-width: 980px;
    transform: translate(-50%, 0);
}

.fv_txt1{
    top: 15%;
    left: 7%;
    width: 32%;
    max-width: 550px;
}

.fv_txt2{
    top:15%;
    right: 4%;
    width: 32%;
    max-width: 550px;
    z-index: 2;
}

.fv_btm{
    bottom: 0;
    width: 100%;
}

.index #logo {
    width: 500px;
}

#logo {
    width: 360px;
}

@media screen and (max-width: 768px) {


    #logo h1.logo {
        max-width: 220px;
    }
    .fv_txt1 {
    top: 15%;
    left: 50%;
    width: 90%;
    max-width: 650px;
    transform: translate(-50%, 0);
}
    .fv_txt2 {
    top: auto;
    bottom: 0;
    right: auto;
    left: 40%;
    width: 65%;
    max-width: 590px;
    transform: translate(-50%, 0);
}
    .fv_img3 {
        width: 20%;
        max-width: 80px;
        right: 5%;
        bottom: 20%;
    }
}
@media screen and (max-width: 667px) {
 
    #main_img {
    height: 80vh;
    }
    .fv_img1 {
    width: 90%;
    }
    .fv_txt1 {
        top: 17%;
    }
    .fv_txt2 {
        width: 72%;
        }
     .fv_img3 {
        max-width: 50px;
        bottom: 13%;
    }
    .fv_img4 {
        width: 110%;
    }
}

/*------------- top -------------*/

#wrap{
    min-width: 1350px;
}

#top_contents1 .nara{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 330px;
}

#top_contents1 .catch_txt{
    position: relative;
    z-index: 2;
}

#top_info .fv_img2{
    margin: 0 auto;
}

.illust1{
    bottom: 0;
    left: 7%;
    width: 15%;
    max-width: 140px;
}
.illust2{
    bottom: 0;
    right: 7%;
    width: 20%;
    max-width: 210px;
}

.illust3{
    bottom: 0;
    right: 7%;
    max-width: 120px;
    width: 15%;
}


.item2{
    bottom: 0;
    left: 2%;
    width: 22%;
    max-width: 300px;
}

.item3{
    top: -15%;
    right: 3%;
    width: 25%;
    max-width: 340px;
    z-index: 2;
}


.item4{
    bottom: 0;
    right: -7%;
    width: 35%;
    max-width: 300px;
}

.top_cms_box{
    width: 70%;
    margin-right: auto;
    margin-left: auto;
}



.title .pc_txt{
    font-size: 40px;
    line-height: 1.3;
}

#top_contact_box .con_bt a {
    padding-left: 0;
}
@media screen and (max-width: 768px) {
    #wrap{
    min-width: auto;
}

    .top_cms_box{
    width: 90%;
}

#top_contents1{
    padding-bottom: 200px;
}
.title .pc_txt {
    font-size: 32px;
}

}
@media screen and (max-width: 667px) {
    #top_contents1 {
        padding-bottom: 100px;
    }
    .item3 {
    bottom: -2%;
    }
}

/*------------- 下層 -------------*/

#page_title::before {
    background: transparent;
}