﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+2:wght@100;200;300;400&display=swap');
body {
    background-color: #EEFAFF;
    line-height: 2;
    overflow: hidden;
    color: #484848;font-family: 'M PLUS 2', sans-serif;
}
figure.shadow {
    box-shadow: none;
}
.font_14 {
    font-size: 16px;
}
#main_img h2 {
    top: 61%;
    font-size: 32px;
    width: 84%;
    font-weight: bold;
    letter-spacing: 0.1em;
    height: 100%;
}

#contents1 {
    background-image: url(Dup/img/illust_db.png);
    background-size: 39%;
    background-repeat: no-repeat;
    background-position: 96% 63%;
}
#contents3 .cate_title {
    position: relative;
    z-index: 1;
}
#contents3 .grid_6:first-of-type .cate_title::before {
    content: "01";
}
#contents3 .grid_6:last-of-type .cate_title::before {
    content: "02";
}
#contents3 .cate_title::before {
    position: absolute;
    color: #ffd472;
    line-height: 1;
    font-size: 70px;
    right: 20px;
    top: -55px;
    z-index: -1;
}
#main_img .catch {
    bottom: 5%;
    left: 5%;
    z-index: 1;
    width: 65%!important;
    filter: drop-shadow(0px 0px 4px #ffffff) drop-shadow(3px 3px 21px #ffffff);
}
#attach:before {
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(29 79 98 / 47%);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
}
.normal_img img,  .rectangle_img {
    border-radius: 10px;
    border: solid 1px #6a7a7e;
    box-sizing: border-box;
}
/*@media (min-width: 668px) {*/
/*.img5 {*/
/*    transform: translateY(-100px);*/
/*}*/
/*}*/

/* ---------------------------------------------------------------------------------------------------------------- */ 
.custom_txt p span {
    position: relative;
    z-index: 1;
    background: #0c80b7;
    color: #0f80b7;
    padding: 5px;
}
.custom_txt p span::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #fff;
    transition: 0.5s;
    z-index: 0;
}
.custom_txt p span.fade::before {
    height: 100%;
}
.custom_txt strong {
    position: relative;
    z-index: 100;
}
/* ---------------------------------------------------------------------------------------------------- */
.bnr_contact {
    position: fixed;
    right: 43px;
    bottom: 27px;
    z-index: 4;
    width: 337px;
    filter: drop-shadow(0px 1px 4px rgba(0,0,0,0.1));
    transition: all 0.3s;
}

.bnr_contact:hover {
    opacity: 0.7;
}
.txt_shadow-b {
    text-shadow: none;
}
.under_page main {
    background: #f1feff;
}
h2, h3, h4, .font_en {
font-family: 'M PLUS 2', sans-serif;
}


.youtube_box {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.youtube_box iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}
header {
    box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.06);
}
#contents1, #contents2 {
    max-width: inherit;
}
#contents2 > div {
    max-width: 1200px;
    margin: 0 auto;
}
#top_cms {
    padding-top: 10px;
    background: url(Dup/img/kazari3.png);
    background-repeat: no-repeat;
    background-size: 191px auto;
    background-position: -84px 0;
}
.cms_6-c .cate_box:before {
    content: "";
    display: block;
    position: absolute;
    top: -30px;
    left: 0;
    width: 68px;
    height: 82px;
    background-image: url(Dup/img/kazari1.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
    margin: auto;
}
#cms_2-c .cate_txt1 {
    background: #fff;
    padding: 10px 13px;
}

article > .width_1280-max, footer.width_1280-max {
    max-width: inherit;
    background: #fff;
    border-top: 1px solid #eee;
}
article > .width_1280-max {
    padding-left: 0;
    padding-right: 0;
}
#top_cms .box {
    padding-left: 25px;
    padding-right: 25px;
}
#top_cms .box .cms_title, .cms_wrap, footer > div {
    max-width: 1280px;
    margin: 0 auto 35px;
}
.cms_title h2 {
   letter-spacing: 3px;
}

#top_cms .cms_title h2 {
    font-size: 30px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
#top_cms .cms_title p {
    color: #f7a952;
    letter-spacing: 3px;
    line-height: 1;
}
#top_cms .cms_title h2::before {
    position: absolute;
    content: "";
    width: 100vw;
    height: 1px;
    right: 0;
    bottom: 0;
    background-color:#1f89bc;
}
.cms_wrap {
    position: relative;
}
#top_cms .box:nth-child(4) {
}
#contents3 {
    margin-top: 80px;
}
#contents3, h2.txt2 {
    position: relative;
    font-size: 30px;
}
h2.txt2 span {
    background: #fff;
    padding: 4px 24px;
}

.txt5 > span, .txt7 > span {
    border-bottom: 4px dotted #8ecd7e;
    display: inline-block;
    font-size: 24px;
    margin-bottom: 0px;
}
#logo {
    max-width: 300px;
}

video {
    vertical-align: bottom;
}
img.contents {
    max-width: 230px;
}
.rectangle_img {
    position: relative;
}
.rectangle_img:before {
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    top: -1px;
    /*background: url(Dup/img/frame.png);*/
    background-repeat: no-repeat;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    background-size: 100% 100%;
    z-index: 1;
    pointer-events: none;
}
h2.txt4 {
    background-image: url(Dup/img/icon_kansetu.png);
    background-repeat: no-repeat;
    background-size: 87px auto;
    padding: 39px 10px 1px 56px;
    font-size: 28px;
}
.more a, a.button, a.button2 {
    border-radius: 42px;
    border: 0;
    color: #1f89bc;
    border: 1px solid;
}
.button2 {
    padding: 7px 10px!important;
    box-shadow: none!important;
    background-color: #ffffff;
}
.button2:hover {
    background: #e7e7e7;
    transform: translateY(-5px);
}
.hvr_txt_white:hover {
    color:#00c7a2;
}
footer a.button {
    background: #fff;
}
footer {
    max-width: inherit!important;
        background: url(Dup/img/bg_header.jpg);
    background-position: bottom 0 left 50%;
    background-image: url(Dup/img/foot_png.png), url(Dup/img/bg_header.jpg);
    background-repeat: no-repeat;
    background-position: 98% 96%, 50%;
    background-size: 179px, cover;
}
footer > div {
    max-width: 1280px;
    margin: 0 auto;
}
footer .logo {
    max-width: 206px;
}

footer, #contents1, #contents2 {position: relative}

.under_page footer:before {
    background-image: url(Dup/img/wave2.png);
}





.page_box {
    background: url(Dup/img/kazari7.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding: 26px 41px 14px 112px;
    background-position: 100% 0;
    display: inline-block;
}

.page_box h2 {
    text-shadow: 1px 1px 1px #f5f5f5, -1px 1px 1px #f5f5f5, 1px -1px 1px #f5f5f5,
 -1px -1px 1px #f5f5f5, 1px 0px 1px #f5f5f5, 0px 1px 1px #f5f5f5, -1px 0px 1px #f5f5f5,
 0px -1px 1px #f5f5f5;
}


header {
    /*background: url(Dup/img/bg_header.jpg);*/
}

header .banner_bt {
box-shadow: 1px 3px 16px -5px rgba(66, 66, 66, 0.27);
    transition: all 0.3s;
}
header .banner_bt:hover {
    transform: translateY(-5px);
}
.link_box ul {
    justify-content: center;
}
.link_box ul li {
       width: 30px!important;
    margin-left: 10px;
    margin-right: 10px; 
}

#video {
    max-height: 100vh;
    overflow: hidden;
}


/* ----------------------------------------------------------------*/

#cms_2-c .cate_title {
    position: relative;
}
#cms_2-c .cate_title:before {
    position: absolute;
    width: 40px;
    height: 3px;
    background: #e3bc00;
    content: "";
    left: 0;
    bottom: -1px;
}
/*#cms_2-c .cate_title span {*/
/*    position: relative;*/
/*    text-align: center;*/
/*    border-bottom: 0;*/
/*}*/
/*#cms_2-c .cate_title span::before {*/
/*    position: absolute;*/
/*    content: '';*/
/*    left: 0;*/
/*    bottom: -2px;*/
/*    z-index: 1;*/
/*    height: 1px;*/
/*    background: #5bc748;*/
/*    width: 100%;*/
/*}*/

/* ----------------------------------------------------------------------------------------- */
@media screen and (min-width: 1000px) {
    #contents1 {
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 71px;
}
}
@media screen and (max-width: 768px){
    #logo {
    max-width: 217px;
}
    .hamburger {
    top: 18px;
}
    header {
    padding: 3px 0!important;
}
#contents1 {
    background-size: 43%;
    background-position: 56% 96%;
    padding-bottom: 228px;
}
#attach img {
    width: 26%;
}

#contents3 .cate_title::before {
    font-size: 62px;
    right: 6px;
    top: -64px;
}
.cms_title {
    padding-left: 22px;
}
#copyright {
    padding-bottom: 117px;
}
}
@media screen and (max-width: 667px){
    section.pd_l-r5per_sp {
        padding-left: 0;
        padding-right: 0;
    }
    .button2 {
    padding: 4px 3px!important;
}
    #main_img .catch {
    right: 5%;
    z-index: 1;
    width: 88%!important;
    
    filter: drop-shadow(0px 0px 4px #ffffff) drop-shadow(3px 3px 2px #ffffff);
}
    .bnr_contact {
    right: inherit;
    bottom: 7px;
    width: 228px;
    left: 5px;
}

    .under_page article {
        padding-left: 0;
        padding-right: 0;
    }
    #contents3, h2.txt2 {
    font-size: 21px;
}
.txt5 span, .txt7 span {
    font-size: 20px;
}
#top_cms .box {
    padding-left: 20px;
    padding-right: 20px;
}
#top_cms .cms_title h2 {
    font-size: 21px;
}
h2.txt4 {
    background-size: 78px auto;
    padding: 28px 4px 0px 52px;
    font-size: 23px;
}

    #attach img {
    width: 32%;
    bottom: 16px;
    right: 10%;
}
    footer .logo {
        margin: 0 auto;
    }
    footer {
    background-position: 98% 93%, 50%;
    background-size: 98px, cover;
}
#contents1 {
    background-size: 77%;
    background-position: 56% 97%;
    padding-bottom: 198px;
}
#logo {
    width: 100%;
    max-width: 160px;
}
  #logo a img {
width: 100%;
}  
    .hamburger {
    top: 10px;
}
    h2.txt2:before {
    content: "";
    display: block;
    position: absolute;
    top: -25px;
    left: -35px;
    width: 35px;
    height: 100px;
}
.intro_pop {
    margin: 25px auto 0;
    width: 312px;
}
header {
    padding: 6px 0!important;
}
#top_cms .box {
    padding-top: 10px;
}
img.contents {
    width: 56%;
}
.cms_title h2 {
    font-size: 17px;
    margin-top: 29px;
}
#top_cms:after {
    right: -100px;
}
.font_14 {
    font-size: 13px;
}
#cms_1-a .pager li {
    width: 61px;
}
}






@media(min-width: 269px) {
.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;
}
}

@media(max-width: 768px) {
    .slideAnimeLeftRight {
   animation-delay: 0.1s;
}
.slideAnimeRightLeft {animation-delay: 0.1s;
}
}
@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;
  }
}