﻿@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,300;0,400;1,300&display=swap');
/* --------------ヘッダーお問い合わせボタン---------------*/
.top_nav ul li:last-child a span {
    outline: 1px solid;
    outline-color: #ff9800;
    outline-offset: 0px;
    transition: .3s;
}
.top_nav ul li:last-child a:hover span {
animation: light .8s forwards;
}
@keyframes light {
  100% { 
    outline-color: transparent;
    outline-offset: 10px;
  }
}
/* ------------------CATCH-------------------*/
.catch {
    z-index: 2;
    top: 20vh;
    width: 93%;
    max-width: 1100px;
    /* transform: rotate(-11deg); */
    margin-left: -65px;
}
.catch1 {
    max-width: 305px;
    width: 35%;
    margin-left: 8vw;
    -webkit-transform: translateX(-120%) rotate(-11deg);
    transform: translateX(-120%) rotate(-11deg);
}
.in1 .catch1 {
    transform: translateX(0);
    transition: 500ms;
}
.catch2 {
    transform: translate(-120%,50%);
    -webkit-transform: translate(-120%,50%);
}
.in2 .catch2 {
    transform: translate(0);
    transition: 600ms 700ms;
    transform: rotate(-5deg);
}
.catch3 {
    max-width: 51%;
    margin-left: 23vw;
    margin-top: 4vh;
    opacity: 0;
    transition: all 1s;
}
.in3 .catch3 {
opacity: 0.6;
}
/* ---------------------------------------*/
#form_box h3.font_4up {
    background: #2577dc;
    border-radius: 6px;
    padding: 10px;
    color: #fff;
    margin-bottom: 9px;
    margin-top: 25px;
}

/* -----CMS------*/
.top_cms_box {
padding: 4% 10% 52px;
}
.top_cms_box:first-child, .top_cms_box:nth-child(4) {
    background: #fffcde;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: #d1d1d1;
}
.all_page:before {
    display: none;
}
#cms_6-a .box_wrap {
    background: #fff;
    border: 0;
    border-radius: 21px;
}
#cms_2-a .cate_title {
    position: relative;
    border: 0;
    display: block;
    padding-left: 22px;
}
#cms_2-a .cate_title::before{
    content: "";
    display: block;
    position: absolute;
    bottom: 12px;
    left: 0;
    height: calc(100% - 22px);
    width: 5px;
    background: #ff9800;
}
#cms_2-a .cate_title::after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    border-bottom: 1px solid #ff9800;
}
#cms_2-a .cate_box {
    background: rgba(255, 255, 255, 0.82);
    padding: 20px;
    border-radius: 20px;
}
#cms_3-a .cate {
        background: rgba(255, 255, 255, 0.82);
    padding: 20px;
    border-radius: 20px;
}
#cms_4-b .box_img1::before, .cms_4-b .box_img1::before {
    position: absolute;
    content: "Before";
    width: 80px;
    background-color: #33bacc;
    color: #fff;
    text-align: center;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
    border-radius: 10px 10px 0 0;
}

#cms_4-b .box_img2::before, .cms_4-b .box_img2::before {
    position: absolute;
    content: "After";
    width: 80px;
    background-color: #ff9800;
    color: #fff;
    text-align: center;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
    border-radius: 10px 10px 0 0;
}


@media(max-width: 667px) {
 #cms_3-a .cate, #cms_2-a .cate_box {
    padding: 10px;
}   
.catch {
    z-index: 2;
top: 30vh;
    width: 113%;
    max-width: 1100px;
}
.catch1 {
    margin-left: 23vw;
    
    -webkit-transform: translateX(-120%) rotate(-5deg);
    transform: translateX(-120%) rotate(-5deg);
}
.in2 .catch2 {
    transition: 600ms 700ms;
}
.in3 .catch3 {opacity: 0}
}
/* -----CMS end------*/

.main_img_wrap .catch {
bottom: inherit;
    top: 18%;
    left: inherit;
    right: calc(50% - 36vw);
    width: 52%;
    max-width: 774px;
}

#top_cms {position: relative; background-color: #fff}

#top_cms:before {
    display: none;
}
.t_cms_txt2 {
    position: absolute;
    top: -115px;
    left: -100px;
    z-index: 1;
}
.t_cms_txt5, .t_cms_txt2, .t_cms_txt8 {
    font-family: 'Josefin Slab', serif;
    font-size: 63px;
}
.t_cms_img1:before, .t_cms_img2:before, .t_cms_img3:before {
    content: "";
    display: block;
    position: absolute;
    left: -2px;
    top: -1px;
    background-image: url(Dup/img/frame.png);
    background-repeat: no-repeat;
    width: calc(100% + 5px);
    height: calc(100% + 2px);
    background-size: 100% 100%;
    z-index: 1;
 }
.t_cms_img2:before {
    background-image: url(Dup/img/frame2.png);
 }
 .top_cms_box .more_box .more{
    border-radius: 9px;
    background: #ff8f1e;
    border: none;
    height: 51px;
 }
 .top_cms_box .more_box .more div {
color: #fff;
 }
footer {
    background-color: #ffd6a8;
}
footer .txt_white {
    color: #212121;
}
#copyright {
    padding-bottom: 70px;
}
/*--------------------------------------------------intro------------------------------------------------------------*/
#contents .intro .box h3 span:before {
    /*content: '';*/
    /*position: absolute;*/
    /*bottom: -13px;*/
    /*display: inline-block;*/
    /*width: 35px;*/
    /*border-bottom: 2px solid;*/
    /*border-color: #50d13f;*/
}
#contents .intro .txt_wrap {
/*    width: 95%;*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    background: #fff;*/
/*padding: 46px 20px 20px;*/
/*    border-radius: 32px;*/
/*    box-sizing: border-box;*/
}
#contents .intro h3 {
display: block;    
}
.welcome {
    opacity: 0;
    margin-top: -91px;
}
.welcome img{
width: 24%;
max-width: 133px;
margin-bottom: 14px;
}
.welcome.animated {
 animation: zoomIn 1s forwards;   
}
@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(200px) scale3d(0.5, 0.5, 0.5);
  }
  40% {
    opacity: 1;
    -webkit-transform: translateY(-20px) scale3d(1, 1, 1);
  }
  70% {
    opacity: 1;
    -webkit-transform: translateY(5px) scale3d(1, 1, 1);
  }
 100% {
   opacity: 1;
   -webkit-transform: translateY(0) scale3d(1, 1, 1);
  }
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: translateY(200px) scale3d(0.5, 0.5, 0.5);
  }
  40% {
    opacity: 1;
    transform: translateY(-20px) scale3d(1, 1, 1);
  }
  70% {
    opacity: 1;
    transform: translateY(5px) scale3d(1, 1, 1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale3d(1, 1, 1);
  }
}
/*--------------------------------------------------------------intro end-------------------------------------------------------*/

@media(max-width: 768px) {
 body {font-size: 15px;}
}
@media(max-width: 667px) {
.top_cms_box {
padding: 6% 2% 0px;
}
.t_cms_txt5, .t_cms_txt2, .t_cms_txt8 {
font-size: 45px; 
}
.t_cms_txt2 {
       position: absolute;
    top: -234px;
    left: -20px;
    z-index: 1; 
}
}
/* ----------------------------------------------------↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓-----------------------------------------------------------------*/
.logo {
    width: 174px!important;
}
footer .logo {
    width: 200px!important;
}
.sns_links li {
    max-width: 40px!important;
}
.intro h3, .t_cms_txt3, .t_cms_txt6, .t_cms_txt9 {
    font-size: 29px;
}
.cms_title {
    text-align: center;
}
.top_nav ul li:not(:last-child) a:after {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% - 3rem);
    height: 3px;
    bottom: -7px;
    left: 10px;
    right: 0;
    margin: auto;
    background: #fe8c72;
    opacity: 0;
    transform: translate3d(0,3px,0) scaleX(0);
    transition: transform .4s cubic-bezier(.6,0,.3,1) 25ms,background-color .15s linear,opacity 0s linear .425s;
}
.top_nav ul li a:hover:after {
    transform: translateZ(0) scaleX(1);
    opacity: 1;
    transition: transform .3s cubic-bezier(.25,.9,.3,1.15),background-color .15s linear,opacity .15s linear;
}
.top_nav ul li a span, .nav li a span {
    display: inline-block;
    transition: transform .4s cubic-bezier(.6,0,.3,1) 25ms;
 }
.top_nav ul li a:hover span, .nav li a:hover span {
    transform: translate3d(0,-3px,0);
    transition: transform .65s cubic-bezier(.25,.9,.3,1.15) 25ms; 
 }
.top_nav ul li:last-child a span {
    background: #ff9800;
    padding: 10px;
    border-radius: 7px;    color: #fff;
}
.top_nav ul li:last-child a:hover span {
     transform: translate3d(0,-3px,0);
     transform: translateY(-5px);
    transition: transform .65s cubic-bezier(.25,.9,.3,1.15) 25ms;
    color: #fff;
}

.top_nav ul li, .menu .nav ul li {
    border-left: 0;
}
.top_nav ul li a:hover {
    color: #ffe5df;
}
.img-container {
    display: block;
}
.img-container.active:before {/*★*/
    transform: translateX(101%);
}
.t_cms_img2 .img-container:before {
    background: #ff9800;
}
.img-container:before {
    background: #f44336;
}
.main_img_wrap {
    background-color: #f6f5ee;
}
footer .svg_box {
    opacity: 0.4;
    z-index: -1;
}

.other .box {
    border-radius: 10px;
    border: 2px solid #b99a7d;
    /*background-color: #d4f0f3;*/
    width: 33%;
    margin: 20px 30px;
    height: 339px;
}
.other .box figure {
    opacity: 0.2;
}
.other .box:first-child {
    background-image: url(./Dup/img/contact.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center bottom; 
}
.other .box:last-child {
        border-left: 2px solid #b99a7d;
   background-image: url(./Dup/img/information.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center bottom;
}
.bottom_menu li a {
    font-size: 15px;
}
@media(max-width: 1350px) {
    /*.main_wrap {*/
    /*    margin-top: 63vw;*/
    /*}*/
}
@media(max-width: 1000px) {
/*  .main_wrap {*/
/*    margin-top: 67.5vh;*/
/*}*/
.button_container span {
    height: 2px;
    background-color: #000000;
}
header #nav_menu {
    background: #fff;
    border-radius: 0 0 0px 14px;
    top: 0;
    box-shadow: 0px 1px 6px 0px rgba(81, 81, 81, 0.20);
    right: 0;
}
}
@media(min-width: 769px) {
    .all_header {
        pointer-events: none;
    }
}
@media(min-width: 668px) {

    #page_title p {
text-shadow: 1px 1px 0 #FFFFF0, -1px -1px 0 #FFFFF0, -1px 1px 0 #FFFFF0, 1px -1px 0 #FFFFF0, 0px 1px 0 #FFFFF0, 0-1px 0 #FFFFF0, -1px 0 0 #FFFFF0, 1px 0 0 #FFFFF0;
    }
}
@media(max-width: 768px) {
/*    .main_wrap {*/
/*    margin-top: 50.5vh;*/
/*}*/
    .other .box {
    width: 40%;
    margin: 20px 12px;
    height: 220px;
}
.sns_links li {
    max-width: 35px!important;
}
.intro h3, .t_cms_txt3, .t_cms_txt6, .t_cms_txt9 {
    font-size: 22px;
}
}
@media(max-width: 667px) {
        .logo {
    width: 129px!important;
    padding: 3px 0;
}
/*.main_wrap {*/
/*    margin-top: 63.5vw;*/
/*}*/
#nav_menu {
    height: 64px;
    width: 64px;
}
.intro h3, .t_cms_txt3, .t_cms_txt6, .t_cms_txt9 {
font-size: 5.7vw;
}
.top_cms_wrap {
    padding-bottom: 50px;
}
#top_cms .cms_title p {
    font-size: 5.6vw;
}
.other .box_title {
    font-size: 17px;
}
.other .box {
    width: 90%;
    margin: 7px 12px;
    height: 192px;
}
.other .box:first-child {
    border-bottom: 2px solid #b99a7d;
}
.overlay ul li a {
    padding-left: 0;
    padding-right: 0;
}
#cms_1-e .pager li {
    margin: 0;
}
#top_cms .top_cms_box {
     padding-bottom: 19px;
    margin-bottom: 32px;   
}
}

/* ----------------------------------------------------↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑----------------------------------------------------------*/





/* -----------------------SP MENU -----------------------------------------------------------*/
.sp_menu{
transition: .3s;
z-index: 9;
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 2px;height: 100%;box-sizing: border-box;
    font-size: 11px;
}

.sp_menu_btn{
width: 74px;;
padding: 5px 9px;
position: absolute;
top: -38px;
cursor: pointer;
}

.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: -74px;}



/* --------------------------IE------------------------------ */
@media all and (-ms-high-contrast: none) {
.top_nav ul li:last-child a span {
    outline: none;
}
.top_nav ul li:last-child a span {
    padding: 13px 12px 5px;
}
.banner a span {
    margin-bottom: -7px;
}
#cms_4-b .box_img1::before, .cms_4-b .box_img1::before, #cms_4-b .box_img2::before, .cms_4-b .box_img2::before {
    line-height: 1;
    padding-top: 6px;
}
#form_box h3.font_4up {
    padding: 12px 10px 5px;
}
}