/*
Theme Name: habakiri-child-mkm
Description: Habakiri の子テーマです
Author: T Mikami
Version: 1.0.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Template: habakiri
*/


/* ===== Basic design Styles ================================================== */

body {
    background: #fff;
    /* font-family: 'AxisStd-Light', Quicksand, 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; */
    /* font-family: "Avenir Next", Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, Osaka, sans-serif; */
    font-size: 16px;
    line-height: 1.8;
    color: #454f54;
}

a,
a:hover,
a:active,
a:visited {
    text-decoration: none;
    overflow: hidden;
    outline: none;
}


/* ===== Bootstrap custom ======================================================== */

@media (min-width: 1600px) {
    .container {
        /* width: 1570px; */
    }
}


/* ===== habakiri custom ========================================================= */

.site-branding {
    padding-top: 10px;
    padding-bottom: 10px;
}

.section {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.breadcrumbs {
    margin-bottom: 3px;
}

.copyright {
    background-color: #3dbc6d;
    color: #fff;
    text-align: center;
}

.footer-widget-area {
    padding: 25px 0px 25px;
}

#header {
    z-index: 5;
}

@media screen and (max-width: 991px) {

    h1,
    .h1 {
        font-size: calc(33px / 3 * 2);
    }

    h2,
    .h2 {
        font-size: calc(28px / 3 * 2);
    }

    h3,
    .h3 {
        font-size: calc(24px / 3 * 2);
    }

    h4,
    .h4 {
        font-size: calc(18px / 3 * 2);
    }

    h5,
    .h5 {
        font-size: calc(14px / 3 * 2);
    }

    h6,
    .h6 {
        font-size: calc(12px / 3 * 2);
    }

    p,
    .p {
        font-size: calc(16px / 3 * 2);
    }
}


/* ===== Table Design ============================================================ */

.product_price_table {
    width: 100%;
    border-collapse: collapse;
    margin: 10% 0% 15% 0%;
}

.product_price_table th {
    padding: 10px;
    color: #ffffff;
    background-color: #3dbc6d;
    border: 1px solid #454f54;
    text-align: center;
}

.product_price_table td {
    padding: 10px;
    border: 1px solid #454f54;
    text-align: center;
}

.company_table {
    width: 70%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}

.company_table th {
    width: 20%;
    padding: 10px;
    vertical-align: top;
    color: #ffffff;
    background-color: #3dbc6d;
    border: 1px solid #454f54;
    text-align: center;
}

.company_table td {
    padding: 10px;
    border: 1px solid #454f54;
    text-align: center;
}

.access_table {
    width: 100%;
    border-collapse: collapse;
    margin: 10% 0% 15% 0%;
}

.access_table th {
    padding: 10px;
    color: #ffffff;
    background-color: #3dbc6d;
    border: 1px solid #454f54;
    text-align: center;
}

.access_table td {
    padding: 10px;
    border: 1px solid #454f54;
    text-align: center;
}

.general_table {
    width: 100%;
    border-collapse: collapse;
}

.general_table th {
    padding: 10px;
    color: #ffffff;
    background-color: #3dbc6d;
    border: 1px solid #454f54;
    text-align: center;
}

.general_table td {
    padding: 10px;
    border: 1px solid #454f54;
    text-align: center;
}

.general_table .gr_even {
    background-color: #f3fcf7;
}

.general_table .gr_odd {
    background-color: #e7f8ee;
}


/* ===== Image Design ============================================================ */

img {
    border-radius: 2px;
}

.scale-img {
    overflow: hidden;
}

div.scale-img {
    display: block;
}

.scale-img * img {
    -moz-transition: -moz-transform 0.2s ease-in-out;
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    -o-transition: -o-transform 0.2s ease-in-out;
    -ms-transition: -ms-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
}

.scale-img * img:hover {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}


/* ===== Button Design =========================================================== */

.m_btn button {
    background-color: #3dbc6d !important;
    background-image: none !important;
    border: none !important;
    color: #ffffff !important;
}

.m_btn button:hover {
    opacity: .4;
}

.m_btn a {
    background-color: #3dbc6d !important;
    background-image: none !important;
    border: none !important;
    color: #ffffff !important;
}

.m_btn a:hover {
    opacity: .4;
}

#submit_btn {
    background-color: #3dbc6d;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
    padding: 14px 20px;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

#submit_btn:hover {
    opacity: .4;
}


/* ===== Side-bar design Styles ================================================== */

.sidebar {
    margin-top: 0px;
    padding: 5% 2%;
    width: 200px;
    text-align: center;
}

@media (max-width: 991px) {
    .sidebar {
        display: none;
    }
}

.sidebar .widget_nav_menu .sub-menu {
    display: none;
}

.sidebar .widget_nav_menu .menu-item {
    padding: 15px 5px 15px 5px;
    margin: 0px;
    font-size: 0.95em;
}

.sidebar .widget_nav_menu .menu-item:hover {
    background-color: #3dbc6d;
}

.sidebar .widget_nav_menu .menu-item:hover>a {
    color: #ffffff;
}

.sidebar .widget_nav_menu .menu-item:hover>* a {
    color: #ffffff;
}

.sidebar .widget_nav_menu .sub-menu .menu-item {
    padding-bottom: 0px;
}

.sidebar .widget_nav_menu a {
    font-size: medium;
    color: #454f54;
}


/* ===== Contact Us ============================================================== */

.wpcf7-form span.required {
    color: #aa0000;
    font-size: smaller
}

.wpcf7-form input {
    width: 100%
}

.wpcf7-form textarea {
    width: 100%
}

.wpcf7-form p.submit {
    text-align: center
}

.wpcf7-form .wpcf7-submit {
    width: 50%
}

.wpcf7-list-item input {
    width: initial;
}

/* ===== Yes No ================================================================== */

.yesno {
    height: 300px;
    position: relative;
    text-align: center;
    border: dashed 1px #454f54;
    border-radius: 5px;
    padding: 20px 0px;
}

.yesno .yesno_div {
    list-style: none;
    float: left;
    text-align: center;
    display: block;
    line-height: 160px;
}

.positionFit {
    position: absolute;
    left: 0px;
}

.yesno_btn {
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 28px;
    margin: 10px;
    display: block;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.yesno_btn:hover {
    opacity: .4;
    color: #ffffff;
}

.yes_btn {
    background-color: #3dbc6d;
}

.no_btn {
    background-color: #fd4040;
}

.return_btn {
    background-color: #3d60bc;
    line-height: 80px;
}


/* ===== Graphics ================================================================ */

#triangleDown {
    width: 0;
    height: 0;
    border-right: 40px solid transparent;
    border-left: 40px solid transparent;
    border-top: 25px solid #3dbc6d;
}

.triangleDown {
    width: 0;
    height: 0;
    border-right: 40px solid transparent;
    border-left: 40px solid transparent;
    border-top: 25px solid #3dbc6d;
}

/* ===== Video =================================================================== */

.wp-video {
    margin: 0px auto;
}


/* ===== Map ===================================================================== */

#map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}


/* ===== page-to-top ============================================================= */

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
}

#page-top a {
    background: #3dbc6d;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
    text-decoration: none;
    color: #fff;
    width: 45px;
    height: 45px;
    padding: 3px;
    text-align: center;
    display: block;
    border-radius: 50px;
}

#page-top a:hover {
    border-style: none;
    background: #a6e1bc;
}

#page-top-arrow {
    font-size: 45px;
    position: relative;
    top: -5px;
}

/* ===== fmt ===================================================================== */
/* 編集中 */
.no_p p {
    display: inline;
}

/* 編集中 */
.head3_text {
    display: inline;
}

/* 編集中 */
.text_red {
    color: red;
}

/*cookie*/
#cookie-notice #cn-accept-cookie {
    display: initial;
}

.cookie-btn {
    background-color: #3dbc6d;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    text-decoration: none;
}

a.cookie-btn:hover {
    background-color: #ffffff;
    border-color: #3dbc6d;
    color: #3dbc6d;
    text-decoration: none;
}

#cn-close-notice {
    display: none;
}