@charset "utf-8";
/* CSS Document */

.page-header {
  width: 100%;
  margin: 0 auto;
  text-align: left;
  font-size: 200%;
  padding: 20px;
  font-weight: 400;
  font-style: normal;
  background: #fff;
  color: #666;
}

.page-header a {
  text-decoration: none;
}

.page-header a:hover {
  color: #000;
}

.page-header p.h1 {
  font-size: 120%;
  margin-top: 1px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.page-header p.h2 {
  font-size: 60%;
  margin-top: -6px;
  font-feature-settings: "kern";
}

.page-header p.h3 {
  width: 100%;
  margin: 30px auto 25px auto;
  text-align: center;
  font-size: 80%;
}

.page-header p.h3 a {
  text-decoration: none;
}

.page-header p.h3 span {
  color: #1237af;
}

.page-header p.h3 a:hover {
  color: #1237af;
  border-bottom: 1px #1237af solid;
}

.page-header p.h4 {
  display: none;
}

.fullscreen-background {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: right center;
}

@media (max-width: 768px) {
  .page-header {
    height: 75px;
  }

  .page-header p.h3 {
    display: none;
  }

  .page-header p.h4 {
    display: block;
    width: 100%;
    margin: 25px auto 35px auto;
    text-align: center;
    font-size: 80%;
    line-height: 2em;
  }

  .page-header p.h4 a {
    text-decoration: none;
  }

  .page-header p.h4 span {
    color: #1237af;
  }

  .page-header p.h4 a:hover {
    color: #1237af;
    border-bottom: 1px #1237af solid;
  }

  .fullscreen-background {
    width: auto;
    height: 500px;
    background-size: cover;
    background-position: calc(100% - 25%) center; /* 右から50px左へずらす */
  }
}

.page-header p.pank {
  width: 95%;
  margin: 50px auto 0px auto;
  font-size: 80%;
  color: #d0b100;
}

.page-header p.pank a {
  text-decoration: none;
  color: #000;
}

.page-header p.pank a:hover {
  padding-bottom: 1px;
  border-bottom: 1px #000 solid;
}

.page-header p.ptitle {
  width: 95%;
  margin: 50px auto 0px auto;
  font-size: 150%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.page-header p.subtitle {
  display: block;
  width: 94%;
  margin: -5px auto 50px auto;
  font-size: 80%;
}

.page-header p.exp {
  display: block;
  width: 93%;
  margin: 50px auto;
  font-size: 80%;
}

.outer-div {
  width: 90%;
  max-width: 800px;
  height: auto;
  padding: 40px 30px;
  border: 1px #000 solid;
  position: relative;
  margin: 0px auto;
  box-sizing: border-box;
  font-size: 180%;
}

.inner-div {
  width: 150px;
  height: 50px;
  border: 1px #000 solid;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  background-color: #000; /* Background color to make it stand out */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.line-wrap {
  width: 100%;
  height: 80px; /* Or another suitable height */
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.centered-line {
  width: 1px;
  height: 80px;
  background-color: #000;
  position: absolute;
}

.exp-div {
  width: 85%;
  max-width: 800px;
  margin: 50px auto;
  text-align: center;
  font-size: 160%;
}

@media (max-width: 768px) {
  .page-header p.ptitle {
    font-size: 130%;
  }

  .exp-div {
    text-align: left;
  }

  img.bimg {
    width: 100%;
    margin: -30px auto 0px auto;
    display: block;
    z-index: 1;
  }
}
