﻿@import url('https://fonts.googleapis.com/css2?family=Dawning+of+a+New+Day&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Train+One&display=swap');
body {
    font-family: 'Kiwi Maru', serif;
}
.tel_bt, .nav_menu_more:nth-of-type(2) {
    display: none;
}
#wrap {
    opacity: 1;
}
#cms_3-d .niju {position: relative; margin-right: 40px;}
#cms_3-dddd .box_txt1 {

    background-image: url(Dup/img/yajirusi.png);
    padding-left: 33px;
    background-repeat: no-repeat;
    background-size: auto 16px;
    background-position: 0 50%;
}
#cms_3-d .niju:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-image: url(Dup/img/niju.png);
    background-repeat: repeat-x;
    background-size: contain;
}
#cms_3-d .niju:before {
content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: inherit;
    right: -36px;
    width: 30px;
    height: 16px;
    background-image: url(Dup/img/yajirusi.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: -9px;
}


#cms_3-d .box_wrap {
     background: #1f7ec7;
    padding: 20px;
}
#cms_3-d .cate_box {border-radius: 0;
}
#cms_3-d .box_txt1 {
    font-family: 'Train One', cursive;font-size: 22px;font-weight: normal;
      line-height: 1;

}
#page10 .more_btn span {
    position: relative;
}
#page10 .more_btn:before {
    background: #e0fcff;
}
.line:before {
    background-color: #98fb98!important;
}
.banner a:hover {
    transform: translateY(-5px);
}
.page_title_box img {
    width: 50px;
    height: 50px;
    padding-top: 10px;
}
header.scr_header #logo {
    width: 200px;
}

#intro_wrap, #contents1 .con_box, #contents2 .con_box, #contents2 .con_box {
    position: relative;
}
#contents3 .con_box {
    padding-bottom: 8%;
    position: relative;
}

#intro_wrap:before {
    content: "";
    display: block;
    position: absolute;
    top: -40px;
    left: 16px;
    background: url(Dup/img/ha2.png) no-repeat;
    width: 170px;
    height: 156px;
    background-size: contain;
}
#intro_wrap:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -0px;
    right: -154px;
    background: url(Dup/img/ki2.png) no-repeat;
    width: 442px;
    height: 319px;
    background-size: contain;
}
#contents3 .con_box:after {
  content: "";
  display: block;
    position: absolute;
    top: -111px;
   left: -24px;
   background: url(Dup/img/ki1.png) no-repeat;
   width: 300px;
   height: 600px;
   background-size: contain;
}
#contents1 .con_box:before {
content: "Fortune-telling";
    font-family: 'Dawning of a New Day', cursive;
    font-size: 5vw;
    position: absolute;
    top: -111px;
    color: #98fb98;
    right: -24px;
    transform: rotate(8deg);
}
#contents2 .con_box:before {
content: "Career consulting";
    font-family: 'Dawning of a New Day', cursive;
    font-size: 5vw;
    position: absolute;
    top: -169px;
    color: #98fb98;
    left: -34px;
    transform: rotate(-8deg);
}
#contents3 .con_box:before {
    content: "Various worries....";
    font-family: 'Dawning of a New Day', cursive;
    font-size: 5vw;
    position: absolute;
    color: #98fb98;
    left: 0;
    /* transform: rotate(
-8deg
); */
    right: 0;
    margin: auto;
    bottom: 4px;
}
h1, h2, h3, h4, .hannari {
        font-family: 'Kiwi Maru', serif;
   /* font-family: fot-tsukubrdgothic-std, sans-serif;*/
font-weight: bold;
}
::selection
{
    background: #98fb98;
    color: #1f7ec7;
}

.font_14 {
    font-size: 15px;
}
.back1:before, .back2:before {
    background-color: #d2fbff!important;
    background-image: url(Dup/img/sneaker-mesh-fabric.png);z-index: -1;
}
body {
/*font-family: dnp-shuei-mgothic-std, sans-serif;*/
font-weight: 400;
font-style: normal;
}
main {
    /*position: relative;
    background: url(Dup/img/bg1.png) no-repeat;
    background-size: 100% auto;
    background-position: 0 -63px;*/
}
#main_img:before {
    background-color: rgba(255,255,255,0.5);
    z-index: 2;
}
main:before {
   
}

#contents1 .con_box {
    margin-top: 10%;
}
#header {
    background: #fff;
    border-bottom: 1px solid #b7ffff;
}
.button_container span {
    background: #1f7ec7;
}
.nav_menu_more a {
    color: #1f7ec7;
}
.nav_menu_more a:hover {
    background: #d4ffd4; color: #1f7ec7;
}
.nav_menu_more:first-of-type a .icon:before {
    content: "\f086";
}
#pc_nav li a, #top_pc_nav li a, #footer_nav li a {
color: #1f7ec7;
}
#pc_nav li a, #top_pc_nav li a {
    background-image: url(Dup/img/icon1.svg);
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: 27px;
    padding: 4px 0px 4px 32px;
}
#pc_nav li:nth-child(2) a, #top_pc_nav li:nth-child(2) a {
    background-image: url(Dup/img/icon2.svg);
}
#pc_nav li:nth-child(3) a, #top_pc_nav li:nth-child(3) a{
    background-image: url(Dup/img/icon3.svg);
}
#pc_nav li:nth-child(4) a, #top_pc_nav li:nth-child(4) a {
    background-image: url(Dup/img/icon4.svg);
}

#pc_nav li:nth-child(5) a, #top_pc_nav li:nth-child(5) a {
    background-image: url(Dup/img/icon5.svg);
}
.top_cms_box .cms_title {
   padding: 0px 0 10px 75px;
    background-image: url(Dup/img/icon1.svg);
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: 55px 55px;
}
.top_cms_box:nth-of-type(4) .cms_title {
     background-image: url(Dup/img/icon4.svg);
}
.top_cms_box:nth-of-type(2) .cms_title {
     background-image: url(Dup/img/icon2.svg);
}
#intro .num, #contents1 .num, #contents2 .num, #contents3 .num {
    color: #4befea!important;
}

#pc_nav li a::after, #footer_nav li a::after {
    background: #b7ffff;
}
#top_pc_nav li a::after{
    background: #1f7ec7;
}
.line-l:before {
    display: none;
}
#page_title {
    margin-top: 102px;
}
#page_left, #page_right {
    height: 380px;
}
#page_title:before {
    background-color: rgba(183, 255, 255, 0.30);
}
#page_title p, #page_title h2 {
    color: #1f7ec7;opacity: 1;
}
.cate_list li {
    z-index: 0;
}
.cate_list li a, .more_btn {
  position: relative;
    border: 1px solid;background-color: transparent!important;
    overflow: inherit;
}
.cate_list li a:after, .more_btn:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 5px;
    left: 5px;  background: #d4ffd4;
    z-index: -1;transition: all 0.5s;
}
.cate_list li a:hover:after, .more_btn:hover:after {
    top: -5px;
    left: inherit;left: -5px;  background: #e7ffff;
}
.cms_5-a .cate_box h4 span, #cms_5-a .cate_box h4 span {
    background: linear-gradient(transparent 50%, #d4ffd4 50%);
    padding-bottom: 6px;
    padding-left: 10px;
    padding-right: 10px;
}
#cms_5-a .cate:first-of-type .box_wrap {
	display: block;
}
#cms_5-a .cate:first-of-type .cate_title i {
    transform: rotate(180deg);
}
#cms_5-a .cate:first-of-type .cate_title.on_click i {
    transform: inherit;
}
footer {
    background: url(Dup/img/bg_foot.jpg);
    background-size: cover;
    background-position: left 52% bottom 8%;
}
#footer_nav li a::after {
    background: #b7ffff;
}
#info_contact .con_img:before {
    background-color: rgba(68, 158, 255, 0.30);
}
#footer h2, .tel_bt a, #h1txt, #copyright, #copyright a {
    color: #1f7ec7;
}
#copyright {
    background: #d4ffd4/**/
}
#top_cms.back1:before {
    z-index: -1;/**/
}


.video_wrap {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100vh;
}
video {
	min-width: 100%;
	min-height: 100vh;
	z-index: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

@media(max-width: 768px) {
    .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;
	top: 0%;
	left: 0%;
	-webkit-transform: translate(0%, 0%); 
	-ms-transform: translate(0%, 0%);
	transform: translate(0%, 0%); 
vertical-align: bottom;
}
.button_container {
    top: 63%;
}
#main_img {
    margin-top: 76px;
}
#contents2 .con_box:before {
    left: 34px;
}
#page_title {
    margin-top: 76px;
}
#contents3 .con_box {
    padding-bottom: 120px;
}
#intro_wrap:after {
bottom: -96px;
    right: -288px;
    width: 357px;
    height: 319px;
}
#contents3 .con_box:after {
    top: -111px;
    left: -39px;
    width: 224px;
}
}



@media(max-width: 667px) {
    #cms_3-d .box_wrap {
    padding: 13px;
}
    #page_left, #page_right {
    height: 227px;
}
#page_title {
    margin-top: 62px;
}
#main_img {
    margin-top: 62px;
}
#contents1 .con_box:before, #contents2 .con_box:before, #contents3 .con_box:before {
    font-size: 10vw;
}
#contents2 .con_box {
    margin-top: 20px;
}
#contents2 .con_box:before {
    top: -62px;
    left: -5px;
}
#contents3 .con_box {
    padding-bottom: 74px;    margin-top: 49px;
}
#intro_wrap {
    padding-bottom: 130px;
}
#intro_wrap:before {
    top: -40px;
    left: -40px;
}
#intro_wrap:after {
    bottom: -177px;
    right: -229px;
    width: 330px;
    height: 319px;
}
#contents3 .con_box:after {
    top: -135px;
    left: -46px;
    width: 157px;
}

}



@media all and (-ms-high-contrast: none) {
#pc_nav li a, #top_pc_nav li a {
    background-size: 27px 22px;
    padding: 11px 0 3px 32px;
}
.cms_5-a .cate_box h4 span, #cms_5-a .cate_box h4 span {
    background: linear-gradient(transparent 40%, #d4ffd4 60%);
    padding-bottom: 0;
}
#page9 .more {
    padding-bottom: 0;
}
.cate_list li a {
    padding-bottom: 1px;
}
}