* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: break-all;
}

body {
  font-family: "Shuei MaruGo L", sans-serif;
}

.header__logo {
  display: none;
}

.bg-container {
  width: 100%;
  height: 100lvh;
  position: relative;
}
.bg-container > div {
  position: absolute;
  top: 0;
  left: 0;
}
.bg-container > div,
.bg-container > div img {
  width: 100%;
  height: 100%;
}
.bg-container > div {
  position: fixed;
  z-index: -1;
}
.bg-container .bg-akagi img {
  object-fit: cover;
  object-position: center bottom;
}
.bg-container .title-head {
  max-width: 91%;
  height: 58%;
  top: 11%;
  left: 0;
  right: 0;
  margin-inline: auto;
}
.bg-container .title-head img {
  object-fit: contain;
}
.bg-container .mates {
  max-width: 94%;
  height: 68%;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto auto 0 auto;
}
.bg-container .mates img {
  object-fit: contain;
  object-position: center bottom;
}
.bg-container .logo-mates {
  max-width: 42%;
  width: fit-content;
  height: 25%;
  left: 0;
  right: 0;
  margin: auto;
  top: 2%;
}
.bg-container .logo-mates img {
  object-fit: contain;
  object-position: center top;
}
.logo-mates,
.title-head {
  opacity: 0;
}
.title-head.active,
.logo-mates.active {
  opacity: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.header__lead,
.archive {
  background-color: #fff;
  padding: 1.5rem;
  border: 5px solid #d20000;
  border-radius: 25px;
  width: 92%;
  max-width: 700px;
  font-size: 17px;
  line-height: 2.15;
  margin-inline: auto;
}
.archive {
  background-color: #ffff00;
  padding: 30px;
  margin-block: 60px;
}
.archive img {
  max-width: 100%;
}
.archive h3 {
  max-width: 440px;
  margin-inline: auto;
}
.archive ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 450px;
  margin-top: 30px;
  margin-inline: auto;
}

.mates-icons {
  position: relative;
  top: -4px;
}
.mates-icons img {
  width: 50px;
}

.about-akagi {
  margin-top: 2rem;
  font-size: 16px;
  line-height: 2;
  width: fit-content;
  margin-inline: auto;
}

a,a:link,a:visited,a:hover,a:active {
  color: #ff6400;
}
a.btn {
  background-color: #ff6400;
  color: #ffffff;
}

br {
  display: none;
}
br.kuten,
br.br {
  display: initial;
}

.navi, .footer, .post,
.footer-contact__mail a,
.footer-contact__home a {
  background-color: #ffffff;
  border-color: #d20000;
}
.post {
  border: 3px solid #d20000;
  border-radius: 6px;
}
.post-header {
  padding: 10px 0 0 10px;
}
.post__text {
  padding: 10px 12px 20px 12px;
}
.slide {
  border: none;
}
.post-share {
  padding: 0;
}
.post-share__twitter a,
.post-share__line a {
  border-radius: 0 0 0 0;
}
.post-share li a {
  background-color: #ff6400;
}
.navi {
  margin-inline: 0;
}
.navi {
  margin-block: 60px;
}
.footer {
  border-top: 5px solid #d20000;
  padding-top: 1.4rem;
}
.footer h3 {
  margin-bottom: 8px;
}

.boshu {
  margin-top: 2rem;
}
.boshu a.btn-boshumail {
  display: block;
  margin-top: 1.25rem;
}
.boshu small {
  font-size: 16px;
  display: flex;
  gap: 4px;
  width: fit-content;
  margin-inline: auto;
  margin-top: 1.25rem;
  line-height: 1.85;
}

a[target="_blank"]:has(img)::after {
  display: none;
}

@media (min-width: 601px) {
  #wrapper::before {
    background-image: url(./images/bg-pc.jpg);
  }
  .bg-container .title-head {
    top: 4%;
  }
  .bg-container .mates {
    height: 75%;
  }
  .bg-container .logo-mates {
    top: 67%;
  }
  .header__lead {
    font-size: 21px;
    line-height: 2.35;
    padding: 2rem 2.5rem;
    border-width: 8px;
  }
  .archive {
    border-width: 8px;
    padding: 3rem;
  }
  .archive ul {
    gap: 45px;
  }
  .post-header {
    padding: 20px 0 0 0;
  }
  .post-share__twitter a {
    border-radius: 6px 0 0 0;
  }
  br {
    display: initial;
  }
}