@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #efefef;
  line-height: 1.4;
  font-family: Arial, sans-serif;
  font-size: 1.2em;
  font-weight: normal;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, li {
  list-style-type: none;
}

.wordbk {
  word-break: break-all;
}

/* wrapper */
.wrapper {
  width: 100%; /* 幅は100%ですよ */
  max-width: 1200px; /* 基本は幅100%だけど、1200px以上に大きくしないための記述 */
  margin: 0 auto; /* 上下のマージンは0。左右はオート。結果的に左右真ん中に配置される */
  display: flex; /* 見た目をフレックスにする設定 */
  justify-content: space-between; /* コンテンツは両端から等間隔に配置 */
}

.wrapper-max {
  width: 100%; /* 幅は100%ですよ */
  margin: 0 auto; /* 上下のマージンは0。左右はオート。結果的に左右真ん中に配置される */
  background-color: #ccc;
}

/* header */
.header {
  width: 100%; /* 幅は100%ですよ */
  max-width: 1200px; /* 基本は幅100%だけど、1200px以上に大きくしないための記述 */
  height: 80px; /* 高さは80px固定です */
  margin: 8px auto 0; /* 上マージンは8px。左右はオート。下はゼロ。結果的に左右真ん中に配置される */
  display: flex; /* 見た目をフレックスにする設定 */
  justify-content: space-between; /* コンテンツは両端を基準に等間隔に配置 */
  border-bottom: solid 4px #999; /* デザイン下側の線を形成するための記述 */
  border-radius: 4px;
}

.header__title {
  font-size: 70px; /* h1のサイズを設定。display;noneだと「サイトタイトルなのに非表示？」となるので1pxに。 */
  margin: 0 8px; /* 上下マージンはゼロ、左右は8px */
  position: relative;
}

.header__title-logo {
  width: auto;
  height: 72px;
}

.header__title-txt {
  color: transparent;
  z-index: 200;
  position: absolute;
  left: 0;
}

.header__txt {
  margin: 50px 8px auto; /* 上からのマージンは50px */
}

/* nav */
.nav {
  width: 186px;
  margin-top: 78px;
  padding-left: 12px;
  border-style: solid;
  border-width: 0 4px 0 0;
  border-color: #999;
}

.nav__title {
  font-size: 1.25rem;
  margin-left: 8px;
  font-weight: bold;
}

.nav__list {
  margin-bottom: 24px;
}

.nav__list-item {
  margin: 4px;
  font-size: 1rem;
  padding: 4px;
}

/* main */
.main {
  width: calc(100% - 203px);
  margin-top: 78px;
}

.main__title {
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.main__title-sub {
  margin-top: 50px;
  font-size: 1.25rem;
}

.main__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

.main__list-item {
  font-size: 1rem;
  text-align: center;
  text-shadow: #ccc 1px 0 10px;
  width: 20%;
}

.main__list-box {
  display: block;
  width: 90%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  margin: 10px;
  border: solid 4px #999;
  border-radius: 10%;
  transition: filter 0.3s ease;
}

.main__list-box:hover {
  filter: brightness(1.2);
}

.main__list-bg {
  display: block;
  margin: 16px 12px;
  background-color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  padding: 8px 4px;
}

.main__list-image {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* footer */
.footer {
  width: 100%;
  height: 80px;
}

.footer {
  width: 100%;
  max-width: 1200px;
  margin: 70px auto 0; /* 上下のマージンは0。左右はオート。結果的に左右真ん中に配置される */
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.footer__txt {
  padding: 8px;
  text-align: center;
  margin: 4px;
}

.footer__txt-link {
  font-size: 1rem;
}

.footer__txt-copy {
  font-size: 1rem;
  padding: 8px;
  margin: 4px;
}

.main__title-termslist {
  list-style-type: decimal;
  margin-left: 30px;
}

@media (max-width: 880px) {
  .wrapper {
    width: 80%;
    flex-direction: column;
  }
  .header {
    width: 80%;
  }
  .header__title {
    margin: 0 auto;
  }
  .header__txt {
    display: none;
  }
  .nav {
    width: 100%;
    margin-top: 36px;
    padding-left: 0;
    border-width: 0 0 4px 0;
  }
  .nav__title {
    text-align: center;
  }
  .nav__list {
    display: flex;
    justify-content: center;
  }
  .tb-hidden {
    display: none;
  }
  .main {
    width: 100%;
  }
  .main__title {
    text-align: center;
  }
  .main__list {
    width: 100%;
  }
  .main__list-item {
    width: 25%;
  }
  .main__list-box {
    margin: 8px;
  }
}
@media (max-width: 700px) {
  .main__list-item {
    width: 50%;
  }
}
@media (max-width: 600px) {
  .wrapper {
    width: 100%;
    flex-direction: column;
  }
  .header {
    width: 100%;
  }
  .header__title {
    font-size: 1em;
    margin: 0 auto;
  }
  .header__title-logo {
    width: 70vw;
    aspect-ratio: 1;
  }
}
@media (max-width: 260px) {
  .header__title-logo {
    width: 90vw;
  }
  .nav__title {
    text-align: left;
  }
  .nav__list {
    flex-direction: column;
  }
  .main__list-item {
    width: 100%;
    flex-direction: column;
  }
  .footer {
    display: block;
    height: auto;
  }
}

/*# sourceMappingURL=style.css.map */
