@charset "utf-8";

/* =========================================================
   PAGE HERO
   - Contact page header
========================================================= */

.page-header{
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(72px, 9vw, 112px) 0 clamp(34px, 5vw, 52px);
  background:
    radial-gradient(70% 110% at 12% 10%, rgba(120, 10, 18, .34), transparent 55%),
    radial-gradient(56% 90% at 88% 8%, rgba(255, 60, 60, .10), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)),
    var(--bg);
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 0;
}

.page-header::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.06) 38%, rgba(0,0,0,.18)),
    radial-gradient(90% 120% at 50% 0%, rgba(255,255,255,.05), transparent 52%);
  pointer-events: none;
  z-index: -2;
}

.page-header::after{
  content: "CONTACT";
  position: absolute;
  right: clamp(20px, 7vw, 88px);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(72px, 16vw, 200px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: .08em;
  color: rgba(255,255,255,.04);
  white-space: nowrap;
  pointer-events: none;
  z-index: -1;
}

.page-header .container{
  position: relative;
}

.page-header__eyebrow{
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .34em;
  font-weight: 700;
  color: rgba(255,255,255,.52);
  text-transform: uppercase;
}

.page-header__title{
  margin: 0;
  font-size: clamp(42px, 8vw, 88px);
  line-height: .94;
  letter-spacing: .08em;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,.96);
  text-wrap: balance;
}

.page-header__lead{
  margin: 14px 0 0;
  max-width: 38ch;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.9;
  color: rgba(245,245,245,.76);
}

.page-header .container::after{
  content: "";
  display: block;
  width: clamp(56px, 8vw, 88px);
  height: 2px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,60,60,.72), rgba(255,60,60,.10));
  box-shadow: 0 0 12px rgba(255,60,60,.16);
}

/* Contact page only */

.contact-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
}
/* Left panels */
.panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px;
  position: relative;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(177, 18, 38, .12), transparent 60%);
  opacity: .35;
  pointer-events: none;
}
.panel--sub {
  margin-top: 14px;
  background: rgba(255, 255, 255, .03);
}
.panel__title {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: .02em;
}
.panel__text {
  margin: 0 0 14px;
  color: var(--muted);
}
.panel__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.contact-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .82);
}
.info-list {
  margin: 10px 0 0;
}
.info-list__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.info-list__row:first-child {
  border-top: none;
}
.info-list dt {
  font-weight: 800;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .88);
}
.info-list dd {
  margin: 0;
  color: var(--muted);
}
.note {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .60);
}
.note--muted {
  color: rgba(255, 255, 255, .55);
}
/* Form card */
.form-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}
.form-card__head {
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}
.form-card__head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(177, 18, 38, .18), transparent 60%);
  pointer-events: none;
  opacity: .55;
}
.form-card__title {
  margin: 0 0 4px;
  font-size: 20px;
}
.form-card__sub {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.form {
  padding: 18px 18px;
}
.form__row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.form__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form__label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}
.form__control {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .30);
  color: rgba(255, 255, 255, .92);
  padding: 12px 12px;
  outline: none;
}
.form__control:focus {
  border-color: rgba(177, 18, 38, .55);
  box-shadow: 0 0 0 3px rgba(177, 18, 38, .18);
  background: rgba(0, 0, 0, .38);
}
textarea.form__control {
  resize: vertical;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0 14px;
  color: rgba(255, 255, 255, .70);
  font-size: 13px;
}
.check input {
  margin-top: 3px;
}
.form__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
/* optional: glow button on this page */
.btn--glow {
  box-shadow: 0 0 0 rgba(177, 18, 38, 0);
}
.btn--glow:hover {
  box-shadow: 0 0 18px rgba(177, 18, 38, .25);
}


/* date/datetime のアイコンを確実に見せる（Chrome/Edge） */
input[type="date"],
input[type="datetime-local"]{
  padding-right: 44px; /* アイコン分の余白 */
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator{
  opacity: .9;
  filter: invert(1);
  cursor: pointer;
}



.panel::after,
.form-card__head::after{
  z-index: 0;
}
.panel > *,
.form-card__head > *{
  position: relative;
  z-index: 1;
}


@media (max-width: 900px) {
  .page-header{
    padding: calc(var(--header-h) + 24px) 0 48px;
  }

  .page-header::after{
    right: 16px;
    top: auto;
    bottom: 10px;
    transform: none;
    font-size: clamp(54px, 20vw, 120px);
  }

  .page-header__eyebrow{
    margin-bottom: 14px;
    letter-spacing: .26em;
  }

  .page-header__lead{
    max-width: 32ch;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page-header{
    padding: calc(var(--header-h) + 18px) 0 40px;
  }

  .page-header__title{
    font-size: clamp(34px, 11vw, 54px);
    letter-spacing: .06em;
  }

  .page-header__lead{
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.8;
  }

  .page-header .container::after{
    margin-top: 18px;
  }
}