/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: #fff;
  color: #333;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

h1,
p,
ul {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

/* Header: コピー元のレイアウトを維持 */
header {
  display: flex;
  align-items: center;
  padding: 5px 22px;
  gap: 10px;
  border-bottom: 3px solid #FBB03B;
}

.header__logo-mlit {
  width: calc(110 / 375 * 100vw);
}

.header__logo-nasva {
  width: calc(215 / 375 * 100vw);
}

@media screen and (min-width: 768px) {
  header {
    justify-content: center;
    gap: 25px;
  }
}

@media screen and (min-width: 1025px) {
  .header__logo-mlit {
    width: 230px;
  }

  .header__logo-nasva {
    width: 310px;
  }
}

/* Materials: PC・SP共通で中央揃え、リンクは縦並び */
.materials {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 64px 24px;
  text-align: center;
}

.materials__inner {
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  margin-inline: auto;
}

.materials__title {
  color: #364394;
  /* コピー元の.info__place1（.info__contentから継承）と同じPCサイズ */
  font-size: clamp(23px, 6.13vw, 36px);
  font-weight: 700;
  text-wrap: balance;
}

.materials__title span {
  display: block;
}

.materials__lead {
  margin-top: 30px;
  color: #333;
  /* コピー元の.introと同じサイズ */
  font-size: clamp(16px, 4.26vw, 20px);
}

.materials__list {
  width: 100%;
  max-width: 560px;
  margin: 40px auto 0;
  list-style: none;
}

.materials__item {
  padding-bottom: 30px;
  margin-bottom: 30px;
  /* コピー元の.info__itemと同じドット区切り */
  background: url(../img/dot.png) repeat-x left bottom;
  background-size: 25px;
}

.materials__item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  background: none;
}

.materials__link {
  display: inline-block;
  color: #022ebf;
  /* コピー元の.info__join-titleと同じPCサイズ */
  font-size: clamp(20px, 5.33vw, 24px);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.materials__link[href]:hover {
  opacity: 0.8;
}

.materials__link:focus-visible {
  outline: 3px solid #364394;
  outline-offset: 6px;
}

/* Button variant */
.materials__list--buttons .materials__link {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 20px 64px;
  border-radius: 999px;
  background-color: #FFD84B;
  color: #364394;
}

.materials__list--buttons .materials__link::before {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #364394;
  content: "";
  transform: translateY(-50%);
}

.materials__list--buttons .materials__link::after {
  position: absolute;
  top: 50%;
  right: 35px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}
