﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital@0;1&display=swap');

body p,body a{
  font-family: "Zen Kaku Gothic New", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif !important;
  font-weight: 500;
  font-style: normal;
}


h4.con3_sub{
  font-family: "Montserrat", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}



p.intro_txt {
    font-size: 17px;
}

.font_14 {
    font-size: 15px;
}
.font_15 {
    font-size: 16px;
}


/* font ------------------------------------------------------------------------------*/

/* color -----------------------------------------------------------------------------*/

:root{
    --color1:#28A745;
    --color2:#f3f3f3;
    --color3:#28A745;
    --color4:#f3fff6;
    --color5:#28A745;
    --white:#ffffff;
    --black:#555;
    --gray:#ccc;
}

body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: var(--black);}
.txt_white,.hvr_txt_white:hover{color: var(--white);}
.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 */
.txt_color5,.hvr_txt_color5:hover{color: var(--color5);} /* アクセントカラー2 */
/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: var(--white)} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: var(--black);} /* 黒背景 */
.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_color5,.hvr_bg_color5:hover{background-color: var(--color5);} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}
/* border-color ※!important */
.border_white,.hvr_border_white:hover{border-color: var(--white);}
.hvr_border_black:hover{border-color: var(--black);}
.border_black{border-color: var(--gray);}
.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);}
.border_color5,.hvr_border_color5:hover{border-color: var(--color5);}


section#google_privacy a{
    color: var(--color1) !important;
}

.linkStyle{color: var(--color1);
          border-bottom:solid 1px;
}
body#body {
    background: var(--white);
}


.modal_bt,#header ul.grid_2 {
    background: rgb(40, 167, 69);
    background: linear-gradient(180deg, rgba(40, 167, 69, 1) 10%, rgba(184, 235, 119, 1) 150%);
}

span.before.bg_color1{
    background: rgb(40, 167, 69);
    background: linear-gradient(180deg, rgba(40, 167, 69, 1) 37%, rgba(184, 235, 119, 1) 72%);
}

span.hover_box {
    background: rgb(40, 167, 69);
    background: linear-gradient(40deg, rgba(40, 167, 69, 1) 10%, rgba(184, 235, 119, 1) 150%);
}

div#bottom_menu {
    background: #259b40;
}



/* color -----------------------------------------------------------------------------*/

/* ev --------------------------------------------------------------------------------*/

section#intro02{
    position: relative;
}

#main_img::before,section#intro02::before{
    content: '';
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events:none;
}

/* ev --------------------------------------------------------------------------------*/

/*top■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

.topimg01 {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    top: 50%;
    position: absolute !important;
    transform: translate(-50%, -51%);
    left: 50%;
}

.passing_box.posi_abs {
    top: 50%;
    left: 3%;
    transform: translate(0%, -85%);
}

#main_img::before {
    background-color: transparent;
    background-image: url(dup/img/item01.png);
    background-position: bottom center;
    opacity: 1;
    background-repeat: no-repeat;
    background-size: 100%;
}

#main_img h2 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    font-size: clamp(80px,4vw,90px);
    margin-top: -1px;
}

/*コピーアニメ*/
.passing .passing-bar {
    position: relative;
    display: inline-block;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.passing .passing-bar:before {
    content: '';
    display: inline-block;
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background: var(--color1);
}
.passing.move .passing-bar:before {
    -webkit-animation: passing-bar 1s ease 0s 1 normal forwards;
    animation: passing-bar 1s ease 0s 1 normal forwards;
}
.passing .passing-txt {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
	padding: 5px 15px;
}
.passing.move .passing-txt {
    -webkit-animation: passing-txt 0s ease .5s 1 normal forwards;
    animation: passing-txt 0s ease .5s 1 normal forwards;
    background-color: var(--white);
    color: var(--color1);
    display: inline-block;
}
.passing-bar.passing-bar02{
    margin: 15px 0px 1px;
}

#main_img h2.passing-txt02 {
    line-height: 1.15;
    letter-spacing: 0.02em;
    font-size: clamp(20px, 2vw,28px);
    background: var(--color1);
    color: var(--white);
    padding: 5px 5px;
}

@-webkit-keyframes passing-bar{
	0% {left: 0;right: auto;width: 0;}
	50% {left: 0;right: auto;width: 100%;}
	51% {left: auto;right: 0;width: 100%;}
	100% {left: auto;right: 0;width: 0;}
}
@keyframes passing-bar{
	0% {left: 0;width: 0;}
	50% {left: 0;width: 100%;}
	51% {left: 0;width: 100%;}
	100% {left: 100%;width: 0;}
}
@-webkit-keyframes passing-txt{
	0% { opacity: 0; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes passing-txt{
	0% { opacity:0; }
	50% { opacity:0; }
	100% { opacity:1; }
}
/*コピーアニメ*/


#intro02 .intro_bg, #intro02 .bg_box {
    right: 0;
    left : auto !important;
}

#intro02 .grid_7.grid_11_tb.mg_center_tb.mg_b-50px_tb {
    order: 2 !important;
}

#intro02 .intro_bg {
    background-color: rgb(255 255 255 / 90%);
}

section#contents1 {
    padding: 0;
}

#intro02 .intro_bg, #intro02 .bg_box {
    height: calc(100% + 0px);
}

#contents1 p.contents_txt {
    width: 80%;
}


figure.contents1_img a img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
}

figure.contents1_img {
    height: clamp(500px, 70vh, 700px) !important;
    width: auto;
}

#contents1 .txt_box {
    padding-top: 100px;
    padding-bottom: 100px;
}

/**************modal*******************/
.modal_bt {
    cursor: pointer;
    margin: 30px auto 10px;
    border-radius: 15px;
}
.modal_bg {
    top: 0;
    left: 0;
    background-color: rgb(243 243 243 / 90%);
    z-index: 9;
}
.modal_box {
    max-height: 80%;
    overflow-y: auto;
    z-index: 10;
}

figure.modal_img1 img {
    border-radius: 0px;
}
.close_bt{
    cursor: pointer;
    border-radius: 15px;
}

/***************************************/

section#intro02::before {
    width: 100%;
    height: 100%;
    bottom: 0%;
    background: url(dup/img/item01.png);
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: -2;
    background-position: bottom;
    opacity: 0.2;
}

#f_contact::before {
    opacity: 0.4;
}

/*コード集*/
.anim_box .item{
	transform: translateY(20px);
	transition: transform 1.5s ease, opacity 2s;
	transition-property: opacity,transform;
	opacity: 0;
}
.anim_box .item.start{transform: translateY(0);opacity: 1;}
/*コード集*/

/*コード集*/
.link_type3{padding-bottom: 50px;}
.link_type3 .link_img1 {z-index: 1;}
.link_type3 .cate_box a:hover .link_img1 img {transform: translate(-50%, -50%) scale(1.05,1.05);}
.link_type3 .link_title1 {
    left: 1px;
    bottom: 1px;
    width: calc(100% - 2px);
    box-sizing: border-box;
}
.link_type3 .cate_box a .link_title1 {transition-timing-function: cubic-bezier(.78,.09,.27,1.36);}
.link_type3 .cate_box a:hover .link_title1 {bottom: -47px;}
	
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){	
.link_type3{padding-bottom: 0;}
}
/*コード集*/



#sp_nav a.active {
    border-bottom: 1px solid var(--white);
}


/*コード集ブログ*/
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 0px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*top■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

/*all■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/*all■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

/*sub■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

div#contact_tel_wrap a:hover,.tel_bt a:hover {
    opacity: 0.7;
}

/*sub■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


/*1536*/
@media screen and (max-width: 1536px){

}

/*1530 × 735*/
@media screen and (max-width: 1530px){

}

/*1366*/
@media screen and (max-width: 1366px){

}

/*タブレット*/
@media screen and (max-width: 768px){
    
.passing_box.posi_abs {
    top: 12%;
    left: 3%;
    transform: translate(0%, 0%);
}

#main_img {
    z-index: 0;
    height: 100vh !important;
}

h4.con3_sub {
    font-size: 25px;
}

#con3 p.txt {
    font-size: 15px;
    margin-top: 10px;
}

#intro02 h2.font_30 {
    margin-top: 50px;
}

section#intro02 {
    padding-bottom: 50px;
}

section#contents1 .img_box{
    width:100% !important;
}

section#contents1 .txt_box {
    width: 91.66667% !important;
    padding-top: 50px;
}

#contents1 p.contents_txt {
    width: calc(100% - 40px);
    margin:0 auto;
}

#contents1 .d_flex.flex_center.pd_l-5per_tb.pd_clear_sp {
    padding: 0;
}

figure.contents1_img {
    height: clamp(300px, 50vh, 700px) !important;
    width: auto;
}

#contents1 h2 {
    text-align: center;
}

}



/*スマホ*/
@media screen and (max-width: 667px){

#main_img h2 {
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    font-size: clamp(35px,5vw,50px);
    margin-top: -1px;
    margin-bottom: 0px;
}

.passing .passing-txt {
    padding: 6px 6px;
}

#main_img h2.passing-txt02 {
    line-height: 1.15;
    letter-spacing: 0.02em;
    font-size: clamp(18px, 1vw,20px);
    background: var(--color1);
    color: var(--white);
    padding: 7px 0px;
}

.topimg01 {
    object-fit: cover;
    width: 110%;
    transform: translate(-53%, -51%);
}

#main_img::before {
    background-size: 120%;
}

#con3 p.txt {
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 50px;
}

#con3 .box:last-child .txt{
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

p.intro_txt {
    font-size: 15px;
}

section#intro02 {
    padding-bottom: 10px;
}

#contents1 p.contents_txt {
    width: 100%;
}

#contents1{
    width: 100%;
    margin: 0 auto;
}

section#contents1 .txt_box {
        width: 100% !important;
        padding-top: 50px;
        order: 2;
        padding-bottom: 10px;
}

h2.font_30 {
    font-size: 21px;
}

.modal_bt {
    cursor: pointer;
    margin: 0px auto 10px;
    border-radius: 15px;
}

#contents2 .cate_box {
    padding-bottom: 30px;
}

#f_contact .con_txt{
    word-break: keep-all;
}
.font_2dw_tb {
    font-size: 14px;
}

#cms_2-g h4.box_title1 {
    font-size: 18px;
}

.modal_box {
    padding: 10px;
    padding-bottom: 50px;
}

.modal_box .d_flex.mg_t-20px {
    padding-bottom: 30px;
}

section#contents1 .txt_box{
    width:calc(100% - 70px) !important;
}

}


/*スマホ*/
@media screen and (max-width: 375px){
    #sp_nav nav {
        width: 293px;
        padding-top: 40px;
    }
}
