@charset "utf-8";

/* body {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.5;
  font-size: 14px !important;
} */

.custom-section p {
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.underline {
  text-decoration: underline;
}
.overview__inner--image {
  background-image: url(images/img_02.jpg);
  height: auto;
}
.h__font {
  font-family: 'Prata', 'Zen Old Mincho', serif !important;
  letter-spacing: 0.08em;
  font-weight: normal;
}
.h__color {
  color: rgb(179, 152, 85);
}

.custom-section a {
  color: #000000;
}

.custom-section h2,
.custom-section h3 {
  line-height: 1.4;
  margin: 10px 0;
  font-weight: bold;
}

.custom-section img {
  width: 100%;
}
.custom-section {
  margin-top: 100px !important;
}

.ft16 {
  font-size: 16px !important;
}

.ft20 {
  font-size: 20px !important;
}
.ft24 {
  font-size: 24px !important;
}

.ft40 {
  font-size: 40px !important;
}

.bold {
  font-weight: bold !important;
}

.custom-section .btn {
  display: inline-block;
  min-width: 200px;
  font-weight: bold;
  padding: 1rem 2rem;
  border: 1px solid #000000;
  background-color: #000000;
  color: #ffffff;
  border-radius: 20px 0 0 0;
  margin-top: 10px;
  text-align: center;
  transition: all 0.2s ease-in;
}

.btn.inverse {
  border: 1px solid #000000;
  background-color: #ffffff;
  color: #000000;
}

.custom-section .btn:hover {
  border: 1px solid #000000;
  background-color: #ffffff;
  color: #000000;
}

.custom-section .btn.inverse:hover {
  background-color: #000000;
  color: #ffffff;
}

.badge {
  font-weight: bold;
  display: inline-block;
  color: #ffffff;
  background-color: #000000;
  padding: 0.25rem 0.5rem;
  line-height: 1.2;
  margin-bottom: 5px;
}

/* セクションごとのCSS */

.section__lead {
  margin: 30px 0;
}

.overview__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 50px;
  padding: 1rem 2rem;
  gap: 20px;
  align-items: center;
}

.overview__student--textbox {
  padding: 1rem 2rem;
}

.overview__img--box {
  display: flex;
  justify-content: end;
  gap: 20px;
  margin-top: 80px;
}

.overview__inner:nth-child(2n) .overview__inner--textbox {
  order: 1;
}
.overview__inner:nth-child(2n) .overview__inner--image {
  order: 2;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
  align-items: center;
  gap: 10px;
  padding: 1rem 2rem;
}

/* フリーページに直書き */
.about__inner.ohana {
  background-image: url(images/bg_ohana.jpg);
  background-size: cover;
  background-position: center;
  padding: 2rem 2rem;
}

.about__inner.ohana .about__inner--image {
  width: 70%;
  margin: 0 auto;
}
.about__f--logo {
  width: 40%;
  margin: 50px auto 0;
}
.exhibits__cards--list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.exhibits__cards--items {
  box-shadow: 4px 4px 11px -7px #777777;
  background-color: #ffffff;
  position: relative;
}

.exhibits__cards--items .badge {
  position: absolute;
  top: 0;
  right: 0;
}

.exhibits__cards--items img {
  border-radius: 20px 0 0 0;
}
/* フリーページに直書き */
.exhibits__items--location::before {
  content: url(images/icon_map.png);
  margin-right: 8px;
  vertical-align: text-top;
}

.cards__items--text {
  padding: 2rem;
}

.topics__inner {
  margin: 30px 0;
}

.topics__info--box {
  background-color: #f5f5f5;
  padding: 2rem;
}

.topics__info {
  display: flex;
  margin: 10px 0;
}

.topics__info li {
  margin-bottom: 10px;
}

.info__inner {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 30px;
}

.info__inner dt {
  margin-top: 20px;
}

@media screen and (max-width: 750px) {
  .custom-section {
    margin-top: 50px !important;
  }

  .overview__inner:nth-child(2n + 1) .overview__inner--image {
    order: 1;
  }

  .overview__inner:nth-child(2n + 1) .overview__inner--textbox {
    order: 2;
  }

  .overview__inner:nth-child(2n) .overview__inner--textbox {
    order: 2;
  }
  .overview__inner:nth-child(2n) .overview__inner--image {
    order: 1;
  }
  .overview__img--box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 80px;
  }
  .about__inner,
  .overview__inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about__f--logo {
    width: 70%;
    margin: 50px auto 0;
  }

  .overview__inner,
  .overview__student--textbox {
    padding: 2rem 0;
  }

  .exhibits__cards--list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .topics__info {
    flex-direction: column;
  }
  .topics__info--box {
    background-color: #f5f5f5;
    padding: 2rem 1rem;
  }
  .topics__info dd {
    margin-top: 5px;
  }

  .info__inner {
    grid-template-columns: 1fr;
  }

  .about__inner--image {
    order: 1;
  }

  .about__inner--box {
    order: 2;
  }
}
