footer {
  display: none;
}

#head td img,
#head td a img {
  display: block;
}

#head td p {
  margin: 0;
}

.wrapper_95 td img {
  display: block;
}
.totop {
  display: none;
}
footer {
  overflow-x: hidden;
}

.pc_mt10 {
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  /* 768px 以下の画面サイズに適用されるスタイル */
  .sp_none {
    display: none;
  }
  body {
    margin-top: 85px;
  }
  footer {
    display: block;
    background-color: #f6f6f6;
    width: 100%;
  }
  /* 固定幅divを強制上書き */
  div[style*="width:561px"] {
    width: 100% !important;
  }

  /* iframe固定幅を強制上書き */
  iframe {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 744固定テーブルを潰す */
  table[width="744"],
  table[width="561"],
  table[width="564"],
  table[width="553"] {
    width: 100% !important;
  }
  .g_btn li {
    list-style: none;
  }

  .g_btn li a {
    text-decoration: none;
  }
  html {
    font-size: 62.5%;
  }
  footer #copy_area {
    background-color: #646363;
    color: #fff;
    width: 100%;
  }

  footer #copy_area ul li a {
    color: #fff;
    text-decoration: none;
  }

  footer #copy_area ul li a:hover {
    color: #fff;
    text-decoration: underline;
  }

  footer #link_area dl,
  footer #other_area ul,
  footer #copy_area ul {
    list-style: none;
    padding: 0;
  }
  footer #other_area ul li {
    list-style: none;
  }

  footer #link_area dl a {
    text-decoration: none;
  }
  footer #link_area {
    width: 100%;
    margin: 10px auto 30px;
    padding-top: 25px;
    padding-left: 20px;
  }
  footer #link_area dl {
    width: 100%;
    margin-bottom: 20px;
  }
  footer #link_area dl a {
    padding: 0 0 15px 15px;
    display: block;
    background-position: left 0 top 3px;
  }
  footer #other_area li {
    float: left;
    margin-right: 20px;
  }
  footer .copyright {
    font-size: 1rem;
  }
  footer #copy_area ul li {
    float: left;
    padding: 0 10px;
    border-left: 1px solid #fff;
    flex: 1;
    text-align: center;
  }
  footer #copy_area ul li:first-child {
    border-left: none;
  }
  footer #other_area ul {
    width: 100%;
    margin: 0;
    justify-content: center;
    gap: 15px;
  }
  footer #other_area {
    margin-left: -20px;
    width: calc(100% + 20px);
  }
  footer #copy_area ul li:nth-child(2) {
    flex: 2;
  }
  footer #copy_area ul li:nth-child(1) {
    max-width: 85px;
  }
  input[type="text"],
  textarea,
  select {
    width: 100%;
    box-sizing: border-box;
  }
  img[src="../img/common/spacer.gif"],
  img[src="../img/common/spe.gif"],
  img[src="../img/common/2e_12.gif"],
  img[src="../img/common/title8e_01.gif"],
  img[src="../../img/common/index_22.gif"],
  img[src="../../img/common/index_23.gif"],
  img[src="../img/common/title7e_03.gif"],
  img[src="../img/common/top_ee_03.gif"],
  img[src="../img/common/title7_04.gif"],
  img[src="../img/common/title7_02.gif"],
  img[src="../img/common/2_05.gif"],
  img[src="../img/common/title7_05.gif"],
  #head,
  #footer,
  td[width="165"],
  img[src="../../../img/common/spe.gif"],
  img[src="/ir/img/common/spe.gif"],
  img[src="../../../ir/img/common/spe.gif"],
  img[src="../img/common/title0e_01.gif"] {
    display: none !important;
  }
  .sp_form {
    display: flex;
    flex-wrap: wrap;
  }
  .sp_form td {
    width: 100%;
  }
  .pc_mt10 {
    margin-top: 0px;
  }
}
