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

.category-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  max-width: 100%;
  line-height: 1.8;
}

.category-menu .category-label {
  margin-right: 8px;
  white-space: nowrap;
}

.category-menu a {
  display: inline-block;
  padding: 0 10px;
  border-right: 1px solid #ccc;
  line-height: 1.4;
  white-space: nowrap;
}

.category-menu a:last-child {
  border-right: none;
}



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

  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;
  }

  h1 {
    font-size: 180%;
    margin: 22px 0 14px;
    line-height: 1.4;
  }

  h2 {
    font-size: 150%;
    margin: 22px 0 14px;
    line-height: 1.4;
  }

  h3 {
    font-size: 125%;
    margin: 20px 0 12px;
    padding: 5px 8px;
    line-height: 1.4;
  }

  h4 {
    font-size: 115%;
    margin: 16px 0 8px;
    line-height: 1.4;
  }

  h5 {
    font-size: 105%;
    margin: 14px 0 6px;
    line-height: 1.4;
  }

  #mainColumn,
  #mainColumn p,
  #mainColumn li,
  #mainColumn td,
  #mainColumn th {
    overflow-wrap: anywhere;
  }

  #mainColumn table {
    max-width: 100%;
  }

  #mainColumn img,
  #mainColumn iframe {
    max-width: 100%;
  }

  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    background: url(../images/shoudanren/siteHeader_bg.jpg) repeat-x;
    border-bottom: 1px solid #d3d3d3;
  }

  DIV#siteHeader {
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    border: 0;
  }

  DIV#siteHeader .headerwrap {
    width: 100%;
    box-sizing: border-box;
  }

  #logo {
    max-width: 100%;
  }

  #header .headerwrap img,
  #siteHeader img {
    max-width: 100%;
    height: auto;
  }

  .header-nav {
    position: static;
    flex: 0 0 auto;
  }

  #menuToggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: none;
    background: #cdd5e3;
    cursor: pointer;
  }

  #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;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    z-index: 1000;
    background: #fff;
    max-height: calc(100vh - 90px);
    overflow-x: hidden;
    overflow-y: auto;
    border-bottom: 16px solid #cdd5e3;
  }

  /* 開いたとき */
  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 .gmenuarea ul li ul {
    display: block !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    margin-top: 0;
    border-top: 1px solid #dddddd;
    max-height: none !important;
    overflow: visible !important;

  }

  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;
  }

  DIV#menu_side DIV.menu1-level1-act A {
    background: #DADFEE url(../images/1107/menu_marker_right.png) 0 50% no-repeat;
  }

  DIV#path {
    padding-left: 0;
  }

  DIV#footer {
    font-size: 14px;
  }

  /* ニュース */
  dl.news-header-list-content dt {
    float: none;
    padding-bottom: 0;
    border-top: 0;
    border-bottom: 0;
  }

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

  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-imagewrap,
  DIV.csc-textpic-imagerow,
  .csc-textpic-image {
    width: 100% !important;
  }

  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;
  }

}

@media screen and (max-width: 428px) {
  DIV#headerMenu {
    top: 58px;
  }
}