@charset "UTF-8";
/*=======================================
	breakpoint
=======================================*/
/*=======================================
	hover
=======================================*/
/*=======================================
	center positioning
=======================================*/
/*=======================================
	fluid responsive sizing
/* PC */
/* TB */
/* SP */
/*=======================================
	browser-specific helpers
=======================================*/
/* Safari */
/* Firefox */
/*!
 * ERRAI CORPORATION - contact.css
 * Source: contact/index.html
 * Auto-extracted from inline <style>; manual additions below.
 */
/* ========================================================================
	 ERRAI CORPORATION - Sub Page (CONTACT)
	 Follows the same design language as the top page.
	 ======================================================================== */
:root {
  --void:	#04060c;
  --abyss: #070b16;
  --midnight:	#0b1124;
  --navy:	#111935;
  --steel: #1a2447;
  --glass: rgba(255,255,255,0.04);
  --glass-bd:	rgba(255,255,255,0.08);
  --glass-bd-2:	rgba(255,255,255,0.12);
  --gamma: #6ea8ff;
  --gamma-deep:	#3b6fd6;
  --photon:	#aac6ff;
  --plasma:	#b48bff;
  --ember: #ff7a59;
  --gold:	#d9c08a;
  --ink: #f4f6fb;
  --ink-2: #c8cfdd;
  --ink-3: #8c95a8;
  --ink-4: #5b6478;
  --rule:	rgba(255,255,255,0.07);
  --rule-2:	rgba(255,255,255,0.12);
  --font-display: "Manrope", "Noto Sans JP", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Serif JP", serif;
  --font-mono:	"JetBrains Mono", ui-monospace, monospace;
  --font-jp:	"Noto Sans JP", system-ui, sans-serif;
  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,.84,.32,1);
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--abyss);
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Ambient noise & glow -same as TOP */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(110, 168, 255, 0.08), transparent 70%), radial-gradient(900px 700px at -10% 60%, rgba(180, 139, 255, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/noise.svg");
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

main, header, footer, section {
  position: relative;
  z-index: 3;
}

/* ========== PAGE HERO (sub page) ========== */
.page-hero {
  position: relative;
  min-height: 52vh;
  margin-top: 0;
  padding: 160px var(--gutter) 80px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  border-bottom: 1px solid var(--rule);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(4, 6, 12, 0.55)), color-stop(50%, rgba(4, 6, 12, 0.4)), to(rgba(7, 11, 22, 0.95))), -webkit-gradient(linear, left top, right top, from(rgba(4, 6, 12, 0.7)), color-stop(60%, rgba(4, 6, 12, 0.2)), to(transparent)), url("../img/contact/contact_bg.jpg");
  background-image: linear-gradient(180deg, rgba(4, 6, 12, 0.55) 0%, rgba(4, 6, 12, 0.4) 50%, rgba(7, 11, 22, 0.95) 100%), linear-gradient(90deg, rgba(4, 6, 12, 0.7) 0%, rgba(4, 6, 12, 0.2) 60%, transparent 100%), url("../img/contact/contact_bg.jpg");
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(110, 168, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 168, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 18% 50%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 18% 50%, black 25%, transparent 75%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}

.page-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.page-hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gamma);
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(48px, 8vw, 104px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--ink);
}

.page-hero__title .outline {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
  color: transparent;
}

.page-hero__sub {
  margin-top: 18px;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gamma);
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  padding: 24px var(--gutter) 0;
}

.breadcrumb__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.25em;
  color: var(--ink-4);
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--ink-3);
  -webkit-transition: color 0.3s var(--ease);
  transition: color 0.3s var(--ease);
}

.breadcrumb a:hover {
  color: var(--gamma);
}

.breadcrumb .sep {
  color: var(--ink-4);
}

.breadcrumb .current {
  color: var(--ink);
  border-bottom: 1px solid var(--gamma);
  padding-bottom: 3px;
}

/* ========== SECTION ========== */
.section {
  padding: var(--section-y) var(--gutter);
  position: relative;
}

.section--tight {
  padding: clamp(48px, 6vw, 80px) var(--gutter) 20px;
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ========== Lead ========== */
.contact-lead {
  text-align: center;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

/* ========== Tel Card ========== */
.tel-card {
  margin: 40px auto 0;
  max-width: 880px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.04)), to(rgba(255, 255, 255, 0.015)));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--glass-bd-2);
  border-radius: 4px;
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.tel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 1px;
  background: var(--gamma);
  -webkit-box-shadow: 0 0 12px var(--gamma);
          box-shadow: 0 0 12px var(--gamma);
}

.tel-card__corner {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-4);
}

.tel-card__title {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gamma);
  margin-bottom: 28px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
}

.tel-card__title::after {
  content: "";
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  height: 1px;
  background: var(--rule-2);
}

.tel-card__number {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 18px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.tel-card__icon {
  width: 28px;
  height: 28px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 28px;
          flex: 0 0 28px;
  /* Phone icon -embedded SVG with fill set to gamma blue (%236ea8ff).
  	 Replaces previous CSS mask + background-color approach for stricter
  	 CSS validation and Safari compatibility. */
  background-image: url("../img/icon-phone.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.tel-card__big {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
}

.tel-card__fax {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.tel-card__fax-label {
  color: var(--gamma);
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-right: 12px;
  font-size: 13px;
}

.tel-card__info {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--rule-2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 20px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.tel-card__info dt {
  border: 1px solid var(--gamma);
  color: var(--gamma);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 5px 10px;
  border-radius: 2px;
  white-space: nowrap;
  text-align: center;
  -ms-flex-item-align: start;
      align-self: start;
  margin-top: 2px;
}

.tel-card__info dd {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.85;
}

/* ========== FORM ========== */
.form-desc {
  margin-bottom: 48px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-2);
}

.form-desc__en {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}

.form-row:first-of-type {
  border-top: 1px solid var(--rule);
}

.form-label {
  padding-top: 6px;
}

.form-label__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.form-label__ja {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.form-label__en {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--ink-4);
  text-transform: uppercase;
}

.required-tag {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  background: var(--gamma);
  color: var(--abyss);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.12em;
  margin-left: 10px;
}

/* Required-label text is written directly in HTML for each language.
	 JP label: required, EN label: Required.
	 Pseudo-element labels are not used here to avoid duplicate text. */
.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-bd-2);
  border-radius: 2px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--font-jp);
  letter-spacing: 0.04em;
  outline: none;
  -webkit-transition: border-color 0.3s var(--ease), background 0.3s var(--ease), -webkit-box-shadow 0.3s var(--ease);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), -webkit-box-shadow 0.3s var(--ease);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), -webkit-box-shadow 0.3s var(--ease);
}

.form-control::-webkit-input-placeholder {
  color: var(--ink-4);
  font-size: 13px;
}

.form-control::-moz-placeholder {
  color: var(--ink-4);
  font-size: 13px;
}

.form-control:-ms-input-placeholder {
  color: var(--ink-4);
  font-size: 13px;
}

.form-control::-ms-input-placeholder {
  color: var(--ink-4);
  font-size: 13px;
}

.form-control::placeholder {
  color: var(--ink-4);
  font-size: 13px;
}

.form-control:focus {
  border-color: var(--gamma);
  background: rgba(110, 168, 255, 0.06);
  -webkit-box-shadow: 0 0 0 3px rgba(110, 168, 255, 0.12);
          box-shadow: 0 0 0 3px rgba(110, 168, 255, 0.12);
}

textarea.form-control {
  min-height: 200px;
  resize: vertical;
  line-height: 1.85;
}

.form-note {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}

/* Radio (inquiry type) */
.radio-grid .wpcf7-form-control-wrap,
.radio-grid .wpcf7-radio {
  display: contents;
}

.radio-grid .wpcf7-radio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.radio-grid .wpcf7-list-item {
  width: 30%;
  min-width: 200px;
}
@media screen and (max-width: 768px) {
  .radio-grid .wpcf7-list-item {
    width: 100%;
  }
}

.radio-grid .wpcf7-list-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.radio-grid .wpcf7-list-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.radio-grid .wpcf7-list-item:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.radio-grid .wpcf7-list-item:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.radio-grid .wpcf7-list-item:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}

.radio-grid .wpcf7-list-item:nth-child(6) {
  grid-column: 3;
  grid-row: 2;
}

.radio-grid .wpcf7-list-item label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 6px 0;
}

.radio-grid .wpcf7-list-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-grid .wpcf7-list-item-label {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 28px;
  padding-left: 26px;
  font-family: var(--font-jp);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.radio-grid .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-3);
  -webkit-transition: border-color 0.25s var(--ease);
  transition: border-color 0.25s var(--ease);
}

.radio-grid .wpcf7-list-item-label::after {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  text-transform: uppercase;
}

.radio-grid .wpcf7-list-item input:checked + .wpcf7-list-item-label::before {
  border-color: var(--gamma);
}

.radio-grid .wpcf7-list-item input:checked + .wpcf7-list-item-label {
  color: var(--ink);
}

.radio-grid .wpcf7-list-item input:checked + .wpcf7-list-item-label {
  background: radial-gradient(circle at 8px 11px, var(--gamma) 0 4px, transparent 4.5px);
}

.radio-grid .wpcf7-list-item:nth-child(1) .wpcf7-list-item-label::after {
  content: "Corporate brochure";
}

.radio-grid .wpcf7-list-item:nth-child(2) .wpcf7-list-item-label::after {
  content: "Quotation request";
}

.radio-grid .wpcf7-list-item:nth-child(3) .wpcf7-list-item-label::after {
  content: "Recruitment";
}

.radio-grid .wpcf7-list-item:nth-child(4) .wpcf7-list-item-label::after {
  content: "Investment & Partnership";
}

.radio-grid .wpcf7-list-item:nth-child(5) .wpcf7-list-item-label::after {
  content: "Other inquiries";
}

.radio-grid .wpcf7-list-item:nth-child(6) .wpcf7-list-item-label::after {
  content: "Others";
}

.radio-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 6px 0;
}

.radio-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-item__mark {
  width: 16px;
  height: 16px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 16px;
          flex: 0 0 16px;
  margin-top: 4px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-3);
  position: relative;
  -webkit-transition: border-color 0.25s var(--ease);
  transition: border-color 0.25s var(--ease);
}

.radio-item input:checked + .radio-item__mark {
  border-color: var(--gamma);
}

.radio-item input:checked + .radio-item__mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--gamma);
  border-radius: 50%;
  -webkit-box-shadow: 0 0 8px var(--gamma);
          box-shadow: 0 0 8px var(--gamma);
}

.radio-item__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  line-height: 1.4;
}

.radio-item__ja {
  font-family: var(--font-jp);
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.radio-item__en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  margin-top: 2px;
  text-transform: uppercase;
}

/* Consent (privacy policy agreement) */
.consent-wrap {
  margin-top: 56px;
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.consent-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--gamma);
  -webkit-box-shadow: 0 0 8px var(--gamma);
          box-shadow: 0 0 8px var(--gamma);
}

.consent-wrap__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.consent-wrap__head::before {
  content: "";
  width: 3px;
  height: 16px;
  background: var(--gamma);
}

.consent-wrap__title {
  font-family: var(--font-jp);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.consent-wrap__lead {
  font-family: var(--font-jp);
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.consent-wrap__lead a {
  color: var(--gamma);
  border-bottom: 1px solid rgba(110, 168, 255, 0.4);
  padding-bottom: 1px;
  -webkit-transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.consent-wrap__lead a:hover {
  color: var(--photon);
  border-color: var(--photon);
}

.consent-check {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 4px;
}

.consent-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-check__mark {
  width: 20px;
  height: 20px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 20px;
          flex: 0 0 20px;
  border: 1.5px solid var(--ink-3);
  border-radius: 3px;
  position: relative;
  -webkit-transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.consent-check input:checked + .consent-check__mark {
  border-color: var(--gamma);
  background: var(--gamma);
}

.consent-check input:checked + .consent-check__mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--abyss);
  border-bottom: 2px solid var(--abyss);
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.consent-check input:focus-visible + .consent-check__mark {
  -webkit-box-shadow: 0 0 0 3px rgba(110, 168, 255, 0.25);
          box-shadow: 0 0 0 3px rgba(110, 168, 255, 0.25);
}

.consent-check__text {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.consent-wrap .wpcf7-form-control-wrap,
.consent-wrap .wpcf7-acceptance {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.consent-wrap .wpcf7-list-item {
  margin: 0;
}

.consent-wrap .wpcf7-list-item label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 4px;
}

.consent-wrap .wpcf7-list-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-wrap .wpcf7-list-item-label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  font-size: 0;
}

.consent-wrap .wpcf7-list-item-label::before {
  content: "";
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 20px;
  height: 20px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 20px;
          flex: 0 0 20px;
  border: 1.5px solid var(--ink-3);
  border-radius: 3px;
  -webkit-transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.consent-wrap .wpcf7-list-item-label {
  position: relative;
}

.consent-wrap .wpcf7-list-item input:checked + .wpcf7-list-item-label::before {
  content: "✓";
  border-color: var(--gamma);
  background: var(--gamma);
  color: var(--abyss);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.consent-wrap .wpcf7-list-item input:checked + .wpcf7-list-item-label {
  background: none;
}

.consent-wrap .wpcf7-list-item-label::after {
  content: "同意します";
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.consent-wrap .wpcf7-list-item label::after {
  content: "必須";
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 42px;
  height: 24px;
  padding: 0 2px;
  border-radius: 999px;
  background: var(--gamma);
  color: var(--abyss);
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.consent-wrap .wpcf7-list-item input:focus-visible + .wpcf7-list-item-label::before {
  -webkit-box-shadow: 0 0 0 3px rgba(110, 168, 255, 0.25);
          box-shadow: 0 0 0 3px rgba(110, 168, 255, 0.25);
}

/* Submit */
.submit-wrap {
  margin-top: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.submit-btn[disabled],
.submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.submit-btn {
  position: relative;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 56px;
  padding: 16px 16px 16px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  min-width: 320px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-transition: all 0.35s var(--ease);
  transition: all 0.35s var(--ease);
}

.submit-btn:hover {
  border-color: var(--gamma);
  background: rgba(110, 168, 255, 0.08);
  color: var(--photon);
}

.submit-btn__arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--gamma);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 40px;
          flex: 0 0 40px;
  -webkit-transition: background 0.35s var(--ease);
  transition: background 0.35s var(--ease);
  position: relative;
}

.submit-btn:hover .submit-btn__arrow {
  background: var(--photon);
}

.submit-btn__arrow::before {
  content: "";
  width: 14px;
  height: 1.5px;
  background: var(--abyss);
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.submit-btn__arrow::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--abyss);
  border-right: 1.5px solid var(--abyss);
  position: absolute;
  left: 56%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}

/* Notice box */
.notice-box {
  margin-top: 96px;
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.015);
  position: relative;
}

.notice-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 1px;
  background: var(--gamma);
}

.notice-box__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.notice-box__title::before {
  content: "";
  width: 3px;
  height: 16px;
  background: var(--gamma);
}

.notice-box__text {
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.notice-box__text + .notice-box__text {
  margin-top: 12px;
}

.notice-box a {
  color: var(--gamma);
  border-bottom: 1px solid rgba(110, 168, 255, 0.4);
  padding-bottom: 1px;
  -webkit-transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.notice-box a:hover {
  color: var(--photon);
  border-color: var(--photon);
}

/* ========== FOOTER (same as TOP) ========== */
.site-footer {
  background: var(--void);
  padding: 80px var(--gutter) 32px;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}

.footer-brand h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-brand .ja {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.footer-brand .addr {
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.95;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.footer-brand .addr a {
  color: var(--gamma);
  text-decoration: underline;
  text-decoration-color: rgba(110, 168, 255, 0.3);
  text-underline-offset: 3px;
  -webkit-transition: text-decoration-color 0.3s var(--ease);
  transition: text-decoration-color 0.3s var(--ease);
}

.footer-brand .addr a:hover {
  text-decoration-color: var(--gamma);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--ink-2);
  -webkit-transition: color 0.3s var(--ease);
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--photon);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  color: var(--ink-4);
}

.footer-bottom .legal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
}

.footer-bottom a {
  color: var(--ink-3);
  -webkit-transition: color 0.3s var(--ease);
  transition: color 0.3s var(--ease);
}

.footer-bottom a:hover {
  color: var(--ink);
}

@media (max-width: 767px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
/* ========== Reveal ========== */
.reveal {
  opacity: 0;
  -webkit-transform: translateY(30px);
          transform: translateY(30px);
  -webkit-transition: opacity 1s var(--ease), -webkit-transform 1s var(--ease);
  transition: opacity 1s var(--ease), -webkit-transform 1s var(--ease);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition: opacity 1s var(--ease), transform 1s var(--ease), -webkit-transform 1s var(--ease);
}

.reveal.visible {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
@media screen and (max-width: 768px) {
  .reveal.visible {
    margin-top: 0;
  }
}

.reveal.delay-1 {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}

.reveal.delay-2 {
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--abyss);
}

::-webkit-scrollbar-thumb {
  background: var(--steel);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gamma-deep);
}

::-moz-selection {
  background: var(--gamma);
  color: var(--abyss);
}

::selection {
  background: var(--gamma);
  color: var(--abyss);
}

.grecaptcha-badge {
  z-index: 1000 !important;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }
  .form-label {
    padding-top: 0;
  }
  .radio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
  }
  .radio-grid .wpcf7-list-item {
    grid-column: auto;
    grid-row: auto;
  }
  .tel-card__info {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .tel-card__info dt {
    justify-self: start;
  }
  .tel-card__info dd {
    margin-bottom: 8px;
  }
}
@media (max-width: 560px) {
  .radio-grid {
    grid-template-columns: 1fr;
  }
  .grecaptcha-badge {
    bottom: 16px !important;
  }
  .pagetop {
    bottom: 96px;
  }
  .submit-wrap {
    margin-bottom: 32px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
    position: relative;
  }
  .submit-wrap .wpcf7-spinner {
    position: absolute;
    left: calc(50% + 170px);
    top: 50%;
    margin: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .submit-btn {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    padding-left: 24px;
    gap: 16px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
  }
  .tel-card__big {
    font-size: 30px;
  }
  .page-hero {
    min-height: 40vh;
    padding-top: 120px;
  }
}
/* === EN-only overrides (merged from en/contact/index.html) === */
/* ========== EN overrides ========== */
html[lang=en] body {
  font-family: var(--font-display);
}

html[lang=en] .form-label__ja,
html[lang=en] .radio-item__ja,
html[lang=en] .contact-lead,
html[lang=en] .form-desc,
html[lang=en] .notice-box__text,
html[lang=en] .consent-wrap__title,
html[lang=en] .consent-wrap__lead,
html[lang=en] .consent-check__text,
html[lang=en] .article-body,
html[lang=en] .article-title {
  font-family: var(--font-display);
}

html[lang=en] .form-label__en {
  display: none;
}

html[lang=en] .radio-item__en {
  display: none;
}

html[lang=en] .consent-wrap .wpcf7-list-item-label::after {
  content: "I agree";
  font-family: var(--font-display);
}

html[lang=en] .consent-wrap .wpcf7-list-item label::after {
  content: "Required";
  font-family: var(--font-display);
}

html[lang=en] .radio-grid .wpcf7-list-item-label {
  font-family: var(--font-display);
}

html[lang=en] .radio-grid .wpcf7-list-item-label::after {
  content: none;
}

/* === Footer heading: a11y fix (h4 -> p.footer-col__heading) === */
.footer-col__heading {
  margin: 0 0 18px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-4);
  text-transform: uppercase;
  font-weight: 500;
}
/* === Unified footer display === */
.site-footer {
  background: var(--void);
  padding: 80px var(--gutter) 32px;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}

.footer-brand h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-brand .ja {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: .15em;
  margin-bottom: 24px;
}

.footer-brand .addr {
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.95;
  color: var(--ink-3);
  letter-spacing: .04em;
}

.footer-brand .addr a {
  color: var(--gamma);
  text-decoration: underline;
  text-decoration-color: rgba(110,168,255,.3);
  text-underline-offset: 3px;
  transition: text-decoration-color .3s var(--ease), color .3s var(--ease);
}

.footer-brand .addr a:hover {
  color: var(--photon);
  text-decoration-color: var(--gamma);
}

.footer-col h4,
.footer-col__heading {
  margin: 0 0 18px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--ink-4);
  text-transform: uppercase;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.footer-col a {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--ink-2);
  transition: color .3s var(--ease);
}

.footer-col a:hover {
  color: var(--photon);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  color: var(--ink-4);
  text-transform: none;
}

.footer-bottom .legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom a,
.footer-bottom .legal a {
  color: var(--ink-3);
  transition: color .3s var(--ease);
}

.footer-bottom a:hover,
.footer-bottom .legal a:hover {
  color: var(--ink);
}

@media (max-width: 767px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
/*# sourceMappingURL=contact.css.map */
