﻿div#main_img::before {
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(255,255,255,0.15);
    z-index: 2;
    position: absolute;
}
div#attach::before {
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(255,255,255,0.15);
    position: absolute;
}
#calender{
    text-align: center;
    padding-top: 50px;
}
.sp_menu a {
    background: #cb9898;
}

.sp_menu{
line-height: 2;
transition: .3s;
z-index: 3;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
font-size: 12px;
letter-spacing: 0px;
}
.sp_menu li{
width: 25%;
border-top: 1px solid #fff;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
box-sizing: border-box;
}
.sp_menu li:nth-of-type(1),.sp_menu li:nth-of-type(5){border-left: 1px solid #fff;}
.sp_menu li:nth-of-type(5),.sp_menu li:nth-of-type(6){border-top: none;}
.sp_menu li a{padding: 10px 3px;height: 100%;box-sizing: border-box;}
.sp_menu_btn {
    width: 20%;
    padding: 5px 9px;
    position: absolute;
    top: -38px;
    cursor: pointer;
    background: #f5a8a3;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.sp_menu_btn .nav_btn{
display: inline-block;
width: 15px;
height: 15px;
margin-right: 5px;
position: relative;
top: 3px;
}
.sp_menu_btn .nav_btn span{
display: block;
background-color: #fff;
height: 3px;
width: 15px;
position: absolute;
left: 5px;
top: 5px;
transition: .3s;
}
.sp_menu_btn .nav_btn.open_btn span:nth-child(1){
transform: rotate(-55deg);
left: -1px;
width: 13px;
}
.sp_menu_btn .nav_btn.open_btn span:nth-child(2){
transform: rotate(55deg);
right: -1px;
width: 13px;
}
.sp_menu_btn .nav_btn.close_btn span{left: 0;}
.sp_menu_btn .nav_btn.close_btn span:nth-child(1){transform: rotate(45deg);}
.sp_menu_btn .nav_btn.close_btn span:nth-child(2){transform: rotate(-45deg);}
.sp_menu_btn .close,.sp_menu_btn .open{
display: inline-block;
font-size: 14px;
}
.sp_menu_btn.opennow .open{display: none!important;}
.sp_menu.navclose{bottom: -91px;}





@media all and (-ms-high-contrast: none){
#page10 a.d_block.pd_t-15px.pd_b-15px.letter_2.button2.txt_color3.border_so1.border_color1.font_en.motion05s{
    padding-top:10px;
}
#cms_5-a .cate .cate_title span:last-of-type{
    padding-top:0 !important;
}
    #cms_3-c .cate_title{
        padding-top:10px;
        padding-bottom:0;
    }
#cms_2-a .cate .cate_title{
    padding-top:10px !important;
}
#main_menu ul li a::before{
    top:50%;
}
.cms_1-a figure img{
    border-radius:0;
}
#con4_txt_wrap li::before{
    top:3px !important;
}
.pc_box .contact_bt a{
    padding:15px 0 15px;
}
}

.fat-nav li a{
    border-radius:10px;
}
.hamburger__icon.bg_color1,.hamburger__icon:after, .hamburger__icon:before {
        background-color: #f5a8a3;
}

#page10 a.d_block.pd_t-15px.pd_b-15px.letter_2.button2.txt_color3.border_so1.border_color1.font_en.motion05s {
    border-radius: 10px;
}

a.d_inline_b.mg_l-5px.mg_r-5px.pd_t-5px.pd_b-5px.pd_l-10px.pd_r-10px.border_rad3.bg_color1.txt_white.shadow-l.motion03s.hvr_opa05 {
    background: #e88c85;
}
.page_box h2{
    display: inline-block;
    position: relative;
}
.page_box h2::after {
    width: 80px;
    height: 80px;
    content: "";
    background: url(Dup/img/con2.png) no-repeat;
    position: absolute;
    background-size: contain;
    right: -50px;
    top: 0px;
    z-index: -1;
}
.pc_box ul.flex_space-between {
    justify-content: space-around;
}
.fa-envelope:before {
    content: "\f075";
}
#fakeloader{
    background:#fff9ee;
}
.spinner7 > div {
    background-color: #f5a8a3;
}
#contact_tel a{
    color: #603813;
}
.page_box h2, .page_box p {
    text-shadow: none;
    z-index:2;
}
.page_box p {
    color: #f5a8a3;
}
#banner img{
    transition:all 0.3s;
}
#banner img:hover{
    opacity:0.6;
}
.linkStyle{
    color: #d75f55;
}

#c_banner {
    justify-content: center;
    margin-top: 50px;
    font-family:'Kosugi Maru', sans-serif;
    color:#603813;
}

#c_banner div {
    width: 30%;
    text-align: center;
    font-size: 16px;
    padding: 20px;
}


div#banner {
    width: 350px;
    margin: auto;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.cms_5-a .box_wrap{
    border-radius:20px;
}
#cms_5-a .box_wrap{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
#cms_5-a .cate .cate_title {
    border-radius: 10px;
}
#cms_6-c .cate_box,.cms_6-c .cate_box{
    border-radius: 20px;
}
#cms_6-c .circle,#cms_6-c .arrow {
    background: #ffcdc3;
}
#cms_3-c .cate_title{
    background: #f5a8a3;
    color: white;
    border-radius: 10px;
    text-align: center;
}
#attach{
    background-position: center center;
    background-image:url("Dup/img/top_b.jpg") !important;
}
#cms_2-a .cate_title{
    background: #f5a8a3;
    color: white;
    border: 0;
    border-radius: 10px;
}
h2,h3,h4{
     font-family: 'Kosugi Maru', sans-serif;
}
#main_menu ul li a {
    font-family: 'Kosugi Maru', sans-serif;
}

#contents4 h3::before {
    width: 250px;
    height: 50px;
    content: "";
    background: url(Dup/img/title_b.png) no-repeat;
    position: absolute;
    background-size: contain;
    background-position: center;
    left: -20px;
    z-index: -1;
}
figure{
    border-radius:20px;
}
figure img{
    border-radius:20px;
}
.cate_list a {
    border-radius: 10px;
}

.pager a {
    border-radius: 10px;
}
.button2:hover {
    box-shadow: 0 0 20px #ffd2cf inset;
}
#a_wrap{
    background: #fff9ee;
}

#main_img #img1{
    object-fit: cover;
    width: 100%;
    height: 100vh;

}
#contents2{
    margin-top:50px;
}
.button:hover{
    border-color:#f5a8a3;
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em #e88c85;
}
.button::after,.contact_bt button::after,.tel_bt button::after,.foot_tel_bt{
    z-index:-1;
}
.more a, .contact_bt a, .tel_bt a ,.foot_tel_bt a{
    border-radius: 10px;
    position: relative;
    z-index: 2;
    border-color: #f5a8a3;
    background: #f5a8a3;
    color: white;
}

#main_img {
    
    top: -20px;
  /*  background: url(Dup/img/main_img.jpg);
  border-bottom-left-radius: 20px;
    background-size: cover;
    background-position: bottom;*/
}
#main_b {
    position: absolute;
    top: 60px;
    right: 6vw;
    width: 8vw;
    border-radius: 20px;
    z-index:2;
}
/*
#attach{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}*/
#con4_txt_wrap ul{
    position: relative;
    left: 10px;
}
#con4_txt_wrap li::before {
    width: 15px;
    height: 15px;
    background: url(Dup/img/check.png) no-repeat;
    content: "";
    position: absolute;
    background-size: contain;
    left: 0px;
    background-position: center;
    top: 6px;
}
#con4_txt_wrap li {
    line-height: 26px;
    position: relative;
    padding-left: 25px;
}

div#con4_txt_wrap::after {
    width: 170px;
    height: 170px;
    position: absolute;
    content: "";
    background: url(Dup/img/con3.png) no-repeat;
    background-size: contain;
    right: -90px;
    top: 10px;
    z-index: -1;
}
div#con4_txt_wrap::before {
    width: 350px;
    height: 220px;
    position: absolute;
    content: "";
    background: url(Dup/img/con3_2.png) no-repeat;
    background-size: contain;
    left: -130px;
    bottom: -50px;
}
#contents4 h3 {
    font-size: 22px;
    font-family: 'Kosugi Maru';
    color: #603813;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

#contents4 {
    margin-top:150px;
}
#con4_txt_wrap {
    width: 450px;
    height: 450px;
    background: white;
    border-radius: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    position:relative;
}

#top_cms_wrap{
    background: #fff9ee;
    margin-top: 100px;
    /*
    border-top-left-radius: 20px;
    */
}
#f_wrap{
    background:#fff9ee;
}
p.c_txt2 {
    writing-mode: tb-rl	;
    position: absolute;
    right: 70px;
    background: #91643a;
    color: white;
    top: -30px;
    padding: 20px 10px;
    border-radius: 30px;
    font-family: 'Kosugi Maru';
    font-size: 16px;
    letter-spacing: 3px;
}

p.c_txt1{
    writing-mode: tb-rl	;
    position: absolute;
    right: 70px;
    background: #e88c85;
    color: white;
    top: -30px;
   padding: 20px 10px;
    border-radius: 30px;
    font-family: 'Kosugi Maru';
    font-size: 16px;
    letter-spacing: 3px;
}

#contents3 {
    margin-top:50px;
}
#contents2 .box_txt::after {
    width: 130px;
    height: 140px;
    content: "";
    background: url(Dup/img/con1.png) no-repeat;
    position: absolute;
    top: -50px;
    right: -70px;
    background-size: contain;
}

#contents3 .box_txt::after {
    width: 130px;
    height: 140px;
    content: "";
    background: url(Dup/img/con2.png) no-repeat;
    position: absolute;
    top: -50px;
    right: -70px;
    background-size: contain;
}

#contents2 .box_txt::before {
    content: "01";
    top: -78px;
    left: 20px;
    position: absolute;
    font-size: 70px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: white;
}
#contents3 .box_txt::before {
    content: "02";
    top: -78px;
    left: 20px;
    position: absolute;
    font-size: 70px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: white;
}
#contents2 figure img ,#contents3 figure img{
    border-radius:20px;
}
#contents3 .box2 {
    align-items: flex-start;
     position:relative;
}
#contents3 .box_txt {
    background: white;
    padding: 40px;
    border-radius:20px;
    position: relative;
    top: 130px;
    left: 40px;
    margin-right: auto;
    z-index: 2;
}

#contents3 figure {
    margin-left: auto;
    position: relative;
    right: 50px;
}






#contents2 .box1 {
    align-items: flex-start;
    position:relative;
}
#contents2 .box_txt {
    background: white;
    padding: 40px;
    border-radius:20px;
    position: relative;
    top: 100px;
    margin-right: auto;
    z-index: 2;
    left: 40px;
}

#contents2 figure {
    margin-left: auto;
    position: relative;
    right: 50px;
}


#contents1_wrap{
    padding-left: 60px;
    padding-right: 60px;
}
#contents1::after {
    content: "";
    position: absolute;
    background: url(Dup/img/intro.png) no-repeat;
    right: -50px;
    bottom: -54px;
    width: 270px;
    height: 240px;
    background-size: contain;
}

@media screen and (max-width:1450px){
    #contents1::after {
    content: "";
    position: absolute;
    background: url(Dup/img/intro.png) no-repeat;
    right: -50px;
    bottom: -115px;
    width: 230px;
    height: 240px;
    background-size: contain;
}
}

#contents1::before {
    content: "INTRODUCTION";
    position: absolute;
    left: 20px;
    top: -54px;
    font-size: 50px;
    color: white;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}
#contents1 h2::before {
    width: 400px;
    height: 40px;
    content: "";
    background: url(Dup/img/title_b.png) no-repeat;
    position: absolute;
    background-size: contain;
    left: -60px;
    top: 14px;
    z-index: -1;
    background-position: bottom;
}
.font_en{
    font-family: 'Kosugi Maru', sans-serif;
}
#contents1 h2 {
    display: inline-block;
    margin-bottom: 30px;
    font-size: 28px;
    position:relative;
    z-index:2;
}
#contents1 p {
    max-width: 800px;
    margin: auto;
    text-align: left;
    z-index: 2;
    position: relative;
}
#contents1 {
    background: white;
    border-radius: 20px;
    margin-bottom: 100px;
   margin-top: 80px;
    text-align:center;
    position:relative;
    max-width:1080px;
    padding-right: 40px;
}


@media screen and (min-width:1600px){
    .main_box{
        width:80% !important;
        margin-left:20% !important;
    }
    header.grid_3{
        width:20% !important;
    }
}


header ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
 
header ::-webkit-scrollbar-thumb {
  background: #e88c85;
  border-radius: 5px;
}


h1#logo{
    max-width:250px;
}
body{
    background: #fcebcf;
    overflow:hidden;
    color: #371c03;
}
.opacity08{
    opacity:1;
}
header {
    background: #fcebcf;
    padding: 20px;
    box-sizing: border-box !important;
    height: 100vh;
    padding-top: 20px !important;
    background:#fcebcf;
}
#header{
    background: white;
    height: 100%;
    box-sizing: border-box;
    overflow: auto;
    /*
    border-radius: 20px;
    */
    padding-bottom: 20px;
    padding-top:20px;

}
header .head_box .link_box {
    padding-bottom: 20px;
}

/*---------------------------------------タブレット-------------------------------*/
@media screen and (max-width:768px){
    #calender iframe{
        width:80% !important;
    }
    #c_banner div {
    width: 40%;
    }
    header{
        height:auto;
        background:white !important;
        padding-top: 10px !important;
    }
    #header{
        padding:0;
    }
    h1#logo {
    max-width: 100px;
}
#main_img #img1{
    height:auto;
}
#main_img {
    top: 0;
}
#main_b {
    width: 11vw;
}
.box1,.box2{
    flex-direction: column;
}
#contents2 .box_txt,#contents3 .box_txt {
    order: 2;
    width: 80% !important;
}
#contents2 figure,#contents3 figure{
    width: 60% !important;
}
 #contents2 .box_txt,#contents3 .box_txt {
    background: white;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    top: -50px;
    margin-right: auto;
    z-index: 2;
    left: 0px;
}
#contents2 figure,#contents3 figure{
    margin-left: auto;
    position: relative;
    right: 0;
}
p.c_txt1 {
    right: 20px;
    top: -60px;
} 
p.c_txt2 {
    right: 20px;
    top: -60px;
}
#contents3,#contents4 {
    margin-top: 0;
}
#contents1::after {
    width: 190px;
    height: 210px;
}
footer .link_box ul{
    justify-content: space-around;
}
main{
    background: #fff9ee;
}
main.index{
    background:none;
}
footer{
    padding-bottom:100px !important;
}
}

/*---------------------------------------ここまで-------------------------------*/

/*---------------------------------------スマホ---------------------------*/
@media screen and (max-width:667px){
     #calender iframe{
        width:100% !important;
    }
#contact_tel a{
    font-size:20px;
}
div#banner {
    width: 100%;
}
#c_banner div {
    width: 90%;
}
    #contents1_wrap {
    padding-left: 20px;
    padding-right: 20px;
}
#contents1{
    padding-right:20px;
}
#contents1::before {
    content: "INTRODUCTION";
    position: absolute;
    left: 20px;
    top: -32px;
    font-size: 30px;
    color: white;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}
#contents1 h2{
    font-size:20px;
}
#contents1 h2::before {
    width: 270px;
    height: 40px;
    content: "";
    background: url(Dup/img/title_b.png) no-repeat;
    position: absolute;
    background-size: contain;
    left: -30px;
    top: -3px;
    z-index: -1;
    background-position: bottom;
}
#contents1::after {
    width: 160px;
    height: 150px;
    right: -20px;
}
#contents2 figure, #contents3 figure {
    width: 100% !important;
}
#contents2 .box_txt, #contents3 .box_txt {
    background: white;
    padding: 30px;
}
#contents2 .box_txt, #contents3 .box_txt {
    width: 100% !important;
}
#contents2 .box_txt, #contents3 .box_txt {
    top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
#contents2 .box_txt::after,#contents3 .box_txt::after{
    display:none;
}
div#con4_txt_wrap::before {
    width: 300px;
    height: 160px;
    position: absolute;
    content: "";
    background: url(Dup/img/con3_2.png) no-repeat;
    background-size: contain;
    left: -70px;
    bottom: -110px;
}
#con4_txt_wrap {
    width: 90%;
    height: auto;
    background: white;
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 100px;
}
div#con4_txt_wrap::after{
    top:-100px;
}
#contents2 figure img,#contents3 figure img  {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
#contents3{
    margin-top: 50px;
}
p.c_txt2 {
    right:80%;
    top: -60px;
    width: 25px;
}
#contents3 .box_txt::before {
    left:70% !important;
}
#main_img{
    top:10px;
}
h1#logo{
   width: 90px !important;
   text-align:center;
}
#main_b {
    position: absolute;
    top: 10px;
    right: 6vw;
      width: 13vw;
    border-radius: 20px;
}
p.c_txt1,p.c_txt1{
    font-size:14px;
}
h1#logo img {
   width: 50px !important;
}
.page_box h2::after {
    width: 50px;
    height: 50px;
    content: "";
    background: url(Dup/img/con2.png) no-repeat;
    position: absolute;
    background-size: contain;
    right: -45px;
    top: 0px;
    z-index: -1;
}
}

/*---------------------------------------ここまで-------------------------------*/