@media screen and (max-width:980px) {

/*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
#masthead {
    height: 56px;
    padding: 0 24px;
    justify-content: inherit;
    align-items: center;
    opacity: 1;
    width: -webkit-fill-available;
}
.header_logo {
    width: 138px;
    height: auto;
    margin-top: 10px;
}
.header_sns {
    display: flex;
    align-items: center;
    margin-left: 24px;
}
.header_fb {
    height: 28px;
}
.header_tw {
    height: 23px;
}
.header_insta {
    height: 22px;
}
.header_fb,
.header_tw {
    margin-right: 18px;
}
.header_insta {
    margin-right: 21px;
}
.main-navigation {
    display: none;
}

/*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/
.footer_bar {
    background: #fff;
    height: auto;
    display: block;
}
.scroll {
    margin: 0 0 0 auto;
    width: 60px;
}
.sp_footer_bar_line {
    background-color: #c40012;
    height: 16px;
}
.footer_block {
    flex-direction: column;
}
.footer_logo {
    margin-bottom: 20px;
}
.footer_block_left {
    border-right: none;
    width: 100%;
}
.footer_block .address {
    line-height: 2;
    margin-bottom: 20px;
}
.footer_container {
    padding: 20px 24px 0;
}
.footer_block_right {
    flex-direction: column;
    padding-left: 0;
    width: 100%;
}
.footer_block_right_l {
    height: auto;
    border-top: 1px solid #c40012;
    border-bottom: 1px solid #c40012;
    padding-bottom: 20px;
}
.footer_block_right_l p{
    font-weight: bold;
    padding-top: 20px;
}
.footer_block_right_l a{
    font-weight: normal;
}
.footer_block_right_r{
    padding-left: 0;
    height: auto;
    flex-direction: unset;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
}
.footer_block_bottom {
    display: block;
    text-align: center;
    margin-bottom: 50px;
}
.footer_company_link,
.footer_recruit_link,
.footer_contact_link {
    line-height: 1.2;
}
.footer_company_link {
    border-right: 1px solid #333;
    padding-right: 5px;
}
.footer_recruit_link {
    border-right: 1px solid #333;
    padding: 0 5px;
}
.footer_contact_link {
    padding-left: 5px;
}
.footer_pp_link {
    display: none;
}
.footer_sns {
    margin: 0 auto;
    padding-bottom: 20px;
    width: 150px;
    justify-content: space-around;
}
.footer_sns p{
    display: none;
}
.site-info {
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.site-info p {
    font-size: 11px;
    padding-top: 0px;
}
/*--------------------------------------------------------------
# ハンバーガーメニュー
--------------------------------------------------------------*/
.drawer-hidden {
    display: none;
}
/* ハンバーガーアイコンの設置スペース */
.drawer-open {
    display: flex;
    height: 56px;
    width: 25px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;/* 重なり順を一番上に */
    cursor: pointer;
    margin: 0 0 0 auto;
}
/* ハンバーガーメニューのアイコン */
.drawer-open span,
.drawer-open span:before,
.drawer-open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #c40012;
  transition: 0.5s;
  position: absolute;
}

/* 三本線のうち一番上の棒の位置調整 */
.drawer-open span:before {
  bottom: 8px;
}

/* 三本線のうち一番下の棒の位置調整 */
.drawer-open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer-check:checked ~ .drawer-open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer-check:checked ~ .drawer-open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer-check:checked ~ .drawer-open span::after {
  top: 0;
  transform: rotate(-45deg);
}
/* メニューのデザイン*/
.drawer-content  {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 56px;
    left: 100%;/* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #fff;
    transition: .5s;
}

/* アイコンがクリックされたらメニューを表示 */
    #drawer-check:checked ~ .drawer-content {
    left: 0;/* メニューを画面に入れる */
}
#primary-menu {
    flex-direction: column;
    padding-left: 0;
    width: 100%;
    line-height: 2;
    margin: 0;
}
#primary-menu .menu-item {
    font-size: 18px;
    width: 100%;
    border-bottom: 1px solid #CBCBCB;
    background: #DEE4E7;
    margin-left: 0;
}
#primary-menu .menu-item{
    display: block;
}
#primary-menu .menu-item a {
    display: block;
    padding: 0 20px;
    font-size: 17px;
}
#primary-menu .sub-menu .menu-item a {
    display: block;
    padding: 0 20px;
}
#primary-menu .menu-item-has-children .sub-menu {
    position: inherit;
    top: inherit;
    padding: 0;
    width: 100%;
    display: block;
    left: 0;
}
#primary-menu .menu-item .sub-menu .menu-item {
    border-bottom: none;
    margin-bottom: 0;
    font-size: 18px;
    border-bottom: 1px solid #DEE4E7;
    background-color: #BABABA;
    padding: 0px 20px;

}
#primary-menu .menu-item a:hover::after {
    display: none;
}


.post {
    padding: 0 24px;
    margin: 20px auto;
}
.entry-title {
    font-size: 20px;
    padding-right: 50px;
    margin: 20px 0 36px;
}


}