@charset "UTF-8";

/*-----------------------------------------------
common
--------------------------     */

@media only screen and (max-width: 798px) {
    .none_sp,
    .pc {
        display: none !important;
    }
    header {
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        background: rgba(255, 255, 255, .92);
        position: fixed;
        z-index: 100;
    }
    header h1 {
        width: 35%;
        line-height: 70px;
        text-align: left;
        padding: 0 0 0 12px;
        font-size: 24px;
        color: #0b4168;
        font-weight: 100;
        letter-spacing: 3px;
        font-family: 'Athelas Regular';
    }
    header h1 img {
        width: 100%;
    }
    .sp-header {
        width: 100%;
        height: 70px;
        z-index: 100;
        background: transparent;
        position: fixed;
        top: 0;
    }
    .sp-logo {
        width: calc( 100% - 70px);
        text-align: left;
    }
    .sp-logo img {
        height: 40px;
        margin-top: 10px;
        margin-left: 0px;
    }
    div#sp-icon {
        width: 60px;
        height: 60px;
        position: absolute;
        right: 0px;
        top: 0px;
        z-index: 999;
        background: #0164b0;
    }
    div#sp-icon:hover {
        cursor: pointer;
        opacity: 0.7;
    }
    div#sp-icon span,
    div#sp-icon span:before,
    div#sp-icon span:after {
        display: inline-block;
        width: 30px;
        height: 2px;
        background: #000000;
        position: absolute;
        transition-property: transform;
        transition-duration: 0.3s;
    }
    div#sp-icon span {
        left: 50%;
        top: 50%;
        transform: translate( -50%, -50%);
        background: #fff;
    }
    div#sp-icon span:before {
        content: "";
        transform: translateY( -10px) rotate( 0deg);
        background: #fff;
        left: 0;
    }
    div#sp-icon span:after {
        content: "";
        transform: translateY( 10px) rotate( 0deg);
        background: #fff;
        left: 0;
    }
    div.sp-open span {
        background: transparent !important;
    }
    div.sp-open span:before {
        transform: rotate( 45deg) !important;
    }
    div.sp-open span:after {
        transform: rotate( -45deg) !important;
    }
    ul#menu {
        list-style-type: none;
        width: 100%;
        position: absolute;
        left: 0px;
        top: 60px;
        z-index: 990;
        display: none;
        color: #fff;
        xbackground: #A9C1D4;
        background: #276A3D;
    }
    ul#menu li {
        text-align: center;
        border-bottom: 1px dotted #ccc;
    }
    ul#menu li:last-child {
        border: none;
    }
    ul#menu li a {
        text-decoration: none;
        display: block;
        padding: 15px 0;
        color: #5f5f5f;
    }
    ul#menu li a:hover {
        opacity: 0.7;
    }
    .nav-contact a::after {
        content: "";
    }
    .main_wrap {
        display: none;
    }
    .main_wrap_sp {
        display: block;
    }
    .main_wrap img {
        width: 100%;
    }
    /*  ------------------------------------------
main-wrapper
-------------------------------------------- */
    .main-wrapper {
        width: 100%;
    }
    /*  ------------------------------------------
index-about
-------------------------------------------- */
    .index-about-wrapper {
        width: 90%;
        margin: 0 auto 50px;
    }
    .index-ttl img {
        width: 90%;
    }
    .index-about-content {
        flex-direction: column;
        width: 90%;
    }
    #about-youtube {
        width: 100%;
    }
    /*  ------------------------------------------
index-content
-------------------------------------------- */
    .index-content-box {
        width: 100%;
    }
    .content-item li {
        width: 45%;
        padding: 10px;
    }
    /*  ------------------------------------------
index-column
-------------------------------------------- */
    .index-column-box {
        width: 100%;
    }
    .index-column-item {
        justify-content: center;
    }
    /*  ------------------------------------------
index-contact
-------------------------------------------- */
    .contact-box {
        width: 100%;
    }
    .contact-box img {
        width: 70%;
    }
    .content01 {
        width: 95%;
    }
    .modal01 {
        width: 95%;
        left: 30%;
        height: 500px;
        padding-bottom: 15px;
    }
    .modal01 h2 {
        padding-top: 0;
    }
    .modal01 p {
        font-size: 12px;
        line-height: 20px;
        padding: 5px;
    }
    .modal01 img {
        padding: 10px 0 0 0;
        width: 80%;
    }
    .modal02 {
        width: 95%;
        left: 30%;
        height: 600px;
    }
    .modal02 h2 {
        padding-top: 0;
    }
    .modal02 p {
        font-size: 12px;
        line-height: 20px;
        padding: 5px;
    }
    .modal02 img {
        padding: 10px 0 0 0;
        width: 80%;
    }
    .content02 {
        width: 95%;
    }
    .modal__close {
        width: 90%;
    }
    /*  ------------------------------------------
book
-------------------------------------------- */
    .book {
        width: 90%;
    }
    .book img {
        width: 70%;
    }
}