@charset "UTF-8";

#index {
    background-image: url(../img/index/all.jpg);
    background-repeat: no-repeat;
    background-size: auto 100%;
}

#index .main-index ul li img {
    width: 100%;
}

#index .main-index {
    position: relative;
}

#index .main-index a {
    position: absolute;
    top: 20px;
    left: 15%;
    z-index: 100;
}

#index .right-section {
    padding-top: 30px;
}

#index .right-section ul {
    display: flex;
    justify-content: center;
    grid-column-gap: 2%;
}

#index .right-section ul li {
    list-style-type: none;
    width: 33%;
}

#index .right-section .infomation {
    border: 1px solid #231815;
    border-radius: 10px;
    margin-top: 10px;
    background-color: #fff;
    overflow: hidden;
}

#index .right-section .infomation .info-inner {
    height: 150px;
    display: block;
    overflow-y: scroll;
}

#index .right-section .infomation .info-inner .info-box {
    margin-bottom: 15px;
    display: block;
    padding: 10px;
    box-sizing: border-box;
}

#index .right-section .infomation .info-inner .info-box img {
    width: 40%;
    display: block;
    float: left;
    height: auto;
    border-right: 7px solid #e2cec3;
    padding-right: 10px;
}

#index .right-section .infomation .info-inner .info-box .info-right {
    display: block;
    float: right;
    width: 60%;
    padding-left: 10px;
    height: 100%;
}

#index .right-section .infomation .info-inner .info-box .info-right a {
    color: #111;
    text-decoration: none;
    font-weight: 100;
}

#index .right-section .read {
    display: block;
    margin: 30px 0;
    line-height: 2em;
    font-size: 16px;
}

#index .right-section .rufuran {
    display: block;
    background-color: #fffeee;
    border: 1px solid #f3a9c9;
    border-radius: 10px;
    padding: 25px 10px 10px 10px;
    box-sizing: border-box;
}

#index .right-section .rufuran h3 {
    font-size: 22px;
    text-align: center;
    color: #f3a9c9;
}

#index .right-section .rufuran ul {
    display: block;
    margin-top: 25px;
}

#index .right-section .rufuran ul li {
    width: 47%;
    display: inline-block;
    background-color: #fff;
    border: 1px solid #f3a9c9;
    text-align: center;
    border-radius: 10px;
    padding: 5px 0;
    box-sizing: border-box;
    margin: 0 1% 15px 1%;
}

#index .right-section .rufuran ul li a {
    text-decoration: none;
    color: #898989;
    font-size: 19px;
}

#index .right-section .rufuran ul li a span {
    color: #111;
    display: block;
    font-size: 12px;
}

#index .right-section .rufuran ul li:hover {
    background-color: #f6f6f6;
}

#index .left-section a {
    display: block;
    margin: 20px auto;
    box-sizing: border-box;
}

#index .left-section .left-2 {
    padding-top: 20px;
}

#index #index-footer {
    padding-left: 50px;
}

#index .ameblo-iframe {
    margin: 20px 0;
}

#index .right-section .index-button {
    margin-top: 30px;
}

/************スマホ************/
@media (max-width: 767px) {
    #index {
        background-size: 40% auto;
        background-repeat: repeat-y;
    }

    #index .main-index a {
        left: 0;
        top: -10px;
        width: 80px;
    }

    #index .right-section ul li {
        width: 30%;
    }

    #index .right-section ul li+li {
        margin-left: 4.5%;
    }

    #index .right-section .read {
        background-color: rgba(255, 255, 255, 0.8);
        padding: 10px;
        font-size: 14px;
    }

    #index .right-section .rufuran ul li a {
        font-size: 16px;
    }

    #index #index-footer {
        padding-left: 0;
    }
}

/*************tab*************/
@media only screen and (min-width:768px) and (max-width:1199px) {
    #index {
        background-size: 40% auto;
        background-repeat: repeat-y;
    }

    #index .main-index a {
        left: 0;
        top: 10px;
    }

    #index .right-section .index-button {
        width: 49%;
        float: left;
    }

    #index .right-section ul li+li {
        margin-left: 1.5%;
    }

    #index .right-section .infomation {
        width: 49%;
        float: right;
        margin-top: 0;
    }

    #index .right-section .infomation h3 a img {
        width: 100%;
    }

    #index .ameblo-iframe {
        clear: both;
    }

    #index .right-section .read {
        background-color: rgba(255, 255, 255, 0.8);
        padding: 10px;
        font-size: 14px;
    }

    #index .left-section a {
        width: 70%;
        display: block;
        margin: 30px auto;
    }

    #index .left-section a img {
        width: 100%;
    }
}

/*************PC*************/
@media (min-width: 1200px) {
    #index .right-section {
        width: 50%;
        float: right;
    }

    #index .left-section {
        float: left;
        width: 50%;
    }

    #index .right-section {
        padding-left: 50px;
    }

    #index .left-section {
        padding-top: 20px;
    }

    #index-footer .right-box {
        width: 50%;
        display: block;
        float: right;
    }

    #index .ameblo-iframe {
        clear: both;
        margin: 20px 0;
        display: block;
    }
}