/* =================================
   スマートフォン対応
================================= */
#menuToggle {
  display: none;
}

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

  DIV#main_content_container {
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
  }

  DIV#print_container {
    position: relative;
    width: 100%;
  }

  DIV#siteHeader {
    height: auto;
  }

  DIV.headerwrap {
    width: 100% !important;
    height: auto;
    /* background-position-y: 98%; */
    background: none;
  }

  DIV.header_right {
    display: none;
    float: none;
  }

  DIV#logo {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
  }

  DIV.gmenuarea {
    width: 100%;
  }

  DIV#wrap {
    width: 100%;
    padding: 0;
  }

  DIV#wrapContent {
    width: 100%;
  }

  DIV#mainWrapper {
    float: none;
    width: 100%;
    padding: 0;
    border-left: 0;
  }

  DIV#mainColumn {
    width: 100%;
    padding: 0;
  }

  DIV#leftWrapper {
    float: none;
    width: 100%;
  }

  DIV#rightColumn {
    float: none;
    width: 100%;
  }

  DIV#content_right {
    width: 100%;
  }

  DIV#menu_side {
    padding: 10px;
    background: #eeeeee;
  }

  DIV#headerbottom {
    width: 100%;
  }

  DIV#path_1 {
    max-width: 100%;
  }

  DIV#path_1 DIV.path_1-menu {
    width: 100%;
  }

  DIV#print {
    padding: 10px;
    min-height: 90px;
  }

  DIV#footer_space {
    max-width: 100%;
  }

  DIV.footer_menu02 {
    width: 100%;
  }

  DIV.footer_contact {
    width: auto;
  }

  DIV.footer_copyright_body {
    max-width: 100%;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  DIV.header-nav {
    position: relative
  }

  #menuToggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: none;
    /* background: transparent; */
    background: #cdd5e3;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    margin-left: auto;
  }

  #menuToggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #333;
    transition: transform 0.2s, opacity 0.2s;
  }

  /* 開いたときに三本線を×に変更 */
  #menuToggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  #menuToggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  #menuToggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* メニューの初期状態：非表示 */
  DIV#headerMenu {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: #fff;
    box-sizing: border-box;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  /* 開いたとき */
  DIV#headerMenu.is-open {
    display: block;
  }

  /* メニューを縦並びにする */
  DIV#headerMenu .gmenuarea,
  DIV#headerMenu ul {
    width: 100%;
    margin: 0;
    padding: 4px;
    list-style: none;
    box-sizing: border-box;
    background: #cdd5e3;
  }

  #headerMenu .gmenuarea>ul>li {
    width: 100%;
    float: none;
    display: block;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
    background: none;
  }

  DIV#headerMenu li a {
    display: block;
    padding: 14px 16px;
    color: #333;
    text-decoration: none;
  }

  /* サブメニュー */
  DIV#headerMenu li ul {
    display: none;
    position: static;
    width: 100%;
    background: #f5f5f5;
  }

  DIV#headerMenu li.parentOn>ul {
    display: block;
  }

  DIV#headerMenu li ul a {
    padding-left: 32px;
  }

  DIV#headerMenu ul li a {
    text-align: left;
  }

  DIV#headerMenu ul li,
  DIV#headerMenu .headerMenu-level1-act {
    padding: 0;
  }

  DIV#headerMenu .headerMenu-level1-act a,
  DIV#headerMenu .headerMenu-level1-act a:hover,
  DIV#headerMenu .headerMenu-level1-act_last a,
  DIV#headerMenu .headerMenu-level1-act_last a:hover {
    font-weight: bold;
    padding: 14px 16px;
    background: #efefef;
  }

  dl.news-header-list-content dt {
    border-top: 1px solid #d5d5d5;
    border-bottom: 0;
  }

  dl.news-header-list-content dd {
    border-top: 1px solid #d5d5d5;
    border-bottom: 0;
  }

  dl.news-header-list-content .news-header-list-categories a {
    white-space: nowrap;
  }

  DIV.csc-textpic-imagewrap,
  DIV.csc-textpic-imagewrap img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  DIV.csc-textpic DIV.csc-textpic-imagecolumn {
    float: none;
    display: inline;
  }

  DIV.csc-textpic DIV.csc-textpic-imagewrap DIV.csc-textpic-image {
    float: none;
  }

  DIV.csc-textpic DIV.csc-textpic-imagewrap UL LI {
    float: none;
    margin: 0;
    padding: 0;
  }

  DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image {
    float: none;
  }

  DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DT {
    float: none;
  }

  DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DD {
    float: none;
  }

  DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DD IMG {
    border: none;
  }

  /* FE-Editing Icons */
  DL.csc-textpic-image {
    margin: 0;
  }

  DL.csc-textpic-image DT {
    margin: 0;
    display: inline;
  }

  DL.csc-textpic-image DD {
    margin: 0;
  }

  DIV.csc-textpic-clear {
    clear: both;
  }

  DIV.csc-textpic-left DIV.csc-textpic-imagewrap .csc-textpic-image,
  DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap .csc-textpic-image,
  DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap .csc-textpic-image {
    display: inline;
    /* IE fix for double-margin bug */
    margin-right: 0;
  }

  DIV.csc-textpic-right DIV.csc-textpic-imagewrap .csc-textpic-image,
  DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap .csc-textpic-image,
  DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap .csc-textpic-image {
    display: inline;
    /* IE fix for double-margin bug */
    margin-left: 0;
  }

  DIV.csc-textpic-center DIV.csc-textpic-imagewrap .csc-textpic-image {
    display: inline;
    /* IE fix for double-margin bug */
    margin-left: 0;
  }

  DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-firstcol {
    margin-left: 0px !important;
  }

  DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-lastcol {
    margin-right: 0px !important;
  }

  DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap,
  DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap {
    margin-right: 0 !important;
  }

  DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap,
  DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap {
    margin-left: 0 !important;
  }


  DIV.csc-textpic-right DIV.csc-textpic-imagewrap {
    float: none;
  }

  DIV.csc-textpic-left DIV.csc-textpic-imagewrap {
    float: none;
  }

  DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap {
    float: none;
  }

  DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap {
    float: none;
  }

  DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap {
    float: none;
    clear: both;
  }

  DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap {
    float: none;
    clear: both;
  }


}