﻿@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');
body, .font_en {
    font-family: 'Sawarabi Gothic', sans-serif;
    font-family: 'Kiwi Maru', serif;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.7;
}
#main_img {
    min-height: inherit;
}
.introduction {
    font-size: 53px;
    color: #eee;
    text-align: right;
    /*letter-spacing: 2rem;*/
    /*transition: all 2s;*/
}
@media(min-width: 769px) {
/*  .introduction.trans {*/
/*    letter-spacing: 2rem;*/
/*}  */
} 

header.bg_color4 {
    background: #fff;
    border-right: 1px solid #eee;
}
#top_cms, #contents2 {
position: relative;
}
#top_cms::before, #top_cms::after, #contents2:before {
    content: '';
    position: absolute;
    right: 0;
    left: -0%;
    top: 100%;
    z-index: 10;
    display: block;
    height: 30px;
    background-size: 30px 100%;
    background-position: 0 0; 
}
.txt4 {position: relative;
}
.txt4:before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #ffac3a;
    transition: .5s;
}
#page_title .title_img {
    border-radius: 29px;
    margin: 28px;
    overflow: hidden;
}
#page_title .page_box {
    position: relative;
    padding-left: 120px;
    margin-top: -131px;
    color: #fff;
    z-index: 1;
}
#page_title .page_box h2, #page_title p {
    color: #fff;
    font-weight: bold;
}
.txt1 strong {
        display: block;
    font-size: 20px;
    margin-left: 13px;
}
.txt1::before {
   position: absolute;
    content: "";
    background-color: #66ccff;
background-color: rgba(0, 169, 255, 0.81);
    width: 100%;
    top: 0;
    left: 0;
    bottom: 100%;	
}
.txt1::after {
   position: absolute;
    content: "";
    background-color: #bee9ff;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 100%;
}
.txt1 span {
	transition: all 0.3s;
}
.txt1.active::before {
    animation: anime2 1.9s cubic-bezier(.22,1.11,.58,.98);
}
.txt1.active::after {
    animation: anime2 0.9s cubic-bezier(.22,1.11,.58,.98);
    animation-delay: 0.55s;
}




@keyframes anime2 {
0%{top: 0;bottom: 100%}
50%{top: 0;bottom: 0}
100% {top: 100%;bottom: 0}
}
/* ----------------------------------------------------------- */
#cms_1-c .cate_box {
         background: url(Dup/img/dash.svg) repeat-x;
    background-position: left top;
    background-size: 12px 2px;
    padding-top: 75px;
 }
 #cms_2-a h3 {
    position: relative;
    padding: 1rem 1rem;
    border: none;
    display: block;
    text-align: center;
 }
#cms_2-c .cate_box {
    background: #f4f4f4;
    border-bottom: 3px dotted #fff;
}
@media(max-width: 667px) {

#cms_5-b .cate_box .arrow, .cms_5-b .cate_box .arrow {
    margin-top: -17px;
}
#cms_5-b .cate_box .open_bt .box_title1, .cms_5-b .cate_box .open_bt .box_title1 {
    margin-left: 73px;
}
#cms_5-b .cate_box .open_bt .box_title1::before, .cms_5-b .cate_box .open_bt .box_title1::before {
    left: -24px;
}
#cms_5-b .cate_box .arrow, .cms_5-b .cate_box .arrow {
    left: 0;
}
}
/* ------------------------------------------------------------*/
.txt1 {
    top: 43%;
    right: 0%;
    left: inherit;
    z-index: 2;
    width: auto;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    /* background: #66c0ff; */
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 5vw;
    text-align: left;
}
.cms_title {
    text-align: center;padding-left: 0;
    position: relative;z-index: 0;
}
.cms_title h2 {
    font-weight: bold;
}
.cms_title:before {
    display: none;
}
#top_cms .box:first-child .cms_title {
    margin-top: -34px;
}
#top_cms .box:first-child .cms_title:after {
    content: "";
    display: block;
    width: 59%;
    height: 213px;
    position: absolute;
    top: -56px;
    left: 0;
    right: 0;
    margin: auto;
    background: #fff;
    border-radius: 50%;
    z-index: -1;
}
.marubtn {
    text-align: right;
    margin-right: 54px;
    margin-top: 63px;
}
.marubtn a {
    padding-right: 100px;font-weight: bold;
}
	.marubtn_arrow {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: #66ccff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    position: absolute;
    bottom: -30px;
    right: 0;
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
	.marubtn_arrow span svg {
    width: 14px;
    fill: #fef6ee;
}
.marubtn a:hover .marubtn_arrow {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}

@media(max-width: 768px) {
    .introduction {
        letter-spacing: 0.2rem;
    }
    .introduction {
    letter-spacing: 1rem;
    font-size: 5vw;
    }
    #top_cms .box:first-child .cms_title:after {
    top: -36px;
    }
#page_title .title_img {
    border-radius: 13px;
    margin: 12px;
    overflow: hidden;
    }
#page_title .page_box {
    padding-left: 35px;
    margin-top: -94px;
}
}
@media(max-width: 667px) {
.txt1 span {
    opacity: 1!important;
}
.txt1::before, .txt1::after {
    display: none;
}
.txt1 {
    /*-ms-transform: initial;*/
    background: #66c0ff;
    padding: 12px 10px;
}
.txt1 strong {
    font-size: 13px;
    text-align: right;
}
#top_cms .box:first-child .cms_title:after {
    height: 94px;
    top: -34px;
}
.marubtn {
    margin-right: 13px;
    margin-top: 34px;
}
.marubtn a {
padding-right: 63px;
}
.marubtn_arrow {
    width: 48px;
    height: 48px;
    bottom: -15px;
    right: 0;
}
.cms_title h2 {
font-size: 21px; 
}
}
/* --------------------------------------------↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓-------------------------------------------------------- */
article > .width_1280-max, footer.width_1280-max {
    max-width: inherit;
}
article > .width_1280-max {
    padding-left: 0;
    padding-right: 0;
}
.txt2, .txt4, .txt5, .txt7 {
    font-weight: bold;
    font-size: 28px;
}
.txt5, .txt7 {
    font-weight: bold;
    font-size: 23px;   
}
#top_cms .box {
    padding-left: 0;
    padding-right: 0;
}
#top_cms .box .cms_title, .cms_wrap, footer > div {
    max-width: 1280px;
    margin: 0 auto 35px;
}
.cms_wrap {
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}
#top_cms .box:nth-child(4) {
      background: #dcf3ff;  
}
#contents3 {
    padding-left: 0;
    padding-right: 0;
    background: #dcf3ff;
    max-width: inherit;
}
#contents3 > .d_flex {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}
footer {
   background: #dcf3ff;   
}
.button, .button2 {
    background: #fff;
    font-size: 14px;
    color: #212121;
    border-radius: 30px;
}
.button {
    background: #929292;
    color: #fff;
    border: 0;
}
.button:hover, .button2:hover {
    transform: scale(1.05,1.05);
    box-shadow: none;
}
.link_box ul {
    justify-content: center;
}
.link_box ul li {
       width: 30px!important;
    margin-left: 10px;
    margin-right: 10px; 
}
#page10 {
    padding: 20px 5%;
}
@media(max-width: 768px) {
.fat-nav li a {
    font-size: 18px;
}
}
@media(max-width: 667px) {
.width_1000-max.pd_l-r5per_sp {
    padding: 0;
}
#page7.width_1000-max, #page9.width_1000-max.pd_l-r5per_sp {
    padding: 20px 5%;
}
article.width_1280-max {
    padding-left: 0;
    padding-right: 0;
}
.fat-nav li {
    padding: 9px;
}
.fat-nav li a {
    font-size: 13px;
}
.txt2, .txt4 {
    font-size: 7vw;
}
.txt5, .txt7 {
    font-size: 6.5vw;   
}

}
/* --------------------------------------------↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑-------------------------------------------------------- */
/* --------------------------------------------------------------------------------------*/
@media(min-width: 769px) {
.slide-in {
	overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
	display: inline-block;

}

/*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;animation-delay: 0.5s;
}
.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;animation-delay: 0.5s;
}
}
@keyframes slideTextX100 {
  from {
	transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}




@keyframes slideTextX-100 {
  from {
	transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}
