@font-face {
  font-family: 'Mamelon';
  src: url('/fonts/mameh_woff/mameh_woff/Mamelon-5-Hi-Regular.woff2') format('woff2'),
    url('/fonts/mameh_woff/mameh_woff/Mamelon-5-Hi-Regular.eot') format('eot');
  font-weight: normal;
  font-style: normal;
}

main>.container {
  margin-top: 20px;
}

.title {
  font-family: 'Mamelon', system-ui;
  margin-bottom: 24px;
  text-align: center;
}

.introduction {
  width: 25%;
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background-color: #fff;
}

.meImage {
  margin: 3rem auto 0 auto;
  display: block;
  width: 60%;
}

.introductionTable {
  margin-top: 3rem;
  word-break: break-word;
}

.info {
  width: 67%;
}

/* bootstrapのスタイルを書き換えている */
.card {
  flex: 0 0 auto !important;
  width: 32% !important;
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1) !important;
  border-radius: 10px !important;
  border: none !important;
}

.card-img-top {
  border-radius: 10px 10px 0px 0px !important;
  max-height: 180px !important;
}

.card-body {
  min-height: 270px !important;
}

.carousel-inner {
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.carousel-indicators {
  margin-bottom: 0 !important;

  & button {
    border-radius: 50%;
    height: 8px !important;
    width: 8px !important;
  }
}

.carousel-image {
  transition: filter 0.3s ease;
  filter: blur(1px) brightness(0.95);
}

.carousel-image:hover {
  filter: blur(0.5px) brightness(1);
}


@media screen and (max-width: 768px) {
  .d-flex {
    display: flex !important;
    flex-direction: column;
  }

  main>.container {
    margin-top: 12px;
  }

  .introduction {
    width: 100%;
  }

  .meImage {
    margin: 1rem auto 0 auto;
    width: 40%;
  }

  .introductionTable {
    margin-top: 1rem;
  }

  .info {
    margin-top: 16px;
    width: 100%;
  }

  .carousel-image {
    filter: none;
  }

  /* bootstrapのスタイルを書き換えている */
  .card {
    width: 100% !important;
  }

  .card+.card {
    margin-top: 16px !important;
  }

  .card-body {
    min-height: unset !important;
  }

  .card-img-top {
    max-height: 200px !important;
  }
}
