@charset "utf-8";

/* ------------------ 共通 ------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html{
  overflow-y: scroll;
  scrollbar-gutter: stable;

  /* ABOUTと同じ：右側は明るめグレー */
  background: linear-gradient(135deg, #000 50%, #fbfbfb 50%);
  background-attachment: fixed;
  min-height: 100%;
}

body{
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;

  /* bodyは透明（背景はhtmlに持たせる） */
  background: transparent;
  color: #fff;
}

.site{
  position: relative;
  min-height: 100vh;
  z-index: 1;
  background: transparent;
}

/* フォント指定（blend無し） */
.invert-auto{
  color: #fff;
  font-family: "Luxurious Roman", sans-serif;
}

/* ------------------ ヘッダー（ABOUTと同じ整い方） ------------------ */
.site-header{
  position: fixed;
  top: 50px;
  left: 28px;
  right: 28px;
  z-index: 20;

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

  pointer-events: none;
}
.site-header .page-title{ pointer-events: none; }
.site-header .menu{ pointer-events: auto; }

/* 右上メニューの“背面だけ”を薄く暗くする（ABOUTと同じ） */
.site-header::after{
  content:"";
  position: fixed;
  top: 0;
  right: 0;
  width: min(520px, 56vw);
  height: 160px;
  pointer-events: none;
  z-index: -1;

  background:
    radial-gradient(circle at 78% 32%,
      rgba(0,0,0,.22) 0%,
      rgba(0,0,0,.11) 46%,
      rgba(0,0,0,0) 76%);
}

/* タイトル（縁取りなし / ABOUTと同じ） */
.about-title{
  line-height: 1.05;
  letter-spacing: 0.08em;
}
.about-title__main{
  font-size: 70px;
  color: rgba(255,255,255,0.45);
  text-shadow: none;
}
.about-title__sub{
  margin-top: 10px;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
  text-shadow: none;
}

/* ------------------ MENU（文字＋SNS） ------------------ */
.menu{
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.menu a{
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.12em;

  color: rgba(0,0,0,.75);
  position: relative;
  padding-bottom: 6px;
  display: inline-block;

  /* 白背景で浮かせるための薄影 */
  text-shadow: 0 1px 3px rgba(0,0,0,.40);
}

/* 下線（SNS以外） */
.menu a:not(:has(img))::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:0%;
  height:1px;

  background: rgba(0,0,0,.65);
  transform: translateX(-50%);
  transition: width .3s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.menu a:not(:has(img)):hover::after{ width:100%; }
.menu a.is-current:not(:has(img))::after{ width:100%; }

/* 保険：:has()が効かない環境向け（HTMLでSNSに class="is-icon" を付ける） */
.menu a.is-icon{
  padding-bottom: 0;
}
.menu a.is-icon::after{
  content: none !important;
}

/* SNS（画像リンク） */
.menu a:has(img){
  padding-bottom: 0;
}
.menu a:has(img)::after{ content:none; }

.menu a img{
  width: 45px;
  height: 45px;
  display: block;
  object-fit: contain;
  opacity: .86;
  transform: translateY(1px);
  transition: opacity .2s ease, transform .2s ease;

  filter: drop-shadow(0 6px 14px rgba(0,0,0,.32));
}
.menu a:hover img{
  opacity: 1;
  transform: translateY(1px) scale(1.06);
}

/* ------------------ CONTACT レイアウト（WORK/ABOUTと同じ思想） ------------------ */
.contact{
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* 本文ブロックの背面ベール（ABOUTと同じ） */
.contact::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(circle at 52% 46%,
      rgba(0,0,0,.28) 0%,
      rgba(0,0,0,.14) 42%,
      rgba(0,0,0,0) 74%);
}

.contact-inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 170px 0 120px; /* ヘッダー分 */
  position: relative;
  z-index: 1;
}

.contact-right{
  width: min(720px, 92vw);
  margin: 0 auto;
}

/* イントロ：白＋影（ABOUTの本文と同じ） */
.contact-intro{
  margin: 0 0 22px;
  font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2.0;
  letter-spacing: 0.03em;
  opacity: 0.92;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 4px rgba(0,0,0,.45);
  text-align: center;
}

/* ------------------ フォーム（ガラス寄せ） ------------------ */
.contact-form{
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 18px;
  overflow: hidden;

  background: rgba(0,0,0,0.16);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.field{ margin-bottom: 14px; }

.field__label{
  margin-bottom: 8px;
  display: block;
  letter-spacing: .14em;
  opacity: .92;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 4px rgba(0,0,0,.45);
  font-weight: bold;
}

.field__input,
.field__select,
.field__textarea{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.28);

  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 4px rgba(0,0,0,.35);

  outline: none;
}
/* placeholder（白に） */
.field__input::placeholder,
.field__textarea::placeholder{
  color: rgba(255,255,255,.75);
  opacity: 1; /* Firefox対策 */
}
.field__input::-webkit-input-placeholder,
.field__textarea::-webkit-input-placeholder{
  color: rgba(255,255,255,.75);
}

.field__textarea{ resize: vertical; }

/* focus */
.field__input:focus,
.field__select:focus,
.field__textarea:focus{
  border-color: rgba(255,255,255,.46);
  background: rgba(255,255,255,.13);
}

/* ------------------ select / option の文字色対策 ------------------ */
.field__select{
  color: rgba(255,255,255,.92);   /* 閉じている時は白 */
}

/* 開いた中の選択肢 */
.field__select option{
  color: #000;                    /* ← 黒文字にする */
  background: #fff;               /* ← 白背景 */
}

/* チェック周り（最低限） */
.field--check{ margin-top: 4px; }
.field__hint{
  margin: 8px 0 0;
  font-size: 12px;
  opacity: .85;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 4px rgba(0,0,0,.35);
}
/* placeholder の文字色を白に */
.field__input::placeholder,
.field__textarea::placeholder{
  color: rgba(255,255,255,.75);
  opacity: 1; /* Firefox対策 */
}

/* Safari / 古いChrome対策 */
.field__input::-webkit-input-placeholder,
.field__textarea::-webkit-input-placeholder{
  color: rgba(255,255,255,.75);
}

/* ------------------ SEND ボタン ------------------ */
.btn-submit{
  appearance: none;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  width: 600px;
  
  padding: 12px 26px;
  background: rgba(255,255,255,.08);

  color: rgba(255,255,255,.95);
  font-family: "Luxurious Roman", sans-serif;
  font-size: 15px;
  letter-spacing: .14em;

  cursor: pointer;

  /* 浮遊感 */
  box-shadow:
    0 8px 22px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.35);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.btn-submit:hover{
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);

  box-shadow:
    0 14px 32px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.45);
}

.btn-submit:active{
  transform: translateY(0);
  box-shadow:
    0 6px 18px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.25);
}
.actions{
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

/* ------------------ 波（ABOUTと同じ雰囲気） ------------------ */
.bg-waves{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40vh;
  min-height: 120px;
  z-index: 5;
  pointer-events: none;
}

.waves{
  width: 100%;
  height: 100%;
  display: block;
  opacity: .22;
  filter: drop-shadow(0 -10px 22px rgba(0,0,0,.35));
}

.wave{ fill:#777; }
.wave1{ opacity:.45; }
.wave2{ opacity:.30; }
.wave3{ opacity:.18; }
.wave4{ opacity:.10; }

.parallax > use{
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1){ animation-delay:-2s; animation-duration:7s; }
.parallax > use:nth-child(2){ animation-delay:-3s; animation-duration:10s; }
.parallax > use:nth-child(3){ animation-delay:-4s; animation-duration:13s; }
.parallax > use:nth-child(4){ animation-delay:-5s; animation-duration:20s; }

@keyframes move-forever{
  0%{ transform: translate3d(-90px,0,0); }
  100%{ transform: translate3d(85px,0,0); }
}
