@charset "UTF-8";

/* content
----------------------------------- */

.content {
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  background-image: url(../img/bg_access.png);
}

/* 各画像のみ指定 */
#access .content {
  background-image: url(../img/bg_access.png);
}
#cases .content {
  background-image: url(../img/bg_ganka.png);
}
#ganka .content {
  background-image: url(../img/bg_ganka.png);
}
#news .content {
  background-image: url(../img/bg_ganka.png);
}

/* ttl
----------------------------------- */
.page-ttl {
  font-size: clamp(3rem, 2.712rem + 1.231vw, 3.5rem);
  padding: 1.5em 0;
}

/* table
----------------------------------- */

table {
  width: 100%;
  text-align: center;
  border-collapse: separate;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 2px solid #1d98b3;

  th,
  td {
    padding: 10px;
  }

  th {
    background-color: #dbdbdb;
    text-align: center;

    &:not(:first-child) {
      border-left: 1px solid white;
    }
  }

  td {
    &:first-child {
      background-color: #ececec;
    }

    &:nth-child(2) {
      border-left: 0 !important;
    }

    &:not(:first-child) {
      border-left: 1px dashed #adadad;
      color: #1d98b3;
    }
  }
}

/*----------------------------------- */
/* access */
/*----------------------------------- */
#access {
  .gmap {
    position: relative;
    padding-bottom: 50%;
    padding-top: 100px;
    height: 0;
    overflow: hidden;
    margin: 20px 0;

    iframe,
    object,
    embed {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
  }

  p {
    line-height: 160%;
  }
}

/* injection
----------------------------------- */
.injection {
  padding-bottom: 30px;

  h2 {
    color: white;
    background: url(../img/icon_injection.svg) no-repeat 17px 14px / 30px;
    background-color: #28885e;
    font-size: 20px;
    font-weight: normal;
    min-height: 46px;
    padding: 15px 55px;
    margin-bottom: 30px;
  }
}

/*----------------------------------- */
/* news */
/*----------------------------------- */
.news-detail {
  margin-bottom: 60px;
}

.post-info {
  font-size: 12px;
  margin-bottom: 20px;
}

.post-content p {
  line-height: 180%;
}

.wp-pagenavi {
  text-align: center;
  margin-bottom: 60px;
}

.pagenate {
  text-align: center;

  a,
  span {
    padding: 0.5em 0.6em;
    color: #fff;
    background: #1d98b3;
    font-weight: bold;
    border: 1px solid #1d98b3;
  }

  .current,
  a:hover {
    text-decoration: none;
    background: #fff;
    color: #1d98b3;
  }
}
