﻿@font-face {
font-family: "yasa";
  src: url("Dup/css/yasa.ttf") format("ttf"),url("Dup/css/yasa.woff") format("woff");
}

body, footer, .blue{
position:relative;

}

.font_en{

}

#page_title h2.font_en, #page_title p.font_en{
font-family: "yasa" !important;
}

body{
overflow:hidden;
}

body:before{
    content: "";
    position: fixed;
    background-image: url(./Dup/img/boy.png);
    background-size: 100%;
    width: 80px;
    height: 150px;
    bottom: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 9999;
}

footer:after{
    content: "";
    position: fixed;
    background-image: url(./Dup/img/girl.png);
    background-size: 100%;
   width: 80px;
    height: 150px;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 9999;
}



.linkStyle{
color: #E4F3F7;
}

header.bg_color4 {
    background-color: #f8f6c7;
    background-image: url(./Dup/img/back.png), url(./Dup/img/hata.png);
    background-repeat: repeat, no-repeat;
    background-size: auto, contain;
}

.txt_shadow-b {
    text-shadow: 0 5px 10px rgba(0,0,0,0.0);
}

#main_img:before{
content: "";
    position: absolute;
    background-image: url(./Dup/img/up.png);
    background-size: 100%;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: top right;
    z-index: 99;
}

#main_img:after{
content: "";
    position: absolute;
    background-image: url(./Dup/img/down.png);
    background-size: 100%;
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: bottom right;
    z-index: 99;
}

#contents3 figure{
    border-radius: 30% 54% 56% 62% / 50% 55% 47% 50%;
}

#contents2 figure{
    background-image: url(./Dup/img/bird.png);
    background-repeat: no-repeat;
    background-position: right top;
position:relative;
}

#contents2 figure:before{
content: "";
    position: absolute;
    background-image: url(./Dup/img/bird.png);
    background-size: 100%;
    width: 120px;
    height: 160px;
    top: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 99;
}

.blue:after{
  content: "";
    display: block;
    width: 110%;
    height: 150%;
    position: absolute;
    top: 70%;
    left: 50%;
    background-image: url(./Dup/img/blue.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 100% 100%;
    z-index: -1;
}

.button:hover:after, .button2:hover {
    box-shadow: inset 0 0 0 15em rgb(255, 158, 3);
    color: white;
}

/*#page_title:before{
  position: absolute;
    height: 100%;
    width: 100%;
    content: "";
    display: block;
   background-image: url(./Dup/img/down2.png);
    z-index: 1;
}*/

#page_title .title_img::before {
    position: absolute;
    height: 100%;
    width: 100%;
    content: "";
    display: block;
   background-image:none;
    z-index: 1;
}

.ira{
    margin-top: -13vw;
    display: block;
    position: relative;
}

#page_title .page_box::before, #main_menu ul li a::before {
   background-color: #80ccf1;
}

.cate_title{
color: #2792c5;
    font-weight: bold;
    border-bottom: dotted #d2d2d2;
}

.bg_color1 {
    background-color: #fbd23d;
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){

header.bg_color4 {
    background-color: #f8f6c7;
    background-image: url(./Dup/img/back.png);
    background-repeat: repeat,;
    background-size: auto;
}

.pc_box h1#logo{
max-width:100px;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
body:before{
    content: "";
    position: fixed;
    background-image: url(./Dup/img/boy.png);
    background-size: 100%;
    width: 50px;
    height: 150px;
    bottom: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 9999;
}

footer:after{
    content: "";
    position: fixed;
    background-image: url(./Dup/img/girl.png);
    background-size: 100%;
   width: 50px;
    height: 150px;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 9999;
}

}