﻿#top_link .links_bt {
    position: relative;
}
#top_link .links_bt .link_dec2 {
    animation: swing linear 2.5s infinite;

}
@keyframes swing {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform:rotate(0deg);
    }
}



#top_link .link_dec {
    animation: swing2 linear 3.5s infinite;
    position: absolute;
    width: 120px;
    right: -100px;
    z-index: 9;
}
@keyframes swing2 {
    0% {
        transform: translateY(0px);

    }
    25% {
        transform: translateY(-10px);

    }
    50% {
        transform: translateY(0px);
    }
    75% {
        transform: translateY(10px);
    }
    100% {
        transform:translateY(0px);

    }
}

.bg_color1 { background-color: #6fb7b7;}
.bg_color2 { background-color: #ffffff;}
.bg_color3 { background-color: #db776b;}
.border_color1 { border-color: #6fb7b7;}
.txt_color2 {color: #db776b;}
/* ----------　all　---------- */
.linkStyle{
	color:#;
}
.linkStyle:hover{
	color:#;
	opacity: 0.7;
	transition: all 0.5s;
}
@font-face {
font-family: "mkpop";
  src: url("Dup/mkpop.otf") format("ttf"),url("Dup/mkpop.woff") format("woff"),url("Dup/mkpop.woff2") format("woff2");
}
h1, h2, h3, h4, h5, h6{
	font-family: "mkpop", serif!important;
}
#main_right {
    background-color: #fff;
background-image: url(Dup/back1.png),url(Dup/back2.png),url(Dup/back3.png);
    background-repeat: no-repeat;
    background-position: top right,top 150px left,top 400px right;
background-size: 100px,150px,100px;
}
.top #main_right {
     background-position: top right,top 10% left,top 35% right;
    background-size: 150px,150px,180px;
}
#main_right header,  #page_title {
    padding-right: 0px;
}
#top_header{
    background-color: transparent!important;
}
#footer_txt h3{
font-size: 30px;
}
#sp_info h3{
    font-size: 30px;
}
/* ----------　TOP　---------- */
header .links_bt{
width: 50%!important;
    max-width: 300px;
}
#pc_tel{
display:none;
}
#pc_intro{
background-image: url(Dup/back.png);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 200px;
}
#pc_intro h3{
    width: 55%!important;
}
#pc_intro .pd_5per{
    background-color: rgba(219, 119, 107, 0.8);
    color: #fff;
}

#pc_intro h2,#pc_intro p,#contents .box_txt2 p,#contents .box_txt p{
    opacity: 1;
}
#contents {
    margin-bottom: 0px;
padding: 5vh 0!important;
}
#contents::after {
    background-color: transparent!important;
background: -moz-linear-gradient(top left, rgba(113, 184, 184 ,0.6), rgba(78 ,154 ,233 ,0.6)); 
background: -webkit-linear-gradient(top left, rgba(113, 184, 184 ,0.6), rgba(78 ,154 ,233 ,0.6)); 
background: linear-gradient(to bottom right, rgba(113, 184, 184 ,0.6), rgba(78 ,154 ,233 ,0.6)); 
}
#contents h3{
    font-size: 40px;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center bottom;
    margin-bottom: 5vh!important;
}
#contents .box_txt{
    background-color: transparent;
    color: #fff;
    font-size: -webkit-calc(1rem + 4px);
    font-size: calc(1rem + 4px);
box-shadow: none;
}

#contents .box_txt2:nth-child(odd) {
    background-color: rgba(111, 183 ,183 ,0.5);
    color: #fff;
}
#contents .box_txt2:nth-child(even) {
    background-color: rgba(219, 119, 107, 0.7);
    color: #fff;
}
#contents .box_txt2{
    display: table;
}
#contents .box_txt2 figure{
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 300px;
}
#contents .box_txt2 figure img{
    object-fit: cover;
    font-family: 'object-fit: cover;';
    height: 100%;
    width: 100%;
}
#contents .box_txt2 p{
    display: table-cell;
    vertical-align: middle;
    padding: 30px;
}
#pc_news {
    padding-top: 100px;
}
#pc_news h3{
font-size: 35px;
}
#pc_news .box h4{
    font-size: 25px;
}
#pc_news .txt_color2 {
    color: #ffffff;
}
/* ----------　下層ページ　---------- */
#page_title {
    padding-left: 0%;
}
#page_title h2{
font-size: 35px;
}
#main_left #left_link {
    width: 80%!important;
    max-width: 280px;
}
#main_right main #page_container{
    background-image: url(Dup/back.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 120px;
}
#tel_txt h3{
font-size: 22px;
}
#page9 #top_txt{
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif!important;
}
/* ----------　IE　---------- */
@media all and (-ms-high-contrast: none){
#cms_6-a .cate .cate_title {
    padding-top: 10px;
}

}

/* ----------　タブレット　---------- */
@media screen and (max-width: 768px){
#main_right {
    background-color: transparent;
    background-image: none;
}
#top_header {
    background-color: rgba(111, 183, 183, 0.7)!important;
}
#contents .box_txt2 figure {
    height: 350px;
}
#intro .overflow {
    top: 3%;
}
#intro h2 img {
    width: 200px;
}

}


/* ----------　スマホ　---------- */
@media screen and (max-width: 667px){
#intro h2 img {
    width: 150px;
}
#contents .fs_wrap {
    padding-bottom: 50px;
    padding-top: 50px;
}
#contents .box_txt2 figure {
    display: block;
    height: auto;
    width: 100%!important;
    margin-bottom: 10px;
}
#contents .box_txt2 p {
    display: block;
    width: 100%!important;
}
#contents .box_txt2:nth-child(even) {
    flex-direction: column-reverse;
    display: flex;
}
#page_title h2 {
    font-size: 25px;
}
#main_right main #page_container {
    background-size: 80px;
}
#tel_box p:first-child {
    width: 100%!important;
    margin-right: 0px;
    padding: 10px;
}
#tel_box #contact_tel {
padding: 10px;
    margin: auto;
}
#top_link .link_dec {
    width: 90px;
right: -80px;
}
}