@charset "UTF-8";

/* CSS Document */
/*トップページ：メイン画像枠*/
.index-img {
  padding: 85px 0 0 0;
  margin: 0 auto 20px;
  max-width: 1100px;
  width: 98%;
}

.index-img img {
  width: 100%;
  height: auto;
}

.index-content {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/*〜の方へボタン*/
.index-content-visitorbtn {
  width: 98%;
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.index-content-visitorbtn ul {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.index-content-visitorbtn li {
  list-style-type: none;
  width: 32.8%;
  margin-right: 0.8%;
  position: relative;
}

.index-content-visitorbtn li a {
  transition: all 0.2s ease;
  text-decoration: none;
}

.index-content-visitorbtn a:hover {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.index-content-visitorbtn li:last-child {
  margin-right: 0;
}

.index-content-visitorbtn li img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border: 10px solid #f7e7af;
  border-radius: 10px;
}

.index-content-visitorbtn li:nth-child(2) img {
  border: 10px solid #f5c3c8;
}

.index-content-visitorbtn li:nth-child(3) img {
  border: 10px solid #8cc8f0;
}

.index-content-visitorbtn li .title {
  width: 62%;
  height: 85px;
  position: absolute;
  right: 10px;
  top: 25%;
  color: #fff;
  background-color: rgba(245, 230, 175, 0.8);
  padding: 15px;
  display: table;
}

.index-content-visitorbtn li:nth-child(2) .title {
  background-color: rgba(245, 195, 200, 0.8);
}

.index-content-visitorbtn li:nth-child(3) .title {
  background-color: rgba(140, 200, 240, 0.8);
}

.index-content-visitorbtn li .title p {
  font-size: 22px;
  font-weight: 600;
  text-shadow: 0 0 7px rgba(0, 0, 0, 1.0);
  display: table-cell;
  vertical-align: middle;
}

/*お知らせ関連*/
.index-content-info {
  width: 98%;
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
}

.info-area {}

.info-area:nth-child(1) {
  background-color: #f0f0f0;
  /* 背景色指定 */
  width: 55%;
  margin-right: 20px;
}

.info-area:nth-child(2) {
  width: 47%;
}

.info-area .title {
  font-size: 24px;
  font-weight: 600;
  padding: 20px 30px;
  background-color: #afdcfa;
}

.info-box {
  height: 422px;
  padding: 23px 30px 0 30px;
}

.tabs,
.links {
  display: none;
}

.info-box ul {
  height: 405px;
  font-weight: 600;
  overflow-y: auto;
}

.info-box li {
  padding: 8px 0 12px;
  border-bottom: 1px solid #d2d2d2;
  font-size: 0.875rem;
}

.info-box li:first-child {
  padding-top: 0;
}

.info-box li span {
  display: block;
}

.info-box li span[class^="title"] {
  line-height: 150%;
  font-size: 1rem;
}

.info-box li a {
  color: #4173b4;
  transition: all 0.1s ease;
}

.info-box li a:hover {
  color: #ffa032;
  text-decoration: none;
}

.info-list-btn {
  width: 170px;
  height: 35px;
  font-size: 14px;
  font-weight: 600;
  line-height: 240%;
  color: #fff;
  background: #ffa032;
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0% 100%);
  margin-top: 30px;
  float: right;
}

.info-list-btn a {
  width: 100%;
  height: 100%;
  display: block;
  transition: all 0.1s ease;
}

.info-list-btn a:hover {
  background-color: #4173b4;
}

.info-list-btn .arrow {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding-left: 40px;
}

.info-list-btn .arrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  position: absolute;
  top: 50%;
  right: 25px;
  margin-top: -4px;
  transform: rotate(45deg);
}

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style] {
  width: 100% !important;
}

/*ご挨拶・スタッフ紹介ボタン*/
.index-content-aboutbtn {
  width: 98%;
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.index-content-aboutbtn ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.index-content-aboutbtn li {
  list-style-type: none;
  width: 49%;
  margin-right: 1.8%;
  position: relative;
  background: #666;
}

.index-content-aboutbtn li a {
  transition: all 0.2s ease;
}

.index-content-aboutbtn a:hover {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.index-content-aboutbtn li:last-child {
  margin-right: 0;
}

.index-content-aboutbtn li img {
  width: 100%;
}

.index-content-aboutbtn li .title {
  width: 45%;
  height: 100%;
  background: #afdcfa;
  clip-path: polygon(0% 100%, 0% 0%, 100% 0%, 82.5% 100%);
  position: absolute;
  top: 0;
  left: 0;
  color: #3c3c3c;
  line-height: 1;
  padding: 8% 0 0 5%;
  box-sizing: border-box;
  border-left: 1px solid #afdcfa;
  border-bottom: 1px solid #afdcfa;
}

.index-content-aboutbtn li .title p {
  font-size: 24px;
  font-weight: 600;
}

@media (min-width: 641px) and (max-width: 799px) {
  .index-content-aboutbtn li .title p {
    font-size: 18px;
  }
}

/*カテゴリー別ボタン*/
.index-content-category {
  width: 100%;
  margin: 0;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-image: url("./images/index-category-bg.png");
  background-repeat: repeat;
}

.index-category-area {
  width: 98%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.index-category-area ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.index-category-area li {
  list-style-type: none;
  width: 27%;
  margin: 2.7%;
  position: relative;
  transition: all 0.2s ease;
}

.index-category-area li a {
  display: inline-block;
  transition-duration: 0.4s;
  /*変化の時間*/
}

.index-category-area li a:hover {
  transform: translateY(-8px);
}

/*グラデーションを掛けたい <img> を囲う外枠*/
.index-category-btn {
  position: relative;
  display: block;
}

/* グラデーション */
.index-category-btn::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  background: rgb(42, 99, 174);
  background: linear-gradient(320deg, rgba(42, 99, 174, 0.8) 0%, rgba(201, 251, 255, 0.7) 100%);
  border-radius: 10px;
}

/* 縦横を外枠に合わせる */
.index-category-btn img,
.index-category-btn::after {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.index-category-btn img {
  filter: drop-shadow(0px 10px 10px #a0a0a0);
}

.index-category-btnbox .title {
  width: 100%;
  text-align: center;
  line-height: 240%;
  position: absolute;
  padding: 5%;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.index-category-btnbox .title p {
  font-size: 32px;
  font-weight: 600;
  text-shadow: 0 0 17px rgba(60, 85, 120, 0.9), 0 0 17px rgba(60, 85, 120, 0.9);
  color: #fff;
}

/*入局のご案内*/
.index-content-training {
  width: 100%;
  height: 430px;
  margin: 0;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-image: url("./images/index-admission-bg.png");
  background-position: center center;
  background-size: cover;
}

.index-training-area {
  width: 95%;
  max-width: 550px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.index-training-area .title {
  font-size: 36px;
  font-weight: 600;
  line-height: 200%;
  color: #fff;
  text-shadow: 0 0 17px rgba(20, 15, 10, 0.8), 0 0 17px rgba(20, 15, 10, 0.8);
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
}

.index-training-area .title::before {
  content: '';
  position: absolute;
  bottom: -8px;
  display: inline-block;
  width: 70px;
  height: 1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
}

.index-training-area .text {
  font-size: 17px;
  font-weight: 600;
  line-height: 180%;
  color: #fff;
  text-shadow: 0 0 10px rgba(20, 15, 10, 0.8), 0 0 10px rgba(20, 15, 10, 0.8);
}

/***遺伝学的検査のご案内***/
.hcm-bnr {
  width: 100%;
  margin: 10px auto 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hcm-pc {
  display: block;
}

.hcm-sp {
  display: none
}

.hcm-bnr a {
  width: 100%;
  height: 100%;
  display: block;
}

.hcm-bnr img {
  width: 100%;
  margin: 0;
  padding: 0;
}