﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');


/*----global start-----*/

.pd_t-0{
    padding-top:0;
}

.txt_color4 {
    color: #a40a5e;
}

.border_color2 {
    border-color: #cfcece;
}

h2{
    font-weight: bold;
}

/*----global end-----*/

.box_link{
    max-width: 300px;
    margin-top:-20px;
}

body{
    background-color: #f5f4e4;;
}

#cms_2-c .box_item2 {
        background-color: #fdfdfd;
    border-radius: 20px;
}

#cms_6-c .box_txt1{
    max-width:80%;
}

#cms_6-c .cate_box h3.box_title,  #cms_6-c .cate_box p.box_txt1{
    padding: 20px 30px;
    /*border: 1px solid #cfcfcf;*/
    max-width: 80%;
    display: inline-block;
    box-sizing: border-box;
    border-radius: 16px;
    position: relative;
}

#cms_6-c .cate_box h3.box_title{
    background-color: white;
}

#cms_6-c .cate_box p.box_txt1{
    background-color: #efe6c2;
    border: none;
}


#cms_6-c .cate_box h3.box_title:before{
    content: "";
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    bottom: -33px;
    left: 10px;
    background-image: url(./Dup/img/q.png);
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
}

#cms_6-c .cate_box p.box_txt1:before{
    content: "";
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    bottom: -33px;
    right: 10px;
    background-image: url(./Dup/img/a.png);
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
}

header{
    background-image: url(./Dup/img/head_back.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 100% 100%;
    background-color: transparent !important;
    padding-right: 3vw;
    box-sizing: border-box;
}

.main_box{
    width: 79.5% !important;
    margin-left: 20.5%;
}

.width_1280-max {
    width: 85%;
    max-width: none;
}

#contents4{
    background-color: #efe6c2;
    border-radius: 40px;
        margin-top: 100px;
    margin-bottom: 100px;
}

#contents4 h3{
        text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #d1bc68;
    border-top: 2px solid #d1bc68;
    padding: 13px 0;
}

#main_img{
    padding: 60px 40px;
    padding-left: 0;
    position: relative;
        max-height: none;
    min-height: auto;
}

#main_img:before{
    content: "";
    display: block;
    width: 25%;
    height: 25%;
    position: absolute;
    top: -4%;
    right: 0%;
    background-image: url(./Dup/img/right.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    
    pointer-events: none;
}

#main_img:after{
    content: "";
    display: block;
    width: 80%;
    height: 70%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/font.png);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
}

.page_box:after{
    content: "";
    display: block;
    width: 22%;
    height: 250px;
    position: absolute;
    top: -50%;
    right: 0%;
    background-image: url(./Dup/img/right.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: -1;
}

#attach:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/ue.png), url(./Dup/img/sita.png);
    background-position: center top, center bottom;
    background-repeat: repeat-x;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: auto;
    pointer-events: none;
}

#contents2, #contents3{
    position: relative;
}

#contents2:before{
    content: "";
    display: block;
    width: 100%;
    height: 120%;
    position: absolute;
    top: 70%;
    left: 10%;
    background-image: url(./Dup/img/con1.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
    z-index: -1;
}

#contents3:before{
    content: "";
    display: block;
    width: 100%;
    height: 120%;
    position: absolute;
    top: 70%;
    left: 90%;
    background-image: url(./Dup/img/con2.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
    z-index: -1;
}

.flex_box{
    overflow: hidden;
}

#contents2 figure, #contents3 figure{
    position: relative;
}

#contents2 figure:before, #contents3 figure:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 55%;
    left: 55%;
    background-image: url(./Dup/img/leaf.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 20%;
    pointer-events: none;
}

#contents3 figure img, #contents2 figure img{
    border-radius: 20px;
}

#contents4{
    position: relative;
}

#contents4:before{
    content: "";
    display: block;
    width: 50px;
    height: 40px;
    position: absolute;
    top: 0px;
    right: 40px;
    background-image: url(./Dup/img/tori.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
}


/*----test tori start---*/

.tori_right{
    display: block;
    max-width: 100px;
    margin: auto;
    margin-right: 0;
    position: relative;
    z-index: -1;
}

.tori_left{
    display: block;
    max-width: 40px;
    margin: auto;
    margin-left: 70px;
    position: relative;
    z-index: -1;
}

.fadein{
     transition: 6.5s;
}

.fadein.fadetrans{
    transform: translate(-2000%, -2000%);
        transition-delay: 0.5s;
}

.fadein2{
     transition: 4.5s;
}

.fadein2.fadetrans{
    transform: translate(3000%, -2000%);
    transition-delay: 1.5s;
}

/*----test tori end---*/


#top_cms{
    position: relative;
}

#top_cms:before{
    content: "";
    display: block;
    width: 200px;
    height: 300px;
    position: absolute;
    top: -210px;
    left: -110px;
    background-image: url(./Dup/img/left_big.png);
    background-position: center;
    background-repeat: no-repeat;
    /* -webkit-transform: translate(-50% , -50%); */
    /* transform: translate(-50% , -50%); */
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.pc_box h1#logo{
    max-width: 170px;
}

#fakeloader{
            background-image: url(./Dup/img/load_back.jpg);
    background-size: cover;
    background-position: center;
}

.linkStyle{color: #a40a5e;}

.bg_color3 {
    background-color: #b2cc6a;
}

p a{
    color: #a40a5e;
}

#main_menu ul li a:before {
    top: 47%;
}


/*------20211122 correct start------*/

.scroll_bt{
    display: none;
}

.cate_list li{
    width: auto !important;
}

.cate_list li a{
        padding: 10px 20px;
}

.font_en, body {
    font-family: 'Zen Maru Gothic', sans-serif;
}

#main_menu ul li a {
    font-weight: bold;
    font-size: 18px;
    color: #2c1500;
}

header .contact_bt a, header .tel_bt a{
    font-size: 18px;
    font-weight: bold;
    color: #2c1500;
}

.font_22 {
    font-size: 26px;
}

.font_14 {
    font-size: 18px;
}

.foot_tel_bt a {
    font-weight: bold;
}

.font_2dw {
    font-size: -webkit-calc(1rem + 2px);
    font-size: calc(1rem + 2px);
}

body {
    font-size: 18px;
}


#cms_2-c .box_item .box_txt1{
        border-bottom: 2px dotted;
    margin-bottom: 20px;
    position: relative;
}

#cms_2-c .box_item .box_txt1:before{
    content: "";
    display: block;
    width: 90px;
    height: 90px;
    position: absolute;
    top: 0px;
    left: -40px;
    background-image: url(./Dup/img/icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: -1;
}


.mnd{
    padding-bottom: 20px;
}

/*------20211122 correct end------*/

@media all and (-ms-high-contrast: none){

/*#contents4 h3{
    padding-bottom: 5px;
}*/


.pc_box .contact_bt a {
    padding: 15px;
}


#main_menu ul li a:before {
    top: 50%;
}


}




/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.main_box {
    width: 100%!important;
    margin-left: 0;
}

header {
    background-image: url(./Dup/img/head_back_sp.png);
    padding:25px 0 !important;
}

#main_img {
    padding: 0;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){

.font_16_sp {
    font-size: 20px;
}

}
