/* 共通のCSS */
body {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  color: #454552;
}

a {
  display: block;
}

.content {
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .pcHide {
    display: none !important;
  }

  body {
    font-size: min(1.54545454545455vw, 17px);
  }

  .content {
    width: min(100vw, 1100px);
  }

  .pageH2Title {
    font-size: min(2.72727272727273vw, 30px);
    margin-bottom: min(1.81818181818182vw, 20px);
    padding: min(1.81818181818182vw, 20px) 0;
    border-bottom: min(0.272727272727273vw, 3px) solid #000000;
  }
}

@media screen and (max-width: 767px) {
  .spHide {
    display: none !important;
  }

  body {
    font-size: 4vw;
  }

  .content {
    width: 90vw;
  }

  .pageH2Title {
    font-size: 20px;
    margin-bottom: 24px;
    padding: 2vw 0;
    border-bottom: 2px solid #000000;
  }
}

/* 追加編集_20250103 */

/* フォームのCSS */
.formWrap {
  background-color: #ffffff;
}

.formWrap form {
  display: flex;
  align-items: center;
  flex-direction: column;
}

input {
  border: solid 1px #000000;
  background-color: #fbfbfb;
}

.formItem .lavel .isRequired {
  color: #ffffff;
  background-color: #ff0000;
}

.toMypageLink {
  text-align: center;
  color: #e85a71;
  border: solid 1px #e85a71;
  background-color: #ffffff;
}

.submitBtn {
  text-align: center;
  color: #ffffff;
  border: solid 1px #e85a71;
  background-color: #e85a71;
}

.submitBtn:disabled {
  color: #d8e9ef;
  background-color: #454552;
}

input:disabled {
  color: #d8e9ef;
  background-color: #454552;
}

.error {
  color: #ff0000;
}

@media screen and (min-width: 768px) {
  .formWrap {
    padding: min(1.81818181818182vw, 20px) 0;
  }

  input {
    width: min(54.5454545454545vw, 600px);
    padding: min(0.727272727272727vw, 8px);
    border-radius: min(0.545454545454545vw, 6px);
  }

  .formItem {
    margin-bottom: min(1.81818181818182vw, 20px);
  }

  .formItem .lavel {
    margin-bottom: min(0.909090909090909vw, 10px);
  }

  .formItem .lavel .isRequired {
    font-size: min(1.27272727272727vw, 14px);
    margin-left: min(0.909090909090909vw, 10px);
    padding: min(0.181818181818182vw, 2px) min(0.545454545454545vw, 6px);
    border-radius: min(0.272727272727273vw, 3px);
  }

  .buttonArea {
    display: flex;
  }

  .toMypageLink {
    width: min(22.7272727272727vw, 250px);
    margin-top: min(1.81818181818182vw, 20px);
    margin-right: min(1.81818181818182vw, 20px);
    padding: min(0.909090909090909vw, 10px);
    border-radius: min(0.545454545454545vw, 6px);
  }

  .submitBtn {
    width: min(22.7272727272727vw, 250px);
    margin-top: min(1.81818181818182vw, 20px);
    padding: min(0.909090909090909vw, 10px);
  }
}

@media screen and (max-width: 767px) {
  .formWrap {
    padding: 2vw 0;
  }

  input {
    width: 80vw;
    padding: 1vw;
    border-radius: 1vw;
  }

  .formItem {
    margin-bottom: 5vw;
  }

  .formItem .lavel {
    margin-bottom: 2vw;
  }

  .formItem .lavel .isRequired {
    font-size: 3vw;
    margin-left: 0.5vw;
    padding: 1vw 1.5vw;
    border-radius: 1vw;
  }

  .toMypageLink {
    width: 60vw;
    margin-top: 1.8vw;
    margin-right: 1.8vw;
    padding: 1.5vw;
    border-radius: 1vw;
  }

  .submitBtn {
    width: 60vw;
    margin-top: 1.8vw;
    padding: 1.5vw;
  }

  /* 追加編集_20250103 */
}

/* ヘッダーのCSS */
header {
  background-color: #2984cc;
}

header .content {
  display: flex;
  align-items: center;
  color: #ffffff;
}

header .content nav {
  margin-left: auto;
}

header .content nav ul li.fullName {
  color: #ffffff;
  background-color: #000000;
}

@media screen and (min-width: 768px) {
  header {
    height: min(8.18181818181818vw, 90px);
  }

  header .content h1 {
    font-size: min(3.63636363636364vw, 40px);
    line-height: min(8.18181818181818vw, 90px);
    height: min(8.18181818181818vw, 90px);
  }

  header .content nav ul {
    display: flex;
  }

  header .content nav ul li {
    /*border: min(0.181818181818182vw, 2px) solid #fff;*/
  }

  header .content nav ul li a,
  header .content nav ul .fullName {
    padding: min(0.909090909090909vw, 10px);
  }

  header .content nav ul li:hover {
    border-bottom: 2px solid #ffffff;
  }

  header .content nav ul li.fullName {
    margin-left: min(0.909090909090909vw, 10px);
    border: min(0.181818181818182vw, 2px) solid #ffffff;
    border-radius: min(0.545454545454545vw, 6px);
  }
}

@media screen and (max-width: 767px) {
  header {
    position: relative;
    height: 12.45551601423488vw;
  }

  header .content h1 {
    font-size: 6vw;
    line-height: 12.45551601423488vw;
    height: 12.45551601423488vw;
  }

  /* ハンバーガーメニューのCSS */
  header .hamburgerMenuWrap {
    position: absolute;
    z-index: 999;
    top: 4.00427046263345vw;
    right: 9.540925266903916vw;
  }

  .hamburgerMenu {
    position: relative;
    width: 5.33807829181495vw;
    height: 4.44839857651246vw;
    cursor: pointer;
    border-radius: 5px;
  }

  .hamburgerMenu span {
    position: absolute;
    left: 14px;
    display: inline-block;
    height: 3px;
    transition: all 0.4s;
    background: #1a1a1a;
  }

  .hamburgerMenu span:nth-of-type(1) {
    top: 0;
    width: 5.33807829181495vw;
  }

  .hamburgerMenu span:nth-of-type(2) {
    top: 2.27419928825623vw;
    width: 5.33807829181495vw;
  }

  .hamburgerMenu span:nth-of-type(3) {
    top: 4.44839857651246vw;
    width: 5.33807829181495vw;
  }

  .hamburgerMenu.active span:nth-of-type(1) {
    top: 1.7vw;
    left: 5vw;
    width: 7.52669039145908vw;
    transform: translateY(1.06761565836299vw) rotate(-135deg);
    background: #ffffff;
  }

  .hamburgerMenu.active span:nth-of-type(2) {
    opacity: 0;
  }

  .hamburgerMenu.active span:nth-of-type(3) {
    top: 3.7vw;
    left: 5vw;
    width: 7.52669039145908vw;
    transform: translateY(-1.06761565836299vw) rotate(135deg);
    background: #ffffff;
  }

  header .content nav {
    display: none;
  }

  header .content nav.active {
    font-size: 4.09252669039146vw;
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    display: block;
    width: 100%;
    height: 100vh;
    padding-top: 15vw;
    text-align: right;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.9);
  }

  header .content nav.active ul li {
    padding: 3vw 5vw;
  }
}

/* フッターのCSS */
footer {
  margin-top: 120px;
  text-align: center;
  background-color: #000000;
}

footer .footerLineLink {
  margin: 0 auto;
}

footer .footerLineLink img {
  width: 100%;
  height: 100%;
}

footer .copyRight,
footer .contactTo {
  color: #ffffff;
}

@media screen and (min-width: 768px) {
  footer {
    line-height: min(1.81818181818182vw, 20px);
    padding: min(1.81818181818182vw, 20px) 0;
    text-align: min(1.81818181818182vw, 20px);
  }

  footer .contactTo {
    padding: min(1.36363636363636vw, 15px) 0;
  }

  footer .footerLineLink {
    width: min(13.0909090909091vw, 144px);
    height: min(13.0909090909091vw, 144px);
  }
}

@media screen and (max-width: 767px) {
  footer {
    line-height: 5.12820512820513vw;
    padding: 5.12820512820513vw 0;
    text-align: 5.12820512820513vw;
  }

  footer .contactTo {
    padding: 2vw 0;
  }

  footer .footerLineLink {
    width: 20vw;
    height: 20vw;
  }
}

.p-test-video {
  display: flex;
  justify-content: center;
  margin: 40px auto;
}

.p-test-improvement {
  line-height: 1.75;
  max-width: 750px;
  margin: 0 auto;
}

.p-test-improvement a {
  display: inline-block;
  text-decoration: underline;
  color: initial;
}

.p-test-improvement a:hover {
  text-decoration: none;
}

.p-test-improvement__title {
  font-size: 20px;
  margin-bottom: 24px;
}

.p-test-video .wp-block-embed__wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
}

.p-test-video .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.c-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.c-btn {
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
  padding: 26px 48px;
  color: #ffffff;
  border-radius: 40px;
  background-color: #2984cc;
}
