﻿:root {
    --color1: #b51b21;
    --gray: #d9ccaf;
}

#wrap{
    min-width: 1280px;
}

.border_color3, .hvr_border_color3:hover {
    border-color: var(--gray);
}

.triangle01 {
    opacity: 0;
}

#top_contents3{
        background-color: var(--color1);
    color: white;
        background-image: url(/files/img/tako_p.png);
    background-position: center;
    background-size: 300px;
}

#mainwrap {
    padding-left: 0;
}

#main_img{
    height: auto;
    max-height: 100%;
    z-index: 0;
    overflow: visible;
    min-height: 600px;
}

#mainwrap:before{
        content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 40%;
    left: 25%;
    background-image: url(/files/img/copy.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50%, -50%) rotate(-10deg);
    transform: translate(-50%, -50%) rotate(-10deg);
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    max-width: 350px;
}

#con_nav ul {
    z-index: 2;
}

#main_img .swiper-container{
        border-radius: 0px 130px 130px 0;
    overflow: hidden;
    height: calc(100vh - 50px);
    max-height: 780px;
        min-height: 750px;
}

.cms1inner{
    max-width: 1280px;
    padding-left: 50px;
    padding-right: 50px;
    box-sizing: border-box;
    border-radius: 20px;
    filter: drop-shadow(0px 0px 20px rgba(100, 100, 100, 0.1));
    position: relative;
    z-index: 1;
}

.cms1inner > img{
        max-width: 450px;
    display: block;
    margin: auto;
    margin-bottom: 20px;
    margin-top: -136px;
    width: 80%;
}

main{
    background-image: url(/files/img/nami.png);
    background-size: 150px;
}

#top_news{
    position: relative;
    padding: 100px 0;
    background-color: transparent;
}

.tako{
        position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    max-width: 1000px;
    animation: Loop 15s ease-in-out infinite;
}



@keyframes Loop {
    0%, 100% { top: -5%;}
    10%, 90% { top: -5%;}
    50% { top: 50%;}
}

#page-top{
        background-color: transparent;
    background-image: url(/files/img/akasi.png);
    background-position: center;
    background-size: contain;
    width: 90px;
    height: 90px;
}

span.attach_bg{
    opacity: 0;
}

#top_news .cms_title{
    text-align: center;
}

#page_title .title_wrap {
    filter: drop-shadow(0px 0px 7px brown);
}

.big_cate_title, .cate_title{
    font-weight: bold;
}

#cms_3-e .cate_box .font_2up{
    font-size: -webkit-calc(1rem + 6px);
    font-size: calc(1rem + 6px);
}

.ayumi .d_flex img{
        border: 2px white solid;
}

.walk{
    max-width: 90px;
    margin-bottom: -30px;
    z-index: 1;
    position: relative;
    animation: walk 25s ease-in-out infinite,  unyo 1.2s ease-in-out infinite;
}

@keyframes walk {
    0%, 100% { left: calc(-5% + 90px);}
    5%, 95% { left: calc(-5% + 90px);}
    50% { left: calc(100% - 90px);}
}

@keyframes unyo {
    0% { transform: scale(2, 0.5);}
    50% { transform: scale(1, 1);}
    100% { transform: scale(2, 0.5);}
}

.fixbnr{
        right: -40px;
    bottom: 40px;
    width: 250px;
    transform-origin: center right;
}

.fixbnr:hover{
    right: 0;
}

.catch{
    display: none;
}

.con3_wrap3 .con3_box3 figure:nth-child(2){
    margin-top: -15%;
}

ul.sp_nav_ul1 li a, ul.sp_nav_ul2 li a{
        color: #311e1f;
    font-weight: bold;
}

#footer_info{
        padding-top: 100px;
    margin-top: -100px;
}

.btn{
        max-width: 300px;
    display: block;
    margin: auto;
    margin-bottom: 50px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#wrap{
    min-width: 100%;
}

#main_img .swiper-container {
    border-radius: 0px 130px 130px 0;
    overflow: hidden;
    height: calc(100vh - 50px);
    max-height: 780px;
    min-height: 750px;
}

.fixbnr {
    left: auto;
}



}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.fixbnr {
    right: -40px;
    bottom: 130px;
    width: 130px;
}

#main_img .swiper-container {
        border-radius: 0px 50px 50px 0;
        overflow: hidden;
        height: calc(70vh - 50px);
        min-height: auto;
    }

#mainwrap:before {
    top: 45%;
    left: 30%;
    max-width: 260px;
    width: 50%;
}

    .mainwrap-r h1 {
        width: 180px;
    }

#top_news {
    padding: 50px 0;
            margin-top: 0;
}

.cms1inner > img {
    margin-top: -65px;
}

    #top_contents1 {
        margin-top: 25px;
    }

.cms1inner {
    padding-left: 20px;
    padding-right: 20px;;
    padding-bottom: 50px;
}

#main_img {
    min-height: 360px;
}

#top_contents1 .con1_img2 {
    right: 50px;
}

#top_contents1 .con1_img2 div {
    background-size: cover;
    background-position: bottom;
}

}