﻿/* all page */
/*fonts*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');
.font_en {
    font-family: 'Zen Maru Gothic', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #160a0a;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
.txt_color1, .hvr_txt_color1:hover{color: #8fcd4c;} /* メインカラー */
.txt_color2, .hvr_txt_color2:hover{color: #e6e6e6} /* サブカラー */
.txt_color3, .hvr_txt_color3:hover{color: #8fcd4c;} /* アクセントカラー1 */
.txt_color4, .hvr_txt_color4:hover{color: #fffbd6;} /* アクセントカラー2 */

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: #d3eb9d;} /* メインカラー */
.bg_color2, .hvr_bg_color2:hover{background-color: #f5f5f5;} /* サブカラー */
.bg_color3, .hvr_bg_color3:hover{background-color: #8fcd4c;} /* アクセントカラー1 */
.bg_color4, .hvr_bg_color4:hover{background-color: #fffbd6;} /* アクセントカラー2 */

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: #d3eb9d;}
.border_color2, .hvr_border_color2:hover{border-color: #e6e6e6}
.border_color3, .hvr_border_color3:hover{border-color: #8fcd4c;}
.border_color4, .hvr_border_color4:hover{border-color: #d3eb9d;}

.button:hover::after {box-shadow: inset 0 0 0 15em #d3eb9d;}
#main_menu ul li a::before {background-color: #8fcd4c;}
#body{overflow: hidden;}

/* header */
#main_menu ul li a {
    font-weight: bold;
}

/* top ----------------*/

/* main img */
/*#main_img img {*/
/*    max-height: none;*/
/*    min-height: auto;*/
/*    position: relative;*/
/*    object-fit: cover;*/
/*}*/
.main_ob{
    bottom: -3%;
    right: 18%;
    z-index: 2;
    max-width: 400px;
    height: 100vh;
}
.main_ob img{
    width: auto;
    height: 100%;
}
.main_wrap .catch{
    z-index: 2;
    width: 60%;
    max-width: 900px;
}

/* main */
#contents_box{
    position: relative;
    z-index: 5;
}

/* intro */
#contents1 .txt2{
    font-size: 70px;
    font-weight: 700;
    line-height: 1.3;
}

/* contents */
#contents2 .img5{
    position: relative;
}
#contents2 .img5::before{
    content: "";
    background-image: url(./Dup/img/con1_1.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 100%;
    width: 47%;
    height: 100%;
    position: absolute;
    bottom: -35%;
    right: -20%;
    z-index: 0;
}
#contents2 .img5::after{
    content: "";
    background-image: url(./Dup/img/con1_back.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 100%;
    width: 55%;
    height: 100%;
    position: absolute;
    bottom: -35%;
    right: -20%;
    z-index: -1;
}
#contents2 .txt4{
    font-weight: 500;
}
#contents3 .txt5, #contents3 .txt7{
    color: #1a1a1a;
    font-weight: 500;
}
#contents3 .txt6, #contents3 .txt8{
    color: #1a1a1a;
}
#contents3 .con_no{
    font-weight: bold;
    color: #67b513;
}
#contents3 .con3_txt {
    line-height: 3;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    letter-spacing: 2px;
    text-align: center;
    border-radius: 10px;
}
#contents3 .con3_txt i {
    color: #8fcd4c;
    font-size: 20px;
    margin-right: 10px;
}

/* topcms */


/* footer */



/* under page */
#cms_2-g .cate_img1 {
    max-height: none;
}
.button2:hover {
    box-shadow: none;
}

/* cms1 */

/* cms2 */

/* cms3 */

/* cms4 */

/* cms5 */

/* page7 */

/* page8 */

/* page9 */

/* page10 */


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.hamburger {
    top: 35px;
    right: 30px;
}
.head_box #logo{max-width: 120px;}
.main_ob {
    bottom: -26%;
    right: 6%;
    height: 60vh;
}
#contents2 .img5::before {
    width: 40%;
    bottom: -35%;
    right: -5%;
}
#contents2 .img5::after {
    width: 52%;
    bottom: -35%;
    right: -10%;
}
#contents3 .con3_txt {
    line-height: 2.5;
    font-size: 16px;
}
#contents3 .con3_txt i {
    font-size: 18px;
    margin-right: 5px;
}
#contents1 .txt2 br{
    display: none;
}
.main_box {
    padding-top: 120px;
}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.hamburger {
    top: 20px;
    right: 10px;
}
#body header {padding-bottom: 5px;padding-top: 5px;}
.head_box #logo{max-width: 90px;}
.main_ob {
    bottom: -50%;
    right: 3%;
    height: 52vh;
}
.main_wrap .catch {
    width: 70%;
}
#contents1 .txt2 {
    font-size: 40px;
}
footer .logo{
    text-align: center;
}
.main_box {
    padding-top: 80px;
}

}


/*20220926公開後修正*/
.BA_type1 .box_item, .BA_type1 .box_img1, .BA_type1 .box_img2 {position: relative;}
.BA_type1 .box_item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50.3%;
    transform: translate(-50%,-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 17px 0 17px 40px;
    border-color: transparent transparent transparent #8fcd4c;
}
.BA_type1 .box_img1 {margin-right: 40px;}
.BA_type1 .box_img2 {margin-left: 40px;}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {
    position: absolute;
    height: 33px;
    width: 87px;
    background-color: #fff;
    color: #434343;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    bottom: 0;
    left: 0;
}
.BA_type1 .box_img1::after {content: "before";}
.BA_type1 .box_img2::after {content: "after";}

@media screen and (max-width: 667px){
.BA_type1 .box_img1 {margin-right: 5%;margin-bottom: 50px;}
.BA_type1 .box_img2 {margin-left: 5%;}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {height: 20px;font-size: 15px;}
.BA_type1 .box_item::after {transform: translate(-50%,-60%) rotate( 90deg);border-width: 20px 0 20px 23px;}
}



