@charset "utf-8";

/* =============================================
共通
============================================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--black);
  letter-spacing: 0.4px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
:root {
  --leading-trim: calc((1em - 1lh) / 2);
}

/* カラー */
:root {
  --black: #111111;
  --red: #ff2c55;
  --light-red: #fff4f6;
  --navy: #00104c;
  --light-navy: #f4f6ff;
  --light-blue: #e5eaff;
  --white: #ffffff;
}

/* フォントサイズ */
*,
::before,
::after {
  --clamp-root-font-size: 16;
  --clamp-slope: calc(
    (var(--clamp-max) - var(--clamp-min)) /
      (var(--clamp-viewport-max) - var(--clamp-viewport-min))
  );
  --clamp-y-axis-intersection: calc(
    var(--clamp-min) - (var(--clamp-slope) * var(--clamp-viewport-min))
  );
  --clamp-preffered-value: calc(
    var(--clamp-y-axis-intersection) * (1rem / var(--clamp-root-font-size)) +
      (var(--clamp-slope) * 100vi)
  );
  --clamp: clamp(
    calc(var(--clamp-min) * (1rem / var(--clamp-root-font-size))),
    var(--clamp-preffered-value),
    calc(var(--clamp-max) * (1rem / var(--clamp-root-font-size)))
  );

  font-size: var(--clamp) !important;
}
body {
  --clamp-viewport-min: 375;
  --clamp-viewport-max: 1200;
  --clamp-max: 16;
  --clamp-min: 14;
}

/* ユーティリティ */
.section {
  padding: 80px 0;
  border-radius: 100px;
}
@media screen and (max-width: 767px) {
  .section {
    padding: 60px 0;
    border-radius: 30px;
  }
}
.inner {
  width: 90vw;
  margin-inline: auto;
}
.inner--large {
  max-width: 1320px;
}
.inner--medium {
  max-width: 1010px;
}
.inner--small {
  max-width: 880px;
}
.bg--navy {
  background: var(--navy);
}
.bg--light-red {
  background: var(--light-red);
}
.bg--light-blue {
  background: var(--light-blue);
}
.align--center {
  text-align: center;
  margin-inline: auto;
}
.heading {
  font-weight: 700;
}
.heading--large {
  --clamp-max: 41;
  --clamp-min: 25;
  margin-bottom: 1em;
  display: flex;
  flex-direction: column;
  gap: clamp(0px, 0.3vw, 4px);
  text-align: center;
  margin-top: var(--leading-trim);
  letter-spacing: 0.1em;
}
.heading--large::before {
  content: attr(data-heading-before);
  --clamp-max: 75;
  --clamp-min: 25;
  color: var(--red);
  font-family: "Roboto", sans-serif;
  line-height: 1;
}
.bg--navy .heading--large,
.bg--navy .heading--large::before,
.bg--image .heading--large,
.bg--image .heading--large::before {
  color: var(--white);
}
.button.button {
  border-radius: 999em;
  padding: 0.8em 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: auto;
  font-weight: 700;
  text-align: center;
  border: solid 1px;
  min-width: 150px;
  text-decoration: none;
}
.button--red.button--red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0px 4px 10px rgba(255, 44, 85, 0.2);
}
.button--grad.button--grad {
  background: linear-gradient(92deg, #ff2c55 22%, #803199 80%, #0b36d7 136%);
  color: var(--white);
  box-shadow: 0px 4px 10px rgba(17, 17, 17, 0.2);
  position: relative;
  overflow: hidden;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 100%
    );
    transition: left 0.6s ease;
  }
}
@media (hover: hover) {
  .button--grad:hover::before {
    left: 100%;
  }
}
.button--arrow {
  position: relative;
  padding-right: calc(1.9em + 1.2em + 0.4em) !important;
}
.button--arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  width: 1.6em;
  height: 1.6em;
  background-image: url(../images/common/icon-arrow.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.font--roboto {
  font-family: "Roboto", sans-serif;
}
.font--red.font--red {
  color: var(--red);
}
.font--small.font--small {
  --clamp-max: 12;
  --clamp-min: 10;
}
.font--bold.font--bold {
  font-weight: 700;
}
.font--underline {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (hover: hover) {
  .link--underline:hover {
    text-decoration: underline;
  }
}
.lead-box {
  background: var(--white);
  border: solid 6px var(--red);
  padding: 32px;
  border-radius: 40px;
  font-weight: 700;
  text-align: center;
  --clamp-max: 25;
  --clamp-min: 18;
  line-height: 2;
  margin: 40px auto;
}
@media screen and (max-width: 767px) {
  .lead-box {
    padding: 10px 20px;
    margin: 0 auto 30px;
    border-radius: 20px;
    border: solid 4px var(--red);
    line-height: 1.8;
  }
}
.lead-box__text {
  display: flex;
  justify-content: center;
}
.lead-box__text > img {
  margin-inline: 10px;
}
.display--only-pc {
  display: block;
}
@media screen and (max-width: 767px) {
  .display--only-pc {
    display: none;
  }
}
.display--only-sp {
  display: none;
}
@media screen and (max-width: 767px) {
  .display--only-sp {
    display: block;
  }
}

/* =============================================
ヘッダー
============================================= */
.header {
  position: absolute;
  width: 100%;
  padding: 40px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__navigation {
}
.header__list {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header__link {
  font-weight: 500;
  --clamp-max: 14;
  --clamp-min: 14;
  transition: color 0.3s ease;
}
@media (hover: hover) {
  .header__link:not(.header__link--button):hover {
    color: var(--red);
  }
}
.header__link--button {
  font-weight: 700;
  --clamp-max: 16;
  --clamp-min: 16;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
}
/* フロート */
.header--float {
  background: var(--white);
  padding: 10px;
}
.header--float .header__logo {
  width: 120px;
}
.header--float.is-drawer-open {
  background: transparent;
}
.header--float.is-drawer-open .header__logo {
  display: none;
}
@media screen and (max-width: 1079px) {
  .header {
    padding: 10px 0;
  }
  .header__logo {
    width: 120px;
  }
  .header__navigation {
    display: none;
  }
}

/* =============================================
ドロワーメニュー
============================================= */
.drawer__toggle {
  position: relative;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px;
  z-index: 10001;
  display: none;
}
@media screen and (max-width: 1079px) {
  .drawer__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
}
.drawer__line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.drawer__toggle[aria-expanded="true"] .drawer__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.drawer__toggle[aria-expanded="true"] .drawer__line:nth-child(2) {
  opacity: 0;
}
.drawer__toggle[aria-expanded="true"] .drawer__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  visibility: hidden;
  transition: visibility 0s 0.3s;
}
.drawer[aria-hidden="false"] {
  visibility: visible;
  transition: visibility 0s 0s;
}
.drawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  z-index: -1;
}
.drawer[aria-hidden="false"] .drawer__overlay {
  opacity: 1;
}
.drawer__container {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 325px;
  height: 100%;
  background-color: var(--white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 80px 30px 40px;
}
@media (prefers-reduced-motion: reduce) {
  .drawer__container {
    transition: none;
  }
}
.drawer[aria-hidden="false"] .drawer__container {
  transform: translateX(0);
}
.drawer__header {
  /* margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1); */
}
.drawer__logo {
  width: 160px;
  height: auto;
}
.drawer__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.drawer__item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  &:last-child {
    border-bottom: none;
  }
}
.drawer__link {
  --clamp-max: 16;
  --clamp-min: 14;
  display: block;
  padding: 20px 0;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.05em;
  line-height: 1.6;
  transition: color 0.3s ease;
}
.drawer__link--button.drawer__link--button {
  --clamp-min: 16;
  margin-top: 20px;
}

/* =============================================
フッター
============================================= */
.footer {
  background: var(--black);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 50px 10px;
  --clamp-max: 14;
  --clamp-min: 12;
  width: fit-content;
}
.footer__list {
  display: flex;
  line-height: 1;
}
.footer__list-item:not(:last-child) {
  margin-right: 20px;
  padding-right: 20px;
  border-right: solid 1px var(--white);
}
.footer__link {
  color: var(--white);
  display: block;
}
.footer__services {
  width: 100%;
  margin: 0 auto 20px;
  color: var(--white);
}
.footer__services-heading {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer__services-heading::before,
.footer__services-heading::after {
  content: "";
  min-width: 30px;
  height: 1px;
  background: #ffffff99;
}
.footer__services-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-bottom: solid 1px #ffffff99;
  padding-bottom: 26px;
}
.footer__services-link {
  padding: 1em;
  border: solid 1px #ffffff99;
  text-align: center;
  width: 50%;
  background: #343434;
  border-radius: 10px;
}
.footer__services-name {
  font-weight: 700;
  padding-right: 6px;
  margin-right: 10px;
  border-right: solid 1px #ffffff99;
}
@media (hover: hover) {
  .footer__link:hover {
    text-decoration: underline;
  }
}
.footer__credit {
  color: var(--white);
  opacity: 0.6;
}
@media screen and (max-width: 1150px) {
  .footer__inner {
    align-items: flex-start;
    padding: 30px 0;
  }
  .footer__navigation {
    margin-inline: auto;
    text-align: center;
  }
  .footer__list {
    flex-direction: column;
    gap: 10px;
  }
  .footer__list-item:not(:last-child) {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
  }
  .footer__link {
    padding-block: 5px;
  }
  .footer__credit {
    width: 100%;
    text-align: center;
  }
  .footer__services,
  .footer__services-link {
    width: 90vw;
    max-width: 1010px;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  .footer__services-inner {
    flex-direction: column;
  }
  .footer__services-link {
    text-align: left;
  }
  .footer__services-heading {
    gap: 20px;
  }
}
/* =============================================
パンくずリスト
============================================= */
#breadcrumbs {
  color: var(--navy);
  background: var(--light-navy);
  padding: 0.6em;
  --clamp-max: 12;
  --clamp-min: 12;
  font-weight: 500;
}
#breadcrumbs > span {
  width: 90vw;
  display: block;
  margin-inline: auto;
  max-width: 1010px;
}

/* =============================================
テーブル
============================================= */
/* テーブル全体 */
.table,
.wp-block-flexible-table-block-table table,
.wp-block-table {
  border: solid 1px var(--navy);
}
.wp-block-flexible-table-block-table table,
.wp-block-table {
  width: 100%;
}
.table__row,
.wp-block-flexible-table-block-table thead,
.wp-block-table thead {
  border-bottom: solid 1px var(--navy) !important;
}

/* セル共通 */
.table__header,
.table__data,
.wp-block-flexible-table-block-table th,
.wp-block-flexible-table-block-table td,
.wp-block-table th,
.wp-block-table td {
  padding: 1.2em 1em;
}

/* ヘッダーセル */
.table__header,
.wp-block-flexible-table-block-table th,
.wp-block-table th {
  color: var(--navy);
  background: var(--light-navy) !important;
  text-align: center;
  border-right: solid 1px var(--navy);
  font-weight: 700;
}

/* データセル */
.table__data,
.wp-block-flexible-table-block-table td,
.wp-block-table td {
  background: var(--white);
  border: solid 1px var(--navy);
}

/* =============================================
スクロールヒント
============================================= */
.scrollable {
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
}

.scrollable table {
  white-space: normal;
  min-width: 600px;
}

.scroll-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  display: none;
  animation: scroll-hint-animation 2s infinite ease;
}
@keyframes scroll-hint-animation {
  0% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-40%, -50%);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}
.scroll-hint--show {
  display: block;
}

/* =============================================
CTA
============================================= */
.cta {
  border-radius: 0;
  padding: 40px 0;
  background: var(--navy);
}
.cta__content {
  text-align: center;
  display: grid;
  place-items: center;
  background: var(--white);
  padding: 40px 60px;
  border-radius: 40px;
}
.cta__copy {
  --clamp-max: 20;
  --clamp-min: 16;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.cta__copy--large {
  --clamp-max: 31;
  --clamp-min: 20;
}
.cta__button {
  --clamp-max: 33;
  --clamp-min: 18;
  padding: 1em 1.2em;
  width: 100%;
  box-shadow: 0px 9px 24px 0px rgba(17, 17, 17, 0.2);
  letter-spacing: 0.01em;
}
@media screen and (max-width: 767px) {
  .cta__content {
    border-radius: 20px;
    padding: 20px 15px;
  }
  .cta__copy {
    align-items: flex-end;
  }
}

/* フロートCTA*/
.float-cta {
  position: fixed;
  bottom: 0;
  z-index: 99999;
  margin: 6px;
  width: calc(100% - 12px);
  padding: 10px;
  text-align: center;
  background: var(--navy);
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform: translateY(100%);
  opacity: 0;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 12px 27px 2px;
}
.float-cta__copy {
  font-weight: 700;
  --clamp-max: 14;
  --clamp-min: 14;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
}
.float-cta__button {
  --clamp-max: 16;
  --clamp-min: 16;
}

@media screen and (max-width: 767px) {
}

/* =============================================
フォーム
============================================= */
/* フォームページ */
body:has(.form-page) .header {
  background: #fff;
  padding: 20px 0;
}
body:has(.form-page) .header__logo {
  width: 120px;
}
.form-page.form-page {
  padding-top: 140px;
  background: var(--navy);
  color: var(--white);
}
.form-page__inner {
  max-width: 600px;
}
/* フォーム本体 */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="submit"],
input[type="date"],
textarea,
select {
  /* リセット*/
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
  /* ベーススタイル*/
  color: var(--black);
  --clamp-min: 16;
}
.form__label {
  display: block;
}
.form__label:not(:last-of-type) {
  margin-bottom: 30px;
}
.form__heading {
  font-weight: 700;
  display: flex;
  align-items: center;
}
.form__required.form__required {
  --clamp-max: 12;
  --clamp-min: 11;
  color: var(--white);
  margin-left: 0.6em;
  background: var(--red);
  padding: 0.3em 0.4em 0.4em;
  border-radius: 4px;
  line-height: 1;
}
.form__button.form__button {
  max-width: 240px;
  width: 100%;
  --clamp-max: 18;
  --clamp-min: 16;
}
.form__note.form__note {
  margin-top: 10px;
  --clamp-max: 12;
  --clamp-min: 10;
  text-align: center;
}
.wpcf7-radio,
.wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  margin-top: 10px;
}
.wpcf7-list-item {
  margin: 0;
}
.wpcf7-text.wpcf7-text,
.wpcf7-textarea.wpcf7-textarea,
.wpcf7-select {
  background: var(--white);
  display: block;
  padding: 1em;
  width: 100%;
  margin-top: 10px;
  border-radius: 10px;
  min-height: 60px;
}
.wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--red);
  font-weight: 700;
}
p:has(.wpcf7-form-control) {
  line-height: unset;
}
.wpcf7-spinner {
  margin: 10px auto 0;
  display: block;
  background: var(--white);
}
.wpcf7-spinner::before {
  background: var(--navy);
}
.wpcf7-response-output {
  padding: 1em !important;
  background: var(--white);
  border-radius: 20px;
  margin: 0;
  text-align: center;
  border: solid 3px var(--red) !important;
  color: var(--red);
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .form-page.form-page {
    padding-top: 120px;
  }
}

/* =============================================
下層ページ
============================================= */
body {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
.basic-page {
  padding: 200px 0 100px;
}
.basic-page__eyecatch.basic-page__eyecatch {
  border: solid 2px var(--light-navy);
  margin: 0 auto 2em;
}
.basic-page__meta {
  margin: 0 0 1em !important;
  display: flex;
  gap: 14px;
  align-items: center;
  --clamp-max: 14;
  --clamp-min: 12;
}
.basic-page__time-wrapper {
  display: flex;
  gap: 6px;
  align-items: center;
}
.basic-page__category {
  background: var(--light-blue);
  padding: 4px 14px;
  border-radius: 999em;
  color: var(--navy);
  font-weight: 700;
  --clamp-max: 12;
}
.basic-page__back-button.basic-page__back-button {
  margin-top: 60px;
}
@media screen and (max-width: 767px) {
  .basic-page {
    padding: 120px 0 60px;
  }
}

/* ブロック */
.basic-page__content > * {
  margin: 1.8em 0;
}
.wp-block-heading {
  margin: 2em 0 1em;
  line-height: 1.5;
  word-break: break-all;
}
h1.wp-block-heading {
  margin-top: var(--leading-trim);
  --clamp-max: 35;
  --clamp-min: 25;
}
h2.wp-block-heading {
  --clamp-max: 31;
  --clamp-min: 22;
}
h3.wp-block-heading {
  --clamp-max: 25;
  --clamp-min: 20;
}
h4.wp-block-heading {
  --clamp-max: 22;
  --clamp-min: 18;
}
h5.wp-block-heading {
  --clamp-max: 20;
  --clamp-min: 18;
}
h6.wp-block-heading {
  --clamp-max: 20;
  --clamp-min: 16;
}
.wp-block-paragraph {
  --clamp-max: 18;
  --clamp-min: 16;
  line-height: 1.75;
}
.basic-page__content a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (hover: hover) {
  .basic-page__content a:hover {
    text-decoration: none;
  }
}
.wp-block-image img {
  border: solid 2px var(--light-navy);
}
.wp-block-list {
  padding-left: 1.2em;
}
ol.wp-block-list {
  list-style: decimal;
}
ul.wp-block-list {
  list-style: circle;
}
.wp-block-list li:not(:last-of-type) {
  margin-bottom: 0.6em;
}
.wp-block-button {
  display: block;
  margin-inline: auto;
}
.wp-element-caption {
  text-align: center;
  --clamp-min: 12;
  --clamp-max: 14;
}
.wp-block-image {
  text-align: center;
}
.wp-block-embed {
  text-align: center;
}

/* 目次 */
#ez-toc-container {
  padding: 10px 20px;
  border-left: solid 2px var(--navy);
}
.ez-toc-title {
  margin-bottom: 0;
  font-weight: 700;
}
.ez-toc-list li {
  padding-top: 10px;
}
.ez-toc-list li ul {
  padding-left: 1em;
}
.ez-toc-list li a {
  text-decoration: none;
}
