﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500&display=swap');
.font1,
.pc_nav li a,
#sp_nav li a,
.cmstitle,
.f_contact_box h4,
.f_contact_box p,
.f_contact_btn a,
.pagetitle h2,.pagetitle p{
    font-family:'Zen Maru Gothic',  "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.font_14{
    font-size:16px;
}


/*
.pagetop,.fix_bnr{
    position:absolute;
}
*/

/*--all page---------------------------
-------------------------------------*/

.linkStyle{
    color:#2dbad1;
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
    text-decoration:underline;
}

body{
    overflow:hidden;
}

.header-in {
    height: 90px;
    box-shadow: none;
    border: 3px solid #f7cc38;
}
.logo1 {
    max-width: 80px;
}
.pc_nav li a .font_16{
    font-size: 18px;
}
.f_contact_box{
    border: 3px solid #f7cc38;    
}
.f_contact_box h4{
    line-height: 1.2;
    font-weight: 500;
}

.fix_bnr {
    right: 90px;
    z-index: 2;
}

#fakeloader .fl{
    border-radius: 5px;
    overflow: hidden;
}
.logo1 img{
    border-radius: 5px;
}
.logo2 a{
    max-width: 150px;
    border-radius: 5px;
    overflow: hidden;
}


/*--top page---------------------------
-------------------------------------*/
/*main_img*/
#main_img {
    background-image: url(./Dup/img/bg1.png),url(./Dup/img/bg3.png),url(./Dup/img/bg4.png);
    background-repeat: no-repeat,no-repeat,no-repeat;
    background-size: 400px,350px, 450px;
    background-position: top -55px left -50px,top 40px right -60px,bottom 40px right -10px;
    position: relative;
}
#main_img::before {
    content: '';
    position: absolute;
    display: block;
    width: 450px;    
    height: 280px;
    background: url(./Dup/img/bg2.png) no-repeat;
    background-size: contain;
    background-position: bottom left;
    bottom: -50px;
    left: 30px;
    z-index: 2;
}
.item1{
    width:2vw;
    max-width:30px;
    bottom: 54%;
    left: 24%;
    animation: swing 1s steps(2, start) infinite;
}
.item2 {
    width: 6vw;
    max-width: 150px;
    top: 30%;
    right: 4%;
    animation: ball 1s alternate infinite;
}
.item3 {
    width: 1.2vw;
    max-width: 30px;
    top: 4%;
    right: 27%;
    animation: swing2 1s steps(2, start) infinite;
}
@keyframes swing{
    0% {
    transform-origin: bottom;
    transform: rotate(20deg);
}
100% {
    transform-origin: bottom;
    transform: rotate(-10deg);
}
}

@keyframes swing2{
    0% {
        transform-origin: bottom;
    transform: rotate(-10deg);
}
100% {
    transform-origin: bottom;
    transform: rotate(20deg);
}
}

@keyframes ball{
0% {
    transform: translate(0, 0) scale(0.95);
}
80% {
    transform: translate(0, 0) scale(1);
}
100% {
    transform: translate(0, -5px) scale(1.0);
}
}
#con3{
    position:relative;
}
#con3::before,#con3::after,
.all_contents::before,.all_contents::after{
    content:'';
    position:absolute;
    display:block;
    z-index:2;    
}
#con3::before,
.all_contents::before{
    width:400px;
    height:300px;
    background:url(./Dup/img/bg3.png) no-repeat;
    background-size:contain;
    top:-50px;
    left:-10px;
}
#con3::after,
.all_contents::after{
    width: 420px;
    height: 320px;
    background: url(./Dup/img/bg2.png) no-repeat;
    background-size: contain;
    bottom: -250px;
    right: -10px;
}
#con3 .box .img{
    margin-bottom: 20px;
}
#con3 .no{
    line-height: 1;
    font-size: 4rem;
    margin-top: -60px;
    position: relative;
}
.con2_box1_bnr a,.con2_box3_bnr a{
    border-radius:30px;
}


/*--under page---------------------------
-------------------------------------*/
.pagetitle_img{
    background-size:100%;
}
.pagetitle h2,.pagetitle p{
    font-weight:bolder;
    text-shadow: 1px 1px 0 #fff;
}
.all_contents{
    position:relative;
}



/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.header-in{
    border:0;
}
#main_img {
    background-size: 300px,200px, 200px;
    background-position: top -85px left -50px,top 35px right 155px,bottom 20px right -10px;
}
#main_img::before {
    width: 280px;
    height: 140px;
    bottom: -60px;
    left: 10px;
}
.item1 {
    width: 3vw;
    bottom: 49%;
    left: 20%;
}
.item2 {
    width: 8vw;
    max-width: 150px;
    top: 26%;
}
.item3 {
    width: 1.8vw;
    top: -1%;
    right: 26%;
}
.menu_btn{
    border: 3px solid #f7cc38;
}
#con3::before, .all_contents::before {
    width: 200px;
    height: 150px;
}
#con3::after, .all_contents::after {
    width: 220px;
    height: 120px;
    bottom: -50px;
}
.fix_bnr {
    right: 90px;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){

.header-in {
    height: 60px;
}
.logo1{
    max-width:60px;
}

#main_img {
    background-image: url(./Dup/img/bg1.png),url(./Dup/img/bg4.png);
    background-repeat: no-repeat,no-repeat;
    background-size: 250px,189px;
    background-position: top -50px left -50px,bottom 292px right -25px;
}
#main_img::before {
    width: 180px;
    height: 100px;
    left: 10px;
}
#main_img::before {
    width: 150px;
    height: 70px;
    bottom: -10px;
}
.item1 {
    width: 6vw;
}
.item2 {
    width: 16vw;
    right: 4%;
}
.item3 {
    width: 2.8vw;
    top: 5%;
    right: 26%;
}
#con3::before, .all_contents::before {
    width: 120px;
}
#con3::after {
    width: 130px;
    height: 80px;
}
.all_contents::before{
    left:5px;
}
.all_contents::after {
    width: 180px;
    height: 100px;
    bottom: -75px;
}
.f_contact_box h4{
    font-size:30px;
}
.f_contact_box .font_18{
    letter-spacing: 1px;
}
.copy{
    padding-bottom:60px;
}

.pagetop{
    width: 50px;
    height: 50px;
    right:10px;
}
.pagetop i{
    line-height: 50px;
    width: 50px;
    height: 50px;
}

.fix_bnr {
    right: 0;
    left: 0;
    margin: auto;
}
#sp_nav .sp_nav_inner .menu__header .logo3 img {
    max-width: 80px;
}
}




