@charset "UTF-8";
@media screen and (max-width: 780px) {
  html {
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow-x: hidden;
  }
  body {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    font-size: 16px;
  }
  body.on {
    height: 100%;
    overflow: hidden;
  }
  header {
    position: relative;
    z-index: 100;
  }
  header .header_wrap {
    width: auto;
    height: 60px;
    padding: 10px;
    box-sizing: border-box;
  }
  header .header_wrap #btn_menu {
    width: 40px;
    height: 40px;
    background: #0c9c80 url(../img/icon_menu.svg) no-repeat top left;
    background-size: 100% auto;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
  }
  header .header_wrap #btn_menu.on {
    background-position: bottom left;
  }
  header .header_wrap .logo {
    position: relative;
    top: 0;
    left: 0;
  }
  header .header_wrap .logo a {
    display: inline-block;
  }
  header .header_wrap .logo a img {
    width: 250px;
  }
  header .header_wrap .btn_brown,
  header .header_wrap .g_nav {
    display: none;
  }
  /* スマホ用メニュー */
  #sp_g_nav {
    position: absolute;
    display: block;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100svh - 60px);
    background: #fff;
    overflow-y: scroll;
    z-index: 99;
    transform: translateX(100vw);
    transform: translateX(100svw);
    transition: transform 0.5s ease-in-out;
  }
  #sp_g_nav.on {
    transform: translateX(0);
  }
  #sp_g_nav ul {
    list-style: none;
  }
  #sp_g_nav ul li {
    border-bottom: solid 1px #d2bb92;
  }
  #sp_g_nav ul li strong {
    display: block;
    padding: 15px 15px 0;
    color: #0c9c80;
    font-weight: bold;
  }
  #sp_g_nav ul li ul.child {
    padding-left: 15px;
  }
  #sp_g_nav ul li ul.child li:last-child {
    border-bottom: none;
  }
  #sp_g_nav ul li a {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 15px;
    color: #7d7d7d;
    font-weight: bold;
    text-decoration: none;
    background: url(../img/common/ico_arrow01.png) no-repeat center right 15px;
  }
  .btn_page_top {
    z-index: 98;
  }
  .content_wrap {
    min-width: 0;
    margin-bottom: 20px;
    background-position: center top;
    background-size: 200% auto;
  }
  .page_top h1 {
    height: 80px;
    background-position: left center !important;
    background-size: auto 6.7605633803svw !important;
  }
  .page_top,
  .content {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page_top {
    margin-bottom: 0;
  }
  /* パンくず */
  .topicpath {
    background: #fff;
    padding-bottom: 10px;
  }
  .content .side,
  .content .main {
    float: none;
    width: 100%;
    box-sizing: border-box;
  }
  .content .main {
    padding: 15px;
  }
  .calendar {
    margin: 20px 0 40px;
  }
  ul.newsList li {
    padding: 16px 0 0;
  }
  .topicpath ul li span,
  .topicpath ul li a {
    font-size: 14px;
  }
  ul.newsList li a .text {
    padding-left: 0;
  }
  /* 書式ダウンロード */
  #m_download .dlList {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 15px;
  }
  #m_download .dlList tr,
  #m_download .dlList th,
  #m_download .dlList td {
    width: auto;
    display: block;
    padding: 0;
    border-bottom: 0;
    text-align: left;
  }
  #m_download .dlList tr {
    border-bottom: 1px dotted #d2bc93;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  /* side menu */
  .content .side {
    margin-bottom: 20px;
  }
  .content .side dl,
  #login_area {
    box-shadow: none;
  }
  .content .side dl dd ul {
    list-style: none;
  }
  .content .side dl dd ul li br {
    display: none;
  }
  .content .side dl dt {
    padding: 10px;
  }
  .content .side dl dd ul li a {
    display: flex;
    align-items: center;
    line-height: none;
    padding: 10px 0 10px 31px;
  }
  .content .contentIn {
    padding: 15px;
  }
  #m_single .news_single .date {
    text-align: left;
  }
  /* 備蓄検索 */
  .time_list > p {
    flex-direction: column;
    margin-top: 15px;
    margin-bottom: 5px;
    padding-top: 15px;
  }
  .time_list > p span {
    padding-top: 5px;
    text-align: right;
  }
  .time_list .head {
    display: none;
  }
  p input[type=text] {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .result table tr,
  .result table th,
  .result table td {
    display: block;
  }
  .time_list li table tr td:first-child {
    width: auto !important;
    font-size: 14px;
  }
  .time_list li table tr td:first-child::before {
    content: "最終更新日：";
  }
  .stock_search p.text1 {
    margin: 10px 0;
  }
  /* デットストック検索 */
  #pharmacy_head > div {
    flex-direction: column;
  }
  #pharmacy_head .date {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 5px;
  }
  .acf-form-area div {
    flex-direction: column;
    align-items: flex-start;
  }
  .acf-form-area div p {
    order: 2;
  }
  .btn_how_to {
    order: 1;
    margin-left: auto;
    font-size: 14px;
  }
  .stock_medicine_list li {
    padding: 10px 0;
  }
  #deadstock_form div {
    flex-direction: column;
    align-items: flex-start;
  }
  #m_deadstock #commentform {
    display: block;
    width: 100%;
  }
  #deadstock_form strong {
    order: 2;
  }
  #m_deadstock .comment-form-comment,
  #m_deadstock #comment {
    width: auto;
  }
  #m_deadstock #comment {
    width: 100%;
  }
  .comment-form-expiry,
  .comment-form-attachment__label {
    display: flex;
    flex-direction: column;
  }
  input[type=file] {
    width: 100%;
    padding: 5px 6px 6px;
    box-sizing: border-box;
    border-radius: 2px;
    border: 1px solid #bbbbbb;
    outline: none;
    background: #fff;
  }
  /* footer */
  footer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  footer p,
  footer .btn_brown {
    position: relative !important;
    top: auto;
    left: auto;
  }
  footer .btn_brown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px 0;
    gap: 10px;
  }
  footer .btn_brown a {
    margin-left: 0 !important;
  }
  footer .copyright {
    order: 3;
  }
  .bg_beige {
    padding-bottom: 80px;
  }
  /* モーダル表示 */
  #modal {
    padding: 60px 16px 16px;
    box-sizing: border-box;
  }
  #modal .modal_wrap {
    max-width: 100%;
    max-height: 100%;
  }
  #modal .modal_wrap .btn_close {
    top: -40px;
    right: 0;
    border-radius: 4px;
  }
}/*# sourceMappingURL=sp_style.css.map */