*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

button {
  cursor: pointer;
}

input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=tel],
input[type=url],
input[type=search],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none;
}

.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;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.7rem !important;
  color: #1F1F1F;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  background-image: url(../img/bg_base.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.c-container {
  padding: 0 20px;
}

.c-heading {
  position: relative;
  margin-bottom: 34px;
  padding: 13px 0;
  background-color: #013893;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
}
.c-heading span {
  display: block;
  font-size: 1.4rem;
}
.c-heading::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 12px solid #013893;
}
.c-heading--contact {
  font-size: 2.1rem;
  padding: 13px 60px 13px 5px;
}
.c-heading--contact::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  width: 94px;
  height: 110px;
  background-image: url(../img/img_heading_contact.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
}

.c-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.c-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.l-header {
  padding: 8px 0;
}
.l-header__title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.l-header__title img {
  width: 113px;
}
.l-header__title span {
  font-size: 1.2rem;
}

.l-footer {
  padding: 0 0 20px;
}
.l-footer__text {
  margin-bottom: 10px;
  font-size: 1.2rem;
  text-align: center;
}
.l-footer__logo {
  width: 113px;
  margin: 0 auto 40px;
}
.l-footer__copyright {
  font-size: 1.2rem;
  text-align: center;
}

.l-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background-color: #fff;
}

.p-mv {
  position: relative;
}
.p-mv__image {
  width: 100%;
}
.p-mv__graph {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 61%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.p-mv__graph.is-active {
  opacity: 1;
}
.p-mv__cta {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  display: block;
  transform: translate(-50%, 50%);
}
.p-mv__cta img {
  width: 100%;
}

.p-merit {
  background-image: url(../img/bg_merit.svg);
  background-size: 100% auto;
  background-position: center top -340px;
  background-repeat: no-repeat;
  padding: 75px 0 55px;
}
.p-merit .c-container {
  padding-top: 65px;
}

.p-contents {
  margin-bottom: 55px;
  padding: 45px 0 50px;
  background-color: #FFDFD8;
}
.p-contents__title {
  position: relative;
  max-width: 315px;
  margin: 0 auto 50px;
  padding: 13px 2px;
  background-color: #013893;
  border-radius: 10px;
  color: #fff;
  font-size: 2.7rem;
  font-weight: 700;
  text-align: center;
}
.p-contents__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 12px solid #013893;
}
.p-contents__cta {
  position: relative;
  display: block;
  width: 100%;
}
.p-contents__cta img {
  width: 100%;
}
.p-contents__subtitle {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 16px;
  border-radius: 0 5px 5px 0;
  background-color: #fff;
  font-size: 2.1rem;
  font-weight: 900;
  color: #013893;
}
.p-contents__table {
  width: 100%;
  margin-bottom: 45px;
  border-bottom: 1px dotted #1F1F1F;
}
.p-contents__table .row {
  padding: 10px 0;
  border-top: 1px dotted #1F1F1F;
}
.p-contents__table .row p {
  font-size: 1.2rem;
}
.p-contents__table .row dl {
  display: flex;
  flex-wrap: wrap;
  font-weight: 500;
}
.p-contents__table .row dl dt {
  width: 5.5em;
}
.p-contents__table .row dl dd {
  flex: 1;
}
.p-contents__list {
  position: relative;
  padding: 60px 0 20px;
}
.p-contents__list .lead {
  text-align: center;
  margin-bottom: 25px;
}
.p-contents__list .lead h4 {
  display: inline-block;
  border-bottom: 3px solid #1F1F1F;
  font-size: 2.2rem;
  font-weight: 700;
}
.p-contents__list dl {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.p-contents__list dl dt {
  width: 4.5em;
  font-weight: 500;
}
.p-contents__list dl dd {
  flex: 1;
  font-weight: 500;
}

.p-achievements {
  margin-bottom: 60px;
}

.p-schools {
  margin-bottom: 60px;
}
.p-schools__lead {
  margin-bottom: 17px;
  font-weight: 500;
}
.p-schools__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 35px;
}
.p-schools__list .item {
  display: flex;
  width: 100%;
  border: 1px solid #1F1F1F;
  border-radius: 6px;
}
.p-schools__list .item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 150px;
  padding: 15px;
  border-right: 1px solid #1F1F1F;
  font-size: 2rem;
  font-weight: 500;
}
.p-schools__list .item .info {
  width: 100%;
  max-width: 250px;
}
.p-schools__list .item .info .tel {
  background-image: url(../img/ico_tel.svg);
  background-size: 26px;
  background-position: left 18px center;
  background-repeat: no-repeat;
  padding: 12px 18px 15px 50px;
  border-bottom: 1px dotted #1F1F1F;
  font-size: 2.6rem;
  font-weight: 500;
}
.p-schools__list .item .info .link {
  padding: 14px 18px;
  font-weight: 500;
}
.p-schools__list .item .info .link a {
  color: #E21412;
}
.p-schools__list .item .info .link a:hover {
  opacity: 0.7;
}

.p-qa__list {
  margin-bottom: 90px;
  border-top: 1px dotted #1F1F1F;
}
.p-qa__list .item {
  padding: 30px 0;
  border-bottom: 1px dotted #1F1F1F;
  font-weight: 700;
}
.p-qa__list .item .question {
  position: relative;
  padding-left: 45px;
  margin-bottom: 14px;
}
.p-qa__list .item .question::before {
  content: "Q.";
  position: absolute;
  left: 0;
  top: -0.5em;
  width: 45px;
  font-size: 3.2rem;
  font-weight: 900;
  color: #E21412;
}
.p-qa__list .item .answer {
  position: relative;
  padding-left: 45px;
}
.p-qa__list .item .answer::before {
  content: "A.";
  position: absolute;
  left: 0;
  top: -0.5em;
  width: 45px;
  font-size: 3.2rem;
  font-weight: 900;
  color: #013893;
}

.p-contact {
  margin-bottom: 65px;
}
.p-contact__cta-text {
  position: relative;
  padding: 35px 0 60px;
  background-color: #013893;
  color: #fff;
}
.p-contact__cta-text .title {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 268px;
  padding: 8px 18px;
  border-radius: 5px;
  background-color: #013893;
  font-size: 2.1rem;
  font-weight: bold;
  text-align: center;
}
.p-contact__cta-button {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 20px;
  transform: translateY(-50%);
}
.p-contact__cta-button img {
  width: 100%;
}
.p-contact__lead {
  margin-bottom: 10px;
  font-size: 1.7rem;
  font-weight: 500;
  text-align: center;
}
.p-contact__note {
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px dashed #1F1F1F;
}
.p-contact__privacy {
  margin: 40px 0;
  padding: 30px 0;
  border-bottom: 1px dashed #1F1F1F;
  border-top: 1px dashed #1F1F1F;
}
.p-contact__privacy h3 {
  font-size: 1.7rem;
  font-weight: 500;
  text-align: center;
  text-decoration: underline;
  margin-bottom: 10px;
}
.p-contact__privacy p {
  font-size: 1.4rem;
  font-weight: 500;
}
.p-contact__privacy-text {
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
  color: #E21412;
}
.p-contact .wpcf7-submit {
  display: block;
  max-width: 265px;
  width: 100%;
  margin: 0 auto;
  border: none;
  border-radius: 9px;
  background-color: #E21412;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  padding: 10px 30px;
}
.p-contact .wpcf7-submit:hover {
  background-color: #d4ab4b;
  color: #fff !important;
}
.p-contact .form-group {
  margin-bottom: 25px;
  padding: 0 10px;
}
.p-contact .form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 1.7rem;
  font-weight: 500;
  color: #013893;
}
.p-contact .form-group label .required {
  color: #E21412;
  margin-left: 5px;
  font-weight: 500;
  font-size: 1.2rem;
  vertical-align: top;
}
.p-contact .wpcf7-form-control.wpcf7-text,
.p-contact .wpcf7-form-control.wpcf7-tel,
.p-contact .wpcf7-form-control.wpcf7-select,
.p-contact .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #b6b4b4;
  border-radius: 5px;
  color: #1F1F1F !important;
}
.p-contact form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232b2b2b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}
