/* ===== ACCESSIBILITY ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-dark:    #090826;
  --color-cream:   #fcfaf2;
  --color-gray1:   #7a7890;
  --color-gray2:   #3c3a58;
  --color-bg-gray: #eae9f1;
  --font-serif: 'Noto Serif JP', serif;
  --max-content: 1000px;
  --page-width: 1440px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  font-weight: 900;
  background: #fff;
  color: rgba(9, 8, 38, 0.87);
  min-width: 320px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.48px;
  cursor: pointer;
  transition: opacity .2s, transform .28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow .28s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover {
  opacity: .82;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(9, 8, 38, 0.18);
}

.btn--pill {
  height: 35px;
  padding: 4px 20px;
  border-radius: 30px;
  background: var(--color-dark);
  color: var(--color-cream);
}

.btn--dark {
  height: 40px;
  padding: 4px 15px;
  background: var(--color-dark);
  color: #fff;
  min-width: 235px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--color-cream);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.header--scrolled {
  background: var(--color-dark);
}

.header__logo,
.header__nav-list a {
  transition: color 0.3s ease;
}

.header .btn--pill {
  transition: background 0.3s ease, color 0.3s ease, opacity 0.2s;
}

.header--scrolled .header__logo {
  color: var(--color-cream);
}

.header--scrolled .header__nav-list a {
  color: var(--color-cream);
}

.header--scrolled .btn--pill {
  background: var(--color-cream);
  color: var(--color-dark);
}

.header__inner {
  width: 100%;
  max-width: var(--max-content);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.header__logo {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-dark);
  transition: color 0.3s ease;
}

.header__logo-ja {
  font-size: 20px;
  letter-spacing: 2.4px;
  line-height: 1;
  white-space: nowrap;
}

.header__logo-en {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  line-height: 1;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 50px;
}

.header__nav-list {
  display: flex;
  gap: 41px;
}

.header__nav-list a {
  font-size: 14px;
  letter-spacing: 0.56px;
  color: var(--color-dark);
  white-space: nowrap;
}
.header__nav-list a:hover { opacity: .7; }

/* ===== HERO ===== */
.hero {
  width: 100%;
  height: 860px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  clip-path: polygon(0 0%, 100% 0%, 100% 100%, 0% 100%);
  position: relative;
  z-index: 2;
  margin-bottom: -120px;
}
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.hero__bg-video.is-loaded {
  opacity: 1;
}
.hero > *:not(.hero__bg-video) {
  position: relative;
  z-index: 1;
}

.hero__card {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 700px;
  padding: 80px 64px;
}

.hero__catch {
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--color-dark);
}

.hero__title {
  font-size: 40px;
  letter-spacing: 6px;
  color: var(--color-dark);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.hero__divider-line {
  flex: 1;
  height: 1px;
  background: var(--color-dark);
  opacity: 0.3;
}

.hero__divider-text {
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(9, 8, 38, 0.55);
  white-space: nowrap;
}

.hero__sub {
  font-size: 14px;
  letter-spacing: 0.6px;
  color: var(--color-dark);
}

/* ===== SECTION COMMON ===== */
.section {
  width: 100%;
  padding: 120px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
}

.section--white { background: #fff; }
.section--gray  { background: var(--color-bg-gray); }

/* ヒーロー後のセクションはヒーローの後ろに置き、下カットを見せる */
.hero + .section {
  position: relative;
  z-index: 1;
  padding-top: 192px;
}

.section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: var(--max-content);
}

.section__title {
  font-size: 36px;
  letter-spacing: 1.44px;
  color: var(--color-dark);
  white-space: nowrap;
}

.section__subtitle {
  font-size: 16px;
  letter-spacing: 0.64px;
  color: var(--color-gray1);
  text-align: center;
}

.section__rule {
  display: flex;
  align-items: center;
  gap: 33px;
  width: 100%;
}

.section__rule-line {
  flex: 1;
  height: 1px;
  background: var(--color-dark);
  opacity: 0.25;
}

.section__rule-text {
  font-size: 12px;
  letter-spacing: 3.6px;
  color: var(--color-gray1);
  white-space: nowrap;
  line-height: 1.5;
}

/* ===== SERVICE CARDS ===== */
.cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--max-content);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 300px;
  padding: 48px 28px;
  flex-shrink: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(9, 8, 38, 0.13);
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.card__label {
  display: flex;
  flex-direction: column;
  font-size: 24px;
  letter-spacing: 1.2px;
  color: var(--color-dark);
  line-height: 1.2;
  white-space: pre;
}

.card__num {
  font-size: 48px;
  letter-spacing: -15.36px;
  color: var(--color-gray2);
  line-height: 1;
}

.card__img {
  width: 100%;
  height: 179px;
  flex-shrink: 0;
  overflow: hidden;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card__img img {
  transform: scale(1.07);
}

.card__name-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.card__name {
  font-size: 20px;
  letter-spacing: 0.8px;
  color: var(--color-gray2);
  white-space: nowrap;
  flex-shrink: 0;
}

.card__name-line {
  flex: 1;
  height: 1px;
  background: var(--color-dark);
  opacity: 0.25;
}

.card__desc {
  font-size: 16px;
  letter-spacing: 0.64px;
  color: var(--color-gray1);
  line-height: 1.7;
}

/* ===== SERVICE LIST ===== */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
  max-width: var(--max-content);
  padding: 16px 0;
}

.service-category {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-category__head {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.service-category__icon {
  background: var(--color-dark);
  border: 1px solid #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-category__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-category__name {
  font-size: 24px;
  letter-spacing: 0.96px;
  color: var(--color-dark);
  line-height: 1.2;
}

.service-category__desc {
  font-size: 16px;
  letter-spacing: 0.64px;
  color: var(--color-gray2);
  line-height: 1.2;
}

.service-category__divider {
  width: 100%;
  height: 1px;
  background: var(--color-dark);
  opacity: 0.25;
}

.service-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-dark);
  border: 1px solid var(--color-dark);
  border-radius: 7px;
  width: 310px;
  min-height: 88px;
  padding: 20px 24px;
  color: var(--color-cream);
  font-size: 16px;
  letter-spacing: 0.64px;
  line-height: 1.6;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item:hover {
  background: var(--color-gray2);
  transform: translateX(6px);
  box-shadow: 4px 8px 24px rgba(9, 8, 38, 0.18);
}

.service-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* ===== SECTION CTA ===== */
.section__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
  padding-top: 24px;
}

.section__cta-text {
  font-size: 20px;
  letter-spacing: 0.8px;
  color: var(--color-gray2);
  text-align: center;
}

/* ===== COMPANY ===== */
.company {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  max-width: var(--max-content);
}

.company__heading {
  font-size: 24px;
  letter-spacing: 0.96px;
  color: var(--color-dark);
}

.company__table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.company__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.company__row dt,
.company__row dd {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.64px;
  color: rgba(9, 8, 38, 0.82);
}

.company__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(9, 8, 38, 0.2);
  width: 600px;
  gap: 0;
}

.company__row dt {
  width: 140px;
  flex-shrink: 0;
}

.company__row dd {
  flex: 1;
}

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

.contact-form {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-form__row {
  display: flex;
  gap: 28px;
}

.contact-form__row .contact-form__field {
  flex: 1;
}

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

.contact-form__label {
  font-size: 13px;
  letter-spacing: 0.52px;
  color: var(--color-gray2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form__required {
  font-size: 10px;
  letter-spacing: 0.4px;
  color: var(--color-cream);
  background: var(--color-dark);
  padding: 2px 6px;
  line-height: 1.4;
}

.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.56px;
  color: rgba(9, 8, 38, 0.85);
  background: #fff;
  border: 1px solid rgba(9, 8, 38, 0.15);
  padding: 16px 20px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: rgba(9, 8, 38, 0.3);
}

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__select:focus {
  border-color: rgba(9, 8, 38, 0.5);
  background: #fff;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.8;
}

.custom-select {
  position: relative;
  user-select: none;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid rgba(9, 8, 38, 0.18);
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.custom-select__trigger:hover,
.custom-select.is-open .custom-select__trigger {
  border-color: rgba(9, 8, 38, 0.5);
}

.custom-select.is-error .custom-select__trigger {
  border-color: #e53935;
}

.custom-select__value {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.56px;
  color: rgba(9, 8, 38, 0.3);
}

.custom-select__value.is-selected {
  color: var(--color-dark);
}

.custom-select__arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.custom-select.is-open .custom-select__arrow {
  transform: rotate(180deg);
}

.custom-select__options {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(9, 8, 38, 0.18);
  list-style: none;
  z-index: 50;
  display: none;
}

.custom-select.is-open .custom-select__options {
  display: block;
}

.custom-select__option {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.56px;
  color: rgba(9, 8, 38, 0.85);
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s;
}

.custom-select__option:hover {
  background: rgba(9, 8, 38, 0.05);
}

.custom-select__option.is-active {
  background: rgba(9, 8, 38, 0.08);
  color: var(--color-dark);
}

.contact-form__submit {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.btn--submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1.4px;
  color: var(--color-cream);
  background: var(--color-dark);
  border: none;
  height: 60px;
  padding: 0 72px;
  cursor: pointer;
  transition: opacity 0.2s, transform .28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow .28s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--submit:hover {
  opacity: 0.82;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 8, 38, 0.25);
}

/* ===== ANIMATIONS & SCROLL REVEAL ===== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroCardIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes heroBgFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes expandFromLeft {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0%   0 0); }
}

@keyframes expandFromRight {
  from { clip-path: inset(0 0 0 100%); }
  to   { clip-path: inset(0 0 0 0%); }
}

/* Hero card entrance */
.hero__card {
  animation: heroCardIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

/* Header logo — letter stagger */
.header__logo-en span {
  display: inline-block;
  animation: fadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.header__logo-en span:nth-child(1) { animation-delay: 0.00s; }
.header__logo-en span:nth-child(2) { animation-delay: 0.05s; }
.header__logo-en span:nth-child(3) { animation-delay: 0.10s; }
.header__logo-en span:nth-child(4) { animation-delay: 0.15s; }
.header__logo-en span:nth-child(5) { animation-delay: 0.20s; }
.header__logo-en span:nth-child(6) { animation-delay: 0.25s; }
.header__logo-en span:nth-child(7) { animation-delay: 0.30s; }
.header__logo-en span:nth-child(8) { animation-delay: 0.35s; }

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Stagger delay variants */
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.18s; }
.reveal--d3 { transition-delay: 0.28s; }
.reveal--d4 { transition-delay: 0.38s; }
.reveal--d5 { transition-delay: 0.48s; }

/* Section rule line — expand animation */
.section__rule-line {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}
.section__rule-line:last-child {
  clip-path: inset(0 0 0 100%);
}
.section__rule.is-visible .section__rule-line {
  clip-path: inset(0 0% 0 0);
}
.section__rule.is-visible .section__rule-line:last-child {
  clip-path: inset(0 0 0 0%);
}

/* Nav link underline slide */
.header__nav-list a {
  position: relative;
}
.header__nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.header__nav-list a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Footer nav link underline */
.footer__nav-list a {
  position: relative;
}
.footer__nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--color-cream);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__nav-list a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Company row reveal slide */
.company__row {
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-dark);
  padding: 72px 20px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(252, 250, 242, 0.1);
}

.footer__inner {
  width: 100%;
  max-width: var(--max-content);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  font-size: 20px;
  letter-spacing: 2.4px;
  color: var(--color-cream);
}

.footer__tagline {
  font-size: 12px;
  letter-spacing: 0.48px;
  color: rgba(252, 250, 242, 0.45);
  line-height: 1.6;
}

.footer__nav-list {
  display: flex;
  gap: 36px;
  list-style: none;
}

.footer__nav-list a {
  font-size: 13px;
  letter-spacing: 0.52px;
  color: rgba(252, 250, 242, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__nav-list a:hover {
  color: var(--color-cream);
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(252, 250, 242, 0.1);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(252, 250, 242, 0.35);
}

.footer__area {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(252, 250, 242, 0.35);
}

/* ===== THANKS PAGE ===== */
.thanks {
  width: 100%;
  min-height: calc(100vh - 80px);
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 120px;
}

.thanks__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  width: 100%;
  max-width: var(--max-content);
}

/* ---- Check icon ---- */
.thanks__icon-wrap {
  width: 80px;
  height: 80px;
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.thanks__check-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ---- Title ---- */
.thanks__title {
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

/* Force rule lines visible immediately on thanks page */
.thanks__rule .section__rule-line {
  clip-path: inset(0 0% 0 0);
  transition: none;
}
.thanks__rule .section__rule-line:last-child {
  clip-path: inset(0 0 0 0%);
}

/* ---- Message card ---- */
.thanks__card {
  background: #fff;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 680px;
  width: 100%;
  animation: fadeInUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.thanks__card-text {
  font-size: 16px;
  letter-spacing: 0.64px;
  color: var(--color-gray1);
  line-height: 2;
  text-align: center;
}

.thanks__card-em {
  color: var(--color-dark);
  font-weight: 900;
}

.thanks__card-divider {
  width: 40px;
  height: 1px;
  background: var(--color-dark);
  opacity: 0.2;
}

.thanks__card-note {
  font-size: 12px;
  letter-spacing: 0.48px;
  color: rgba(9, 8, 38, 0.45);
  text-align: center;
  line-height: 1.8;
}

/* ---- Action buttons ---- */
.thanks__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeInUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

.thanks__btn-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 235px;
}

.thanks__btn-icon {
  flex-shrink: 0;
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.48px;
  height: 40px;
  padding: 4px 24px;
  min-width: 235px;
  border: 1.5px solid var(--color-dark);
  color: var(--color-dark);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform .28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow .28s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--outline:hover {
  background: var(--color-dark);
  color: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(9, 8, 38, 0.18);
}

/* ---- Thanks page responsive ---- */
@media (max-width: 768px) {
  .thanks {
    padding: 72px 24px 96px;
    min-height: calc(100vh - 64px);
  }
  .thanks__inner {
    gap: 40px;
  }
  .thanks__card {
    padding: 40px 28px;
  }
  .thanks__card-text {
    font-size: 14px;
    letter-spacing: 0.3px;
  }
  .thanks__actions {
    width: 100%;
  }
  .thanks__btn-top,
  .btn--outline {
    width: 100%;
    min-width: unset;
    font-size: 13px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .header__inner {
    padding: 20px 40px;
    max-width: 100%;
  }
  .section__header,
  .cards,
  .service-list,
  .company,
  .contact-form,
  .footer__inner {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
  }
  .service-list {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .section__title {
    white-space: normal;
  }
  .section__rule-text {
    white-space: normal;
  }
}

@media (max-width: 768px) {

  /* ----- HEADER ----- */
  .header {
    height: 64px;
  }
  .header__inner {
    padding: 0 20px;
  }
  .header__logo-ja {
    font-size: 16px;
    letter-spacing: 1.5px;
  }
  .header__nav-list {
    display: none;
  }
  .header .btn--pill {
    font-size: 11px;
    padding: 4px 14px;
    height: 32px;
    white-space: nowrap;
  }

  /* ----- HERO ----- */
  .hero {
    height: auto;
    min-height: 520px;
    padding: 48px 20px;
    margin-bottom: -72px;
  }
  .hero + .section {
    padding-top: 112px;
  }
  .hero__card {
    width: 100%;
    padding: 44px 28px;
    gap: 20px;
  }
  .hero__catch {
    font-size: 17px;
    letter-spacing: 1.5px;
    text-align: center;
  }
  .hero__title {
    font-size: 22px;
    letter-spacing: 2.5px;
    white-space: normal;
    text-align: center;
    word-break: break-word;
  }
  .hero__divider-text {
    font-size: 9px;
    letter-spacing: 1.5px;
    white-space: normal;
    text-align: center;
    line-height: 1.8;
  }
  .hero__sub {
    font-size: 13px;
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.7;
  }

  /* ----- SECTION 共通 ----- */
  .section {
    padding: 72px 24px;
    gap: 48px;
  }
  /* 二重paddingをリセット */
  .section__header,
  .cards,
  .service-list,
  .company,
  .contact-form {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
  .service-list {
    padding-top: 0;
    padding-bottom: 0;
  }
  .section__title {
    font-size: 26px;
    letter-spacing: 1px;
    white-space: normal;
    text-align: center;
  }
  .section__subtitle {
    font-size: 14px;
    letter-spacing: 0.3px;
    line-height: 1.8;
  }
  .section__rule {
    gap: 16px;
  }
  .section__rule-text {
    font-size: 10px;
    letter-spacing: 1.5px;
    white-space: normal;
    text-align: center;
    line-height: 1.8;
  }

  /* ----- BUTTONS ----- */
  .btn--dark {
    width: 100%;
    min-width: unset;
    font-size: 13px;
  }

  /* ----- CARDS ----- */
  .cards {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .card {
    width: 100%;
    padding: 36px 24px;
    gap: 20px;
  }
  .card__label {
    font-size: 18px;
    white-space: normal;
    word-break: break-word;
  }
  .card__num {
    font-size: 36px;
    letter-spacing: -8px;
  }
  .card__desc {
    font-size: 14px;
  }

  /* ----- SERVICE LIST ----- */
  .service-list {
    gap: 56px;
  }
  .service-category {
    gap: 28px;
  }
  .service-category__name {
    font-size: 20px;
  }
  .service-category__desc {
    font-size: 14px;
  }
  .service-items {
    flex-direction: column;
    gap: 14px;
  }
  .service-item {
    width: 100%;
    font-size: 14px;
    padding: 18px 20px;
    gap: 16px;
    min-height: unset;
  }
  .section__cta-text {
    font-size: 16px;
    letter-spacing: 0.3px;
    line-height: 1.7;
  }

  /* ----- COMPANY ----- */
  .company {
    gap: 32px;
  }
  .company__heading {
    font-size: 20px;
  }
  .company__row {
    width: 100%;
    padding: 20px 0;
  }
  .company__row dt {
    width: 100px;
    font-size: 14px;
  }
  .company__row dd {
    font-size: 14px;
  }

  /* ----- CONTACT ----- */
  .contact-form {
    gap: 28px;
  }
  .contact-form__row {
    flex-direction: column;
    gap: 28px;
  }
  .contact-form__field {
    gap: 12px;
  }
  .btn--submit {
    width: 100%;
    padding: 0 24px;
    height: 56px;
  }

  /* ----- FOOTER ----- */
  .footer {
    padding: 56px 24px 36px;
  }
  .footer__inner {
    padding-left: 0;
    padding-right: 0;
    gap: 36px;
  }
  .footer__top {
    flex-direction: column;
    gap: 32px;
  }
  .footer__nav-list {
    flex-wrap: wrap;
    gap: 16px 28px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
