body {
  background: #fff;
  -webkit-text-size-adjust: 100%; }

header {
  background: url(/subsidy/img/img_subsidy.webp) no-repeat #fff;
  background-position: center bottom;
  background-size: 15%;
  padding-top: 140px;
  height: auto;
  display: block; }
  @media screen and (max-width: 768px) {
    header {
      background-position: center bottom;
      background-size: 43%;
      padding-top: 105px; } }
  header h1 {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    color: #4fa7b2; }
    @media screen and (max-width: 768px) {
      header h1 {
        font-size: 30px;
        margin-top: 50px; } }

ul {
  padding: 0; }

#main .wrap::before {
  display: none; }

#main #top_msg {
  position: relative;
  margin: 40px auto 0;
  top: 0; }
  #main #top_msg p {
    margin-bottom: 1em;
    width: 85%; }

#main #subsidy h3 {
  margin: 40px 0 50px; }
  @media screen and (max-width: 768px) {
    #main #subsidy h3 span {
      font-size: 12px !important; } }

#main #subsidy .scroll-hint {
  display: none; }
  @media screen and (max-width: 768px) {
    #main #subsidy .scroll-hint {
      display: block;
      font-size: 0.875rem;
      color: #888;
      margin-bottom: 0.5rem;
      text-align: right;
      font-style: italic; } }

#main #subsidy .table_wrap table {
  width: 100%;
  margin: 80px auto; }
  #main #subsidy .table_wrap table th,
  #main #subsidy .table_wrap table td {
    padding: 5px 1em; }
  #main #subsidy .table_wrap table th {
    min-height: 10em;
    max-width: 3em;
    min-width: 3em;
    padding: 0; }
    #main #subsidy .table_wrap table th .vertical {
      writing-mode: tb-lr;
      writing-mode: vertical-lr;
      -webkit-writing-mode: vertical-lr;
      letter-spacing: .2em;
      min-height: 10em; }
  #main #subsidy .table_wrap table td {
    border: 1px solid #4fa7b2; }
  #main #subsidy .table_wrap table thead th {
    border: 1px solid #4fa7b2;
    padding: 10px;
    color: #4fa7b2;
    width: 20%;
    background: #ecfcfe;
    white-space: nowrap; }
    #main #subsidy .table_wrap table thead th span {
      font-size: 1.5em;
      display: block; }
    #main #subsidy .table_wrap table thead th a {
      cursor: pointer;
      background: #4fa7b2;
      border-radius: 6px;
      color: #fff;
      border: 1px solid #4fa7b2;
      display: block;
      padding: 3px 0;
      margin-top: 10px; }
      #main #subsidy .table_wrap table thead th a:hover {
        opacity: 0.7; }
  #main #subsidy .table_wrap table tbody th {
    border-top: 1px solid #fff; }
  #main #subsidy .table_wrap table tbody td {
    color: #4fa7b2;
    text-align: center; }
    #main #subsidy .table_wrap table tbody td.memo {
      text-align: left; }
  @media screen and (max-width: 1160px) {
    #main #subsidy .table_wrap table {
      min-width: 1100px; } }

@media screen and (max-width: 1160px) {
  #main #subsidy .table_wrap {
    overflow-x: scroll; } }

#main #subsidy .table_wrap table {
  margin: 0 0 20px; }
  @media screen and (max-width: 768px) {
    #main #subsidy .table_wrap table {
      margin-top: 0; } }
  #main #subsidy .table_wrap table tbody th, #main #subsidy .table_wrap table tbody td {
    font-size: 14px; }
  #main #subsidy .table_wrap table tbody th {
    border: 1px solid #4fa7b2;
    padding: 10px;
    color: #4fa7b2;
    width: 20%;
    background: #ecfcfe;
    white-space: nowrap; }
  #main #subsidy .table_wrap table tbody td {
    text-align: left;
    color: #000; }

#main #subsidy .table_wrap#it-donyu table {
  max-width: 800px;
  margin: 0 auto 20px; }
  #main #subsidy .table_wrap#it-donyu table tbody th {
    width: 35%; }
    #main #subsidy .table_wrap#it-donyu table tbody th span {
      font-size: 12px;
      color: #e12222; }
  #main #subsidy .table_wrap#it-donyu table tbody td {
    width: 15%;
    color: #4fa7b2;
    text-align: center; }

#main #subsidy .riyo {
  padding-top: 20px; }

#it-donyu-wrap {
  margin-top: 30px; }
  #it-donyu-wrap h4 {
    font-size: 1.25em;
    font-weight: bold;
    color: #4fa7b2;
    text-align: center;
    position: relative; }
    #it-donyu-wrap h4::after {
      content: "";
      display: inline-block;
      position: absolute;
      width: 156px;
      height: 5px;
      top: calc(50% - 5px / 2);
      background-color: #fddc0e;
      left: 0;
      right: 0;
      margin: 0 auto;
      bottom: -10px;
      top: initial; }
  #it-donyu-wrap .flex {
    justify-content: center;
    margin-bottom: 30px; }

#rental_content_wrap {
  margin-top: 40px; }
  #rental_content_wrap li {
    margin-bottom: 60px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 60px;
    list-style: none; }
    #rental_content_wrap li h3 {
      font-size: 22px;
      margin-bottom: 0;
      background: #efefef;
      padding: 5px 5px 5px 20px;
      border-left: 4px solid #4fa7b2; }
    #rental_content_wrap li p {
      margin-top: 5px; }
      #rental_content_wrap li p.hojo {
        font-weight: bold; }
    #rental_content_wrap li div.flex {
      margin-top: 40px; }
      #rental_content_wrap li div.flex > div:first-child {
        width: 40%;
        text-align: center;
        border: 1px solid #ccc;
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center; }
        #rental_content_wrap li div.flex > div:first-child img {
          max-width: 100%;
          height: auto; }
        #rental_content_wrap li div.flex > div:first-child .nopic {
          background: #cfcfcf;
          color: #fff;
          height: 100%;
          min-height: 150px;
          display: flex;
          justify-content: center;
          align-items: center;
          margin: 0; }
        #rental_content_wrap li div.flex > div:first-child a {
          height: 100%;
          display: flex;
          justify-content: center;
          align-items: center; }
          #rental_content_wrap li div.flex > div:first-child a:hover {
            opacity: 0.7; }
      #rental_content_wrap li div.flex > div:last-child {
        width: 58%;
        padding-left: 20px; }
        #rental_content_wrap li div.flex > div:last-child :first-child {
          margin-top: 0; }
        #rental_content_wrap li div.flex > div:last-child h4 {
          font-weight: normal; }
        #rental_content_wrap li div.flex > div:last-child h5 span:first-child {
          margin-right: 1em; }
        #rental_content_wrap li div.flex > div:last-child h5 span:nth-child(2) {
          margin-left: 0.25em; }
        #rental_content_wrap li div.flex > div:last-child .kinou {
          flex-wrap: wrap; }
          #rental_content_wrap li div.flex > div:last-child .kinou li {
            width: calc(50% - 1em);
            border-bottom: 0;
            padding-bottom: 0;
            margin: 0 0 0.5em 1em;
            list-style: disc; }

@media (max-width: 768px) {
  #rental_content_wrap li div.flex {
    display: block; } }

@media (max-width: 768px) {
  #rental_content_wrap li div.flex > div:first-child {
    width: 100%; } }

@media (max-width: 768px) {
  #rental_content_wrap li div.flex > div:last-child {
    width: 100%;
    padding-left: 0; } }
