body {
  background: #f5f8ff;
}
/*fv*/
.contact-fv {
  background: #fff;
}

.contact-fv__inner {
  position: relative;
  height: 400px;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 72% 20%,
      rgba(65, 160, 255, 0.7) 0%,
      rgba(0, 90, 230, 0.45) 28%,
      transparent 48%
    ),
    linear-gradient(120deg, #001d63 0%, #0047d9 55%, #168bff 100%);
  box-shadow: 0 18px 45px rgba(0, 40, 120, 0.18);
}

/* 曲線 */
.contact-fv__inner::before,
.contact-fv__inner::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.contact-fv__inner::before {
  width: 900px;
  height: 500px;
  right: -120px;
  top: -220px;
  transform: rotate(12deg);
}

.contact-fv__inner::after {
  width: 850px;
  height: 420px;
  right: 120px;
  bottom: -240px;
  transform: rotate(-18deg);
}

/* 細い波線 */
.contact-fv__inner {
  isolation: isolate;
}

.contact-fv__inner .contact-fv__text::after {
  content: "";
  position: absolute;
  width: 900px;
  height: 300px;
  right: -760px;
  top: -20px;
  background: repeating-radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.24) 0 1px,
    transparent 2px 12px
  );
  opacity: 0.35;
  transform: rotate(-18deg);
  pointer-events: none;
}

/* テキスト */
.contact-fv__text {
  position: relative;
  z-index: 2;
  padding: 86px 0 0 90px;
  color: #fff;
}

.contact-fv__text h1 {
  font-size: 45px;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 28px;
}

.contact-fv__jp {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.contact-fv__lead {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 右ロゴ */
.contact-fv__logo {
  position: absolute;
  right: 150px;
  top: 50%;
  transform: translateY(-50%);
  width: 330px;
  opacity: 0.28;
  z-index: 1;
}

/* スマホ */
@media (max-width: 768px) {
  .contact-fv {
    padding: 20px 16px 0;
  }

  .contact-fv__inner {
    height: 320px;
    border-radius: 22px;
  }

  .contact-fv__text {
    padding: 58px 28px 0;
  }

  .contact-fv__text h1 {
    font-size: 52px;
  }

  .contact-fv__jp {
    font-size: 24px;
  }

  .contact-fv__lead {
    font-size: 15px;
  }

  .contact-fv__logo {
    width: 220px;
    right: -10px;
    opacity: 0.18;
  }
}
/*fvここまで*/

.menu-btn {
  position: fixed;
  right: 46px;
  bottom: 46px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 70, 200, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  z-index: 1000;
  cursor: pointer;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.menu-btn:hover {
  transform: translateY(-5px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);

  transition: 0.3s;
}

.menu-btn span {
  display: block;
  width: 34px;
  height: 2px;
  background: #fff;
  margin: 3px auto;
}

.menu-btn small {
  font-size: 15px;
  letter-spacing: 0.12em;
}

/* メニュー画面 */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 20, 70, 0.92);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.45s ease;
}

.menu-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-bg {
  position: absolute;
  inset: 0;
  background-image: url("./images/fv-truck.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.menu-inner {
  position: relative;
  z-index: 2;
  width: min(520px, 80%);
  margin-left: auto;
  height: 100%;
  padding: 70px 70px 50px;
  background: rgba(0, 35, 110, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateX(100%);
  transition: 0.55s ease;
}

.menu-panel.is-open .menu-inner {
  transform: translateX(0);
}

.menu-logo img {
  width: 90px;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.menu-list a:hover {
  opacity: 0.65;
}

.menu-close {
  position: absolute;
  right: 40px;
  bottom: 40px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  cursor: pointer;
  z-index: 3;
}

.menu-close:hover {
  transform: translateY(-5px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);

  transition: 0.3s;
}

.menu-close span {
  position: absolute;
  top: 31px;
  left: 25px;
  width: 34px;
  height: 2px;
  background: #fff;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.menu-close small {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  font-size: 10px;
  letter-spacing: 0.12em;
}
/*fvここまで*/

/*お問い合わせ*/
.contact {
  max-width: 1200px;
  margin: 120px auto;
  padding: 120px 0;
}

/* タイトル */

.section-title {
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 40px;
  margin-bottom: 10px;
  color: #0047ff;
}

.section-title p {
  color: #0047ff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  display: inline-block;
}

/* 説明 */

.contact-message {
  margin-bottom: 50px;
}

.contact-message p {
  font-size: 16px;
  line-height: 2;
  color: #555;
}

/* カード */

.contact-card {
  background: #fff;
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 行 */

.form-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.form-row label {
  font-size: 20px;
  font-weight: 700;
}

.form-row span {
  background: #ff4a4a;
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  margin-left: 10px;
}

/* 入力欄 */

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 16px;
}

.form-row textarea {
  height: 180px;
  resize: none;
}

.textarea-row {
  align-items: flex-start;
}

/* 個人情報 */

.privacy-box {
  margin-top: 40px;
  background: #f5f8ff;
  border-radius: 14px;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.required {
  background: #ff4a4a;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
}

.checkbox {
  font-size: 18px;
}

.checkbox input {
  margin-right: 10px;
}

/* ボタン */

.submit-wrap {
  text-align: center;
  margin-top: 60px;
}

.submit-wrap button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #0d47c7;
  padding: 20px 43px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s;
  margin-top: 50px;
  border: solid 1px #0d47c7;
  font-size: 18px;
}

.submit-wrap button:hover {
  background: #0d47c7;
  color: #fff;
  transform: translateX(10px);
}

@media (max-width: 768px) {
  .contact-card {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .section-title h2 {
    font-size: 38px;
  }

  .submit-wrap button {
    width: 100%;
  }
}

/*お問い合わせここまで*/
@media (max-width: 768px) {
  .contact-fv {
    padding: 5px 5px;
  }

  .contact-fv__inner {
    width: 100%;
    height: 200px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }

  .contact-fv__text {
    padding: 55px 28px;
  }

  .contact-fv__text h1 {
    font-size: 20px;
    line-height: 1.2;
    margin: 0 0 15px;
  }

  .contact-fv__jp {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .contact-fv__lead {
    font-size: 10px;
    line-height: 1.9;
  }

  /* 開く前のMENUボタン */
  .menu-btn {
    position: fixed;
    right: 14px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #1769aa;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }

  .menu-btn span {
    width: 20px;
    height: 1.5px;
    background: #fff;
  }

  .menu-btn small {
    color: #fff;
    font-size: 7px;
  }

  /* メニュー本体 */
  .menu-panel {
    position: fixed;
    top: 0;
    right: 0;

    width: 100%;
    height: 100dvh;

    background: #fff;
    border-radius: 0 0 0 24px;

    z-index: 9999;

    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      transform 0.4s ease,
      opacity 0.3s ease;
  }

  .menu-panel.active,
  .menu-panel.is-active,
  .menu-panel.is-open,
  .menu-panel.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* 青背景はうっすらだけ */
  .menu-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      160deg,
      rgba(23, 105, 170, 0.1),
      rgba(255, 255, 255, 0.98) 55%
    );
    border-radius: 0 0 0 24px;
    z-index: 0;
  }

  /* メニューの中身 */
  .menu-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;
    padding: 28px 24px 90px;

    display: flex;
    flex-direction: column;
  }

  /* ロゴ */
  .menu-logo {
    width: 90px;
    margin-bottom: 45px;
  }

  .menu-logo img {
    width: 100%;
    display: block;
  }

  /* メニュー項目 */
  .menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .menu-list li {
    border-bottom: 1px solid #fff;
    width: 75%;
  }

  .menu-list li:first-child {
    border-top: 1px solid rgba(20, 70, 120, 0.15);
  }

  .menu-list a {
    padding: 17px 2px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  .menu-list a span {
    color: #fff;
    font-size: 18px;
  }

  /* 閉じるボタン */
  .menu-close {
    position: absolute;
    right: 18px;
    bottom: 20px;

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;
    background: #153c63;

    z-index: 5;
  }

  .menu-close span {
    position: absolute;
    left: 13px;
    top: 19px;

    width: 22px;
    height: 1.5px;

    background: #fff;
  }

  .menu-close span:nth-child(1) {
    transform: rotate(45deg);
  }

  .menu-close span:nth-child(2) {
    transform: rotate(-45deg);
  }

  .menu-close small {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);

    color: #fff;
    font-size: 6px;
  }

  /* メニュー開いてる時は元のMENUボタンを隠す */
  body.menu-open .menu-btn {
    opacity: 0;
    pointer-events: none;
  }

  /* お問い合わせ全体 */
  .contact {
    padding: 0 10px !important;
  }

  /* 白いカード */
  .contact-card {
    padding: 20px 20px !important;
  }

  /* お問い合わせ */
  .contact .section-title h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin: 0 0 6px !important;
  }

  /* CONTACT */
  .contact .section-title p {
    font-size: 12px !important;
    margin: 0 !important;
    letter-spacing: 0.08em !important;
  }

  /* タイトルと説明文の間 */
  .contact-message {
    margin-top: 28px !important;
    margin-bottom: 30px !important;
  }

  /* 説明文 */
  .contact-message p {
    font-size: 10px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  /* フォーム全体 */
  .contact form {
    width: 100% !important;
  }

  /* 各項目の間隔 */
  .form-row {
    margin-bottom: 22px !important;
    padding-bottom: 18px !important;
  }

  /* お名前・電話番号など */
  .form-row label {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }

  /* 必須 */
  .form-row label span {
    font-size: 10px !important;
    padding: 4px 7px !important;
    margin-left: 8px !important;
  }

  /* 入力欄 */
  .form-row input {
    width: 100% !important;
    height: 44px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
  }

  /* お問い合わせ内容 */
  .form-row textarea {
    width: 100% !important;
    height: 120px !important;
    min-height: 120px !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
  }

  /* 個人情報同意BOX */
  .privacy-box {
    margin-top: 20px !important;
    padding: 16px !important;
  }

  .privacy-box .required {
    font-size: 10px !important;
    padding: 4px 6px !important;
  }

  .privacy-box .checkbox {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  /* 送信ボタン周辺 */
  .submit-wrap {
    margin-top: 24px !important;
  }

  /* 送信ボタン */
  .submit-wrap button {
    width: 70% !important;
    height: 44px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    font-size: 14px !important;
  }

  /* フォーム1項目ごとの余白をさらに詰める */
  .form-row {
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
  }

  /* 項目名 */
  .form-row label {
    font-size: 13px !important;
    margin-bottom: 6px !important;
  }

  /* 必須 */
  .form-row label span {
    font-size: 9px !important;
    padding: 3px 6px !important;
    margin-left: 6px !important;
  }

  /* 入力欄を少し小さく */
  .form-row input {
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
  }

  /* お問い合わせ内容 */
  .form-row textarea {
    height: 95px !important;
    min-height: 95px !important;
    padding: 10px 12px !important;
    font-size: 11px !important;
  }

  /* 同意欄 */
  .privacy-box {
    margin-top: 12px !important;
    padding: 12px 14px !important;
  }

  .privacy-box .checkbox {
    font-size: 10px !important;
  }

  .privacy-box .required {
    font-size: 9px !important;
    padding: 3px 5px !important;
  }

  /* 送信ボタンとの間隔 */
  .submit-wrap {
    margin-top: 14px !important;
  }

  /* 送信ボタンも少し小さく */
  .submit-wrap button {
    width: 68% !important;
    height: 38px !important;
    font-size: 12px !important;
  }

  .submit-wrap button {
    width: 35% !important;
    height: 30px !important;
    margin: 0 auto !important;
  }
}
