﻿@import url('https://fonts.googleapis.com/css2?family=Kaisei+HarunoUmi:wght@400;500;700&display=swap');
.font1{
    font-family:'Kaisei HarunoUmi', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}


/*
#fixed_right_banner,#page-top{
    position:absolute;
}
*/


.linkStyle{
    color:#bf9d74;
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
    text-decoration:underline;
}

body{
    overflow:hidden;
    background:url(./Dup/img/bg1.jpg) repeat;
    background-size: 500px;
}

#wrap {
    background-image: url(./Dup/img/medaka1.png),url(./Dup/img/medaka3.png),url(./Dup/img/medaka2.png),url(./Dup/img/medaka4.png);
    background-repeat: no-repeat,no-repeat,no-repeat,no-repeat;
    background-size: 250px,250px,200px,200px;
    background-position: left -10px top -10px,right -10px top -10px, right -10px bottom -10px,left -10px bottom -10px;
}
#main_menu.fixed{
    padding-top: 10px;
    padding-bottom: 0;
}
.header .grid_3{
    display:none;
}
.header #logo{
    margin-left:0;
    margin-right:0;
    margin:auto;
}

.effect.effect-1,
#copyright a{
    color:#333;
}

#info_map .foot_tel_bt a,
#info_map p{
    color:#333;
}
footer .sns_link li{
    margin:0!important;
}

/*--top page---------------------------
-------------------------------------*/
/*animation*/
.txt_anim1 span{
	position: relative;
	right: 20px;
	opacity: 0;
	transition: all .8s;
}
.txt_anim1 span.start{
	right: 0;
	opacity: 1;
}

#main_img::before{
    content:'';
    position:absolute;
    display:block;
    width:100%;
    height:99%;
    background-color:rgba(0,0,0,0.2);
    top:0;
    left:0;
    z-index:1;
}
#main_img .shimbol {
    z-index: 2;
    opacity: 0.5;
    width: 400px;
}
/*ローディング後にフェードイン*/
.load-fade {
    opacity : 0;
    transition : all 2s/*処理にかかる時間*/;
}
.load-fade.done{
    opacity : 0.5;
}


/*aisatsu*/
.aisatsu_outer {
    background: url(./Dup/img/intro_item1.png),url(./Dup/img/intro_item2.png),url(./Dup/img/intro_bg1.png),url(./Dup/img/intro_bg2.png);
    background-repeat: no-repeat,no-repeat,no-repeat,no-repeat;
    background-size: 700px,750px,50% 100%,50% 100%;
    background-position: top -10px left -20px,bottom -10px right -20px,top left,top right;
    background-color: #fff;
}
#aisatsu{
    position:relative;
}

#aisatsu .medaka5{
    width:200px;
    top:-120px;
    left:0;
    right:0;
    margin:auto;
    animation: 3s fuwafuwa infinite;
}
@keyframes fuwafuwa {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.Text-Span {
  position: relative;
  z-index: 1;
}
.Text-Span:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0%;
    height: 29px;
    background: #feae22;
    z-index: -1;
    transition: all 0.8s;
}
.Text-Span.isActive:after {
  width: 100%;
}


#contents1 {
    background-image: url(./Dup/img/medaka_bg5.png),url(./Dup/img/medaka_bg6.png);
    background-repeat: no-repeat,no-repeat;
    background-size: 200px,300px;
    background-position: left 5% bottom 20px,right 22% top 100px;
}
#contents2 {
    background-image: url(./Dup/img/medaka_bg7.png),url(./Dup/img/medaka_bg8.png);
    background-repeat: no-repeat,no-repeat;
    background-size: 200px,300px;
    background-position: left 5% bottom 20px,right 22% top 100px;
}
#contents3 {
    background-image: url(./Dup/img/medaka_bg6.png),url(./Dup/img/medaka_bg7.png);
    background-repeat: no-repeat,no-repeat;
    background-size: 250px,170px;
    background-position: left 1% bottom 77px,right 32% top 40px;
}
#contents1 .contents_box, #contents2 .contents_box, #contents3 .contents_box{
    background-color:#fff;
}


.link_bnr a{
    padding-top: 50px;
    padding-bottom: 60px;
    text-shadow: 0 0 3px rgb(0 0 0 / 50%);
}
.link_bnr a .span1{
    font-size:3rem;
}
.link_bnr a .font1{
    font-size:2rem;
}

#top_cms .cms_title {
    position: relative;
    padding-bottom: 10px;
}
#top_cms .cms_title::before {
    content: '';
    position: absolute;
    display: block;
    width: 90px;
    height: 40px;
    background: url(./Dup/img/medaka6.png) no-repeat;
    background-size: contain;
    top: -50px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
}
#top_cms .cms_title h2::before, #top_cms .cms_title h2::after{
    display:none;
}
#top_cms .border_white {
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
    padding-bottom: 10px;
}

/*--under page---------------------------
-------------------------------------*/
.page_title h2{
    color:#333!important;
    background-color: rgba(255,255,255,0.7)!important;
}

#page10 #contents .cate ul li a span{
    display:block;
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#wrap{
    background-size: 200px,200px,200px,200px;
    background-position: left -20px top -20px,right -20px top -20px, right -10px bottom 350px,left -10px bottom 350px;
}
#main_img .shimbol{
    width:350px;
}
.aisatsu_outer {
    background: url(./Dup/img/intro_item1.png),url(./Dup/img/intro_item2.png),url(./Dup/img/intro_bg3.png),url(./Dup/img/intro_bg4.png);
    background-repeat: no-repeat,no-repeat,no-repeat,no-repeat;
    background-size: 450px,550px,100% 60%,100% 60%;
    background-position: top -10px left -20px,bottom -10px right -20px,top -38% left,bottom -34% right;
    background-color: #fff;
}
#aisatsu .medaka5 {
    width: 150px;
}
.Text-Span:after{
    height:24px;
}
#contents1 {
    background-size: 150px,180px;
    background-position: left 17% bottom 20px,right 24% top 1%;
}
#contents2{
    background-size: 120px,200px;
    background-position: left 19% bottom 48%,right 28% top 3%;
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#wrap {
    background-size: 140px,140px,120px,120px;
    background-position: left -20px top -20px,right -20px top -20px, right -10px bottom 120px,left -10px bottom 120px;
}
#main_img .shimbol {
    width: 180px;
}
#main_img::before{
    height:97%;
}
.aisatsu_outer{
    background-size: 350px,400px,100% 60%,100% 60%;
}
#aisatsu .medaka5 {
    width: 120px;
    top: -70px;    
}
.Text-Span:after{
    height:20px;
}
#top_contents h2{
    text-align:left;
}
.link_bnr a .span1 {
    font-size: 2rem;
}
.link_bnr a .font1 {
    font-size: 1.5rem;
}
#top_cms .cms_title::before{
    width: 60px;
    height: 30px;
    top: -40px;
}
.page_title h2 {
    background-color: rgba(255,255,255,0.8)!important;
}
}




