﻿.iroha,.hannari{
    font-family: "irohamaru", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* color */
body,.txt_color_nomal{color: #333333;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #8bc168} /* メインカラー */
.txt_color2{color: #def2d1} /* サブカラー */
.txt_color3{color: #31aa65} /* アクセントカラー1 */
.txt_color4{color: #FFF7F0} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #8bc168} /* メインカラー */
.bg_color2{background-color: #def2d1} /* サブカラー */
.bg_color3{background-color: #31aa65} /* アクセントカラー1 */
.bg_color4{background-color: #FFF7F0} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #8bc168}
.border_color2{border-color: #def2d1}
.border_color3{border-color: #31aa65}
.border_color4{border-color: #FFF7F0}


/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color_nomal:hover{color: #333333;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #8bc168} /* メインカラー */
.hvr_txt_color2:hover{color: #def2d1} /* サブカラー */
.hvr_txt_color3:hover{color: #31aa65} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #FFF7F0} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #8bc168} /* メインカラー */
.hvr_bg_color2:hover{background-color: #def2d1} /* サブカラー */
.hvr_bg_color3:hover{background-color: #31aa65} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #FFF7F0} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #8bc168}
.hvr_border_color2:hover{border-color: #def2d1}
.hvr_border_color3:hover{border-color: #31aa65}
.hvr_border_color4:hover{border-color: #FFF7F0}

/*自動リンク設定*/
.linkStyle{
    color:#31aa65;
}
.linkStyle:hover{
    color:#31aa65;
    opacity: 0.7;
}



/* FV ---------------------------------------------------------------------------------------------*/

#main_img::before {
    background-color: rgba(49, 170, 101, 0.3);
    mix-blend-mode: inherit;
}


@media screen and (max-width: 667px) {
.width_250-max_sp{
    max-width: 250px;
}
}

.back1:before ,.back2:before {
    background-color: rgba(139, 193, 104, 0.1);
}

#contents3_wrap:after {
    background-color: rgba(49, 170, 101, 0.5);
}

.line:before {
    background-color: rgba(49, 170, 101, 0.5);
}


.hover-block_img {
    position: absolute;
    top: -1vw;
    right: -5vw;
    width: 60%;
}

.hover-block {
    position: absolute;
    top: 0%;
    left: 5%;
    width: 180px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

@media screen and (max-width: 667px) {
    .hover-block {
    top: -3%;
    left: 5%;
    width: 140px;
}
}


.illust-ani{
    transform-origin: center bottom;
    animation: yurayura 2s linear infinite;
}

@keyframes yurayura {
  0% , 100%{
      transform: rotate(10deg);
  }
  50%{
      transform: rotate(-10deg);
  }
}

.portrait_img img:hover,#contents2_wrap img:hover{
    transform: translate(-50%, -50%) scale(1.1);
    transition: 0.5s;

}

.top_bg1{
    position: absolute;
    opacity: 0;
    top: -20%;
    right: 0;
    width: 20%;
    -webkit-transition: 0.5s;
    transition: 0.5s;
} 
#contents3_wrap .d_flex.posi_abs{
    bottom: -16%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
}

@media screen and (max-width: 768px){
#contents3_wrap .d_flex.posi_abs{
    bottom: -12%;
    width: 80%;
}
}
@media screen and (max-width: 667px){
#contents3_wrap .d_flex.posi_abs{
    bottom: -15%;
    width: 90%;
}
    #contents3 .con_box {
        padding-bottom: 35%;
    }
    
}


/*#contents1_wrap:hover .hover-block {
    opacity: 1;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}*/

	@keyframes infinity-scroll-right {
	from {
  transform: translateX(0);
}
  to {
  transform: translateX(-100%);
}
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0
}
	.scroll-infinity__list--right{
  animation :infinity-scroll-right 30s infinite linear 0.6s both;
}
.scroll-infinity__item {
  width: calc(100vw / 6);
}
.scroll-infinity__item>img {
  width: 100%;
}

@media screen and (max-width: 667px) {
    .scroll-infinity__item {
  width: calc(100vw / 3);
}
}

#info_contact .con_img:before {
    background-color: rgba(139, 193, 104, 0.3);
}
.con_box.bg_white{
    border-radius: 10px;
}


/* page4 */

#page4 .box_item_img{
    margin: 0 auto;
}

#page4 .box_item_img.grid_6{
    width: 33.33333% !important;
}

#page4 .box_item_txt.grid_6{
   width: 66.66667% !important;
}

@media screen and (max-width: 667px) {
    #page4 h4{
        margin-top:1rem;
    }
    
}

.cate_list li a {
    background-color: rgba(49, 170, 101, 0.1);
}

.cate_list li a:before {
    color: rgba(49, 170, 101, 0.7);
}

.cate_list li a{
    position: relative;
    color: #333333;
    transition: all 0.3s;
    padding:10px 20px 10px 40px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cate_list{
    text-align: center;
    margin-bottom: 70px;
    justify-content: flex-start;
    align-items: flex-start;
        display: -webkit-box;
    display: -moz-box;
    display: -ms-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-box-lines: multiple;
    -moz-box-lines: multiple;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-direction: row;
}

#header{
    background-color: #8bc168;
}

#header .pd_t-10px{
    padding-top: 15px;
}

#header .pd_b-10px{
    padding-bottom: 15px;
}


@media screen and (max-width: 667px) {
    .cate_list{
    margin-bottom: 30px;
    }
    
}

h3{
    font-family: "irohamaru", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}


/*#page5 .cate:last-child .pd_t-b5px{
    padding:5% 0;
}*/

/*-------- お問い合わせページ --------*/

@media screen and (max-width: 667px){
#page8 .con_box #contact_mail {
    line-height: 1.3;
}

#page8 .con_box #contact_mail {
        font-size: 14px;
}

#page8 .con_box #contact_mail .fas{
    font-size: 20px;
}
#page8 .con_box #contact_mail a{
    padding-right: 8px;
    padding-left: 8px;
}

}



/*flow*/

.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{z-index: 0}
.flow_type3 .box_title1::before, .flow_type3 .box_title1::after{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none
}
.flow_type3 .box_title1::before {
	content: "0"counter(box);
	font-size: 86px;
	color: #ebebeb;
	left: 0;
	top: -70px;
	z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}

.flow_type3 h3{
    font-size: calc(1rem + 13px);
}

.flow_type3 .cate_txt1{
    margin: 0;
}

.flow_type3{
    margin-bottom: 50px;;
}

/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
.flow_type3 .box_title1::before{
	left: auto;
	right: 0;
	top: -50px
}
.flow_type3 .box_item {
    padding-top: 36px;
}

}
.flow_type3 .cate_list{
    display: none;
}



/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 30px;
    right: 0;
    left: 0;
    z-index: 10;
    width: 70%;
    max-width: 350px;
    transition: 0.5s;
    opacity: 1;
    margin: auto;
}
#fix_bnr.scroll{
    opacity: 1;
}
#fix_bnr.close{
    opacity: 0;
    z-index: -1;
}


/*--20250617 add start--*/

.back1:before, .back2:before {
    pointer-events: none;
}

/*--20250617 add end--*/

@media screen and (max-width: 768px){
#fix_bnr{
    max-width: 350px;
}
#fix_bnr.close{
    transform: translateX(200px);
}
}


@media screen and (max-width: 667px){
#fix_bnr {
    width: 60% !important;
    margin: 0;
    bottom: 10px;
    left: auto;
    right: 10px;
}



}

.vibrate-realistic, #fix_bnr a:hover img {
  animation: realisticVibrate 2s infinite;
  display: inline-block;
}



/* fix_bnr end ---------------------------------------------------------------------------------------------*/




/* nav---------------------------------------------------------------------------------------------*/
.pop400.bg_color3{
    border-radius: 5px;
}

.d_flex #logo{
    line-height: 1;
}
.overlay ul {
    padding: 20px !important;
} 

/* nav end---------------------------------------------------------------------------------------------*/



/* footer---------------------------------------------------------------------------------------------*/

#footer {
    margin-top: 70px;
    margin-bottom: 90px;
}

.tel_bt{
    display: none;
}


@media screen and (max-width: 667px){
    #footer {
    margin-top: 30px;
    margin-bottom: 50px;
}
#copyright{
    padding-bottom: 60px;
}
}
/* footer end---------------------------------------------------------------------------------------------*/

/* 下層ページ---------------------------------------------------------------------------------------------*/

#cms_2-g .cate_title {
    line-height: 1.2em;
}

@media screen and (max-width: 667px) {
    .page_title_box {
        width: 80%;
    }
    
    .page_title_box.pd_r-30px{
        padding-right: 10px;
    }
    .page_title_box.pd_l-30px{
        padding-left: 10px;
    }
}

 .cate_title_wrap,#cms_3-c .cate, #cms_2-c .cate{
    padding-top: 60px;
    margin-top: -60px;
}


#cms_3-c .cate:last-child .cate_box{
    padding: 5% 0;
}


/* 下層ページ　end---------------------------------------------------------------------------------------------*/

