:root {
  --base-color: rgb(0, 32, 99);
  --reply-color: rgb(165, 34, 20);
  --title-red-color: rgb(209, 49, 35);
  --body-red-color: rgb(231, 39, 65);
  --footer-color: white;
  --twitter-color: rgb(29, 155, 240);
}

body {
  font-family: "Yu Gothic Pr6N M", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 16px;
  color: var(--base-color);
  background-image: url(../images/bg_pc.png);
  background-size: contain;
}

.bg {
  background-image: url(../images/bg_ill_pc.png);
  background-position: top center;
  background-repeat: repeat-y;
  width: 100%;
  height: 100vh;
  position: fixed; 
  top: 0;
  left: 0;
  z-index: 1;
}

.hidden {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

a, a:hover, .title, .subtitle {
  color: var(--base-color)
}

.title {
  font-size: 30px;
  font-weight: bold;
}
.subtitle {
  font-weight: bold;
}

a, a dl {
  transition: opacity .15s ease-in-out;
}

a:hover, a dl:hover {
  opacity: .7;
}

.wrap {
  position: relative;
  z-index: 10;
}

header {
  max-width: 94%;
  width: 1140px;
  margin: 0 auto;
  padding-top: 60px;
}

main {
  max-width: 88%;
  width: 680px;
  margin: 60px auto 80px auto;
}

.date {
  font-size: 13px;
}

.yodogawa {
  padding: 80px;
}

.yodogawa p {
  line-height: 2;
  text-align: justify;
}

.yodogawa p a {
  border-bottom: 1px dotted var(--base-color);
  padding-bottom: 1px;
}

.yodogawa_text {
  padding-left: 60px;
}

.yodogawa p + p {
  margin-top: 2.5rem;
}

.yodogawa, .appendix, .history {
  background-color: white;
  font-feature-settings: "palt" 1;
  letter-spacing: .1em;
}

.appendix {
  margin-top: 2rem;
  padding: 48px 40px;
}

.appendix strong {
  color: var(--title-red-color);
  margin-right: .5rem;
}
.appendix li {
  padding: 22px 52px;
}
.appendix li:first-child {
  padding-top: 0;
}
.appendix li:last-child {
  padding-bottom: 0;
}
.appendix li p {
  margin-bottom: .5rem;
}
.appendix a, .appendix li:not(:last-child) {
  border-bottom: 1px solid var(--base-color);
}

.history {
  margin-top: 2rem;
  padding: 90px;
}

.history .list {
  padding-left: 60px;
}

.history .list li {
  margin-top: 40px;
}

.history dt {
  font-size: 20px;
  font-weight: bold;
}

.history dd {
  margin-top: .5rem;
}

.history .year {
  color: var(--title-red-color);
  margin-right: .5rem;
}

.history h3 {
  margin-top: 80px;
}

.history p {
  margin-top: 40px;
}

.banner {
  margin-top: 80px;
  padding: 0;
  text-align: center;
}
.banner > div + div {
  margin-top: 2rem;
}

footer {
  background-color: var(--base-color);
  padding-top: 80px;
  padding-bottom: 80px;
}

footer, footer a, footer a:hover {
  color: var(--footer-color);
}

footer>div {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

footer .share {
  display: inline-flex;
}

footer .share .share_title {
  border-top: 1px solid var(--footer-color);
  border-bottom: 1px solid var(--footer-color);
  font-size: 12px;
  font-weight: bold;
}

footer .share .share_title span {
  display: block;
  line-height: 1em;
  position: relative;
  top: 50%;
  transform: translateY(-50%)
}

footer .share li:not(:last-child) {
  margin-right: 35px
}

footer .share li, footer .hobo li {
  line-height: 0
}

footer .share li a, footer .hobo li.ico_home a {
  font-size: 38px
}

footer .hobo li.email span {
  margin: -4px 5px 0 0;
  display: inline-block;
  vertical-align: middle;
  font-size: 30px
}

footer .copyright {
  margin-top: 2.75rem;
  justify-content: space-around;
}

br.sp {
  display: none;
}

@media(min-width: 801px) {
  footer>div {
    display: flex;
    justify-content: space-between;
    padding: 0 50px
  }
  footer .hobo {
    display: flex;
    align-items: center
  }
  footer .hobo li.ico_home {
    margin-left: 35px
  }
  footer .hobo li.email {
    margin-top: 6px
  }
}

@media(max-width: 800px) {
  footer .hobo {
    padding-top: 2.75rem;
  }
  footer .hobo li + li {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .yodogawa {
    padding: 80px min(18%, 120px);
  }
  .yodogawa_text {
    padding-left: 0;
  }
  .appendix li {
    padding: 20px 10px;
  }
  .appendix, .history {
    padding: max(30px, 8%) 8%;
  }
  .history .list {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  br {
    display: none;
  }
  br.br {
    display: inherit;
  }
  br.sp {
    display: inherit;
  }
  body {
    background-image: url(../images/bg_sp.png);
  }
  .title {
    font-size: 24px;
  }
  .subtitle {
    font-size: 18px;
  }
  .yodogawa, .appendix, .history {
    font-size: 14px;
  }
  .appendix li {
    padding: 20px 0px;
  }
  .history dt {
    font-size: 14px;
  }
  .banner {
    margin-top: 60px;
  }
  .banner > div + div {
    margin-top: 1.5rem;
  }
  header {
    max-width: 100%;
    width: 100%;
    padding-top: 0;
  }
  main {
    margin-top: 20px;
  }
  .yodogawa {
    padding: 40px 10%;
  }
  .history h3 {
    margin-top: 40px;
  }
  .history p {
    margin-top: 20px;
  }
  .history .list li {
    margin-top: 8%;
  }
}
