@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif; }

@media (min-width: 768px) {
  .pc {
    display: block; }

  .sp {
    display: none; }

  #hero {
    height: 500px;
    width: 100%;
    background-image: url("../img/hospitals/hero.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover; }
    #hero div {
      width: 1000px;
      margin: 0 auto; }
      #hero div h1 {
        font-size: 40px;
        color: white;
        text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
        letter-spacing: 0.1em;
        padding-top: 220px; }

  #introduction {
    display: table;
    margin: 0 auto;
    padding: 100px 0 150px 0; }
    #introduction div {
      width: 500px;
      display: inline-block;
      vertical-align: top; }
      #introduction div h2 {
        font-size: 25px;
        font-weight: normal;
        color: #666666;
        margin-bottom: 30px; }
      #introduction div .english {
        color: #F3A8BB;
        margin-bottom: 30px; }
      #introduction div p {
        line-height: 2;
        color: #666666;
        text-align: justify; }
      #introduction div .attention {
        font-size: 14px;
        margin-top: 20px; }
    #introduction img {
      display: inline-block;
      vertical-align: top;
      width: 300px;
      height: auto;
      margin-right: 100px; }

  .section {
    padding: 0px 0 50px 0;
    display: table;
    margin: 0 auto; }
    .section div {
      width: 850px;
      position: relative; }
      .section div h3 {
        width: 100%;
        background: #f9e9c5;
        background: linear-gradient(-90deg, #f9e9c5 0%, #ea8a97 75%, #bd93ec 100%);
        border-radius: 5px;
        padding: 10px 10px 10px 30px;
        color: white;
        font-size: 25px;
        letter-spacing: 0.2em; }
      .section div table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        margin-top: 30px; }
        .section div table tr td {
          border: solid thin #E08692;
          font-size: 15px;
          padding: 20px;
          color: #4D4D4D; }
          .section div table tr td:first-of-type {
            width: 60%;
            font-size: 18px;
            font-weight: bold; }
            .section div table tr td:first-of-type a {
              padding: 5px 10px;
              background: #DC7184;
              color: white;
              margin: 10px 0 0 0;
              display: inline-block;
              border-radius: 5px;
              transition: all 0.3s;
              font-size: 14px; }
              .section div table tr td:first-of-type a:hover {
                opacity: 0.5; }
          .section div table tr td:nth-of-type(2) {
            width: 40%;
            font-size: 16px; }
            .section div table tr td:nth-of-type(2) a {
              color: #4D4D4D;
              text-decoration: underline;
              text-underline-offset: 5px;
              transition: all 0.2s; }
              .section div table tr td:nth-of-type(2) a:hover {
                color: #F3A8BB; }
          .section div table tr td .attention {
            font-size: 14px;
            font-weight: bold;
            color: #DC7184; }

  .link {
    display: table;
    margin: 0 auto;
    position: relative;
    padding: 200px 0 0px 0; }
    .link img {
      width: 420px;
      position: absolute;
      top: 70px;
      left: -40px;
      z-index: 0; }
    .link p {
      font-size: 16px;
      font-weight: bold;
      color: #4D4D4D;
      text-align: center;
      z-index: 1;
      position: absolute;
      top: 104px;
      left: 27px;
      z-index: 0;
      text-align: center; }
    .link a {
      width: 500px;
      padding: 10px;
      font-size: 20px;
      display: block;
      margin: 0 auto;
      font-weight: bold;
      color: #4D4D4D;
      text-align: center;
      background: #EAF4B3;
      border-radius: 5px;
      margin-bottom: 20px; }

  .link.purple {
    padding-bottom: 100px; }
    .link.purple p {
      left: 10px;
      top: 100px; }
    .link.purple a {
      background: #ceb8d8; } }
@media (max-width: 768px) {
  .pc {
    display: none; }

  .sp {
    display: block; }

  #hero {
    height: 300px;
    width: 100%;
    background-image: url("../img/hospitals/hero.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover; }
    #hero div {
      width: 100%;
      margin: 0 auto; }
      #hero div h1 {
        font-size: 30px;
        color: white;
        text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
        letter-spacing: 0.1em;
        padding-top: 200px;
        text-align: center;
        line-height: 1.2; }

  #introduction {
    display: table;
    margin: 0 auto;
    padding: 70px 0; }
    #introduction div {
      width: 85%;
      display: block;
      margin: 0 auto; }
      #introduction div h2 {
        font-size: 25px;
        font-weight: normal;
        color: #666666;
        margin-bottom: 20px; }
      #introduction div .english {
        color: #F3A8BB;
        margin-bottom: 30px; }
      #introduction div p {
        line-height: 2;
        color: #666666;
        text-align: justify;
        font-size: 16px; }
      #introduction div .attention {
        font-size: 13px;
        margin-top: 20px; }
    #introduction img {
      display: none; }

  .section {
    padding: 0px 0 50px 0;
    margin: 0 auto; }
    .section div {
      width: 85%;
      position: relative;
      margin: 0 auto; }
      .section div h3 {
        width: 100%;
        background: #f9e9c5;
        background: linear-gradient(-90deg, #f9e9c5 0%, #ea8a97 75%, #bd93ec 100%);
        border-radius: 5px;
        padding: 10px 10px 10px 30px;
        color: white;
        font-size: 25px;
        letter-spacing: 0.2em; }
      .section div table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        margin-top: 30px; }
        .section div table tr td {
          border: solid thin #E08692;
          font-size: 15px;
          padding: 10px;
          color: #4D4D4D; }
          .section div table tr td:first-of-type {
            width: 45%;
            font-size: 15px;
            font-weight: bold; }
            .section div table tr td:first-of-type a.toWeb {
              padding: 5px 10px;
              background: #DC7184;
              color: white;
              margin: 10px 0 0 0;
              display: inline-block;
              border-radius: 5px;
              transition: all 0.3s;
              font-size: 14px; }
              .section div table tr td:first-of-type a.toWeb:hover {
                opacity: 0.5; }
          .section div table tr td:nth-of-type(2) {
            width: 55%;
            font-size: 14px; }
            .section div table tr td:nth-of-type(2) a {
              color: #4D4D4D;
              text-decoration: underline;
              text-underline-offset: 5px;
              transition: all 0.2s; }
              .section div table tr td:nth-of-type(2) a:hover {
                color: #F3A8BB; }
          .section div table tr td .attention {
            font-size: 14px;
            font-weight: bold;
            color: #DC7184; }

  .link {
    display: table;
    margin: 0 auto;
    position: relative;
    padding: 100px 0 50px 0;
    width: 100%; }
    .link img {
      width: 330px;
      position: absolute;
      top: -5px;
      left: 26px;
      z-index: 0; }
    .link p {
      font-size: 13px;
      font-weight: bold;
      color: #4D4D4D;
      text-align: center;
      z-index: 1;
      position: absolute;
      top: 23px;
      left: 72px;
      z-index: 0;
      text-align: center; }
    .link a {
      width: 90%;
      padding: 10px;
      font-size: 15px;
      display: block;
      margin: 0 auto 20px auto;
      font-weight: bold;
      color: #4D4D4D;
      text-align: center;
      background: #EAF4B3;
      border-radius: 5px; }

  .link.purple {
    padding-bottom: 100px; }
    .link.purple p {
      top: 21px;
      left: 59px; }
    .link.purple a {
      background: #ceb8d8; } }
