@charset "utf-8";
/*
Theme Name: 株式会社 イプサム
Author: yuta.s
Author URI: https://addone-works.com
Description:株式会社 イプサムのテーマ
version: 1.0.0
*/

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

/*header
-----------------------------------------------------------------------------------------*/
.logo_box {
    height: 80px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999;
}

.logo_box a,
.drawer-logo a {
    display: inline-block;
    height: 100%;
    padding: 10px;
    margin: 10px 5px;
    box-sizing: border-box;
}

.logo_box img,
.drawer-menu img {
    height: 100%;
}

.logo_box a:hover,
.drawer-logo a:hover {
    border: 1px solid rgb(0, 0, 0);
}

.current {
    border: 1px solid rgb(0, 0, 0);
}

.drawer-menu li.drawer-logo {
    height: 80px;
    margin-bottom: 80px;
}

.sp-navigation {
    position: absolute;
    z-index: 999999;
}

button.drawer-hamburger .zen-maru-gothic-bold {
    position: absolute;
    top: 85%;
    left: 28%;
}

/* ドロワーメニューの背景色 */
nav.drawer-nav {
    background: rgb(243, 252, 253);
}

/* ドロワーメニュー開いた時の幅 */
.drawer--right.drawer-open .drawer-nav {
    width: 30%;
}

/* ハンバーガーアイコンのサイズ */
button.drawer-hamburger {
    width: 3%;
}

/* ハンバーガーアイコンの位置 */
button.drawer-hamburger {
    top: 1% !important;
    right: 2% !important;
}

.drawer-menu li {
    margin: 10px 20px;
}

a.drawer-menu-item {
    color: rgba(70, 70, 70, 1);
    font-size: 120%;
}

a.drawer-menu-item:hover {
    color: rgba(70, 70, 70, 1);
    text-decoration: none;
}

a.incle_link:hover {
    border-left: 10px solid rgb(32, 78, 148);
}

a.agri_link:hover {
    border-left: 10px solid rgb(121, 167, 55);
}

a.about_link:hover {
    border-left: 10px solid rgb(17, 77, 87);
}

a.partner_link:hover {
    border-left: 10px solid rgb(32, 148, 166);
}

a.news_link:hover {
    border-left: 10px solid rgb(113, 61, 26);
}

a.mail_link:hover {
    border-left: 10px solid rgb(255, 183, 16);
}

.header_contactbox {
    background-color: rgba(238, 239, 240, 0.6);
    color: rgb(70, 70, 70);
    padding: 15px 25px;
    display: inline-block;
    position: fixed;
    bottom: 1%;
    right: 1%;
    z-index: 99999;
}

.header_contactbox_text {
    font-size: 90%;
}

.header_contactbox .zen-maru-gothic-bold {
    margin-top: 3px;
    font-size: 240%;
}

/*footer
-----------------------------------------------------------------------------------------*/
.footer_img_flex {
    display: flex;
}

.footer_img_flex img {
    padding: 30px;
    box-sizing: border-box;
    max-width: 100%;
}

.copy {
    padding: 10px 0;
    background-color: rgb(186, 219, 224);
}

footer .colorful_inner_box:first-child {
    margin-top: 300px;
}

.footer_flex {
    display: flex;
    justify-content: center;
}

.footer_flex iframe {
    width: 65%;
}

.footer_box {
    padding: 30px 15px;
    box-sizing: border-box;
    width: 35%;
}

.footer_text_top p {
    font-size: 130%;
    margin-bottom: 10px;
}

.footer_text_bottom {
    margin-top: 30px;
}

.footer_text_bottom div {
    margin: 10px 0;
}

.footer_text_bottom a {
    text-decoration: underline;
}

@media screen and (max-width:1023px) {
    .logo_box {
        height: 50px;
    }

    .logo_box a,
    .drawer-logo a {
        padding: 5px;
        margin: 10px 5px;
    }

    .drawer-menu li.drawer-logo {
        height: 50px;
        margin-bottom: 50px;
    }

    button.drawer-hamburger .zen-maru-gothic-bold {
        top: 82%;
        left: 29%;
    }

    /* ドロワーメニュー開いた時の幅 */
    .drawer--right.drawer-open .drawer-nav {
        width: 80%;
    }

    /* ハンバーガーアイコンのサイズ */
    button.drawer-hamburger {
        width: 13%;
    }

    /* ハンバーガーアイコンの位置 */
    button.drawer-hamburger {
        top: 0 !important;
        right: 1% !important;
    }

    .header_contactbox {
        padding: 8px 10px;
        bottom: 0.5%;
        right: 0.5%;
    }

    .header_contactbox_text {
        font-size: 80%;
    }

    .header_contactbox .zen-maru-gothic-bold {
        margin-top: 1px;
        font-size: 150%;
    }

    /*footer
-----------------------------------------------------------------------------------------*/
    .footer_img_flex {
        display: block;
    }

    .footer_img_flex img {
        padding: 0;
    }

    footer .colorful_inner_box:first-child {
        margin-top: 150px;
    }

    .footer_flex {
        display: block;
    }

    .footer_flex iframe {
        width: 100%;
        height: 300px;
    }

    .footer_box {
        padding: 20px;
        box-sizing: border-box;
        width: 100%;
    }
}