﻿/* all page */
/*fonts*/
@import url('https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap');
#aisatsu h2, .contents_box h2, #top_cms h2, .page_title h2, .cate_list li a, .cate_list li .cate_no, .cate_title, .sub_cate_title, .box_title, .box_title1{
    font-family: 'Yusei Magic', sans-serif;
}

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #160a0a;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
.txt_color1{color: #160a0a} /* メインカラー */
.txt_color2{color: #7a7b7e;} /* サブカラー */
.txt_color3{color: #a67c52} /* アクセントカラー1 */
.txt_color4{color: #7ed4bc;} /* アクセントカラー2 */
.txt_white {color: #333;}

/* background-color */
.bg_color1{background-color: #f8f4e6;} /* メインカラー */
.bg_color2{background-color: #7ed4bc;} /* サブカラー */
.bg_color3{background-color: #ec6d35;} /* アクセントカラー1 */
.bg_color4{background-color: #c9baa9} /* アクセントカラー2 */

/* border-color ※!important */
.border_color1{border-color: #7ed4bc;}
.border_color2{border-color: #fbc700;}
.border_color3{border-color: #a67c52}
.border_color4{border-color: #c9baa9}

.hvr_bg_color2:hover {background-color: #7ed4bc;}

#fakeloader .fl {
    max-width: 250px!important;
}
#wrap{
    width: 95%;
    margin: 0 auto;
}
#body{
    background-image: url("./Dup/img/main_bg.png");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
/* header */
#main_menu ul li a {color: #7ed4bc;font-weight: bold;}
#main_menu.fixed {
    transform: translateX(-2.5%);
    background-color: #ffffff!important;
    border: none;
}
#logo a img{width: 250px;}
#main_menu ul li:last-of-type a{
    color: #fff;
    background-color: #7ed4bc;
    border-radius: 5px;
}

/* top ----------------*/
/* main img */
#main_img{
    position: relative;
}
#main_img::before{
    content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 80px 80px 0 0;
	border-color: #f8f4e6 transparent transparent transparent;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
}
#main_img::after{
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 80px 80px 0 0;
	border-color: transparent #f8f4e6 transparent;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 5;
}
.catch{
    max-width: 650px;
    bottom: 30px;
    right: -5%;
    z-index: 6;
}
.leaf_r{
    max-width: 600px;
    top: 30px;
    right: -35%;
    z-index: 6;
    opacity: 0.8;
}
.leaf_l{
    max-width: 600px;
    bottom: 30px;
    left: -35%;
    z-index: 6;
    opacity: 0.8;
}

/* main */

/* intro */
#aisatsu{
	background-image: none !important;
}
#aisatsu .aisatsu_txt {
    background-color: transparent;
	padding-top: 50px;
	padding-bottom: 70px;
}
#aisatsu .aisatsu_txt h2 {
  position: relative;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid #7ed4bc;
  color: #f8f4e6;
  display: inline-block;
  background: #7ed4bc;
  border-radius: 10px;
  margin-bottom: 30px;
}
#aisatsu .aisatsu_txt h2:before,
#aisatsu .aisatsu_txt h2:after {
  position: absolute;
  content: '';
}
#aisatsu .aisatsu_txt h2:before {
  top: -40px;
  left: calc(50% - 40px);
  width: 80px;
  height: 80px;
  border: 2px solid #7ed4bc;
  border-radius: 50%;
  background: #7ed4bc;
}
#aisatsu .aisatsu_txt h2 i {
  font-size: 30px;
  line-height: 60px;
  position: absolute;
  z-index: 1;
  top: -40px;
  left: calc(50% - 40px);
  width: 80px;
  height: 60px;
  text-align: center;
}
#aisatsu .aisatsu_txt h2 span {
  position: relative;
  z-index: 1;
}

/* contents */
#top_contents .noalo{
    max-width: 670px;
    top: -200px;
    right: 7%;
}
.contents_box::before, .contents_box::after, .contents_box2::before, .contents_box2::after{
    display: none;
}
.contents_box h2{
    color: #ec6d35;
}
#top_contents .contents_img{
    border: 10px solid #fff;
    border-top: 20px solid #fff;
    border-bottom: 20px solid #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
#contents1 .contents_img, #contents3 .contents_img{
    transform: rotate(2deg);
}
#contents2 .contents_img{
    transform: rotate(-2deg);
}
#top_contents .con_tape::before{
    content: "";
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 200px;
    width: 200px;
    height: 100px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
	z-index: 5;
}
#contents1 .con_tape::before{
    background-image: url("./Dup/img/con_img.png");
}
#contents2 .con_tape::before{
    background-image: url("./Dup/img/con_img2.png");
}
#contents3 .con_tape::before{
    background-image: url("./Dup/img/con_img3.png");
}
#top_contents .contents_box {
    background-image: none!important;
}
#contents1 .con_tape::after{
    content: "";
    background-image: url(./Dup/img/moji1.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 180px;
    width: 180px;
    height: 100px;
    position: absolute;
    bottom: 50px;
    left: -25%;
    z-index: 5;
    transform: rotate(-10deg);
}
#contents1, #contents2, #contents3{
    position: relative;
}
#contents2::before, #contents2::after, #contents3::before, #contents3::after{
    content: "";
    background-repeat: no-repeat;
    position: absolute;
    z-index: 5;
}
#contents2::after{
    background-image: url(./Dup/img/dry.png);
    background-position: center top;
    background-size: 300px;
    width: 300px;
    height: 610px;
    top: -50px;
    left: -19%;
}
#contents2::before{
    background-image: url(./Dup/img/kusi.png);
    background-position: center top;
    background-size: 160px;
    width: 160px;
    height: 500px;
    top: 150px;
    right: -16%;
}
#contents3::before{
    background-image: url(./Dup/img/scissors.png);
    background-position: center bottom;
    background-size: 230px;
    width: 230px;
    height: 450px;
    bottom: 40px;
    left: -18%;
}
#contents3::after{
    background-image: url(./Dup/img/moji2.png);
    background-position: center top;
    background-size: 280px;
    width: 280px;
    height: 100px;
    top: -10px;
    right: -11%;
    transform: rotate(10deg);
}
#contents4 > div{
    background-color: #7ed4bc;
    border-radius: 50px;
}
#contents4 .con4_title{
    transform: translateY(-80px);
}

/* topcms */
#top_cms .cms_title h2::before, #top_cms .cms_title h2::after{
    background-color: #7ed4bc;
}
#top_cms .cms_box{
    background-color: #fff;
    padding: 20px;
    border-radius: 30px;
}
#top_cms .cms_box > div:nth-of-type(2){
    border: none;
}
#top_cms h2{color: #7ed4bc;}
#top_cms .cms_title p{color: #fbc700;}
.qa_type5 .box_wrap{
    border: none;
}
.v_type1 .box_txt1{
    text-align: left;
}

/* footer */
#page-top {
    right: 3%;
}
#f_menu ul li a {
    color: #333;
}
#info_map .txt_white{
    color: #fff;
}
.kessai{
    max-width: 230px;
}


/* under page */
#main_img2 {
    background-position: center center;
}
#main_img2 .page_title {
    background-color: rgba(236,109,53,0.30)!important;
}

/* cms1 */

/* cms2 */

/* cms3 */

/* cms4 */
.v_type1 .triangle {
    display: block;
    border: #000 solid 2px;
    box-shadow: 5px 5px 0 0 #7ed4bc;
}
.v_type1 .triangle:before {
    content: '';
    position: absolute;
    display: block;
    z-index: 1;
    border-style: solid;
    border-color: #FFF transparent;
    border-width: 13px 13px 0 0;
    bottom: -13px;
    left: 50%;
    margin-left: -9px;
}
.v_type1 .triangle:after {
    content: '';
    position: absolute;
    display: block;
    z-index: 0;
    border-style: solid;
    border-color: #000 transparent;
    border-width: 15px 15px 0 0;
    bottom: -17px;
    left: 50%;
    margin-left: -11px;
}

/* cms5 */
.qa_type5 .faq_no {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    top: -10px;
    left: 0;
	-webkit-background-clip: padding-box; 
	-moz-background-clip: padding; 
	background-clip: padding-box;
	color: #fff;
	border-color: #ec6d35;
}
.qa_type5 .box_title1, .qa_type5 .box_txt1 {padding-left: 70px;line-height: 1.7;color:#333;text-align: left;}
.qa_type5 .box_title1 .faq_no {background-color: #ec6d35;}
.qa_type5 .box_txt1 .faq_no {color: #ec6d35;}

/* page7 */

/* page8 */
    #page8 .banner_wrap .banner{
        margin: 0!important;
    }

/* page9 */
#page9 .cate_box p a{
    color: #fff;
}

/* page10 */
#page10 .cate_wrap .cate ul li a{
    color: #333!important;
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
    #logo a img {width: 200px;}
    .catch {
        max-width: 500px;
        bottom: -30px;
        right: 20px;
    }
    .leaf_r {
        max-width: 370px;
        top: 30px;
        right: -25%;
    }
    .leaf_l {
        max-width: 330px;
        bottom: -50px;
        left: -15%;
    }
    #top_contents .noalo {
        max-width: 550px;
        top: -300px;
        right: 3%;
    }
    #contents1{
        margin-top: 300px;
    }
    #contents1 .con_tape::after {
        bottom: -60px;
        left: -3%;
    }
    #contents2::before {
        background-size: 150px;
        width: 150px;
        height: 290px;
        top: 0;
        right: 3%;
    }
    #contents2::after {
        background-position: center bottom;
        background-size: 220px;
        width: 220px;
        height: 490px;
        top: auto;
        bottom: -50px;
        left: -9%;
    }
    #contents2 .contents_box h2 {
        font-size: calc(1rem + 3px);
    }
    #contents3::after {
        background-size: 230px;
        width: 230px;
        height: 80px;
        right: -2%;
    }
    #contents3::before {
        background-size: 210px;
        width: 210px;
        height: 400px;
        bottom: -110px;
        left: 0;
    }
    #contents4 .con4_box{
        margin-top: -50px;
    }
    #top_cms .cms_box {
        width: 90%;
    }
    #f_menu ul li a {letter-spacing: 0.8px;}
    
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
    #logo {padding-left: 10px;}
    #logo a img {width: 130px;}
    .catch {
        max-width: 260px;
        right: 0;
    }
    .leaf_r {
        max-width: 140px;
        top: 0;
        right: -10%;
    }
    .leaf_l {
        max-width: 150px;
        left: -15%;
    }
    #main_img::before, #main_img::after{border-width: 50px 50px 0 0;}
    #aisatsu .aisatsu_txt h2{
            padding: 0.5rem;
    }
    #top_contents .noalo {
        top: -350px;
    }
    #contents1 .contents_box, #contents2 .contents_box, #contents3 .contents_box {margin-top: 30px;}
    #contents1 .con_tape::after {
        bottom: -5px;
        left: -6%;
    }
    #contents2::before {
        background-size: 90px;
        width: 90px;
        height: 190px;
        top: -90px;
        right: -3%;
    }
    #contents2::after {
        background-position: center top;
        background-size: 120px;
        width: 120px;
        height: 250px;
        top: 170px;
        bottom: auto;
        left: -2%;
    }
    #contents3::after {
        top: -50px;
    }
    #contents3::before {
        background-size: 150px;
        width: 150px;
        height: 260px;
        bottom: auto;
        left: -12%;
        top: 240px;
    }
    #contents4 .con4_title {transform: translateY(-50px);}
    #top_cms .cms_title {margin-bottom: 30px;}
    #top_cms .cms_box > div:nth-of-type(2) {padding: 0;}
    #logo2 a img{max-width: 150px;}
    
}

/* IE */
@media all and (-ms-high-contrast: none){
    #main_menu ul li:last-of-type a{
        padding-bottom: 5px;
    }
    .effect.effect-1:before{
        top: -1px;
    }
    .qa_type5 .box_title1 .faq_no{
        line-height: 3;
    }
}

/*20220411公開後修正*/
#fixed_right_banner .sns_link{
    background-color: #f8f4e6;
    border-color: #f8f4e6;
}

