header {
  position: fixed;
  width: 100%;
  z-index: 1000;
}
header > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: inherit;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background-color: #fff;
}
header > div > a {
  display: flex;
  align-items: center;
  line-height: 0;
  font-size: 0;
}
header > div > a img {
  width: auto;
  height: 80px;
}
header > div .sp-menu {
  display: none;
}
header > div nav ul {
  display: flex;
  color: #fff;
  list-style-type: none;
}
header > div nav ul li {
  margin: 0 10px;
}
header > div nav a {
  text-decoration: none;
}

main {
  width: 100%;
}
main .top {
  position: relative;
  text-align: right;
  line-height: 0;
}
main .top img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}
main .top > div {
  display: inline-block;
  position: absolute;
  margin: 0 auto;
  padding: 10px;
  text-align: left;
  top: 45%;
  left: 10%;
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, 0.3);
}
main .top > div h2 {
  font-size: 4rem;
  line-height: 1.2;
}
main .top > div p {
  font-size: 2.5rem;
  margin-top: 30px;
  line-height: 1;
}
main .top > div p span {
  background-color: #fff;
  padding: 0 5px;
}
main section.message {
  background-color: #0F2F72;
  color: #fff;
  text-align: center;
  padding: 40px 0 60px 0;
}
main section.message img {
  width: 25px;
  margin-bottom: 10px;
}
main section.message h3 {
  font-size: 2.5rem;
  padding: 0 0 20px 0;
}
main section.message p {
  font-size: 1.8rem;
  padding: 0 20px;
  text-align: left;
  width: calc(100% - 40px);
  max-width: 800px;
  margin: 0 auto;
  line-height: 2;
}
main article {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 0;
  text-align: center;
}
main article h3 {
  display: inline-block;
  font-size: 2.5rem;
  margin-bottom: 20px;
  padding: 0 100px;
  line-height: 2;
  border-bottom: 5px solid #0F2F72;
}
main article ul {
  width: 1200px;
  max-width: calc(100% - 20px);
  padding: 0 10px;
  margin: 0 auto;
  list-style-type: none;
  text-align: left;
}
main article ul li {
  border-bottom: 1px solid #ccc;
  padding: 10px;
}
main article > a {
  display: inline-block;
  border: 1px solid #0F2F72;
  padding: 5px 10px;
  margin-top: 20px;
  font-size: 1.4rem;
  transition: background-color 0.3s ease;
}
main article > a:hover {
  color: #fff;
  background-color: #0F2F72;
}
main section.link {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
main section.link a {
  position: relative;
  display: block;
  width: 50%;
  line-height: 0;
}
main section.link a img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: brightness(80%);
}
main section.link a p {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  max-width: calc(100% - 60px);
  padding: 30px;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.7);
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}
main section.link a:first-child {
  margin-right: 3px;
}
main section.link a:last-child {
  margin-left: 3px;
}

footer {
  background-color: #0F2F72;
  padding: 30px 10px;
  color: #fff;
}
footer > div {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer > div > div {
  width: 40%;
}
footer > div > div ul {
  display: flex;
  list-style-type: none;
}
footer > div > div ul li {
  margin-right: 10px;
  padding-right: 10px;
  border-right: 1px solid #fff;
}
footer > div > div ul li:last-child {
  border: none;
  margin-right: 0;
  padding-right: 0;
}
footer > div > div ul li a {
  color: #fff;
  text-decoration: none;
}
footer > div > div div {
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid #3565ce;
}
footer > div > div div p:nth-child(1) {
  margin-bottom: 10px;
}
footer > div iframe {
  width: 50%;
}
footer .copyright {
  margin-top: 40px;
  text-align: center;
}

@media screen and (max-width: 1300px) {
  main .top > div {
    left: 10px;
  }
}
@media screen and (max-width: 1024px) {
  main .top > div {
    width: calc(100% - 40px);
    max-width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1001;
  }
  header > div .sp-menu {
    display: block;
    width: 25px;
    height: 25px;
    margin-right: 20px;
  }
  header > div nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background-color: #0F2F72;
    margin-right: -70%;
    z-index: 1002;
  }
  header > div nav ul {
    display: block;
    margin-top: 20px;
  }
  header > div nav ul li a {
    display: block;
    color: #fff;
    padding: 10px 20px;
  }
  main .top > div {
    width: calc(100% - 40px);
    max-width: 100%;
  }
  main .top > div h2 {
    font-size: 2.2rem;
  }
  main .top > div p {
    font-size: 1.5rem;
  }
  section.link a p {
    width: auto !important;
    max-width: auto !important;
  }
  footer > div {
    display: block;
  }
  footer > div > div {
    width: 100%;
  }
  footer > div > div ul {
    width: 100%;
  }
  footer > div > div div {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
  }
  footer > div iframe {
    width: 100%;
    margin-top: 20px;
  }
}