﻿@charset "utf-8";

/*
======== context ======================================

Last Updated:20170316
Summary:コンテンツCSS

1.common
2.PC/TB Style
3.SP Style

=======================================================
*/
/* ---------------------    
header
---------------------- */
/* ---------------------    
common
---------------------- */

a:hover {
    text-decoration: none !important;
}

.headerRow {
    background-color: #F4FFDF;
    position: relative;
}

.searchForm .gsc-input-box {
    padding-top: 0;
}

/* headerCenterBlock */
.headerLocalMenuTitleBlock .localMenuTitle {
    font-weight: bold;
}
.headerLocalSubMenuBlock ul li {
    list-style: none;
    text-align: left;
    margin: 5px;
}
.headerLocalSubMenuBlock ul li:before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background: black;
    border: solid 1px black;
    margin-right: 5px;
}

#headerTopBlock .gsc-control-cse {
    background-color: #F4FFDF !important;
    border: none !important;
}

/* ---------------------    
PC/TB Style
---------------------- */
@media print, screen and (min-width: 768px) {

    #headerTopBlock {
        background-color: #F4FFDF;
    }

    .headerForSP {
        display: none;
    }

    /* headerLeftBlock */
    .headerLeftBlock {
        margin: auto 0;
        padding-right: 0px;
        text-align: center;
    }
    .headerLeftBlock img {
        width: 90%;
    }

    /* headerCenterBlock */
    .headerCenterBlock {
        position: static;
        display: table;
    }
    .headerCenterBlock .openSubMenu {
        padding: 18px 0;
        width: 33%;
        text-align: center;
        cursor: pointer;
        position: static;
        display: table-cell;
        vertical-align: middle;
    }
    .headerCenterBlock .openSubMenu .openSubMenuContent {
        border-left: solid 2px black;
        padding: 7px 0;
    }
    .headerCenterBlock .openSubMenu .openSubMenuContent:last-child  {
        border-right: solid 2px black;
        cursor: pointer;
    }
    .headerCenterBlock .openSubMenu .openSubMenuContent i {
        display: block;
    }

    .headerCenterBlock .openSubMenuTitle {
        font-size: 17px;
        font-family: ヒラギノ角ゴ Pro W3;
        color: #4f4946;
        font-weight: bold;
    }
    .headerCenterBlock .openSubMenuContent img {
        width: 18%;
    }

    /* headerCenterRightBlock */
    .headerCenterRightBlock {
        text-align: center;
    }
    .headerCenterRightBlock img {
        width: 55%;
    }
    .headerCenterRightBlock > div {
        white-space: nowrap;
        font-size: 0.7vw;
        padding: 0px;
        cursor:pointer;
        display: flex;
        align-items: center;
    }
    .headerCenterRightBlock > div a,
    .headerCenterRightBlock > div a:hover {
        text-decoration: none;
        color: black;
    }

    /* headerRightBlock */
    .headerRightBlock {
        margin: auto 0;
    }
    .headerRightBlock .headerSubMenuBlock {
        padding: 0px;
        display: flex;
        align-items: center;
    }
    .headerRightBlock a img {
        width: 75%;
    }

    /* headerLocalMenuBlock */
    .headerLocalMenuBlock {
        z-index: 30;
        width: 100%;
        margin: 0px;
        position: absolute;
        top: 76px;
        left: 0;
    }
    .headerLocalMenuTitleBlock {
        padding: 30px;
        background-color: #F4FFDF;
    }
    .headerLocalMenuTitleBlock img {
        width: 1.5vw;
    }
    .headerLocalMenuTitleBlock .localMenuTitle {
        font-size: 20px;
    }
    .headerLocalMenuTitleBlock .localSubTitle {
        font-size: 1vw;
        display: block;
        text-align: left;
        padding-left: 20px;
    }
    .headerLocalMenuTitleBlock .rightBlock {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-end;
    }
    #seisakuSubMenu .headerLocalMenuTitleBlock .localSubTitle {
        padding-top: 8px;
    }
    #jireiSubMenu .headerLocalMenuTitleBlock .localSubTitle {
        line-height: 100%;
    }
    .headerLocalMenuTitleBlock .row {
        width: 90%;
        margin: 0 auto;
        border-bottom: solid 1px black;
    }
    .headerLocalSubMenuBlock {
        background-color: #F4FFDF;
        padding: 30px;
    }

    /* searchFormBlock */
    #searchPart {
        width: 35%;
        margin-left: auto;
    }
    #searchBox {
        display: flex;
        padding-top: 10px;
    }
    #searchBox input[type="submit"]    {
        width: 10%;
    }
}

/* ---------------------    
SP Style
---------------------- */
@media screen and (max-width: 767px) {
    
    #headerTopBlock .container {
        padding: 0px;
        margin: 0px;
        max-width: 100vw;
    }
    .headerRow {
        height: auto;
    }
    .headerCenterBlock,
    .headerRightBox {
        display: none;
    }

    /* headerLeftBlock */
    .headerLeftBlock {
        margin: auto 0;
    }
    .headerLeftBlock img {
        width: 100%;
    }

    /* headerForSP */
    .headerForSP {
        position: static;
    }
    .headerForSP .headerIconForSP  {
        margin: auto 0px;
        padding: 0px;
        height: 80%;
    }
    .headerForSP #openSearch img {
        width: 60%;
    }
    .headerForSP #openMenu img {
        width: 50%;
    }
    #openSearch,
    #openMenu,
    #openMenu .openMenuName {
        text-align: center;
    }
    #openMenu,
    #openMenu .openMenuName {
        text-align: center;
        color: #81a7c0;
    }
    #openMenu .openMenuName {
        font-size: 0.5rem;
    }

    #searchForSP,
    .menuForSP {
        width: 100vw;
        z-index: 30;
        background-color: #F4FFDF;
        position: absolute;
        left: 0;
    }

    #closeSearch,
    #closeMenu {
        text-align: center;
    }
    #closeSearch span,
    #closeMenu span {
        width: 60%;
        color: #ffffff;
        background-color: #a62e29;
        margin-top: 15px;
        display: inline-block;
        border-radius: 3px;
    }

    /* searchForSP */
    #searchForSP {
        width: 100%;
        height: auto;
        padding: 20px;
    }
    #searchPartForSP {
        width: 80%;
        margin: 0 auto;
    }

    /* menuForSP */
    .menuForSP {
        padding: 0px 30px 20px;
    }
    .menuForSP .contentsForSearch .searchText{
        font-size: 12px;
        color: #a62e29;
        font-family: Hiragino Kaku Gothic Pro;
        font-weight: bold;
        padding: 25px 0 0 10px;
    }
    .headerLocalMenuBlock {
        background-color: #ffffff;
        padding: 10px 15px;
        margin: 5px 0;
        border: 1px solid #000000;
    }
    .headerLocalMenuTitleBlock .localMenuTitle {
        font-size: 5vw;
    }
    .localMenu {
        display: none;
    }
    .localMenuTitle {
        display: block;
        margin-bottom: 1px;
    }
    .headerLocalSubMenuBlock {
        height: 0;
        opacity: 0;
        padding: 0 10px;
        visibility: hidden;
    }
    .menuForSP .headerLocalMenuBlock .headerLocalSubMenuBlock > ul {
        padding: 0;
    }
    .localMenu:checked + .localMenuTitle + .headerLocalSubMenuBlock {
        height: auto;
        opacity: 1;
        padding: 10px;
        visibility: visible;
    }
    .localMenu:checked + label.localMenuTitle:after {
        content: "－ ";
        float: right;
    }
    label.localMenuTitle:after {
        content: "＋ ";
        float: right;
    }

    .headerMenuLowBlock {
        font-weight: bold;
        font-size: 14px;
    }
    .headerSMS {
        text-align: center;
    }
    .headerSMS img {
        width: 45px;
    }
    .headerContact {
        text-align: left;
    }
    .headerContact img {
        width: 100%;
        padding-left: 13px;
    }

}
