/* 自動生成ファイル：scss/pages/contact.scss を Sass（dart-sass 1.77）でコンパイルした出力。直接編集せず SCSS を修正して再コンパイルすること */
@layer base;

@layer base {
  a {
    color: #2560d8;
    text-decoration: none;
  }

  a:hover {
    color: #123a8a;
  }
}

.cf-turnstile {
  text-align: center;
}

@layer base {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1s cubic-bezier(0.16, 0.84, 0.3, 1);
  }

  .reveal.reveal--visible {
    opacity: 1;
    transform: none;
  }
}

@layer base {
  .jp-reveal {
    display: inline-flex;
    overflow: hidden;
    padding-bottom: 0.08em;
  }

  .jp-reveal .jp-reveal__char {
    display: inline-block;
    opacity: 0;
    transform: translateY(105%) rotate(3deg);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.1s cubic-bezier(0.16, 0.84, 0.3, 1), filter 0.9s ease;
  }

  .jp-reveal.jp-reveal--visible .jp-reveal__char {
    opacity: 1;
    transform: translateY(0) rotate(0);
    filter: blur(0);
  }
}

@layer base {
  .ghost-en {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s, transform 1.7s cubic-bezier(0.16, 0.84, 0.3, 1) 0.1s;
  }

  .ghost-en.ghost-en--visible {
    opacity: 1;
    transform: translateX(0);
  }
}

@layer base {
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }

    .jp-reveal .jp-reveal__char {
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
    }

    .ghost-en {
      opacity: 1 !important;
      transform: none !important;
      transition: none;
    }

    * {
      animation: none !important;
    }
  }
}

@layer base {}

@layer base {
  #siteHeader .header-item {
    position: relative;
    min-width: 0;
  }

  #siteHeader img {
    max-width: 100%;
  }

  #siteHeader .header-dropdown {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 8px);
    min-width: 236px;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(40, 80, 150, 0.14);
    border-radius: 12px;
    box-shadow: 0 28px 60px -28px rgba(11, 36, 82, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.28s;
    backdrop-filter: blur(10px);
  }

  #siteHeader .header-item:hover .header-dropdown,
  #siteHeader .header-item:focus-within .header-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 12px);
  }

  #siteHeader .header-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }

  #siteHeader .header-dropdown a {
    display: block;
    padding: 11px 24px;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #16325a;
    white-space: nowrap;
    transition: background 0.22s ease, color 0.22s ease, padding-left 0.25s ease;
  }

  #siteHeader .header-dropdown a:hover {
    background: rgba(45, 111, 210, 0.1);
    color: #2d6fd2;
    padding-left: 30px;
  }

  #siteHeader .header-link {
    color: inherit;
    opacity: 0.92;
    transition: color 0.25s ease;
  }

  #siteHeader .header-link:hover {
    color: #1d55b0;
  }

  #siteHeader .header-link[aria-current=page] {
    color: #1d55b0;
    font-weight: 700;
    opacity: 1;
  }

  #siteHeader .site-header-nav__header-cta {
    position: relative;
    overflow: hidden;
    animation: hdPulse 2.6s ease-out infinite;
    transition: transform 0.4s ease, box-shadow 0.45s ease;
  }

  #siteHeader .site-header-nav__header-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-16deg);
    animation: hdSheen 3.4s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes hdSheen {
    0% {
      left: -60%;
    }

    45% {
      left: 130%;
    }

    100% {
      left: 130%;
    }
  }

  @keyframes hdPulse {

    0%,
    100% {
      box-shadow: 0 14px 30px -12px rgba(29, 85, 176, 0.6), 0 0 0 0 rgba(90, 160, 240, 0.5);
    }

    50% {
      box-shadow: 0 14px 30px -12px rgba(29, 85, 176, 0.6), 0 0 0 12px rgba(90, 160, 240, 0);
    }
  }

  @media (prefers-reduced-motion: reduce) {

    #siteHeader .site-header-nav__header-cta,
    #siteHeader .site-header-nav__header-cta::after {
      animation: none;
    }
  }

  #siteHeader .site-header-nav__header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -12px rgba(29, 85, 176, 0.7);
    color: #ffffff;
  }
}

.site-header__link {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  gap: clamp(8px, 1vw, 14px);
  color: inherit;
}

.site-header__logo-image {
  display: block;
  height: clamp(40px, 4.4vw, 58px);
  width: auto;
}

.site-header__logo-japanese-header-image {
  display: block;
  height: clamp(16px, 1.9vw, 24px);
  width: auto;
  margin-top: 6px;
  image-rendering: auto;
}

.site-header-nav {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(16px, 2.4vw, 44px);
  font-size: clamp(13.5px, 1.55vw, 17.5px);
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.site-header-nav__header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(30px, 3.2vw, 42px);
  height: clamp(30px, 3.2vw, 42px);
}

.site-header-nav__header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(120deg, #4d9bef, #1d55b0);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 30px -12px rgba(29, 85, 176, 0.6);
  padding: clamp(11px, 1.3vw, 16px) clamp(18px, 2.4vw, 34px);
  font-size: clamp(14px, 1.6vw, 18px);
  white-space: nowrap;
  flex: 0 0 auto;
}

.site-header-nav__label {
  display: flex;
  align-items: center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  height: 84px;
  gap: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid rgba(40, 80, 150, 0.14);
  color: #16325a;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.breadcrumb-nav {
  position: absolute;
  left: 120px;
  top: 104px;
  z-index: 5;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #5e7392;
}

.breadcrumb-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.breadcrumb-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb-nav__link {
  color: #5e7392;
  transition: color 0.25s ease;
}

.breadcrumb-nav__link:hover {
  color: #1d55b0;
}

.breadcrumb-nav__icon {
  opacity: 0.55;
}

.breadcrumb-nav__label--secondary {
  color: #5e7392;
}

.breadcrumb-nav__label--navy {
  color: #16325a;
  font-weight: 600;
}

@layer base {
  #contact .footer-column {
    display: flex;
    flex-direction: column;
  }

  #contact .footer-head {
    margin: 0 0 20px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.08em;
    color: #16325a;
  }

  #contact .site-footer-nav__footer-link {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 13.5px;
    letter-spacing: 0.03em;
    color: #4a5a70;
    text-decoration: none;
    padding: 7px 0;
    transition: color 0.25s ease, transform 0.25s ease;
  }

  #contact .site-footer-nav__footer-link:hover {
    color: #1d55b0;
    transform: translateX(3px);
  }

  @keyframes ctSpin {
    to {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

  @keyframes ctBgA {

    0%,
    100% {
      opacity: 1;
    }

    50% {
      opacity: 0;
    }
  }

  @keyframes ctBgB {

    0%,
    100% {
      opacity: 0;
    }

    50% {
      opacity: 1;
    }
  }

  #contact .site-footer-contact__contact-button {
    position: relative;
    overflow: hidden;
    animation: ctPulse 2.6s ease-out infinite;
    transition: transform 0.4s ease, box-shadow 0.45s ease, background 0.4s ease;
  }

  #contact .site-footer-contact__contact-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-16deg);
    animation: ctSheen 3.4s ease-in-out infinite;
    pointer-events: none;
  }

  #contact .site-footer-contact__contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 56px -14px rgba(77, 155, 239, 0.7);
    color: #ffffff;
  }

  @keyframes ctSheen {
    0% {
      left: -60%;
    }

    45% {
      left: 130%;
    }

    100% {
      left: 130%;
    }
  }

  @keyframes ctPulse {

    0%,
    100% {
      box-shadow: 0 18px 42px -14px rgba(77, 155, 239, 0.6), 0 0 0 0 rgba(90, 160, 240, 0.5);
    }

    50% {
      box-shadow: 0 18px 42px -14px rgba(77, 155, 239, 0.6), 0 0 0 12px rgba(90, 160, 240, 0);
    }
  }

  @media (prefers-reduced-motion: reduce) {

    #contact .site-footer-contact__contact-button,
    #contact .site-footer-contact__contact-button::after {
      animation: none;
    }
  }

  #contact .site-footer-contact__contact-button:hover .site-footer-contact__contact-arrow {
    transform: translateX(4px);
  }

  #contact .site-footer-contact__contact-japanese {
    position: relative;
    overflow: hidden;
  }

  #contact .site-footer-contact__contact-japanese .site-footer-contact__contact-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(80%);
    filter: blur(7px);
    transition: opacity 1.1s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.3s cubic-bezier(0.16, 0.84, 0.3, 1), filter 1.1s ease;
  }

  #contact .site-footer-contact__contact-japanese.site-footer-contact__contact-japanese--visible .site-footer-contact__contact-char {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  #contact .site-footer-contact__contact-ghost {
    opacity: 0;
    letter-spacing: 0.16em;
    transform: translate(-50%, 10%) scale(1.1);
    filter: blur(14px);
    transition: opacity 2.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s, transform 2.6s cubic-bezier(0.16, 0.84, 0.3, 1) 0.25s, letter-spacing 2.8s cubic-bezier(0.16, 0.84, 0.3, 1) 0.25s, filter 2.2s ease 0.25s;
  }

  #contact .site-footer-contact__contact-ghost.site-footer-contact__contact-ghost--visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    letter-spacing: 0.01em;
    filter: blur(0);
  }

  @media (prefers-reduced-motion: reduce) {
    #contact .site-footer-contact__contact-japanese .site-footer-contact__contact-char {
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
      transition: none !important;
    }

    #contact .site-footer-contact__contact-ghost {
      opacity: 1 !important;
      transform: translate(-50%, 0) !important;
      filter: none !important;
      transition: none !important;
    }
  }
}

.site-footer-contact {
  position: relative;
  background: transparent;
  color: #16325a;
  padding: 200px 6vw 0;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
}

.site-footer-contact__decor {
  position: absolute;
  pointer-events: none;
}

.site-footer-contact__decor--rounded {
  left: 50%;
  top: 16%;
  width: 820px;
  height: 820px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed rgba(150, 160, 175, 0.22);
  animation: ctSpin 90s linear infinite;
}

.site-footer-contact__decor--bordered {
  left: 50%;
  top: 16%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(150, 160, 175, 0.18);
}

.site-footer-contact__decor--gradient {
  inset: 0;
  background: linear-gradient(160deg, rgba(118, 190, 120, 0.12) 0%, rgba(118, 190, 120, 0) 58%);
  animation: ctBgA 3s ease-in-out infinite;
}

.site-footer-contact__decor--tint-blue {
  inset: 0;
  background: linear-gradient(200deg, rgba(120, 180, 235, 0.12) 0%, rgba(120, 180, 235, 0) 58%);
  animation: ctBgB 3s ease-in-out infinite;
}

.site-footer-contact__inner {
  position: relative;
  margin: 0 auto;
}

.site-footer-contact__inner--sized {
  z-index: 3;
  max-width: 1600px;
  width: 100%;
}

.site-footer-contact__inner--flex {
  max-width: 1480px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-top: 1px solid rgba(90, 74, 56, 0.12);
  padding-top: 26px;
}

.site-footer-contact__content--center {
  position: relative;
  text-align: center;
  margin-bottom: 118px;
}

.site-footer-contact__content--inline {
  position: relative;
  display: inline-block;
}

.site-footer-contact__content--tinted {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-left: 1px solid rgba(90, 74, 56, 0.08);
  border-right: 1px solid rgba(90, 74, 56, 0.08);
  padding: 26px 5% 40px;
  box-sizing: border-box;
}

.site-footer-contact__content--small {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #8a93a3;
}

.site-footer-contact__contact-ghost {
  position: absolute;
  left: 50%;
  top: -72px;
  z-index: -1;
  pointer-events: none;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 118px;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(90, 74, 56, 0.18);
  background: linear-gradient(180deg, rgba(90, 74, 56, 0.1), rgba(90, 74, 56, 0));
  -webkit-background-clip: text;
  background-clip: text;
}

.site-footer-contact__contact-japanese {
  display: inline-block;
  margin: 0;
  padding-bottom: 6px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 58px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #16325a;
}

.site-footer-contact__contact-char:nth-child(1) {
  transition-delay: 0s;
}

.site-footer-contact__contact-char:nth-child(2) {
  transition-delay: 0.1s;
}

.site-footer-contact__contact-char:nth-child(3) {
  transition-delay: 0.2s;
}

.site-footer-contact__contact-char:nth-child(4) {
  transition-delay: 0.3s;
}

.site-footer-contact__contact-char:nth-child(5) {
  transition-delay: 0.4s;
}

.site-footer-contact__contact-char:nth-child(6) {
  transition-delay: 0.5s;
}

.site-footer-contact__row {
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
  position: relative;
  top: -2cm;
}

.site-footer-contact__contact-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px 20px 44px;
  border-radius: 999px;
  background: linear-gradient(120deg, #4d9bef, #1d55b0);
  color: #ffffff;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
  box-shadow: 0 20px 48px -16px rgba(77, 155, 239, 0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.site-footer-contact__contact-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #1748b8;
  transition: transform 0.45s cubic-bezier(0.5, 0, 0.2, 1);
}

.site-footer-contact__card {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(90, 74, 56, 0.08);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  padding: 64px 5% 56px;
  box-sizing: border-box;
  position: relative;
  top: -1.5cm;
  margin-bottom: -1.5cm;
  box-shadow: 0 -18px 50px -40px rgba(11, 36, 82, 0.35);
}

.site-footer-contact__image {
  position: absolute;
  right: 0;
  top: calc(50% + 0.5cm);
  transform: translateY(-50%);
  display: block;
  height: 56px;
  width: auto;
  background: #ffffff;
  padding: 4px 6px;
  border-radius: 5px;
  box-shadow: 0 6px 16px -12px rgba(0, 0, 0, 0.4);
}

.site-footer-contact--no-contact {
  padding-top: 120px;
}

.site-footer-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  max-width: 1480px;
  margin: 0 auto;
}

.site-footer-nav__footer-link {
  font-size: 14.5px;
}

.site-footer-nav__footer-link--flex {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-footer-nav__icon {
  flex: 0 0 auto;
  opacity: 0.55;
  margin-left: 1px;
}

.site-footer-nav__footer-head {
  margin-top: 36px;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #f6f8fb;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #0c1a33;
  -webkit-font-smoothing: antialiased;
}

.contact__decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #f7f9fc 0%, #f4f7fb 40%, #eef3f9 72%, #e9eff7 100%);
}

.contact__layer {
  position: absolute;
  inset: 0;
}

.contact__layer--gradient {
  background-image: linear-gradient(rgba(22, 50, 79, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 50, 79, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.9;
}

.contact__layer--in-decor {
  background: radial-gradient(150% 120% at 50% 50%, transparent 74%, rgba(10, 26, 52, 0.04) 100%);
}

.contact__card {
  position: absolute;
  border-radius: 50%;
}

.contact__card--gradient {
  top: -12%;
  right: -10%;
  width: 56vw;
  height: 56vw;
  background: radial-gradient(circle at 50% 50%, rgba(37, 96, 216, 0.11), rgba(37, 96, 216, 0) 62%);
  filter: blur(46px);
}

.contact__card--top-offset {
  top: 38%;
  left: -12%;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle at 50% 50%, rgba(21, 155, 196, 0.09), rgba(21, 155, 196, 0) 62%);
  filter: blur(48px);
}

.contact__main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  height: calc(100vh - 14cm);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}

.hero__row {
  position: relative;
  top: 3.4cm;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.hero__contact-label {
  position: absolute;
  left: 50%;
  top: -50px;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(56px, 6vw, 104px);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(90, 74, 56, 0.18);
  background: linear-gradient(180deg, rgba(90, 74, 56, 0.1), rgba(90, 74, 56, 0));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__title {
  position: relative;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #16325a;
}

.hero__char:nth-child(1) {
  transition-delay: 0s;
}

.hero__char:nth-child(2) {
  transition-delay: 0.06s;
}

.hero__char:nth-child(3) {
  transition-delay: 0.12s;
}

.hero__char:nth-child(4) {
  transition-delay: 0.18s;
}

.hero__char:nth-child(5) {
  transition-delay: 0.24s;
}

.hero__char:nth-child(6) {
  transition-delay: 0.3s;
}

.contact-info {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}

.contact-info__text {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 19.5px;
  line-height: 2.05;
  letter-spacing: 0.03em;
  color: #41556c;
  text-align: center;
  text-wrap: pretty;
}

.contact-form {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 60px 40px;
  box-sizing: border-box;
}

.contact-form__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-top: 44px;
  padding: 44px 46px 48px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(14, 38, 74, 0.05), 0 24px 56px -30px rgba(14, 38, 74, 0.3);
}

.contact-form__field {
  display: flex;
}

.contact-form__field--column {
  flex-direction: column;
  gap: 10px;
}

.contact-form__field--body {
  grid-column: 1/-1;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: #41556c;
}

.contact-form__label--navy {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #16325a;
}

.contact-form__label--secondary {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: #5e7392;
}

.contact-form__label--grid {
  display: grid;
  grid-template-columns: 1fr 14px 1fr 14px 1fr;
  align-items: center;
  gap: 0 10px;
  max-width: 560px;
}

.contact-form__label--muted {
  text-align: center;
  color: #8a9ab4;
}

.contact-form__label--blue {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1d55b0;
}

.contact-form__caption {
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.08);
  border: 1px solid rgba(200, 16, 46, 0.22);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c8102e;
}

.contact-form__input--navy {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #16325a;
  background: #ffffff;
  border: 1px solid rgba(40, 80, 150, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
  box-sizing: border-box;
  width: 100%;
  outline: none;
}

.contact-form__input--regular {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #16325a;
  background: #ffffff;
  border: 1px solid rgba(40, 80, 150, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
  box-sizing: border-box;
  width: 100%;
  outline: none;
  text-align: left;
}

.contact-form__input--spaced {
  margin-top: 6px;
  width: 18px;
  height: 18px;
  accent-color: #1d55b0;
}

.contact-form__content {
  grid-column: 1/-1;
}

.contact-form__textarea {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #16325a;
  background: #ffffff;
  border: 1px solid rgba(40, 80, 150, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
  box-sizing: border-box;
  width: 100%;
  outline: none;
  resize: vertical;
  line-height: 1.9;
}

.contact-form__row {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.contact-form__button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, #4d9bef, #1d55b0);
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(29, 85, 176, 0.65);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.contact-form__button:hover {
  transform: translateY(-3px);
}

.error__txt {
  display: none;
  color: #f00;

}

.error__txt.is-visible {
  display: block;
}

/* ==========================================================================
   同意チェックボックス（PC・SP共通）
   元の指定（18px・accent-color:#1d55b0 のネイティブチェックボックス）が
   reset.css（destyle）の appearance:none で打ち消され、PCでも見えない状態だったため、
   ネイティブ表示に戻して元のデザイン意図どおりに表示する。
   ========================================================================== */
.contact-form__input--spaced {
  -webkit-appearance: checkbox;
  appearance: auto;
  flex: 0 0 auto;
  margin: 0.35em 0 0;
  cursor: pointer;
}

form a {
  border-bottom: 1px solid #41556c;
}

form a:hover {
  color: #2560d8;
  border-bottom: 1px solid #2560d8;
}

/* ==========================================================================
   Responsive (Tablet / SP) — PC表示（1101px以上）には影響しません
   ========================================================================== */
@media screen and (max-width: 1100px) {

  /* 左右余白を縮小 */
  .hero__inner,
  .contact-info,
  .contact-form {
    padding-left: 40px;
    padding-right: 40px;
  }
}

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

  /* ヒーロー：高さを内容なりにし、固定ヘッダー（64px）＋パンくずの下にタイトルを配置 */
  .hero {
    height: auto;
    min-height: 0;
    padding: 150px 0 36px;
  }

  .hero__inner {
    padding: 0 20px;
  }

  .hero__row {
    top: 0;
  }

  .hero__title {
    justify-content: center;
    font-size: clamp(24px, 6.6vw, 30px);
    text-align: center;
  }

  /* 背景の英字「CONTACT」 */
  .hero__contact-label {
    top: -40px;
    font-size: clamp(48px, 15vw, 72px);
  }

  /* 案内文 */
  .contact-info {
    padding: 0 20px;
  }

  .contact-info__text {
    font-size: 15.5px;
    line-height: 1.9;
    text-align: left;
  }

  /* フォーム：入力欄は全幅・16px（iOSの自動ズーム防止）、ラベルは縦積み（既存） */
  .contact-form {
    padding: 0 20px 56px;
  }

  .contact-form__form {
    gap: 22px;
    margin-top: 28px;
    padding: 26px 18px 30px;
    border-radius: 16px;
  }

  .contact-form__input--navy,
  .contact-form__input--regular,
  .contact-form__textarea {
    min-height: 48px;
    font-size: 16px;
  }

  /* 電話番号（3分割）：狭い画面でも収まるよう余白を調整 */
  .contact-form__label--grid {
    grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr) 10px minmax(0, 1fr);
    gap: 0 6px;
  }

  .contact-form__input--regular {
    padding: 12px 10px;
  }

  .contact-form__field--body {
    justify-content: flex-start;
    font-size: 15px;
  }

  /* 送信ボタン：全幅・44px以上 */
  .contact-form__row .contact-form__field--body {
    width: 100%;
    justify-content: center;
  }

  .contact-form__button {
    justify-content: center;
    width: 100%;
    max-width: 360px;
    min-height: 56px;
    padding: 16px 24px;
  }
}

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

  /* 電話番号（3分割）：プレースホルダーが欠けないよう余白と文字サイズを微調整（入力文字は16pxのまま） */
  .contact-form__label--grid {
    grid-template-columns: minmax(0, 1fr) 8px minmax(0, 1fr) 8px minmax(0, 1fr);
    gap: 0 4px;
  }

  .contact-form__input--regular {
    padding: 12px 8px;
  }

  .contact-form__input--regular::placeholder {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   セクション見出し × 英字ゴーストの重なり：PCと同じ比率に揃える（タブレット・SP）
   PCは px 指定（例：top:-72px / font-size:118px ＝ 0.61em）のため、
   文字サイズが小さくなるSPでは重なりが浅くなっていた → em で同比率を指定
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1100px) {
  .hero__contact-label {
    top: -0.579em;
  }
}

/* ==========================================================================
   お問い合わせ FV：背景の円の装飾（/about/ の FV と同じデザイン・大きさ）
   FV（.hero）は低く overflow:hidden のため、ページ上端から画面1枚分の領域に置き、下の内容の背面に表示
   ========================================================================== */
.contact__fv-decor {
  position: absolute;
  right: 0;
  top: 0;
  width: 60vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  -webkit-mask: linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.5) 40%, #000 78%);
  mask: linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.5) 40%, #000 78%);
  animation: ctFvFadeIn 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s both;
}

.contact__fv-ring {
  position: absolute;
  right: 6%;
  top: 50%;
  width: min(88vh, 50vw);
  height: min(88vh, 50vw);
  margin-top: calc(min(88vh, 50vw) / -2);
  border-radius: 50%;
}

.contact__fv-ring--glow {
  background: radial-gradient(circle at 50% 50%, rgba(77, 155, 239, 0.2), rgba(37, 96, 216, 0.05) 46%, rgba(37, 96, 216, 0) 70%);
  filter: blur(46px);
  animation: ctFvBreathe 16s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.contact__fv-ring--line {
  border: 1px solid rgba(22, 50, 90, 0.12);
}

.contact__fv-ring--arc {
  padding: 1px;
  background: conic-gradient(from -20deg, rgba(37, 96, 216, 0) 0deg, rgba(37, 96, 216, 0.85) 60deg, rgba(37, 96, 216, 0) 120deg);
  -webkit-mask: radial-gradient(circle, transparent calc(50% - 1.8px), #000 calc(50% - 1px), #000 50%, transparent calc(50% + 0.8px));
  mask: radial-gradient(circle, transparent calc(50% - 1.8px), #000 calc(50% - 1px), #000 50%, transparent calc(50% + 0.8px));
}

.contact__main>.hero,
.contact__main>section {
  position: relative;
  z-index: 1;
}

@keyframes ctFvBreathe {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes ctFvFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media screen and (max-width: 900px) {
  .contact__fv-ring {
    right: -18%;
    width: 86vw;
    height: 86vw;
    margin-top: -43vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact__fv-decor {
    animation: none;
    opacity: 1;
  }

  .contact__fv-ring--glow {
    animation: none;
  }
}

/* Desktop: center only the privacy consent error. */
@media screen and (min-width: 901px) {
  .contact-form__form .error__privacy {
    text-align: center;
  }
}
