﻿/** font **/

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&family=Zen+Maru+Gothic:wght@500;700&display=swap');

:root{
    --font-jp: 'Quicksand', 'Zen Maru Gothic', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
body, .font_sans-serif{
    font-family: var(--font-jp);
}

/** color **/

:root{
    --color1: #77E591;
    --color1s: #3ECC55;
    --color2: #F4F2ED;
    --color3: #E2DB5A;
    --color3s: #D1C52F;
    --color4: #e5e1dc;
    --color4s: #d8d3ce;
    --black: #1B1B1B;
    --base: #F9F8F4
}

/**** cursor ****/

*{
    cursor: none!important;
}

.cursor{
    position: fixed;
    width: 40px;
    height: 40px;
    z-index: 10001;
    background-image: url('./Dup/img/cursor1.png');
    transition: transform 0.3s;
    pointer-events: none;
}
.cursor.active{
    background-image: url('./Dup/img/cursor2.png');
    transform: scale(1);
    animation: cursor1 0.2s ease forwards 1;
}
@keyframes cursor1 {
    0%  {transform: scale(0.5);}
    100%{transform: scale(1);}
}

/** other **/

.img-container.active:before{
    transform: translateX(101%);
}

#wrap{
    width: 100%;
    margin-top: 0;
}

.top_page #header .logo{
    display: none;
}
.all_header #header{
    padding: 15px 20px!important
}
#nav_menu {
    height: 62px;
    width: 62px;
    right: 0px;
    top: 0;
    background-color: #fff;
}
header .logo {
    width: 120px;
}

header .top_nav{
    display: none;
}

.main_wrap{
    margin-top: calc(100vh + 20px);
}

.menu{
    padding: 10px 0;
}
.menu .nav{
    position: relative;
    z-index: 1;
    padding-left: 60px;
}
.menu .nav::before{
    position: absolute;
    content: "";
    width: 220px;
    height: 220px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg) skew(-20deg, -20deg);
    background-color: #fff;
    z-index: -1;
    pointer-events: none;
}
.menu .nav ul li, .menu .nav ul li a{
    transform: none;
    margin: 0;
    border: none;
}
.menu .nav ul li a{
    padding: 0 20px!important;
}
.menu .nav ul li a .nav1{
    font-size: 16px;
}
.menu .nav ul li a .nav2{
    letter-spacing: 3px;
    font-size: 12px;
    opacity: 0.6;
}
.menu .nav .logo{
    width: 150px!important;
}
.menu .nav .logo img{
    width: 70%!important;
}

.main_img_wrap {
    height: calc(100% - 40px);
    width: calc(100% - 40px);
    margin-top: 20px;
    margin-left: 20px;
}
.main_img_wrap::before, .main_img_wrap::after{
    position: absolute;
    content: "";
    width: 500px;
    height: 500px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition-duration: 0.5s;
    transition-property: opacity, transform;
    transition-timing-function: ease, cubic-bezier(.58,0,.44,1.32);
    pointer-events: none;
    z-index: 1;
}
.main_img_wrap::before{
    background-image: url('./Dup/img/bg_img3.png');
    left: -50px;
    top: -50px;
    transform: translate(-50px, -50px);
}
.main_img_wrap::after{
    background-image: url('./Dup/img/bg_img4.png');
    right: -50px;
    bottom: -50px;
    transform: translate(50px, 50px);
}
.main_img_wrap.active::before, .main_img_wrap.active::after{
    opacity: 1;
    transform: none;
}

.img-container:before{
    background-color: var(--color1)!important;
}

#top_cms, .all_page{
    background-color: var(--base);
}

#con{
    background-image: url('./Dup/img/bg_img9.png'), url('./Dup/img/bg_img10.png'), url('./Dup/img/bg_img5.png'), url('./Dup/img/bg_img6.png');
    background-size: 600px, 600px, 600px, 800px;
    background-position: top left, top right, right bottom, top left;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat-x;
}
#con .con_wrap .koma {
    pointer-events: none;
    z-index: 2;
    top: 0;
    left: 60px;
    transform: translate(-35px, 6px);
    transition: top 0.3s;
}
#con .con_wrap::before{
    pointer-events: none;
    position: absolute;
    content: "";
    width: 30px;
    height: calc(100% - 100px);
    top: 100px;
    left: 60px;
    background-image: linear-gradient(to bottom, var(--color1) 50%, var(--color1s) 50%);
    background-size: 100% 80px;
    z-index: 1;
}
#con .con_box{
    box-shadow: 5px 5px 0 var(--color4);
}
#con .con_box::before{
    pointer-events: none;
    position: absolute;
    content: "";
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: 50px;
    left: 60px;
    border: solid 2px var(--color1s);
    background-color: #fff;
    transform: translate(-18px, 0);
    z-index: 1;
}
#con .con_box2 .con_anim{
    top: -40px;
    right: -20px;
}
#con .con_box2 .con_anim .con2_anim1{
    top: 0;
    right: 0;
}
#con .con_box2 .con_anim .con2_anim2{
    top: 10px;
    right: -40px;
}
#con .con_box2.active .con_anim .con2_anim1{
    animation: saikoro1 0.25s linear forwards 2;
}
#con .con_box2.active .con_anim .con2_anim2{
    animation: saikoro1 0.5s linear forwards 1;
}
#con .con_box2 .con_anim .con2_anim1 img{
    transition: transform 1s;
}
#con .con_box2 .con_anim .con2_anim2 img{
    transition: transform 1s;
}
#con .con_box2.active .con_anim .con2_anim1 img{
    transform: translate(-100%, 20%) rotate(-360deg)
}
#con .con_box2.active .con_anim .con2_anim2 img{
    transform: translate(-60%, 50%) rotate(-360deg)
}
@keyframes saikoro1 {
    0%  { transform: translateY(0%)}
    5%  { transform: translateY(-15%)}
    10% { transform: translateY(-30%)}
    20% { transform: translateY(-25%)}
    50% { transform: translateY(-60%)}
    80% { transform: translateY(-25%)}
    90% { transform: translateY(-30%)}
    95% { transform: translateY(-15%)}
    100%{ transform: translateY(0%)}
}

#con .apply_banner{
    z-index: 1;
}

.con_more{
    border: solid 1px var(--color4);
    box-shadow: 5px 5px 0 var(--color4);
}
.con_more:hover{
    box-shadow: 0 0 0 var(--color4);
}
.pop_box{
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    top: 0;
    left: 0;
    z-index: 10000;
    background-color: rgba(234,232,228,0.9);
    overflow-y: scroll;
}
.pop_box.active{
    opacity: 1;
    pointer-events: auto;
}
.pop_box .close{
    width: 40px;
    height: 40px;
    right: 0;
    top: 0;
    background-color: var(--color1s);
}
.pop_box .close::before, .pop_box .close::after{
    position: absolute;
    content: "";
    width: 15px;
    height: 1px;
    background-color: #fff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.pop_box .close::before{
    transform: rotate(45deg);
}
.pop_box .close::after{
    transform: rotate(-45deg);
}
.pop_item{
    background-image: url('./Dup/img/bg_img11.png');
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: top right;
    border: solid 1px var(--black);
    box-shadow: 5px 5px 0 var(--black);
}

#top_cms{
    position: relative;
}
#top_cms:before{
    display: none;
}
#top_cms::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    left: 0;
    top: -30px;
    background-image: url(./Dup/img/bg_img.png);
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    z-index: 1;
}
#top_cms .top_cms_box{
    padding-bottom: 0;
}
#top_cms .top_cms_box:before{
    display: none;
}
#top_cms .cms_title{
    text-align: center;
}
#top_cms .cms_title p:first-of-type{
    padding-top: 35px;
    background-image: url('./Dup/img/bg_img7.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 150px;
}

.more_box .more{
    transition: 0.3s;
    box-shadow: 5px 5px 0 var(--color1);
}
.more_box .more:hover{
    box-shadow: 0 0 0 var(--color1);
}

.other .other_link_wrap{
    background-color: var(--base);
    padding: 0 10%;
}
.other .box{
    overflow: inherit;
    border: none;
    background-color: transparent!important;
}
.other .box:first-of-type{
    padding-right: 10px;
}
.other .box:last-of-type{
    padding-left: 10px;
}
.other .box a{
    overflow: hidden;
    border: solid 1px var(--black);
    box-shadow: 5px 5px 0 var(--black);
    display: block;
    transition: 0.3s;
    background-color: var(--color2);
}
.other .box a:hover{
    background-color: var(--black);
}
.other .box figure{
    transition: transform 1s;
    opacity: 0.2;
}
.other .box:hover figure{
    opacity: 0.2;
}
.other .box a:hover figure{
    opacity: 0.5;
    transform: scale(1.1);
}
.other .box_title2{
    color: var(--color1s);
}
.other .box_title{
    margin-bottom: 0;
}
.other .box_title:before{
    display: none;
}

.all_page:before{
    display: none;
}

#page_title{
    padding-top: 0;
}
#page_title::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    left: 0;
    bottom: 0;
    background-image: url(./Dup/img/bg_img.png);
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    z-index: 1;
}
#page_title .page_title_box{
    width: 100%;
    margin-left: 0;
    text-align: center;
}
#page_title .page_title_box:before {
    display: none;
}
#page_title .page_title_box p{
    padding-right: 0;
    color: var(--black);
}
#page_title .page_title_box p:first-of-type{
    text-shadow: 3px 3px 0 var(--color1);
}
#page_title .page_title_box p:last-of-type{
    padding-bottom: 0;
}
#page_title #title_img{
    width: 100%;
    background-color: var(--color4);
}
#page_title .img-container.active .img-container_img{
    opacity: 0.3!important;
}
#page_title .img-container::after{
    display: none;
}

.cate_list{
    border-bottom: none;
}
.cate_list li{
    width: auto;
    margin: 0 10px 20px;
    font-size: 14px;
}
.cate_list li a{
    padding: 10px 20px;
    background-color: var(--color2);
    border: solid 1px var(--color4);
    box-shadow: 5px 5px 0 var(--color4);
}
.cate_list li a::before{
    color: currentColor!important;
}
.cate_list li a:hover{
    color: var(--color1s);
    box-shadow: 0 0 0 var(--color4);
}

#cms_3-g .cate_item, .cms_3-g .box_wrap, .cms_2-g .box_wrap, #cms_2-f .cate, .cms_2-f .box_wrap{
    border: solid 1px var(--black);
    box-shadow: 5px 5px 0 var(--black);
    border-radius: 0;
}

#cms_3-g .box_item, .cms_3-g .box_item{
    padding-left: 0;
    padding-right: 0;
    position: relative;
}
#cms_3-g .box_item::before, .cms_3-g .box_item::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    border-bottom: dashed 1px var(--black);
    left: 0;
    top: 0.75em;
}
#cms_3-g .box_title1, .cms_3-g .box_title1{
    position: relative;
    line-height: 1.5;
}
#cms_3-g .box_title1 .title_item, .cms_3-g .box_title1 .title_item{
    z-index: 1;
}
#cms_3-g .box_title1 .border, .cms_3-g .box_title1 .border{
    width: 100%!important;
    position: absolute;
    top: 0.75em;
    left: 0;
}

.pager li{
    margin: 0 10px!important;
}

.sns_box{
    padding: 50px;
    background-color: var(--base);
}

footer::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    left: 0;
    top: 0;
    background-image: url(./Dup/img/bg_img2.png);
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    z-index: 1;
}


/** tablet 1000 **/
@media screen and (max-width: 1000px){
    main{
        margin-top: 0!important;
    }
}


/** tablet 780 **/
@media screen and (max-width: 768px){
.main_wrap{
    margin-top: 100vw;
    padding-top: 0;
}
.main_img_wrap {
    height: calc(100vw - 40px);
}
.main_img_wrap::before, .main_img_wrap::after{
    width: 60vw;
    height: 60vw;
}
.main_img_wrap::before{
    left: -10vw;
    top: -10vw;
}
.main_img_wrap::after{
    right: -10vw;
    bottom: -10vw;
}
#con{
    background-size: 50%, 50%, 70%, 500px;
}
#con .con_wrap .koma{
    left: 35px;
    transform: translate(-35px, -16px);
}
#con .con_wrap::before {
    height: calc(100% - 80px);
    top: 80px;
    left: 35px;
}
#con .con_box::before{
    top: 30px;
    left: 35px;
}
#top_cms::after, #page_title::before, footer::before{
    height: 20px;
}
#top_cms::after{
    top: -20px;
}
.other .other_link_wrap{
    padding: 0 5%;
}
.pop_item{
    background-size: 80%;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#con .con_wrap .koma{
    left: 20px;
}
#con .con_wrap::before {
    left: 20px;
}
#con .con_box::before{
    left: 20px;
}
#con .con_box{
    padding-left: 80px;
}
#top_cms::after, #page_title::before, footer::before{
    height: 10px;
}
#top_cms::after{
    top: -10px;
}
.other .box:first-of-type{
    padding-right: 0;
    margin-bottom: 20px;
}
.other .box:last-of-type{
    padding-left: 0;
}
.other .box a{
    overflow: hidden;
    border: solid 1px var(--black);
    box-shadow: 5px 5px 0 var(--black);
    display: block;
    transition: 0.3s;
    background-color: var(--color2);
}
.other .box a:hover{
    background-color: var(--black);
}
.other .box figure{
    transition: transform 1s;
    opacity: 0.2;
}
.other .box:hover figure{
    opacity: 0.2;
}
.other .box a:hover figure{
    opacity: 0.5;
    transform: scale(1.1);
}
.other .box_title2{
    color: var(--color1s);
}
.other .box_title{
    margin-bottom: 0;
}
.other .box_title:before{
    display: none;
}
#page_title .page_title_box p:first-of-type{
    font-size: 28px;
    letter-spacing: 3px;
}
.cate_list li{
    width: 100%;
    margin: 0 0 20px;
}

}