﻿.bg_color1 { background-color: #16a79c;}
.bg_color2 {background-color: #f7f1dc;}
.bg_color3 {background-color: #16a79c;}
.border_color1 {border-color: #16a79c;}
.border_color2 {border-color: #16a79c;}
.border_color3 {border-color: #ECE130;}
.txt_color1 {color: #16a79c;}
.txt_color2 {color: #16a79c;}
.txt_color3 {color: #dccf00;}
.txt_color4 {color: #dccf00;}
.hvr_bg_color1:hover {background-color: #16a79c;}
.hvr_txt_color4:hover {color: #dccf00;}
/* ----------　all　---------- */
.linkStyle{
	color:#16a79c;
}
.linkStyle:hover{
	color:#16a79c;
	opacity: 0.7;
	transition: all 0.5s;
}
body {background: #f9f8f4;}
#header #logo img{
    max-width: 250px;
    width: 30%!important;
}
header .back{
background: -webkit-repeating-linear-gradient( -45deg ,#16a79c 0,#16a79c 5px,#3eb3aa 5px,#3eb3aa 10px);
    background: -o-repeating-linear-gradient(-45deg,#16a79c 0,#16a79c 5px,#3eb3aa 5px,#3eb3aa 10px);
    background: repeating-linear-gradient( -45deg ,#16a79c 0,#16a79c 5px,#3eb3aa 5px,#3eb3aa 10px);
position: relative;
}
header .back:before {
    content: '';
    display: inline-block;
    width: 100%;
    height: 10px;
    background-image: url(Dup/img/dec6.png);
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    bottom: 0;
    background-repeat: repeat;
}
header .nami{
opacity: 0;
}
#header #logo {
    padding: 20px 0 55px;
}
.more a {
    border-radius: 58% 42% 44% 56% / 41% 55% 45% 59%;
}
footer #logo2 img{
    max-width: 250px;
}
.banner {
    width: 80%;
    max-width: 600px;
    margin: auto;
}
.banner_box2{
    position: fixed;
    bottom: 20px;
    right: 150px;
    width: 90%;
    max-width: 700px; 
        opacity: 1;
    z-index: 9;
}
.banner_box2 .banner2{
    width: 48%;
    margin-right: 4%;
}
.banner_box2 .banner2:last-child{
    margin-right: 0%;
}
.top #copyright{
        padding-bottom: 150px;
}
/* ----------　TOP　---------- */
#intro_txt {
border-radius: 83% 17% 81% 19% / 30% 80% 20% 70%;
    background-color: #fff;
    padding: 100px 50px;
position: relative;
}
#intro_txt:before ,#intro_txt:after{
    content: '';
    display: inline-block;
    background-size: contain;
    vertical-align: middle;
    position: absolute;
background-repeat: no-repeat;
z-index: 0;
}
#intro_txt:before {
    width: 180px;
    height: 180px;
    background-image: url(Dup/img/dec1.png);
    right: 0;
    top: 0;
}
#intro_txt:after {
    width: 150px;
    height: 150px;
    background-image: url(Dup/img/dec2.png);
    background-repeat: no-repeat;
    left: 0;
    bottom: 0;
}
#intro_txt p{
    z-index: 1;
position: relative;
}
#contents .box .d_table-cell h3 {
    margin-bottom: 30px;
    margin-left: 0px;
    background: #f9f8f4;
    color: #16a79c;
    border-bottom: 3px solid #16a79c;
    font-weight: bold;
    padding: 5px 15px 15px;
    font-size: 20px;
    border-left: 3px solid #16a79c;
    border-radius: 0 0 0 20px;
}
#contents .box .d_table-cell h3:before {
    position: absolute;
    bottom: -14px;
    left: 1em;
    width: 0;
    height: 0;
    content: '';
    border-width: 14px 12px 0 12px;
    border-style: solid;
    border-color: #16a79c transparent transparent transparent;
}
#contents .box .d_table-cell h3:after {
    position: absolute;
    bottom: -10px;
    left: 1em;
    width: 0;
    height: 0;
    content: '';
    border-width: 14px 12px 0 12px;
    border-style: solid;
    border-color: #f9f8f4 transparent transparent transparent;
}
#contents .box .d_table-cell h3 span{
padding-right: 40px;
}
#contents .box .d_table-cell h3 span:before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url(Dup/img/dec3.png);
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    right: 0;
    background-repeat: no-repeat;
    top: -10px;
    z-index: -1;
}
#contents .box .d_table-cell p::after{
    content: "";
    position: absolute;
    display: block;
    width: 200%;
    height: 100%;
    background: -webkit-repeating-linear-gradient(-45deg,#ffedad 0,#ffedad 5px,#f9f8f4 5px,#f9f8f4 10px);
    background: -o-repeating-linear-gradient(-45deg,#ffedad 0,#ffedad 5px,#f9f8f4 5px,#f9f8f4 10px);
    background: repeating-linear-gradient(-45deg,#ffedad 0,#ffedad 5px,#f9f8f4 5px,#f9f8f4 10px);
    top: 20px;
    right: -104%;
    z-index: -2;
}
#top_cms .cms_title .title_bg {
    border-radius: 58% 42% 44% 56% / 41% 55% 45% 59%;
    background: -webkit-repeating-linear-gradient(-45deg,#ffedad 0,#ffedad 5px,#f9f8f4 5px,#f9f8f4 10px);
    background: -o-repeating-linear-gradient(-45deg,#ffedad 0,#ffedad 5px,#f9f8f4 5px,#f9f8f4 10px);
    background: repeating-linear-gradient(-45deg,#ffedad 0,#ffedad 5px,#f9f8f4 5px,#f9f8f4 10px);
}
#top_cms .cms_title p {
    color: #717171;
    font-weight: bold;
}

/* ----------　下層ページ　---------- */
#page_title {
    padding: 35px 0 30px;
}
#page_title h2 {
    display: inline-block;
    position: relative;
}
#page_title h2:before {
display:none;
}
#page_title h2:before {
    content: '';
    display: inline-block;
    width: 60px;
    height:60px;
    background-image: url(Dup/img/dec4.png);
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    border-right: none;
    right: -60px;
    left: auto;
    bottom: 5px;
    margin: auto;
    background-repeat: no-repeat;
}
#page_title h2:after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(Dup/img/dec5.png);
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    border-right: none;
    right: auto;
    left: -40px;
    bottom: -35px;
    margin: auto;
    background-repeat: no-repeat;
}
#cms_6-c .arrow {
    border-color: #16a79c;
}
#page7 div div p::before {
    background: #dccf00;
}
/* ----------　IE　---------- */
@media all and (-ms-high-contrast: none){
  .sample{

  }
}

/* ----------　タブレット　---------- */
@media screen and (max-width: 768px){
header{
    position: static!important;
}
header .back:before {
    bottom: -3px;
}
#header #logo {
    padding: 20px 0;
}
#header #logo {
    padding: 20px 0;
}
#wrap{
    padding-top: 0px!important;
}
.cate_list li {
    width: 30%;
}
.toggle{
    position: fixed;
z-index: 99;
    top: 10px;
    margin: 0;
}
.toggle span {
    border-color: #f0e42b;
}
#page_title {
    margin-top: 20px;
}
#intro_txt:before {
    width: 150px;
    height: 150px;
}
#intro_txt:after {
    left: -20px;
    bottom: -40px;
}
.banner_box2 {
    right: 140px;
    width: 90%;
    max-width: 600px;
    
}
}


/* ----------　スマホ　---------- */
@media screen and (max-width: 667px){
.toggle {
    top: 5px;
}
.banner {
    width: 100%;
}
header .back:before {
    height: 4px;
    background-repeat: repeat-x;
    bottom: 0px;
}
#header #logo {
padding: 15px 0 15px;
    padding-bottom: 15px;
}
#header #logo img {
    width: 40%!important;
}
#intro_txt {
    border-radius: 91% 9% 91% 9% / 6% 97% 3% 94%;
    padding: 80px 30px;
}
#intro_txt:before {
    width: 80px;
    height: 80px;
    background-image: url(Dup/img/dec1.png);
    right: -10px;
    top: -15px;
}
#intro_txt h2{
    font-size: -webkit-calc(1rem + 3px);
    font-size: calc(1rem + 3px);
    letter-spacing: 2px;
    text-align: left;
}
#intro_txt:after {
    width: 100px;
    height: 100px;
    left: -20px;
    bottom: -40px;
}
#contents .box .d_table-cell h3 span:before {
    width: 70px;
    height: 70px;
    right: -20px;
    top: -10px;
}
#contents .box .d_table-cell p::after {
    width: 100%;
    height: 100%;
    right: -4%;
    z-index: -2;
}
#contents .box .d_table-cell figure{
    position: relative;
}
#contents .box .d_table-cell figure::after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: -webkit-repeating-linear-gradient( -45deg ,#ffedad 0,#ffedad 5px,#f9f8f4 5px,#f9f8f4 10px);
    background: -o-repeating-linear-gradient(-45deg,#ffedad 0,#ffedad 5px,#f9f8f4 5px,#f9f8f4 10px);
    background: repeating-linear-gradient( -45deg ,#ffedad 0,#ffedad 5px,#f9f8f4 5px,#f9f8f4 10px);
    top: 20px;
    right: -4%;
    z-index: -2;
}
#page_title {
    padding: 30px 0 20px;
}
#page8 #contact_tel{
font-size: -webkit-calc(1rem + 5px);
    font-size: calc(1rem + 5px);
}
.cate_list li {
    width: 100%;
}
.banner_box2 {
    width: 95%;
    max-width: 600px;

    left: 0;
    right: 0;
    margin: auto;
}
#page-top{
        bottom: 100px!important;
}
}