/* Shared fulcrum8 page components. Generated from the approved English homepage. */
.f8-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 78vh, 760px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(80px, 10vw, 140px)
    max(24px, calc((100vw - 1120px) / 2));
  overflow: hidden;
  color: var(--f8-white, #ffffff);
  background: var(--f8-navy, #101040);
}

.f8-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -110px;
  right: 8%;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: var(--f8-yellow, #ffcb00);
}

.f8-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -180px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: var(--f8-orange, #ff7e00);
}

.f8-hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.f8-hero__kicker {
  margin: 0 0 24px;
  color: var(--f8-yellow, #ffcb00);
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.f8-hero h1 {
  margin: 0;
  color: var(--f8-white, #ffffff) !important;
  font-size: clamp(58px, 9vw, 126px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.f8-hero h1 span {
  color: var(--f8-orange, #ff7e00);
}

.f8-hero__lead {
  max-width: 680px;
  margin: 38px 0 0;
  color: var(--f8-white, #ffffff);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.f8-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.f8-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid var(--f8-orange, #ff7e00);
  border-radius: 999px;
  color: var(--f8-white, #ffffff) !important;
  background: var(--f8-orange, #ff7e00);
  font-weight: 700;
  text-decoration: none !important;
  transition: 0.2s ease;
}

.f8-hero__button:hover {
  color: var(--f8-navy, #101040) !important;
  background: var(--f8-yellow, #ffcb00);
  border-color: var(--f8-yellow, #ffcb00);
  transform: translateY(-2px);
}

.f8-hero__button--outline {
  border-color: var(--f8-white, #ffffff);
  background: transparent;
}

.f8-hero__mark {
  position: absolute;
  z-index: 1;
  right: 7%;
  bottom: -95px;
  color: rgba(16, 16, 64, 0.24);
  font-size: clamp(300px, 38vw, 590px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

@media (max-width: 767px) {
  .f8-hero {
    align-items: flex-start;
    min-height: 680px;
    padding-top: 95px;
  }

  .f8-hero::before {
    top: -80px;
    right: -90px;
    width: 250px;
    height: 250px;
  }

  .f8-hero::after {
    right: -180px;
    bottom: -140px;
    width: 390px;
    height: 390px;
  }

  .f8-hero h1 {
    font-size: clamp(54px, 17vw, 82px);
  }

  .f8-hero__lead {
    max-width: 90%;
  }

  .f8-hero__buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .f8-hero__button {
    width: 100%;
    max-width: 290px;
  }

  .f8-hero__mark {
    right: -25px;
    bottom: -45px;
  }
}
/* HOME NEW専用：Lightningのページ見出しと余白を解除 */
.page-header,
.breadcrumb {
  display: none !important;
}

.site-body {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-body-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* HOME NEW専用ヘッダー */
#site-header {
  position: fixed !important;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-top: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

body.admin-bar #site-header {
  top: 32px;
}

#site-header .site-header-container {
  background: transparent !important;
}

/* 仮の白色ロゴ */
#site-header img {
  filter: brightness(0) invert(1);
}

/* メニュー */
#site-header .global-nav-list > li > a {
  color: #ffffff !important;
}

#site-header .global-nav-list > li > a:hover {
  color: var(--f8-orange, #ff7e00) !important;
}

/* スクロール後 */
#site-header.f8-header--scrolled {
  background: rgba(16, 16, 64, 0.9) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14) !important;
  backdrop-filter: blur(12px);
}

/* 管理バーの高さが変わる画面 */
@media (max-width: 782px) {
  body.admin-bar #site-header {
    top: 46px;
  }
}
/* ヘッダーをHeroと同じ濃紺に統合 */
#site-header {
  background: var(--f8-navy, #101040) !important;
}

/* メニューをオレンジに変更 */
#site-header .global-nav-list > li > a {
  color: var(--f8-orange, #ff7e00) !important;
  font-weight: 700;
}

/* 選択・マウスオーバーは黄色 */
#site-header .global-nav-list > li > a:hover,
#site-header .global-nav-list > li.current-menu-item > a {
  color: var(--f8-yellow, #ffcb00) !important;
}
/* 初期状態はHeroと完全に一体化 */
#site-header {
  background: transparent !important;
}

/* 黄色い円をメニューの下へ移動 */
.f8-hero::before {
  top: 70px;
}
/* HOME NEW：全幅セクション */
.f8-hero,
.f8-services,
.f8-about {
  width: 100vw !important;
  margin-left: 0 !important;
}
/* ========================================
   HERO：スマートフォン最終調整
======================================== */

@media (max-width: 600px) {
  .f8-hero {
    min-height: 680px;
    padding:
      125px
      24px
      85px;
  }

  .f8-hero__content {
    width: 100%;
    max-width: 100%;
  }

  .f8-hero__kicker {
    margin-bottom: 24px;
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .f8-hero h1 {
    max-width: 100%;
    font-size: clamp(46px, 12.5vw, 64px);
    line-height: 0.94;
    letter-spacing: -0.055em;
    white-space: normal;
  }

  .f8-hero__lead {
    max-width: 100%;
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.7;
  }

  .f8-hero__buttons {
    gap: 12px;
    margin-top: 32px;
  }

  .f8-hero__button {
    width: 100%;
    max-width: 270px;
    min-height: 50px;
  }

  /* 黄色い円を文字から離す */
  .f8-hero::before {
    top: 72px;
    right: -110px;
    width: 215px;
    height: 215px;
  }

  /* 右下のオレンジ円 */
  .f8-hero::after {
    right: -190px;
    bottom: -145px;
    width: 365px;
    height: 365px;
  }

  .f8-hero__mark {
    right: -15px;
    bottom: -20px;
    font-size: 250px;
  }
}



.f8-services,
.f8-services * {
  box-sizing: border-box;
}

.f8-services {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(80px, 10vw, 150px) 0;
  overflow: hidden;
  color: var(--f8-navy, #101040);
  background: var(--f8-light, #f6f6fb);
}

.f8-services__inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

.f8-services__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  align-items: end;
}

.f8-services__kicker {
  grid-column: 1 / -1;
  margin: 0 0 22px;
  color: var(--f8-orange, #ff7e00);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.f8-services__header h2 {
  margin: 0;
  color: var(--f8-navy, #101040);
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.f8-services__intro {
  max-width: 560px;
  margin: 0 0 8px;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.8;
}

.f8-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
  margin-top: clamp(55px, 7vw, 90px);
}

.f8-service-card {
  position: relative;
  min-height: 430px;
  padding: 38px;
  overflow: hidden;
  border-radius: 30px;
}

.f8-service-card > * {
  position: relative;
  z-index: 2;
}

.f8-service-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -70px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
}

.f8-service-card__number {
  position: absolute;
  z-index: 1;
  top: 5px;
  right: 24px;
  margin: 0;
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.12;
}

.f8-service-card__verb {
  margin: 0 0 80px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.f8-service-card h3 {
  margin: 0 0 28px;
  color: inherit;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.f8-service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.f8-service-card li {
  position: relative;
  margin-top: 13px;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.55;
}

.f8-service-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* CREATE */
.f8-service-card--create {
  color: var(--f8-navy, #101040);
  background: var(--f8-yellow, #ffcb00);
}

.f8-service-card--create::after {
  background: var(--f8-orange, #ff7e00);
}

/* SUPPLY */
.f8-service-card--supply {
  color: var(--f8-navy, #101040);
  background: var(--f8-orange, #ff7e00);
}

.f8-service-card--supply::after {
  background: var(--f8-yellow, #ffcb00);
}

/* BUILD */
.f8-service-card--build {
  color: var(--f8-white, #ffffff);
  background: var(--f8-navy, #101040);
}

.f8-service-card--build .f8-service-card__verb {
  color: var(--f8-yellow, #ffcb00);
}

.f8-service-card--build::after {
  background: var(--f8-orange, #ff7e00);
}

@media (max-width: 900px) {
  .f8-services__header {
    display: block;
  }

  .f8-services__intro {
    margin-top: 30px;
  }

  .f8-services__grid {
    grid-template-columns: 1fr;
  }

  .f8-service-card {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .f8-services__header h2 {
    font-size: 52px;
  }

  .f8-service-card {
    min-height: 340px;
    padding: 30px;
    border-radius: 24px;
  }

  .f8-service-card__verb {
    margin-bottom: 65px;
  }
}



.f8-about,
.f8-about * {
  box-sizing: border-box;
}

.f8-about {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(90px, 11vw, 160px) 0;
  overflow: hidden;
  color: var(--f8-navy, #101040);
  background: var(--f8-white, #ffffff);
}

.f8-about__inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

.f8-about__kicker {
  margin: 0 0 36px;
  color: var(--f8-orange, #ff7e00);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.f8-about__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(45px, 7vw, 100px);
  align-items: center;
}

.f8-about__content h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--f8-navy, #101040);
  background: none;
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.f8-about__lead {
  max-width: 720px;
  margin: 42px 0 0;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.6;
}

.f8-about__text {
  max-width: 720px;
  margin: 26px 0 0;
  font-size: 17px;
  line-height: 1.9;
}

.f8-about__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 38px;
  padding: 0 30px;
  border: 2px solid var(--f8-navy, #101040);
  border-radius: 999px;
  color: var(--f8-white, #ffffff) !important;
  background: var(--f8-navy, #101040);
  font-weight: 700;
  text-decoration: none !important;
  transition: 0.2s ease;
}

.f8-about__button:hover {
  border-color: var(--f8-orange, #ff7e00);
  background: var(--f8-orange, #ff7e00);
  transform: translateY(-2px);
}

.f8-about__panel {
  position: relative;
  min-height: 520px;
  padding: 46px;
  overflow: hidden;
  border-radius: 36px;
  color: var(--f8-white, #ffffff);
  background: var(--f8-navy, #101040);
}

.f8-about__panel::before {
  content: "";
  position: absolute;
  top: -85px;
  right: -85px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--f8-orange, #ff7e00);
}

.f8-about__panel::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--f8-yellow, #ffcb00);
}

.f8-about__panel-title {
  position: relative;
  z-index: 2;
  margin: 0 0 54px;
  color: var(--f8-yellow, #ffcb00);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.f8-about__panel ul {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.f8-about__panel li {
  margin-top: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.45;
}

.f8-about__eight {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: -100px;
  color: rgba(255, 255, 255, 0.12);
  font-size: 360px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .f8-about__grid {
    grid-template-columns: 1fr;
  }

  .f8-about__panel {
    min-height: 440px;
  }
}

@media (max-width: 520px) {
  .f8-about__content h2 {
    font-size: 48px;
  }

  .f8-about__panel {
    min-height: 400px;
    padding: 32px;
    border-radius: 26px;
  }

  .f8-about__eight {
    right: -10px;
    font-size: 300px;
  }
}



/* ========================================
   fulcrum8 CONTACT
======================================== */

.f8-contact {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(80px, 9vw, 130px)
    max(24px, calc((100vw - 1120px) / 2));
  overflow: hidden;
  color: #ffffff;
  background: var(--f8-navy, #101040);
}

/* 右上の黄色い円 */
.f8-contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -130px;
  right: 8%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--f8-yellow, #ffcb00);
}

/* 左下のオレンジ */
.f8-contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -180px;
  left: -130px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--f8-orange, #ff7e00);
}

.f8-contact__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
}

.f8-contact__header {
  max-width: 850px;
}

.f8-contact__kicker {
  margin: 0 0 24px;
  color: var(--f8-yellow, #ffcb00);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.f8-contact__header h2 {
  margin: 0;
  color: #ffffff !important;
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.f8-contact__header h2 span {
  color: var(--f8-orange, #ff7e00);
}

.f8-contact__lead {
  max-width: 700px;
  margin: 36px 0 0;
  color: #ffffff;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.8;
}

/* 背景の大きな「？」 */
.f8-contact__mark {
  position: absolute;
  z-index: -1;
  right: 5%;
  bottom: -120px;
  color: rgba(255, 255, 255, 0.07);
  font-size: clamp(280px, 35vw, 520px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

/* ========================================
   CONTACT FORM 7
   Contact見出し直後のフォーム
======================================== */

.f8-contact + .wpcf7 {
  display: block;
  width: 100vw;
  max-width: none;
  margin: 0 0 0 calc(50% - 50vw);
  padding: clamp(70px, 8vw, 120px)
    max(24px, calc((100vw - 1120px) / 2));
  color: var(--f8-navy, #101040);
  background: var(--f8-light, #f6f6fb);
}

.f8-nordic-form {
  max-width: 1120px;
  margin: 0 auto;
}

.f8-nordic-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 28px;
}

.f8-nordic-form__field {
  margin: 0 0 38px;
}

.f8-nordic-form__grid .f8-nordic-form__field {
  margin: 0;
}

.f8-nordic-form__label {
  display: block;
  margin-bottom: 12px;
  color: var(--f8-navy, #101040);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.f8-nordic-form__label small {
  display: inline-block;
  min-width: 32px;
  color: var(--f8-orange, #ff7e00);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* 入力欄 */
.f8-nordic-form input[type="text"],
.f8-nordic-form input[type="email"],
.f8-nordic-form input[type="tel"],
.f8-nordic-form select,
.f8-nordic-form textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 4px;
  border: 0;
  border-bottom: 2px solid rgba(16, 16, 64, 0.22);
  border-radius: 0;
  color: var(--f8-navy, #101040);
  background: transparent;
  box-shadow: none;
  font-size: 17px;
  outline: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.f8-nordic-form textarea {
  min-height: 180px;
  padding: 18px;
  border: 2px solid rgba(16, 16, 64, 0.18);
  background: #ffffff;
  resize: vertical;
}

.f8-nordic-form input:focus,
.f8-nordic-form select:focus,
.f8-nordic-form textarea:focus {
  border-color: var(--f8-orange, #ff7e00);
}

.f8-nordic-form input::placeholder,
.f8-nordic-form textarea::placeholder {
  color: rgba(16, 16, 64, 0.42);
}

/* 下部 */
.f8-nordic-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(16, 16, 64, 0.16);
}

.f8-nordic-form__privacy {
  color: rgba(16, 16, 64, 0.75);
  font-size: 14px;
  line-height: 1.7;
}

.f8-nordic-form__privacy a {
  color: var(--f8-navy, #101040);
  font-weight: 700;
  text-decoration-color: var(--f8-orange, #ff7e00);
}

/* 送信ボタン */
.f8-nordic-form input[type="submit"] {
  min-width: 210px;
  min-height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--f8-orange, #ff7e00);
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.f8-nordic-form input[type="submit"]:hover {
  color: var(--f8-navy, #101040);
  background: var(--f8-yellow, #ffcb00);
  transform: translateY(-2px);
}

.f8-nordic-form input[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.f8-nordic-form__akismet {
  margin: 30px 0 0;
  color: rgba(16, 16, 64, 0.55);
  font-size: 12px;
  line-height: 1.6;
}

.f8-nordic-form__akismet a {
  color: inherit;
}

/* エラー表示 */
.wpcf7-not-valid-tip {
  margin-top: 8px;
  color: #b42318;
  font-size: 13px;
}

.wpcf7-response-output {
  margin: 30px 0 0 !important;
  padding: 16px 20px !important;
  border: 0 !important;
  border-left: 5px solid var(--f8-orange, #ff7e00) !important;
  background: #ffffff;
}

/* スマートフォン */
@media (max-width: 767px) {
  .f8-contact {
    padding-top: 80px;
    padding-bottom: 90px;
  }

  .f8-contact::before {
    top: -80px;
    right: -100px;
    width: 230px;
    height: 230px;
  }

  .f8-contact::after {
    bottom: -140px;
    left: -150px;
    width: 290px;
    height: 290px;
  }

  .f8-contact__header h2 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .f8-contact__lead br {
    display: none;
  }

  .f8-contact__mark {
    right: -20px;
    bottom: -60px;
  }

  .f8-nordic-form__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .f8-nordic-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .f8-nordic-form input[type="submit"] {
    width: 100%;
  }
}
/* CONTACT：Lightningによる横ずれを修正 */
.f8-contact,
.f8-contact + .wpcf7 {
  width: 100vw !important;
  margin-left: 0 !important;
}

/* Lightning標準の見出し余白を解除 */
.f8-contact__header h2 {
  padding: 0 !important;
}
/* CONTACT：「？」を小さくして全体を表示 */
.f8-contact__mark {
  right: 6%;
  bottom: 20px;
  font-size: clamp(190px, 20vw, 290px);
}

/* スマートフォン */
@media (max-width: 767px) {
  .f8-contact__mark {
    right: 20px;
    bottom: 20px;
    font-size: 180px;
  }
}
/* ========================================
   CONTACT FORM：スマートフォン最終調整
======================================== */

@media (max-width: 600px) {
  .f8-contact {
    padding: 75px 24px 85px;
  }

  .f8-contact__header h2 {
    font-size: clamp(46px, 12vw, 58px);
    line-height: 0.96;
  }

  .f8-contact__lead {
    max-width: calc(100% - 20px);
    margin-top: 26px;
    font-size: 15px;
    line-height: 1.65;
  }

  .f8-contact__lead br {
    display: none;
  }

  .f8-contact + .wpcf7 {
    padding: 65px 23px 75px;
  }

  .f8-nordic-form__grid {
    gap: 0;
  }

  .f8-nordic-form__field,
  .f8-nordic-form__grid .f8-nordic-form__field {
    margin: 0 0 42px !important;
  }

  .f8-nordic-form input[type="text"],
  .f8-nordic-form input[type="email"],
  .f8-nordic-form input[type="tel"],
  .f8-nordic-form select {
    min-height: 52px;
    padding: 10px 4px;
    font-size: 16px;
  }

  .f8-nordic-form textarea {
    min-height: 150px;
    padding: 14px;
    font-size: 15px;
  }

  .f8-nordic-form__footer {
    gap: 24px;
    margin-top: 10px;
    padding-top: 25px;
  }

  .f8-nordic-form__akismet {
    margin-top: 26px;
  }
}
/* Contact Form 7が自動挿入した余分な改行を解除 */
.f8-nordic-form br {
  display: none;
}

.f8-nordic-form p {
  margin: 0;
}

.f8-nordic-form__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.f8-nordic-form__field--wide {
  margin-bottom: 42px;
}

.f8-nordic-form__akismet {
  margin-top: 26px;
  line-height: 1.8;
}

.f8-nordic-form__akismet a {
  display: inline;
}



/* ========================================
   fulcrum8 FOOTER
======================================== */

.f8-footer {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin: 0;
  padding:
    clamp(70px, 8vw, 110px)
    max(24px, calc((100vw - 1120px) / 2))
    28px;
  overflow: hidden;
  color: #ffffff;
  background: var(--f8-navy, #101040);
  border-top: 8px solid var(--f8-orange, #ff7e00);
}

.f8-footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: clamp(45px, 7vw, 100px);
  max-width: 1120px;
  margin: 0 auto;
}

/* ブランド名 */
.f8-footer__name {
  margin: 0 0 28px;
  color: var(--f8-yellow, #ffcb00);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

/* メインメッセージ */
.f8-footer__message {
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.f8-footer__message span {
  color: var(--f8-orange, #ff7e00);
}

/* 小見出し */
.f8-footer__label {
  margin: 0 0 24px;
  color: var(--f8-yellow, #ffcb00);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

/* リストの標準設定を解除 */
.f8-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.f8-footer__nav li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.f8-footer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.f8-footer__nav a::after {
  content: "↗";
  color: var(--f8-orange, #ff7e00);
  font-size: 15px;
}

.f8-footer__nav a:hover {
  padding-left: 6px;
  color: var(--f8-yellow, #ffcb00) !important;
}

/* 言語 */
.f8-footer__languages {
  display: flex;
  gap: 8px;
}

.f8-footer__languages li {
  margin: 0;
}

.f8-footer__languages a,
.f8-footer__languages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
}

.f8-footer__languages a[aria-current="page"] {
  border-color: var(--f8-orange, #ff7e00);
  background: var(--f8-orange, #ff7e00);
}

.f8-footer__languages span {
  color: rgba(255, 255, 255, 0.38) !important;
  cursor: default;
}

.f8-footer__note {
  max-width: 220px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.7;
}

/* 最下部 */
.f8-footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1120px;
  margin: clamp(60px, 8vw, 100px) auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.f8-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.f8-footer__bottom a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none !important;
}

.f8-footer__bottom a:hover {
  color: var(--f8-yellow, #ffcb00) !important;
}

/* 背景の大きな8 */
.f8-footer__eight {
  position: absolute;
  z-index: 1;
  right: -45px;
  bottom: -125px;
  color: rgba(255, 126, 0, 0.12);
  font-size: clamp(300px, 35vw, 520px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

/* ========================================
   Tablet
======================================== */

@media (max-width: 900px) {
  .f8-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .f8-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ========================================
   Smartphone
======================================== */

@media (max-width: 600px) {
  .f8-footer {
    padding-top: 65px;
  }

  .f8-footer__inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .f8-footer__brand {
    grid-column: auto;
  }

  .f8-footer__message {
    font-size: clamp(42px, 13vw, 58px);
  }

  .f8-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 65px;
  }

  .f8-footer__eight {
    right: -35px;
    bottom: -55px;
    font-size: 260px;
  }
}
