@charset "utf-8";

/* 画面サイズが900px以下の場合に適用 */

/*共通
---------------------------------------------------*/
@media only screen and (max-width: 900px) {
  html,
  body,
  div,
  span,
  applet,
  object,
  iframe,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  blockquote,
  pre,
  a,
  abbr,
  acronym,
  address,
  big,
  cite,
  code,
  del,
  dfn,
  em,
  img,
  ins,
  kbd,
  q,
  s,
  samp,
  small,
  strike,
  strong,
  sub,
  sup,
  tt,
  var,
  b,
  u,
  i,
  center,
  dl,
  dt,
  dd,
  ol,
  ul,
  li,
  fieldset,
  form,
  label,
  legend,
  table,
  caption,
  tbody,
  tfoot,
  thead,
  tr,
  th,
  td,
  article,
  aside,
  canvas,
  details,
  embed,
  figure,
  figcaption,
  footer,
  header,
  hgroup,
  menu,
  nav,
  output,
  ruby,
  section,
  summary,
  time,
  mark,
  audio,
  video {
    font-size: 100%;
    line-height: 1.4em;
  }

  body {
    padding-top: 66px;
  }

  /*見出し
---------------------------------------------------*/
  .midashi {
    margin-bottom: 10px;
    background-image: none;
    height: auto;
    display: block;
    max-width: 100%;
  }

  .midashi h2,
  .midashi02 h2 {
    font-size: 1.1rem;
  }

  /*縦書き解除
/------------------------------------------------------------*/
  .tate_smp_r {
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: lr-tb;
    writing-mode: horizontal-tb;
    -moz-font-feature-settings: "vkrn", "vpal";
    -webkit-font-feature-settings: "vkrn", "vpal";
    font-feature-settings: "vkrn", "vpal";
  }

  /*flexbox解除
---------------------------------------------------*/
  .row {
    display: block;
  }

  /*.main
---------------------------------------------------*/
  .main {
    display: block;
  }

  .right aside {
    max-width: 100%;
  }

  /*.anchor
---------------------------------------------------*/
  .anchor {
    margin-top: -70px;
    padding-top: 70px;
  }

  /* 共通リンク
---------------------------------------------------*/
  .link01 {
    text-align: center;
    display: block;
    background-color: #b93737;
    color: #fff;
    font-size: 1.1rem;
    padding: 10px 50px;
    letter-spacing: 2px;
  }

  /*nagare
---------------------------------------------------*/
  .common_nagare .pc {
    display: none;
  }

  .common_nagare .smp {
    display: block;
  }

  /*共通バナー
---------------------------------------------------*/
  .common_bnr {
    display: block;
    margin-bottom: 10px;
  }

  .common_bnr a {
    max-width: 100%;
    height: 125px;
    margin-bottom: 20px;
    padding-top: 45px;
  }

  .common_bnr a span {
    font-size: 1.6rem;
  }

  /*メニュー
---------------------------------------------------*/
  .toggle {
    display: inline-block;
    height: 54px;
    width: 57px;
    position: absolute;
    top: 0;
    right: 0;
  }

  .toggle a {
    color: #fff;
    padding-left: 0px;
    padding-top: 15px;
    display: block;
    text-align: center;
    position: relative;
    height: 66px;
    background-color: #9c8b5b;
  }

  .toggle .css-bar {
    display: inline-block;
    position: relative;
    margin: 0px 0px 3px 0;
    padding: 0;
    background: #fff;
  }

  .toggle .css-bar,
  .css-bar:before,
  .css-bar:after {
    width: 39px;
    height: 4px;
    position: absolute;
    left: 11px;
    top: 25px;
  }

  .toggle .css-bar:before,
  .css-bar:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    background: #fff;
  }

  .toggle .css-bar:before {
    margin-top: -10px;
  }

  .toggle .css-bar:after {
    left: 0;
    top: 8px;
  }

  .toggle a span.ham_t {
    letter-spacing: 1px;
    font-size: 18px;
  }

  .toggle .txt {
    display: inline-block;
    margin-top: 25px;
    font-size: 0.8rem;
    letter-spacing: 0;
  }

  #menu,
  #smp_menu {
    margin-top: 0;
    background-color: #fff;
    background-image: none;
    height: auto;
    display: none;
    padding-top: 0;
    -webkit-padding-bottom: 0;
    -moz-padding-bottom: 0;
    -ms-padding-bottom: 0;
    -o-padding-bottom: 0;
    padding-bottom: 0;
    top: 66px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 100;
  }

  #menu ul,
  #smp_menu ul {
    height: 450px;
  }

  #menu ul li,
  #smp_menu ul li {
    height: 50px;
  }

  header .head_wrapper nav ul li {
    width: 100%;
    margin-left: 0;
  }

  header .head_wrapper nav ul li a {
    width: 100%;
  }

  header .head_wrapper nav ul li a .en {
    display: none;
  }

  header .head_wrapper .head_r {
    text-align: center;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
  }

  #menu ul li:nth-child(1),
  #smp_menu ul li:nth-child(1),
  #menu ul li:nth-child(2),
  #smp_menu ul li:nth-child(2),
  #menu ul li:nth-child(3),
  #smp_menu ul li:nth-child(3),
  #menu ul li:nth-child(4),
  #smp_menu ul li:nth-child(4),
  #menu ul li:nth-child(5),
  #smp_menu ul li:nth-child(5),
  #menu ul li:nth-child(6),
  #smp_menu ul li:nth-child(6),
  #menu ul li:nth-child(7),
  #smp_menu ul li:nth-child(7),
  #menu ul li:nth-child(8),
  #smp_menu ul li:nth-child(8),
  #menu ul li:nth-child(9),
  #smp_menu ul li:nth-child(9) {
    border-bottom: 1px solid #ccc;
    border-right: none;
    border-left: none;
    display: block;
    margin-left: 0;
    width: 100%;
    margin-right: 0;
  }

  #menu ul li a,
  #smp_menu ul li a {
    font-size: 1rem;
  }

  #menu ul li.border,
  #smp_menu ul li.border {
    display: none;
  }

  #menu ul li:nth-child(1) a,
  #smp_menu ul li:nth-child(1) a,
  #menu ul li:nth-child(2) a,
  #smp_menu ul li:nth-child(2) a,
  #menu ul li:nth-child(3) a,
  #smp_menu ul li:nth-child(3) a,
  #menu ul li:nth-child(4) a,
  #smp_menu ul li:nth-child(4) a,
  #menu ul li:nth-child(5) a,
  #smp_menu ul li:nth-child(5) a,
  #menu ul li:nth-child(6) a,
  #smp_menu ul li:nth-child(6) a,
  #menu ul li:nth-child(7) a,
  #smp_menu ul li:nth-child(7) a,
  #menu ul li:nth-child(8) a,
  #smp_menu ul li:nth-child(8) a,
  #menu ul li:nth-child(9) a,
  #smp_menu ul li:nth-child(9) a {
    display: block;
    text-align: center;
    margin: 0px;
    width: 100%;
    height: 50px;
    padding-top: 13px;
    color: #000;
    font-size: 1rem;
  }

  #menu ul li a:hover,
  #smp_menu ul li a:hover {
    border-bottom: none;
  }

  #menu ul li.toggle,
  #smp_menu ul li.toggle {
    display: block;
    width: 100%;
    background-color: #fff;
    height: 50px;
    font-size: 1rem;
    position: absolute;
    top: 450px;
    border-bottom: 1px solid #ccc;
  }

  #menu ul li.toggle a,
  #smp_menu ul li.toggle a {
    color: #000;
    width: 100%;
    padding-top: 12px;
    background-color: #fff;
    height: 50px;
  }

  #menu ul li.toggle a span,
  #smp_menu ul li.toggle a span {
    position: relative;
    display: inline-block;
    right: auto;
    font-size: 1rem;
  }

  /*フッター
---------------------------------------------------*/
  footer {
    padding-top: 40px;
    margin-top: 0;
    text-align: center;
  }

  footer .common_bnr {
    display: block;
  }

  footer nav {
    display: none;
  }

  footer img {
    max-width: 230px;
    height: auto;
    margin-bottom: 1rem;
  }

  footer p {
    font-size: 0.9rem;
  }

  footer a {
    color: #fff;
  }

  footer .right {
    display: none;
  }

  footer p.copy {
    margin-top: 1rem;
    font-size: 1rem;
  }

