﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;300;400;500;600&display=swap');
/* ------------------------FONTFAMILY  TEXTCOLOR---------------------------*/
.font_Quick {
    /*font-family: 'Noto Serif JP', serif!important;*/
}
#footer .txt_white {
    color: #333333;
}
.btn_box:nth-child(2) {
    display: none;
}
/* -----------------------------------------------------------------*/
#logo {
    transform: translate(0%, -100%);
     transition-timing-function: cubic-bezier(0.48, 0.38, 0, 0.4);
         transition: 1.5s;
}
#logo.trans {
    transform: translate(0%, 0%);
}
#main_img .swiper-container img {
    transition: 2s;
    transition-timing-function: cubic-bezier(0.48, 0.18, 0.47, 1);
    transform: translate(-60%, -34%) scale(1.3);
}
#main_img.active .swiper-container img {
     top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
#main_img:before {
    background: #fff;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(0%);
    transition: all 1.1s 0s ease;
    width: 100%;
    z-index: 3;
    transition: 2s;
    transition-timing-function: cubic-bezier(0.48, 0.18, 0.47, 1);
}
#main_img.active:before {
    transform: translateX(-100%);
}

#cms_2-a .cate_title {
    position: relative;
    padding: .1em .3em .1em .5em;
    border-top: 0;
    display: block;
    border-bottom: 0;
    border-bottom: 2px solid #60d7ff;
}
#cms_2-a .cate_title::before {
    position: absolute;
    content: '';
    left: 0;
    bottom: -2px;
    width: 10%;
    height: 2px;
    background-color: #2275ff;
    z-index: 1;
}
#cms_5-b .cate_box .open_bt, .cms_5-b .cate_box .open_bt {
    background: #45c5cb;
    border-color: #60d7ff;
    color: #fff;
    border: none;
}
#cms_5-b .cate_box .box_item, .cms_5-b .cate_box .box_item {
    background: #fff;
    border-color: #60d7ff;
    border-radius: 0 0 15px 15px;
}
.cms_5-b .cate_box .open_bt .box_title1::before, #cms_5-b .cate_box .open_bt .box_title1::before {
    color: #fff!important;
}

/* ------------------------------------------------------------------ */
.catch {
  z-index: 2;
    width: 387px;
    top: 50%;
    right: 7%;
    margin-top: -120px;
      transform: translateX(-0px);
    /*transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);*/
   filter: drop-shadow(0px 0px 38px #ffffff) drop-shadow(3px 3px 27px #ffffff) drop-shadow(0px 0px 7px #ffffff);
   opacity: 0;
}
.catch.trans {
    opacity: 1;
  transform: translateX(0px);
     transition: 1s;
     transition-property: opacity,transform
}
.fadein{
 opacity: 0;
  
}
.fadein.trans{
     transform: none;
     animation-name: anim1;
    -webkit-animation-name: anim1;
        animation-duration: .4s;
    -webkit-animation-duration: .4s;
        animation-timing-function: linear;
    animation-fill-mode: forwards;
}
.fadein.n2 {
    animation-delay: 0.3s;
}
.fadein.n3 {
    animation-delay: 0.5s;
}

.fadein.more.trans a {
 animation-name: animate-scale;
-webkit-animation-name: animate-scale;
    animation-duration: 0.4s;   
}
@keyframes animate-scale {
0% {
    visibility: hidden;
    transform: translateY(2px);
}
30% {
    transform: translateY(-4px) scale(1.05, 1.05);
}
100% {
    visibility: visible;
    transform: translateX(0px);
}   
}

/*@keyframes anim1 {
0% {
    visibility: hidden;
    opacity: 0;
    transform: translateY(7px);
}
35% {
    transform: translateY(-12px);
}
40% {
    visibility: visible;
    opacity: 1;
}
100% {
    transform: translateY(0px);
    visibility: visible;
    opacity: 1;
}
}*/
@keyframes anim1 {
0% {
    visibility: hidden;
    opacity: 0;
    transform: translateY(7px);
}
35% {
    /*transform: translateY(-0px);*/
}
40% {
    visibility: visible;
    opacity: 1;
}
100% {
    transform: translateY(0px);
    visibility: visible;
    opacity: 1;
}
}
#fix_menu {
    box-shadow: 0px 5px 16px -6px rgba(0, 0, 0, 0.09);
}
#top_contents2 h2 {
    border-bottom: dotted 5px;
    padding-bottom: 8px;
}
#top_cms, .top_cms_box {
    position: relative;
}

#top_contents2:before, #top_cms:before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 101%;
    height: 40px;
    background-image: url(Dup/img/nami.png);
    background-position: 0 0;
    background-repeat: repeat-x;
    background-size: 100% 100%;
}
#top_cms:after, .top_cms_box:nth-of-type(2):before {
    content: "";
    display: block;
    position: absolute;
    top: -75px;
    left: 4%;
    width: 531px;
    height: 300px;
    background-image: url(Dup/img/sizuku4.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
}
.top_cms_box:nth-of-type(2):before {
        background-image: url(Dup/img/awa.png);
    left: inherit;
    right: 3%;
}
.top_cms_box:nth-of-type(2), .top_cms_box:nth-of-type(5) {
    background: #e0f6f6;
}
#top_cms:before {
   transform: rotate(-180deg);
       top: -39px;
}
#top_contents2 {
    position:relative;
        background-color: #60d7ff;
}
#top_contents2 .eng {
    margin-bottom: 81px;
        color: #fff;
}
#top_contents2 .eng:before {
    background: #fff;
}
.eng {
position: relative;
    margin-bottom: 40px;
    font-size: 2rem;
    transform: scale(1, 1.1);
}
.eng:before {
content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #34ccff;
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    margin: auto;
}
#top_contents1 {
    background: linear-gradient(0deg, #fff, #efffff, #e9f9f9);
}
#top_contents1 h2 {
    font-size: 38px;
    letter-spacing: 0.3rem;
}
#top_contents2 .con_box .con_img {
    border-radius: 12px 12px;
}
#top_contents2 .con_box:nth-of-type(2) .con_img {
    margin-right: 3%;
}
#top_contents2 .con_box:nth-of-type(2) .text_box, #top_contents2 .con_box .text_box {
    border-radius: 12px;
}
#top_contents2 .text_box {
        background-color: rgba(0, 215, 225, 0.79);
    border: 1px solid #fff;
}
#top_contents2 .con_box:nth-of-type(2) .text_box {
    background-color: rgba(59, 155, 255, 0.79);
}
.top_cms_title .before, .top_info_title .before {
    border-left: 1px solid;
    border-top: 1px solid;
}
.top_cms_title .after, .top_info_title .after {
    border-right: 1px solid;
    border-bottom: 1px solid;
}
.top_cms_title .cms_title_inner, .top_info_title .info_title_inner {
    position: relative;
}
.top_cms_title .cms_title_inner:before, .top_info_title .info_title_inner:before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    background: #fff;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
}
.top_cms_title .cms_title_inner:after, .top_info_title .info_title_inner:after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    background: #fff;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 1;
}
.top_cms_box:nth-of-type(2) .top_cms_title .cms_title_inner:before, .top_cms_box:nth-of-type(5) .top_cms_title .cms_title_inner:before, .top_cms_box:nth-of-type(2) .top_cms_title .cms_title_inner:after, .top_cms_box:nth-of-type(5) .top_cms_title .cms_title_inner:after  {
       background: #e0f6f6; 
}
/* -------------------------------------------------------*/
@media(min-width: 769px) {
  header #logo h1 img {
    width: 80%!important;
}  
}
@media(max-width: 768px) {
    #top_cms:after, .top_cms_box:nth-of-type(2):before {
    top: -75px;
    left: 4%;
    width: 370px;
}
    .catch_txt .fadein {
    opacity: 1;transform: none;
    animation: none;
}
    #logo img {
        width: 80%!important;
    }
    .catch {
    width: 30%;
    margin-top: -44px;    filter: drop-shadow(0px 0px 1px #ffffff) drop-shadow(3px 3px 2px #ffffff) drop-shadow(0px 0px 4px #ffffff);
}
#top_contents2 .con_box:nth-of-type(2) .text_box {
    left: auto;
}
#top_contents2 .fadein_right.start {
    left: 0;
}
#top_contents2 .con_box:nth-of-type(2) .con_img {
    margin-right: 0;
}
}
@media screen and (max-width: 667px){

.font_2dw {
    font-size: -webkit-calc(1rem - 3px);
    font-size: calc(1rem - 3px);
}
    p {
        font-size: 13px;
    }
    .cms_2-a .cate_box {
	padding: 0 10px;
}
.cms_2-a .swiper-button-prev {
    left: -5px;
}
.cms_2-a .swiper-button-next {
    right: -5px;
}
    .fadein.n2, .fadein.n3 {
    animation-delay: 0s;
}

.catch {
    width: 34%;
    margin-top: -1px;
}
    #top_cms:after, .top_cms_box:nth-of-type(2):before {
top: -76px;
    left: 4%;
    width: 246px;
    height: 126px;
}
    .top_cms_box:nth-of-type(2):before {
    left: inherit;
    right: 3%;
}
#logo h1.logo {
    max-width: 154px;
}
.eng {
    font-size: 1.6rem;
}
#top_contents1 h2 {
    font-size: 25px;
}
}