﻿@import url('https://fonts.googleapis.com/css2?family=Secular+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;700&display=swap');
.font1,.con_no{
    font-family: 'Secular One', sans-serif;
}
.font_en,
#main_menu li a{
    font-family: 'Outfit', 'Zen Maru Gothic','Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

:root{
    --color_beige:#fcf9ed;
    --color_black:#333;
    --color_pink:#f4afb0;
    --color_yellow:#f7d070;
    --color_green:#9accc0;
}


/*--all page---------------------------
-------------------------------------*/

.linkStyle{
    color:var(--color_pink);
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
    text-decoration:underline;
}

body{
    overflow:hidden;
    background:var(--color_beige);
    line-height:2;
}

@media screen and (min-width: 769px){

.main_box {
    width: calc(100% - 300px);
    margin-left: 300px;
    min-width: 700px;
}
header {
    background-color: #fff!important;
    border: 2px solid #333;
    border-radius: 20px;
    height: 87vh;
    margin-left: 30px;
    margin-top: 30px;
}
.pc_box a{
    font-weight:bold;
}
#main_menu ul li a{
    color:var(--color_black);
}
.tel_bt a,
.head_banner a{
    width: 80%;
    margin: auto;
    border-radius: 100px;
}
}

.more a,
.foot_tel_bt a{
    border-radius:100px;
}



/*--top page---------------------------
-------------------------------------*/
.main_img_logo {
    width: 150px;
    top: -30px;
    left: 20px;
    z-index: 3;
}
.catch {
    width: 38vw;
    max-width: 800px;
    left: 22%;
    top: 16%;
    z-index: 3;
}
.catch_item{
    animation: swing 1s steps(2, start) infinite;
}
.catch_item2{
    animation: swing2 1s steps(2, start) infinite;
}
@keyframes swing{
    0%{
        transform:rotate(5deg);
    }
    100%{
        transform:rotate(-5deg);
    }
}
@keyframes swing2{
    0%{
        transform:rotate(-5deg);
    }
    100%{
        transform:rotate(5deg);
    }
}
.item1 {
    width: 247px;
    height: 120px;
    top: 6%;
    left: 5%;
}
.item2 {
    width: 226px;
    height: 120px;
    top: 32%;
    left: 11%;
}
.item3 {
    width: 96px;
    height: 120px;
    bottom: 27%;
    left: 4%;
}
.item4 {
    width: 104px;
    height: 120px;
    bottom: 10%;
    left: 19%;
}
.item5 {
    width: 100px;
    height: 120px;
    top: 4%;
    right: 34%;
}
.item6 {
    width: 245px;
    height: 120px;
    top: 43%;
    right: 2%;
}
.item7 {
    width: 164px;
    height: 120px;
    top: 25%;
    right: 20%;
}
.item8 {
    width: 117px;
    height: 120px;
    bottom: 17%;
    right: 19%;
}

.en{
    width:40vw;
    max-width:800px;
    left: 25%;
    top: 10%;
}
/*右回転*/
.rotate {
  display: inline-block;
  animation: r1 40s linear infinite;
}
 
@keyframes r1 {
  0%   { transform:rotate(0deg); }
  100% { transform:rotate(360deg); } 
}

.top_page{
    background:url(./Dup/img/bg.png) no-repeat;
    background-size:100% auto;
}

#contents1{
    padding: 50px 10% 100px;
    background-size: auto auto;
    background-color: rgba(255, 255, 255, 1);
    background-image: repeating-linear-gradient(135deg, transparent, transparent 2px, rgba(247, 208, 112, 0.3) 2px, rgba(247, 208, 112, 0.3) 14px );
    position:relative;
}
#contents1:before,
#contents1:after,
.title_img:after{
    content:'';
    position:absolute;
    display:block;
    width:100%;
    z-index:1;
    left:0;
}
#contents1:before{
    height:40px;
    background:url(./Dup/img/nami1.png) no-repeat;
    background-size:100%;
    top:0;
}
#contents1:after,
.title_img:after{
    height:60px;
    background:url(./Dup/img/nami2.png) no-repeat;
    background-size:100%;
    background-position:bottom;
    bottom:-1px;
    left:-1px;
}
.intro_item{
    width: 120px;
    margin: 0 auto 10px;
    animation: swing 1s steps(2, start) infinite;
}
.intro{
    width: 300px;
    margin: 10px auto 20px;
}
.about{
    width:270px;
    margin-bottom:20px;
}
.point{
    width:200px;
    margin-bottom:20px;
}
.recruit{
    width:220px;
}
#contents2 .d_flex,
#contents3 .d_flex{
    position:relative;
}
#contents2 .d_flex:before,
#contents3 .d_flex:before,
#contents4 .d_flex:before{
    content:'';
    position:absolute;
    display:block;
    z-index:2;
}
#contents2 .d_flex:before {
    width: 10vw;
    height: 10vh;
    background: url(./Dup/img/item9.png) no-repeat;
    background-size: contain;
    bottom: -18px;
    right: 50px;
    animation: swing2 1s steps(2, start) infinite;
}
#contents3 .d_flex:before {
    width: 10vw;
    height: 11vh;
    background: url(./Dup/img/item11.png) no-repeat;
    background-size: contain;
    bottom: -85px;
    left: 50px;
    animation: swing 1s steps(2, start) infinite;
}
#contents4 .d_flex:before {
    width: 10vw;
    height: 11vh;
    background: url(./Dup/img/item10.png) no-repeat;
    background-size: contain;
    bottom: -53px;
    right: -50px;
    animation: swing 1s steps(2, start) infinite;
}
/*.img5,*/.img5_box,
.img6,
.img7,
.about,
.point,
.recruit{
    position:relative;
}
/*.img5:before,*/.img5_box:before,
.img6:before,
.img7:before{
    content:'';
    position:absolute;
    display:block;
    width:100%;
    height:100%;
    border-radius:20px;
    z-index:-1;    
}
/*.img5:before*/.img5_box:before,
.img7:before{
    background-color:var(--color_pink);
    top:20px;
    left:20px;
}
.img6:before{
    background-color:var(--color_green);
    top:20px;
    left:20px;
}
/*.img5 img*/.img5_box .video,.img6 img,.img7 img{
    border-radius:20px;
}
.about:before,
.point:before,
.recruit:before{
    content:'';
    position:absolute;
    display:block;
    width:150px;
    height:150px;
    background:url(./Dup/img/en.png) no-repeat;
    background-size:contain;
    top:-60px;
    left:-60px;
    z-index:-1;
    animation: r1 40s linear infinite;
}
.cms_title h2{
    color:var(--color_black);
}


.cms_2-g .cate_box {
    min-height: 200px;
}

.link_type2 .cate_box{
    width:calc(50% - 5px)!important;    
}
.link_type2 .cate_box a {
    color: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
}
.link_type2 .cate_box a:before, .link_type2 .cate_box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(160 155 147 / 50%);
    z-index: 1;
}
.link_type2 .cate_box a:after {
    top: 100%;
    background-color: var(--color_green);
    transition: 0.5s;
	z-index: 3;
}
.link_type2 .cate_box a:hover:after {
    top: 0;
}
.link_type2 .cate_box .txt_wrap {
    z-index: 2;
}
.link_type2 .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}
.link_type2 .cate_box a:hover .more {
    opacity: 1;
}

/*--under page---------------------------
-------------------------------------*/

.page_box{
    position:relative;
}
.page_box:after {
    content: '';
    position: absolute;
    display: block;
    width: 130px;
    height: 113px;
    background: url(./Dup/img/item11.png) no-repeat;
    top: -53px;
    right: 90px;
    animation: swing 1s steps(2, start) infinite;
    background-size: contain;
    z-index: 2;
}
.cate_list{
    margin-bottom:30px;
}



/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.top_page header {
    height: initial;
}
header{
    background-color:var(--color_beige)!important;
}
header .head_banner a{
    background-color:var(--color_pink);
    color:#fff;
    border-bottom:0;
}
#main_img{
    height:70vh;
}
.catch {
    width: 58vw;
    left: 20%;
    top: 25%;
}
.top_page{
    background: url(./Dup/img/bg_tb.png) no-repeat;
    background-position: center 80px;
}
.en {
    width: 55vw;
    top: 20%;
}
.item2,
.item5{
    display:none;
}
.item1 {
    width: 212px;
    top: 10%;
    left: 5%;
}
.item3 {
    width: 92px;
    bottom: 47%;
    left: 4%;
}
.item4 {
    width: 97px;
    bottom: 9%;
    left: 12%;
}
.item6 {
    width: 219px;
    top: 82%;
    right: 2%;
}
.item7 {
    width: 146px;
    top: 7%;
    right: 8%;
}
.item8 {
    width: 102px;
    bottom: 38%;
    right: 5%;
}


#contents1:after{
    height:30px;
}
#contents2 .d_flex:before {
    width: 22vw;
    bottom:-105px;
}
#contents3 .d_flex:before {
    width: 21vw;
    bottom: -140px;
    left: auto;
    right: -10px;
}
#contents4 .d_flex:before {
    width: 27vw;
    bottom: -84px;
    right: -20px;
}
#contents3 {
    padding: 0 10% 100px;
}

.img6{
    margin-bottom:100px;
}

.link_type2 .cate_box:first-of-type{
    margin-right:5px;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.top_page {
    background: url(./Dup/img/bg_sp.png) no-repeat;
    background-position: center 65px;
}
#main_img {
    height: 80vh;
}
.catch {
    width: 70vw;
    left: 12%;
    top: 32%;
}
.en {
    width: 75vw;
    left: 13%;
    top: 28%;
}
.item3,
.item8{
    display:none;
}
.item1 {
    width: 170px;
}
.item4 {
    width: 71px;
    bottom: 4%;
}
.item7 {
    width: 119px;
    top: 15%;
    right: 3%;
}
.item6 {
    width: 174px;
}
.about:before, .point:before,.recruit:before{
    width: 120px;
    height: 120px;
    left: -30px;
}
.img5 img, .img6 img,
.img5:before, .img6:before{
    border-radius: 10px;
}
#contents2 .d_flex:before {
    width: 37vw;
    bottom: -70px;
    right: -12px;
}
#contents3 .d_flex:before {
    width: 33vw;
    height: 12vh;
    bottom: -102px;
}
footer .grid_5{
    text-align:center;
}
.page_box:after{
    width:100px;
    top:-16px;
    right:25px;
}

.link_type2 .cate_box {
    width: 100%!important;
}
.link_type2 .cate_box:first-of-type {
    margin-right: 0;
}
.link_type2 .cate_box a:after{
    display:none;
}

}






