@charset "utf-8";

/* picture */

#topPicture {
  width: 100%;
  height: 355px;
  background: #E6FFE9;
  padding: 10px 0;
}

/* main */

main h1 {
  font-size: 18px;
  color: rgb(49,169,30);
  margin: 20px 0 10px 0;
}

main p {
  margin: 5px 0;
}

p.intro {
  line-height: 22px;
  margin-bottom: 15px;
}

a.camera {
  text-decoration: underline;
  color: rgb(10,100,35);
}

main h2 {
  font-size: 18px;
  font-weight: 400;
}

.square {
  display: inline-block;
  width: 11px;
  height: 11px;
  background: rgb(49,169,30);
  margin-right: 5px;
}

.news-title-wrap {
  position: relative;
  border-bottom: 2px solid rgb(49,169,30);
  padding: 5px 0;
}

h2.news-title {
  display: inline-block;
}

.news-title-wrap a {
  text-decoration: none;
}

span.detail {
  position: absolute;
  color: rgb(56,61,54);
  right: 10px;
  bottom: 7px;
  font-size: 14px;
}

.content-wrap {
  margin-bottom: 25px;
}

.news {
  padding: 10px 0;
  border-bottom: 1px dotted rgba(56,61,54,0.3);
}

p.news-content {
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

span.new_icon {
  position: relative;
}

span.new_icon:after {
  position: absolute;
  bottom: 1px;
  display: inline-block;
  height: 13px;
  content: "NEW";
  font-size: 13px;
  color: white;
  padding: 2.5px 3px 2px;
  margin-left: 25px;
  background-color: orange;
  border-radius: 4px;
}

.news-individual-title {
  text-decoration: none;
  color: rgb(56,61,54);
}

.news-individual-title:hover {
  text-decoration: underline;
  color: orange;
}

h2.link-title {
  display: none;
}

.link {
  text-decoration: none;
  display: inline-block;
  width: 210px;
  margin: 0;
  padding: 0 5px;
  border: 1px solid rgba(200,200,200,0.8);
  border-top: 3px solid rgb(49,169,30);
  border-right: none;
  vertical-align: top;
}

.link:last-of-type {
  border-right: 1px solid rgba(200,200,200,0.8);
}

.link h2 {
  font-size: 17px;
  font-weight: 400;
  text-align: left;
  color: rgb(56,61,54);
  text-shadow: 1px 0px 1px rgba(56,61,54,0.4);
  position: relative;
  margin: 0 0 0 27px;
  padding: 15px 0 10px 0;
}

.link p {
  height: 60px;
  font-size: 14px;
  line-height: 20px;
  color: rgb(56,61,54);
  padding: 5px 0 0 2%;
  margin-top: 0;
}

.fa-chevron-circle-right {
  font-size: 15px;
  color: rgb(49,169,30);
  position: absolute;
  top: 16px;
  left: -22px;
}

.link-photo {
  width: 100%;
  padding: 0 2%;
  height: auto;
}

h2.info {
  margin-bottom: 5px;
}

span.consultation-info {
  display: inline-block;
  font-size: 15px;
}

/* table */

table.time {
  width: 100%;
  height: 120px;
  border: 1px solid rgb(10,100,35);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 5px;
  overflow: hidden;
}

table.time th {
  width: 10%;
  font-size: 16px;
  font-weight: 500;
  color: white;
  background: rgb(49,169,30);
  padding: 3px 0 0 0;
  border-right: 1px solid rgb(10,100,35);
}

table.time th:first-child {
  width: 30%;
}

table.time th:last-child {
  border-right: none;
}

table.time td {
  font-size: 16px;
  color: rgb(10,100,35);
  text-align: center;
  position: relative;
  border-top: 1px solid rgb(10,100,35);
  border-right: 1px solid rgb(10,100,35);
}

table.time td:last-child {
  border-right: none;
}

table.time td span:before{
  content: "";
  padding: 5px;
}

.attention {
  position: absolute;
  right: 8%;
  bottom: 5%;
  font-size: 13px;
}

.circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: rgb(10,100,35);
  border-radius: 50%;
}

/* sp */

@media(max-width: 900px) {

  main h1, main p {
    padding-left: 10px;
    padding-right: 10px;
  }

  main h1 {
    font-size: 16px;
  }

  .link {
    width: 33.33%;
    height: auto;
  }

  .link p {
    font-size: 13px;
  }

  h2.info {
    padding-left: 10px;
  }

  .news-title-wrap {
    margin: 25px 10px 0;
  }

  .content-wrap {
    margin: 0 10px 30px;
  }

  #topPicture {
    width: 100%;
    height: auto;
    background: #E6FFE9;
  }

  /* table */

  .table-wrap {
    padding: 0 1%;
  }

  table.time td p {
    font-size: 14px;
    margin: 0;
    line-height: 18px;
  }


  table.time td span.attention {
    font-size: 12.5px;
    position: absolute;
    right: 4%;
    bottom: 1%;
  }

@media(max-width: 650px) {

  /* main */
  .link {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    background: rgb(250,255,254);
    border: none;
    padding-left: 2%;
  }

  .link:last-of-type {
    border-right: none;
    margin-bottom: 0;
  }

  img.link-photo {
    float: left;
    width: 30%;
    border-radius: 7px;
    padding: 0;
    margin: 8px 0;
  }

  .fa-chevron-circle-right {
    display: none;
  }

  .content-wrap {
    height: auto;
    background: #E6FFE9;
    padding: 2%;
    margin: 0;
  }

  h2.title {
    display: block;
    font-weight: 600;
    color: rgb(245,245,245);
    background: rgb(49,169,30);
  }

  h2.link-title {
    font-size: 18px;
    padding: 5px 10px;
  }

  .link h2 {
    display: inline-block;
    width: 70%;
    height: auto;
    margin: 0;
    padding: 3% 0 2% 5%;
    position: relative;
  }

  .link p {
    display: inline-block;
    width: 70%;
    height: auto;
    font-size: 15px;
    margin: 0;
    padding: 0 0 0 5%;
  }

  p.consultation-info {
    font-size: 14px;
    line-height: 18px;
  }

  .news-title-wrap {
    margin: 25px 0 0;
    padding: 0;
    border: none;
  }

  .news-title-wrap span.square {
    display: none;
  }

  span.detail {
    bottom: 6px;
    color: rgb(245,245,245);
  }

  h2.news-title {
    font-size: 18px;
    padding: 5px 10px;
  }

  .news {
    background: rgb(250,255,254);
  }
}

@media(max-width: 450px) {

  main h1 {
    font-size: calc(14px + 0.25vw);
  }

  .link p {
    font-size: calc(12px + 0.30vw);
  }

  h2.info {
    font-size: 17px;
    margin: 20px 0 3px;
  }

  table.time td p {
    font-size: calc(11px + 0.40vw);
  }
}
