/**********************
****   ヘッダー  *****
***********************/

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 34%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 100;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(1, 44, 102, 0.08);
}
header.is-scrolled .header-container {
  padding-bottom: 19px;
}
.admin-bar header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar header {
    top: 46px;
  }
}
.land-cta--sp {
  display: none;
}
.header-container {
  width: 100%;
  position: relative;
  padding: 19px 343px 61px 66px;
}
.header-container .logo-menu-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-container .logo {
  width: 100%;
  max-width: 160px;
  display: flex;
}
.header-menu {
  display: flex;
  gap: 48px;
}
.header-menu a {
  font-size: 16px;
  font-weight: 500;
  position: relative;
}
.header-menu a.is-current {
  font-weight: 700;
  color: var(--dark-blue);
}
.header-menu a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background-color: var(--dark-blue);
}
.ham-nav a.is-current {
  font-weight: 700;
  color: var(--blue);
}
.land-cta.is-current {
  box-shadow: inset 0 0 0 2px #fff7c9;
}
.land-cta {
  position: absolute;
  top: 0;
  right: 77px;
  padding: 33px 12px 16px;
  background-color: var(--dark-blue);
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 4px 4px rgba(255, 247, 201, 0.8);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.land-cta .main-txt {
  font-size: 26px;
  font-weight: 500;
}
.land-cta .sub-txt {
  font-size: 12px;
  font-weight: 500;
  margin-right: 3px;
}
.land-cta span {
  width: 15px;
  aspect-ratio: 1/1;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  transform: rotate(315deg);
}
.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}
.ham-btn {
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 50px;
}
.ham-btn span {
  width: 100%;
  height: 4px;
  background-color: var(--dark-blue);
  border-radius: 999px;
}
.ham-overlay,
.ham-list {
  display: none;
}

@media (max-width: 1360px) {
  .header-container {
    padding: 19px 270px 61px 30px;
  }
  .header-container .logo-menu-area {
    gap: 15px;
  }
  .land-cta {
    right: 30px;
  }
  .header-menu {
    gap: 20px;
  }
}

@media (max-width: 1100px) {
  .header-container {
    padding: 19px 225px 61px 20px;
  }
  .land-cta {
    right: 15px;
  }
}

@media (max-width: 1023px) {
  .header-container {
    padding: 5px 22px 20px;
  }
  .land-cta--pc,
  .header-menu {
    display: none;
  }
  .header-actions {
    display: flex;
  }
  .land-cta--sp {
    display: flex;
    position: static;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }
  .land-cta--sp .main-txt,
  .land-cta--sp .sub-txt,
  .land-cta--sp span {
    display: none;
  }
  .ham-btn {
    display: flex;
  }
  .ham-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(1, 44, 102, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 20;
  }
  .ham-list {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background-color: var(--white);
    padding: 92px 36px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 21;
    overflow-y: auto;
  }
  .ham-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #8eb4e0;
  }
  .ham-close::before,
  .ham-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background-color: var(--white);
  }
  .ham-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .ham-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .ham-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .ham-nav a {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-blue);
    line-height: 1.6;
  }
  .ham-nav a.is-current {
    font-weight: 700;
    color: var(--blue);
  }
  body.is-menu-open {
    overflow: hidden;
  }
  body.is-menu-open header {
    z-index: 30;
  }
  body.is-menu-open .ham-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.is-menu-open .ham-list {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .header-container .logo {
    max-width: 39.8vw;
  }
  .ham-btn {
    gap: 1.64vw;
    width: 9.95vw;
  }
  .ham-btn span {
    height: 1.24vw;
  }
  .ham-list {
    padding: 22vw 8vw 10vw 10vw;
  }
  .ham-close {
    top: 4.5vw;
    right: 4.5vw;
    width: 11vw;
    height: 11vw;
  }
  .ham-close::before,
  .ham-close::after {
    width: 4vw;
    height: 0.5vw;
  }
  .ham-nav {
    gap: 6.5vw;
  }
  .ham-nav a {
    font-size: 4.47vw;
  }
}

/**********************
****   フーター  *****
***********************/
footer {
  background-color: var(--dark-blue);
  padding: 56px 172px 206px;
}
.footer-container {
  width: 100%;
  max-width: 822px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
}
.footer-info-area {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-info-area .logo {
  width: 100%;
  max-width: 180px;
  display: flex;
}
.footer-info-area .company-info {
  display: flex;
  flex-direction: column;
}
.footer-info-area .company-info .company-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 2.5;
}
.footer-info-area .company-info .company-address {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
}
.footer-info-area .company-info .company-contact {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
}
.footer-info-area .company-info .company-contact a {
  color: var(--white);
}
.footer-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 186px;
}
.footer-menu a {
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  color: var(--white);
}

@media (max-width: 1100px) {
  footer {
    padding: 56px 70px 160px;
  }
  .footer-menu {
    gap: 0 80px;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 12.1vw 7.46vw 15.67vw;
  }
  .footer-container {
    flex-direction: column-reverse;
    gap: 19.9vw;
  }
  .footer-info-area .logo {
    max-width: 44.77vw;
    margin-bottom: 2.23vw;
  }
  .footer-menu {
    display: flex;
    flex-direction: column;
  }
  .footer-menu a {
    font-size: 3.98vw;
  }
  .footer-info-area .company-info .company-name {
    font-size: 3.98vw;
  }
  .footer-info-area .company-info .company-address {
    font-size: 3.48vw;
  }
}

/**********************
****   共通コンポーネント  *****
***********************/
.round-btn {
  width: 360px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  position: relative;
  font-size: 22px;
  font-weight: 600;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.round-btn span {
  width: 15px;
  aspect-ratio: 1/1;
  position: absolute;
  right: 30px;
  border-right: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: rotate(315deg);
}
.blue-btn {
  background-color: var(--dark-blue);
}
.red-btn {
  background-color: var(--light-red);
}

.l-section-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--dark-blue);
  margin-bottom: 25px;
}
.section-title-note {
  color: var(--dark-blue);
  font-size: 16px;
  line-height: 1.8;
}
.sub-fv {
  height: 50vw;
  padding: 14.5vw 13.1vw 0;
}
.sub-fv h1 {
  font-size: 4.44vw;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}
.sub-fv .sub-fv-txt {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: var(--white);
}
.sub-fv .sub-fv-txt .sub-fv-txt-title {
  font-size: 20px;
  font-weight: 600;
}
.sub-fv .sub-fv-txt .sub-fv-txt-note {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}
.sub-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 100px;
}
.sub-txt-area {
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: var(--dark-blue);
}
.sub-container h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--dark-blue);
}
.sub-txt-area .sub-txt {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}
.section-num {
  font-size: 20px;
  font-weight: 600;
  color: #91bb83;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.section-num span {
  font-size: 64px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
}
.sub-item-area {
  margin-top: 80px;
}
.three-items {
  display: flex;
  justify-content: center;
  gap: 35px;
}
.three-item {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--white);
  border-radius: 5px;
  box-shadow: 0 4px 4px rgba(196, 226, 186, 0.8);
  padding: 23px 20px 32px;
  color: var(--dark-blue);
}
.three-item img {
  width: 100px;
  margin-bottom: 16px;
}
.three-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 23px;
}
.three-item p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
.recruit-faq {
  color: var(--dark-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 37px;
  width: 100%;
  padding-inline: 20px;
  padding-bottom: 100px;
}
.recruit-faq h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 2;
  text-align: center;
}
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  background-color: var(--white);
  padding: 35px 10px;
}
.faq-item {
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e4e4e4;
  padding-inline: 25px;
}
.faq-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.faq-item-q {
  display: flex;
  align-items: center;
  gap: 19px;
}
.faq-item-a {
  display: flex;
  align-items: flex-start;
  gap: 19px;
}
.faq-item-q span,
.faq-item-a span {
  flex-shrink: 0;
  width: 60px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}
.faq-item-q span {
  background-color: var(--dark-blue);
  color: var(--white);
}
.faq-item-a span {
  background-color: var(--white);
  color: #8eb4e0;
  border: 1px solid #8eb4e0;
}
.faq-item-q p {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.7;
}
.faq-item-a p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

/* お問い合わせ */
.top-contact {
  background: url("../images/hp/contact.jpg") no-repeat center / cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 35px;
  align-items: center;
  color: var(--dark-blue);
  line-height: 1.9;
  text-align: center;
  padding: 80px 7.7vw;
}
.top-contact h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.5;
}
.top-contact p {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
}
.contact-area {
  width: 100%;
  max-width: 980px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 55px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}
.tel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  color: var(--dark-blue);
  width: 100%;
  max-width: 348px;
}
.tel-btn-img-box {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tel-btn img {
  width: 60px;
}
.tel-btn-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.top-contact .tel-btn-label {
  font-size: 18px;
  margin-bottom: 0;
}
.tel-btn-num {
  font-size: 35px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}
.tel-btn-hours {
  font-size: 16px;
  text-align: center;
}
.contact-area .free-diagnosis-btn {
  max-width: 430px;
}
.contact-area .free-diagnosis-btn-txt {
  font-size: 24px;
  margin-bottom: 0;
}
.contact-area .free-diagnosis-btn-txt span {
  width: 14px;
  height: 14px;
}

@media (max-width: 1200px) {
  .sub-container {
    padding-inline: 20px;
  }
}

@media (max-width: 768px) {
  .l-section-title {
    font-size: 6.96vw;
    margin-bottom: 6.96vw;
  }
  .section-title-note {
    font-size: 3.98vw;
  }
  .round-btn {
    width: 79.6vw;
    height: 17.4vw;
    font-size: 4.97vw;
  }
  .round-btn span {
    width: 3.73vw;
    right: 6.2vw;
    border-width: 0.74vw;
  }
  .sub-fv {
    height: 122.88vw;
    padding: 30.8vw 7.45vw 0;
  }
  .sub-fv h1 {
    font-size: 7.46vw;
    margin-bottom: 4.97vw;
  }
  .sub-fv .sub-fv-txt {
    gap: 2.48vw;
  }
  .sub-fv .sub-fv-txt .sub-fv-txt-title {
    font-size: 3.98vw;
    line-height: 1.4;
  }
  .sub-fv .sub-fv-txt .sub-fv-txt-note {
    font-size: 3.48vw;
    line-height: 1.6;
  }
  .sub-container {
    padding: 5.47vw 7.7vw 23.6vw;
  }
  .sub-txt-area {
    gap: 4.97vw;
  }
  .sub-txt-area .sub-txt {
    font-size: 3.98vw;
  }
  .section-num {
    font-size: 3.98vw;
  }
  .section-num span {
    font-size: 11.9vw;
  }
  .sub-container h2 {
    font-size: 4.97vw;
  }
  .sub-item-area {
    margin-top: 14.9vw;
  }
  .three-items {
    flex-direction: column;
    align-items: center;
    gap: 6.21vw;
  }
  .three-item {
    max-width: 74.6vw;
    padding: 5.72vw 4.97vw 7.96vw;
  }
  .three-item img {
    width: 24.8vw;
    margin-bottom: 3.98vw;
  }
  .three-item h3 {
    font-size: 4.47vw;
    margin-bottom: 5.72vw;
  }
  .three-item p {
    font-size: 3.98vw;
  }
  .five-items {
    flex-wrap: nowrap;
    flex-direction: column;
  }
  .recruit-faq {
    gap: 6.21vw;
    padding-inline: 7.7vw;
    padding-bottom: 23.6vw;
  }
  .recruit-faq h2 {
    font-size: 4.97vw;
  }
  .faq-wrap {
    gap: 6.21vw;
    padding-inline: 0;
  }
  .faq-item {
    gap: 3.48vw;
    padding-bottom: 6.21vw;
  }
  .faq-item-q,
  .faq-item-a {
    gap: 3.48vw;
  }
  .faq-item-q span,
  .faq-item-a span {
    width: 9.95vw;
    font-size: 5.47vw;
  }
  .faq-item-q p,
  .faq-item-a p {
    font-size: 4.47vw;
    margin: auto 0;
  }
  .faq-item-q {
    align-items: unset;
  }
  .faq-item-q span {
    height: fit-content;
  }
  .top-contact {
    background: url("../images/hp/contact_sp.jpg") no-repeat center / cover;
    padding: 12.1vw 7.7vw 35.3vw;
    gap: 4.97vw;
  }
  .top-contact h2 {
    font-size: 5.97vw;
    font-weight: 600;
    line-height: 1.3;
  }
  .top-contact p {
    font-size: 3.98vw;
    text-align: start;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 10.69vw;
  }
  .contact-area {
    gap: 14.4vw;
    padding: 9.7vw 4.97vw;
  }
  .tel-btn {
    gap: 3.23vw;
    max-width: 100%;
  }
  .tel-btn img {
    width: 12.4vw;
  }
  .tel-btn-label {
    font-size: 3.73vw;
  }
  .tel-btn-num {
    font-size: 7.46vw;
  }
  .tel-btn-hours {
    font-size: 3.48vw;
  }
  .contact-area .free-diagnosis-btn {
    max-width: 100%;
  }
  .top-contact .tel-btn-label {
    font-size: 3.98vw;
    margin-bottom: 0;
    font-weight: 600;
  }
  .contact-area .free-diagnosis-btn-txt {
    font-size: 5.47vw;
    font-weight: 600;
    text-align: center;
  }
  .contact-area .free-diagnosis-btn-txt span {
    width: 3vw;
    height: 3vw;
    border-width: 0.7vw;
  }
}

.form-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(1, 44, 102, 0.45);
}
.form-confirm-dialog {
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  padding: 32px 28px;
}
.form-confirm-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 20px;
}
.form-confirm-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.form-confirm-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6e6e6;
}
.form-confirm-list dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
}
.form-confirm-list dd {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-blue);
  white-space: pre-wrap;
  word-break: break-word;
}
.form-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.form-confirm-back,
.form-confirm-send {
  min-width: 160px;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}
.form-confirm-back {
  border: 1px solid #012c66;
  color: var(--dark-blue);
}
.form-confirm-send {
  background: var(--dark-blue);
  color: #fff;
}
.wpcf7-response-output {
  margin-top: 24px;
  padding: 20px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: #eef7e8;
  color: var(--green);
  border: 1px solid #c4e2ba;
}
body.is-form-confirm-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .form-confirm-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .form-confirm-actions {
    flex-direction: column;
  }
}

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--dark-blue);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.page-top span {
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(3px) rotate(-45deg);
}
.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.sp-fixed-cta {
  display: none;
}

@media (max-width: 768px) {
  .page-top {
    right: 16px;
    bottom: 88px;
    width: 11vw;
    height: 11vw;
    font-size: 4vw;
  }
  .sp-fixed-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid #d9e4f2;
  }
  .sp-fixed-cta-btn,
  .sp-fixed-cta-tel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
  }
  .sp-fixed-cta-btn {
    background: var(--dark-blue);
    color: #fff;
  }
  .sp-fixed-cta-tel {
    background: #eef4fb;
    color: var(--dark-blue);
  }
  body:has(.sp-fixed-cta) {
    padding-bottom: 72px;
  }
}
