@charset "utf-8";

.main {
    position: relative;
    /*height: 600px;*/
    height: inherit;
    width: 100%;
    background: #fce6cc;
    z-index: 1;
    overflow: hidden;
}

.slider {
    max-width:1240px;
    width: 100%;
	text-align:center;
	margin:0 auto;
	position:relative;
	/*overflow:hidden;*/
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
	z-index:98;
}

.slider::after,
.slider::before {
    content: "";
    display: block;
    height: auto;
    width: 41%;
    position: absolute;
    top:0;
    z-index: 2;
}

.slider::before {
    content: url('../img/top/box_slide_left.svg');
    left: -365px;
}

.slider::after {
    content: url('../img/top/box_slide_right.svg');
    right: -365px;
}

.main .img-welcome {
    position: absolute;
    left: calc(50% - 770px);
    top: 100px;
    width: 380px;
    z-index: 999;
}


@media screen and (max-width: 1240px) {
    .slider::before { left: -20vw }   
    .slider::after { right: -20vw } 
    .main .img-welcome {
        left: -8%;
        top: 2vw;
        width: 33%;
    }
}

.box-news {
    background: url("../img/top/bg_news.png") no-repeat top center;
    background-size: 2000px auto;
    padding: 100px 0 0;
    z-index: 2;
}

.box-news-wrap {
    background:url("../img/top/box_news.svg") no-repeat top center;
    background-size: 1060px auto;
    max-width: 1060px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 0;
    position: relative;
}

.box-news-wrap .img-kirin {
    position: absolute;
    width: 176px;
    height: auto;
    left: 100px;
    top:-480px;
}

@media screen and (max-width: 1240px) {
    .box-news-wrap .img-kirin {
        width: 13%;
        left: 9vw;
        top:-30vw;
    }
}


.box-news h2.tit {
    font-size: 36px;
    color: #000;
    font-weight: 500;
    letter-spacing: 6px;
    text-align: center;
    margin-bottom: 45px;
    padding-bottom: 42px;
    position: relative;
}

.box-news h2.tit::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    display: block;
    height: 6px;
    width: 95px;
    background: #fff;
}

.box-news h2.tit::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 95px);
    display: block;
    height: 6px;
    width: 95px;
    background: #6ec3b4;
}

.box-news-window {
    width: 835px;
    margin: 0 auto;
}

.box-news-window iframe {
    width: 100%;
    height: 380px;
    border: none;
    background-color: transparent;
    overflow: hidden;
}

body.what   {
    background-color: transparent;
    padding: 0;
}

.list-news {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    gap: 20px 85px;
}

.list-news a {
    font-size: 17px;
    text-align: left;
    background-image: repeating-linear-gradient(90deg, #000000, #000000 4px, transparent 4px, transparent 12px);
    background-position: left bottom;
    background-repeat: repeat-x;
    background-size: 100% 1px;
    padding: 0 5px 24px;
    width: 375px;
    display: grid;
    column-count: 2;
}

.list-news a .date {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.box-pickup {
    background:#fce6cc url("../img/top/bg_pickup.svg") no-repeat top center;
    background-size: 2000px auto;
    padding: 256px 0 80px;
    z-index: 1;
    margin-top: -100px;
}

.box-pickup h2 img,
.box-pickup h2 {
    height: 230px;
    text-align: center;
}

.box-pickup .txt {
    font-size: 22px;
    text-align: left;
    line-height: 180%;
    margin: 0 auto 100px;
    position: relative;
    width: 550px;
}

.list-pickup {
    width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 400px;
    gap: 40px 60px;
}

.list-pickup li {
    position: relative;
}

.list-pickup h3 {
    width: 340px;
    position: absolute;
    top:0;
    left: 30px;
    z-index: 2;
}

.list-pickup h3 img {
    width: 100%;
}

.list-pickup a {
    margin: 50px 0 10px;
    display: block;
    height: 280px;
    width: 400px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 20px;
}

.list-pickup a img {
    overflow: hidden;
    position: relative;
    z-index: 2;
    object-fit: cover;
    height: auto;
    width: 400px;
}

.list-pickup a:hover img {
    transform: scale(1.1);
}

.list-pickup a::before {
    content: "";
    display: block;
    width: 400px;
    height: 280px;
    background: #FFF;
    position: absolute;
    left: 0;
    top:0;
    z-index: 1;
}


.box-download {
    padding: 80px 0 0;
    overflow: hidden;
}

.box-download h2.tit {
    font-size: 28px;
    color: #6ec3b4;
    font-weight: 500;
    text-align: center;
    margin-bottom: 45px;
    line-height: 140%;
}

.list-download {
    width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 395px 395px;
    grid-template-rows: 180px 197px;
    gap: 100px 70px;
}

.list-download a {
    display: inline-block;
}

.list-download .bnr-s {
    text-align: left;
}

.list-download .bnr-s:nth-of-type(1) {
    text-align: right;
}

.list-download .bnr-s a img {
    width: 270px;
}


.list-gif {
    width: 860px;
    height: 160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 155px 275px 275px 155px;
    position: relative;
    bottom: 0;
    left: 0;
}

.list-gif li {
    position: relative;
}

.list-gif li:nth-of-type(1),
.list-gif li:nth-of-type(4) {
    padding-top: 8px;
}

.list-gif li:nth-of-type(2),
.list-gif li:nth-of-type(3) {
    padding-top: 60px;
}

.list-gif li img {
    position: absolute;
}

.list-gif li:nth-of-type(1) img,
.list-gif li:nth-of-type(4) img {
    height: 155px;
}

.list-gif li:nth-of-type(2) img,
.list-gif li:nth-of-type(3) img {
    height: 105px;
    right: -40px;
}

.list-gif li:nth-of-type(1) img {
    left: -115px;
    
}

.list-gif li:nth-of-type(4) img {
    right: -44px;
}

/******************************************************/

@media screen and (max-width: 900px) {

    .box-news {
        padding: 33% 5% 0;
        background: url("../img/top/bg_news_sp.png") no-repeat top center;
        background-size: 100% auto;
}
    .box-news-wrap {
        width: 100%;
        background-size: 100% auto;
        padding: 8% 0 8%;
    }
    
    .box-news-wrap::before {
        content: url('../img/top/img_bird.svg');
        right: 13vw;
        bottom: 8vw;
        display: block;
        position: absolute;
        width: 12%;
        z-index: 1;
    }
    
    .box-news h2.tit {
        font-size: 4.6vw;
        margin:0 0 2% 10%;
        padding-bottom: 4%;
        letter-spacing: 0;
    }
    
    .box-news h2.tit::before,
    .box-news h2.tit::after {
        height: 4px;
    }
    
    .box-news h2.tit::before {
        left: 40%;
        width: 10%;
    }
    
    .box-news h2.tit::after {
        left: 50%;
        width: 10%;
    }
    
    .box-news .img-welcome {
        position: absolute;
        left: -7vw;
        top: -62vw;
        width: 70%;
        z-index: 999;
    }
    
    .list-news {
        display: block;
    }
    
    .list-news a {
        font-size: 2.8vw;
        width: 100%;
        padding: 0 0 3%;
        margin-bottom: 2%;
    }
    
    .list-news a .date {
        font-size: 2.4vw;
        margin: 0;
    }
    
    .box-news-wrap .img-kirin {
        width: 23%;
        left:  -4vw;
        top: -12vw;
    }
    
    .box-news-window {
        width: 70%;
        /*height: 35vw;*/
        margin-left: 20%;
        position: relative;
        z-index: 2;
    }
    
    .box-news-window iframe {
        width: 100%;
        height: 33vw;
        overflow-y: scroll;
    }

    
    .box-pickup {
        text-align: center;
        padding: 20% 5% 8%;
        background:#fce6cc url("../img/top/bg_pickup_sp.svg") no-repeat top center;
        background-size: 100% auto;
        margin-top: 0px;
    }

    
    .box-pickup h2 {
        height: auto;
        width: 100%;
    }
    
    .box-pickup h2 img {
        height: auto;
        width: 100%;
    }
    
    .box-pickup h2 {
        margin: 0 auto;
    }
    
    .list-pickup h3 {
        width: 84%;
        left: 8%;
        top: -11vw;
    }
    
    .list-pickup li {
        margin-bottom: 20%;
    }
    
    .list-pickup li:nth-of-type(4) {
        margin-bottom: 0;
    }
    
    .list-pickup a {
        margin: 12% 0 2%;
    }
    .list-pickup a::before,
    .list-pickup a {
        height: auto;
        width: 100%;
    }
    
    .list-pickup a img {
        width: 100%;
    }
    .list-pickup a:hover img {
        transform: scale(1);
    }

    .box-pickup .txt {
        font-size: 2.6vw;
        top: 3vw;
        margin-bottom: 7vw;
        width: 77%;
    }
    
    .img-pickup {
        margin:0 auto 5vw;
        width: 84%;
    }
    
    .list-pickup {
        width: 100%;
        display: block;
    }
    
    .box-download {
        padding: 8% 5% 0;
    }
    .box-download h2.tit {
        font-size: 5vw;
        margin-bottom: 8%;
    }    
    .list-download {
        width: 100%;
        display: block;
    }
    
    .list-download li {
        padding: 0 8%;
        margin-bottom: 12%;
    }
    
    .list-download li:nth-of-type(4) {
        padding: 0;
        margin-bottom: 4%;
    }
    
    .list-download a {
        display: block;
    }
    
    .list-download .bnr-s a img,
    .list-download a img {
        width: 100%;
    }
    
    .list-gif {
        width: 100%;
        display: block;
        height: 100px;
    }
    
    .list-gif li:nth-of-type(1) {
        padding-top: 0;
        position: absolute;
        top: 3px;
        left: 0;
        height: 100px;
        width: 100px;
    }
    
    .list-gif li:nth-of-type(1) img {
        height: 100px;
        left: 0;
    }
    
    .list-gif li:nth-of-type(2) {
        padding-top: 0;
        position: absolute;
        top:30px;
        right: 0;
        height: 75px;
        width: 165px;
    }
    
    .list-gif li:nth-of-type(2) img {
        height: 75px;
        right: 0;
    }
    
    .main {
        height: auto;
        aspect-ratio: 3 / 2;
    }
    
    .slider {
        width: 100%;
    }
    
    .slider::after,
    .slider::before {
        display: none;
    }
    
    .slick-slide {
        object-fit: cover;
        height: auto;
        overflow: hidden;
        width: 100%;
        aspect-ratio: 3 / 2;
    }
    
}


