body {
  background: #fff; }

header {
  background: url(/subsidy/img/img_subsidy.png) 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; }

#main table.subsidy_table {
  margin-bottom: 10px;
  width: 100%;
  max-width: 800px;
  border: 1px solid #999;
  font-size: 18px;
  margin: 40px auto;
  padding: 30px 10px; }
  #main table.subsidy_table tr th,
  #main table.subsidy_table tr td {
    padding: 10px 1em;
    border-bottom: 1px dashed #999; }
  #main table.subsidy_table tr th {
    text-align: right;
    vertical-align: top; }
  #main table.subsidy_table tr td {
    padding: 10px 1em;
    border-bottom: 1px dashed #999; }

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