﻿.bg_color1 {background-color: #ffbe08;}
.bg_color2 {background-color: #fff9ea;}
.bg_color4 {background-color: #ffbe08;}
.border_color1 {border-color: #d8d8d8;}
.border_color3 {border-color: #ffbe06;}
.txt_color1 {color: #ffbe08;}
.txt_color3 {color: #02c4b5;}
.txt_color4 {color: #02c4b5;}
.hvr_txt_color1:hover {color: #02c4b5;}
/* ----------　all　---------- */
.linkStyle{
	color:#02c4b5;
}
.linkStyle:hover{
	color:#02c4b5;
	opacity: 0.7;
	transition: all 0.5s;
}
body,h1, h2, h3, h4, h5, h6{
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
}
.fa-envelope:before {
    content: "\f086";
}
#main_menu ul li a {
    color: #000;
}
#main_menu ul li a::before {
    background-color: #02c4b5;
}
header{
    padding-top: 100px!important;
    border-radius: 200px;
    margin-left: 2%;
    width: 23%!important;
    height: 90%;
    margin-top: 3%;
    border: 2px solid #333;
    max-width: 400px;
    overflow: hidden;
}
header .head_box{
    padding-bottom: 150px;
}
header .contact_bt a,header .tel_bt a {
    border-color: #000;
    color: #000;
    border-radius: 50px;
}
header .contact_bt a:hover,header .tel_bt a:hover {
        border-color: #02c4b5;
    background-color: #02c4b5;
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em #02c4b5;
}
.txt_shadow-b {
    text-shadow: none;
}
.button2:hover {
    box-shadow: none;
    background-color: #ffbe06;
    color: #fff;
}
.link_box li{
width: 12%!important;
}
.main_box {
    width: 100%!important;
    margin-left: 0%;
}
#contents1,#contents2,#contents3,#top_cms,footer,.all_page article{
    width: 75%!important;
    margin-left: 25%!important;
}
.more a,.foot_tel_bt a{
    border: 2px solid #02c4b5;
    border-radius: 50px;
    box-shadow: 4px 4px 0px 0px #9cf3ec;
}
.more a:hover,.foot_tel_bt a:hover{
    transform: translate(4px,4px);
    box-shadow: none;
    color:#02c4b5;
}
.button:hover::after {
    box-shadow: none;
}
.cate_list li a,#page10 li a{
    border-radius: 20px;
    border-color: #02c4b5;
}
.cate_list li a:hover,#page10 li a:hover{
    border-color: #ffbe06;
}
footer{
        padding-left: 60px!important;
}
footer .logo img{
        max-width: 300px;
}
/* ----------　TOP　---------- */
.main_dec{
    z-index: 1;
    position: absolute;
    width: 60%;
    max-width: 700px;
    height: auto;
    top: 0;
    bottom: 0;
    left: 25%;
    right: 0;
    margin: auto;
    z-index: 2;
}
.main_dec img{
    max-height: 100%!important;
    min-height: 100%!important;
    object-fit: contain!important;
}
.main_dec1{
    position: absolute;
    z-index: 1;
    width: 30%;
    left: 25%;
    bottom: 0;
    max-width: 400px;
}
.main_dec1 img{
    max-height: 100%!important;
    min-height: 0!important;
}
.con1_dec1{
        position: absolute;
    width: 10%;
    left: 10px;
    bottom: -40px;
}
.con1_dec2{
        position: absolute;
    width: 18%;
    top: 0;
    right: 0;
}

.video_wrap {
	position: relative;
    width: 80%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 0px;
}
video {
	z-index: 1;
}
#contents1{
        position: relative;
    border-radius: 250px;
    border: 2px solid #333;
    width: 70%!important;
    margin-left: 29%!important;
    padding: 80px 100px 80px;
    margin-top: 80px;
}
#contents1:before ,#contents1:after{
    content: '';
    position: absolute;
    
}
#contents1:before {
    width: 80px;
    bottom: -2px;
    height: 3px;
    left: 250px;
    background-color: #fff; 
}
#contents1:after {
    width: 60px;
    bottom: -23px;
    height: 2px;
    left: 240px;
    background-color: #333; 
    transform: rotateZ(45deg);
}
#contents1 h2{
    font-size: 20px;
    font-weight: 900;
    line-height: 2.5;
}
.con1_img{
        width: 50%;
    max-width: 300px;
    margin-left: 55%;
    margin-top: 30px;
}
#contents2{
    background-image: url(Dup/img/con2_back1.png),url(Dup/img/con2_back2.png);
    background-repeat: no-repeat;
    background-size: 85%,70%;
    background-position: top , bottom;
    padding: 150px 100px 170px;
        margin-top: 30px;
}
#contents2 div.grid_7{
    background-color: rgba(255, 255, 255 ,0.9);
    padding: 10px 20px;
    border-radius: 20px;
}
#contents2 h2{
        text-shadow: 2px 2px 1px #ffffff, -2px 2px 1px #ffffff, 2px -2px 1px #ffffff, -2px -2px 1px #ffffff, 2px 0px 1px #ffffff, 0px 2px 1px #ffffff, -2px 0px 1px #ffffff, 0px -2px 1px #ffffff;
        font-weight: 900;
    font-size: 30px;
}
#contents2 p{
    line-height: 3;
    font-size: 16px;
}
#contents2 .fa-check:before {
    content: "\f00c";
    color: #02c4b5;
    background-color: #ffbe08;
    padding: 7px;
    border-radius: 50%;
    margin-right: 10px;
}
#con3_back{
    margin-top: 50px;
    background-color: #fffde6;
}
#contents3 h3{
        border-bottom: 3px dotted #ffbe08;
    padding-bottom: 5px;
    margin-bottom: 15px;
        font-size: 20px;
}
#contents3{
    padding: 40px 60px 40px 80px;
}
#contents3 .img6 {
    border-radius: 50%;
    border: 2px solid #ffbe08;
    width: 70%;
    margin: auto;
    box-shadow: 8px 8px 0px 0px #ffe9aa;
}
#contents3 .img7 {
    border-radius: 50%;
    border: 2px solid #02c4b5;
    width: 70%;
    margin: auto;
        box-shadow: 8px 8px 0px 0px #9cf3ec;
}
#top_cms{
        padding-top: 30px;
}
#top_cms .top_cms_box{
    padding: 50px 30px;
}
#top_cms .cms_title{
        position: relative;
    padding: 0.5rem 2rem 1rem;
    border-bottom: 2px solid #333;
    border-left: 2px solid #333;
    border-radius: 0 0 0 20px;
    display: inline-block;
    min-width: 200px;
    margin-bottom: 60px;
}
.cms_title::before {
    background-color: transparent;
    position: absolute;
    top: auto;
    left: auto;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
}
#top_cms .cms_title:before{
        position: absolute;
    left: 50px;
    bottom: -21px;
    width: 0;
    height: 0;
    content: '';
    border-width: 21px 21px 0 0;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
#top_cms .cms_title:after {
  position: absolute;
    left: 52px;
    bottom: -16px;
    width: 0;
    height: 0;
    content: '';
    border-width: 18px 18px 0 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}
#top_cms .cms_title h2{
    font-size: -webkit-calc(1rem + 15px);
    font-size: calc(1rem + 15px);
    font-weight: 900;
}



.poyoyon{opacity:0;}
.poyoyon.is-animated{
    opacity:1;
    animation: poyoyon 1s ease-in-out 1 forwards;
}
 
@keyframes poyoyon {
  0%  {
    transform: scale(1.0, 1.0) translate(0, 0);
  }
  15% {
    transform: scale(0.98, 0.9) translate(0, 5px);
  }
  30% {
    transform: scale(1.02, 1.0) translate(0, 8px);
  }
  50% {transform: scale(0.98, 1.05) translate(0, -8px);
  }
  70% {
    transform: scale(1.0, 0.9) translate(0, 5px);
  }
  100% {
    transform: scale(1.0, 1.0) translate(0, 0);
  }
  0%, 100% {
    opacity: 1;
  }
}
/* ----------　下層ページ　---------- */
#page_title{
    overflow: hidden;
}
#page_title .page_box{
    position: relative;
    padding: 0.5rem 2rem 1rem;
    border-bottom: 2px solid #333;
    border-left: 2px solid #333;
    border-radius: 0 0 0 20px;
    display: inline-block;
    min-width: 200px;
    margin-bottom: 60px;
    margin-left: 30%!important;
}
#page_title .page_box::before {
        background-color: transparent;
    position: absolute;
    top: auto;
    left: auto;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
    position: absolute;
    left: 50px;
    bottom: -21px;
    width: 0;
    height: 0;
    content: '';
    border-width: 21px 21px 0 0;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
#page_title .page_box::after{
        position: absolute;
    left: 52px;
    bottom: -16px;
    width: 0;
    height: 0;
    content: '';
    border-width: 18px 18px 0 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}
#page7 .box_item p{
    color: #000000;
}
/* ----------　IE　---------- */
@media all and (-ms-high-contrast: none){
#main_img img {
    margin-top: 30%;
    min-height: auto !important;
}
.cate_list li a {
    padding: 10px 0 10px;
}

}

/* ----------　タブレット　---------- */
@media screen and (max-width: 768px){
header {
   max-width: 100%;
    overflow: auto;
}
header .head_box {
    padding-bottom: 0px;
}
.link_box ul {
    justify-content: center;
}
.link_box li {
    width: 15%!important;
    max-width: 45px!important;
    margin-left: 20px;
    margin-right: 20px;
}
/* 　TOP　*/
.video_wrap {
	position: static;
	overflow: hidden;
	width: 100%;
	height: auto;
	min-width: 100%;
}
video {   
	min-width: auto;
	min-height: auto;
	width: 100%;
	z-index: 1;
	position: static!important;
	top: 0%;
	left: 0%;
	-webkit-transform: translate(0%, 0%); 
	-ms-transform: translate(0%, 0%);
	transform: translate(0%, 0%); 
vertical-align: bottom;
}
header {
    padding: 22px 0!important;
    border-radius: 0;
    margin-left: 0;
    height: auto;
    margin-top: 0;
    border: none;
}
header #logo {
        max-width: 250px;
}
.hamburger__icon, .hamburger__icon:before, .hamburger__icon:after {
    background-color: #fff!important;
}
.hamburger.active .hamburger__icon:before,.hamburger.active .hamburger__icon:after{
     background-color: #ffbe08!important;
}
#contents1 ,#contents2,#contents3,#top_cms,footer{
    width: 90%!important;
    margin-left: 5%!important;
}
.all_page article{
     width: 100%!important;
    margin-left: 0%!important;   
}
.main_dec {
    max-width: 500px;
    left: 0%;
}
.main_dec1 {
    left: 2%;
    max-width: 180px;
}
#contents1{
        border-radius: 200px;
}
.con1_dec1 {
    bottom: 0px;
}
#contents2 {
    background-size: 100%,80%;
    padding: 150px 0px 0px;
}
#contents2 div.grid_7 {
    width: 100%!important;
}
#contents2 h2 {
    text-align: center;
}
#contents2 figure.grid_4{
        margin-left: auto;
}
#contents3 {
    padding: 40px 0px 40px 0px;
}
#top_cms .top_cms_box{
    padding: 50px 0px;
}
.all_page section.width_1000-max{
        margin-bottom: 0px;
}
#page_title .page_box {
    margin-left: 5%!important;
}
footer{
    margin-left: 0%!important;
    padding-left: 20px!important;
}
}


/* ----------　スマホ　---------- */
@media screen and (max-width: 667px){
.hamburger {
    top: 12px;
}
header {
    padding: 13px 0!important;
}
header #logo {
    max-width: 200px;
}
.link_box li {
    max-width: 35px!important;
    margin-left: 15px;
    margin-right: 15px;
} 
.fat-nav li a {
    font-size: 16px;
}
.main_dec {
    max-width: 250px;
}
#contents1, #contents2, #contents3, #top_cms, footer {
    margin: auto;
}
#contents1 {
    border-radius: 50px;
    padding: 50px 20px 50px;
    margin-top: 80px;
}
#contents1:before {
    bottom: -3px;
    height: 5px;
    left: 188px;
}
#contents1:after {
    width: 50px;
    bottom: -20px;
    left: 180px;
}
.con1_img {
    margin-left: 45%;
}
.con1_dec1 {
    position: absolute;
    width: 20%;
    left: -10px;
    bottom: -20px;
}
.con1_dec2 {
    position: absolute;
    width: 30%;
    top: -20px;
    right: -15px;
}
#contents2 {
    padding: 50px 0px 50px;
}
#contents2 div.grid_7 {
    padding: 10px 10px;
}
#contents2 h2 {
    font-size: 24px;
}
#contents2 figure.grid_4 {
    width: 50%!important;
    margin: auto;
}
 #page_title .page_box{
     margin-top: 20px;
     margin-bottom: 30px;
 }
#page_title .page_box {
    padding: 0.5rem 1.3rem 1rem;
    width: 75%;
}
}