/* ==============================================================
   RightStudio（株式会社ライトスタジオ）ホームページ更新中ページ
   デザインコンセプト：海の深さと映像の光を表現するオーシャンブルー
   ============================================================== */

:root {
  /* ---- カラートークン（海のイメージ） ---- */
  --color-deep:   #082A40; /* 深海の紺 */
  --color-ocean:  #0F5C8C; /* ミッドオーシャンブルー */
  --color-wave:   #2FB6C4; /* 波・光のターコイズ */
  --color-foam:   #EAF6F8; /* 波しぶき・カード背景 */
  --color-text:   #0F2A3A; /* 本文（明るい背景用） */
  --color-muted:  #6E93A6; /* 補助テキスト */

  --font-display: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-foam);
  background: linear-gradient(180deg, var(--color-deep) 0%, var(--color-ocean) 70%, #146690 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- フィルムパーフォレーション風の上部ボーダー ---- */
.film-strip {
  height: 10px;
  width: 100%;
  background-image: radial-gradient(circle, rgba(234,246,248,0.55) 2px, transparent 2.4px);
  background-size: 22px 10px;
  background-repeat: repeat-x;
  background-position: 10px center;
  background-color: rgba(8,42,64,0.6);
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px 220px;
  text-align: center;
}

.content {
  max-width: 640px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ---- サンレイ（水面から差し込む光の筋） ---- */
.sunrays {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.sunrays span {
  position: absolute;
  top: -20%;
  width: 140px;
  height: 160%;
  background: linear-gradient(180deg, rgba(234,246,248,0.10) 0%, rgba(234,246,248,0) 70%);
  transform-origin: top center;
  animation: ray-sway 9s ease-in-out infinite;
}

.sunrays span:nth-child(1) { left: 8%;  width: 100px; transform: rotate(8deg);  animation-delay: 0s; }
.sunrays span:nth-child(2) { left: 32%; width: 160px; transform: rotate(-6deg); animation-delay: 1.5s; }
.sunrays span:nth-child(3) { left: 58%; width: 120px; transform: rotate(10deg); animation-delay: 3s; }
.sunrays span:nth-child(4) { left: 80%; width: 150px; transform: rotate(-9deg); animation-delay: 4.5s; }

@keyframes ray-sway {
  0%, 100% { transform: rotate(var(--tilt, 8deg)) translateX(0); opacity: 0.7; }
  50%      { transform: rotate(calc(var(--tilt, 8deg) * -1)) translateX(18px); opacity: 1; }
}

/* ---- 気泡（水中を漂うイラスト演出） ---- */
.bubbles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.bubbles span {
  position: absolute;
  bottom: -40px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(234, 246, 248, 0.35);
  box-shadow: inset -2px -2px 3px rgba(8,42,64,0.25);
  animation: bubble-rise linear infinite;
}

.bubbles span:nth-child(1)  { left: 6%;  width: 8px;  height: 8px;  animation-duration: 12s; animation-delay: 0s; }
.bubbles span:nth-child(2)  { left: 16%; width: 14px; height: 14px; animation-duration: 16s; animation-delay: 2s; }
.bubbles span:nth-child(3)  { left: 27%; width: 6px;  height: 6px;  animation-duration: 10s; animation-delay: 4s; }
.bubbles span:nth-child(4)  { left: 38%; width: 11px; height: 11px; animation-duration: 14s; animation-delay: 1s; }
.bubbles span:nth-child(5)  { left: 49%; width: 9px;  height: 9px;  animation-duration: 13s; animation-delay: 5s; }
.bubbles span:nth-child(6)  { left: 60%; width: 15px; height: 15px; animation-duration: 17s; animation-delay: 3s; }
.bubbles span:nth-child(7)  { left: 70%; width: 7px;  height: 7px;  animation-duration: 11s; animation-delay: 6s; }
.bubbles span:nth-child(8)  { left: 80%; width: 12px; height: 12px; animation-duration: 15s; animation-delay: 2.5s; }
.bubbles span:nth-child(9)  { left: 90%; width: 8px;  height: 8px;  animation-duration: 12.5s; animation-delay: 4.5s; }
.bubbles span:nth-child(10) { left: 96%; width: 13px; height: 13px; animation-duration: 18s; animation-delay: 0.5s; }

@keyframes bubble-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-110vh) translateX(24px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sunrays span, .bubbles span {
    animation: none;
    opacity: 0.3;
  }
}

.logo-wrap {
  margin-bottom: 28px;
}

.logo {
  max-width: 260px;
  width: 60%;
  height: auto;
}

.logo-fallback {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--color-foam);
  margin: 0;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  color: var(--color-wave);
  margin: 0 0 8px;
  font-weight: 500;
}

.tagline-en {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(211, 233, 239, 0.55);
  margin: 0 0 22px;
}

.badge {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(47, 182, 196, 0.5);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-wave);
  background: rgba(47, 182, 196, 0.08);
}

h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin: 0 0 24px;
}

.lead {
  font-size: 1rem;
  line-height: 2;
  color: #D3E9EF;
  margin: 0 0 56px;
}

/* ---- お問い合わせフォーム ---- */
.contact {
  background: rgba(234, 246, 248, 0.06);
  border: 1px solid rgba(234, 246, 248, 0.18);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: left;
  backdrop-filter: blur(6px);
}

.contact h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 8px;
  text-align: center;
  letter-spacing: 0.06em;
}

.contact-desc {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0 0 28px;
}

.email-image-wrap {
  display: flex;
  justify-content: center;
  padding: 18px 0 8px;
}

.email-image {
  max-width: 220px;
  height: auto;
}

.contact-note {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.8;
  margin: 4px 0 0;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: #CFE7EE;
}

.req {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.68rem;
  color: var(--color-deep);
  background: var(--color-wave);
  border-radius: 4px;
  padding: 2px 6px;
  vertical-align: middle;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(234,246,248,0.28);
  background: rgba(8, 42, 64, 0.35);
  color: var(--color-foam);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--color-wave);
  outline-offset: 1px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(234,246,248,0.45);
}

/* ハニーポット（ロボット対策）：人の目には見えないように隠す */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  background: var(--color-wave);
  color: var(--color-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.submit-btn:hover {
  opacity: 0.85;
}

.submit-btn:focus-visible {
  outline: 2px solid var(--color-foam);
  outline-offset: 2px;
}

/* ---- フッター ---- */
.page-footer {
  margin-top: 48px;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.9;
  position: relative;
  z-index: 2;
}

.address-ja {
  margin: 0 0 2px;
}

.address-en {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-wave);
  opacity: 0.75;
}

.copyright {
  color: rgba(110,147,166,0.7);
}

/* ---- 海の波（シグネチャー装飾） ---- */
.ocean {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.wave path {
  fill: var(--color-ocean);
}

.wave-back path {
  fill: #0B4A70;
}

.wave-front path {
  fill: #094164;
}

.wave-back {
  opacity: 0.7;
  animation: wave-move 22s linear infinite;
}

.wave-front {
  opacity: 0.95;
  animation: wave-move 14s linear infinite reverse;
}

@keyframes wave-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .wave-back, .wave-front {
    animation: none;
  }
}

.sp-only { display: none; }

/* ---- スマートフォン対応 ---- */
@media (max-width: 600px) {
  .page {
    padding: 48px 18px 200px;
  }
  .sp-only { display: inline; }
  .contact {
    padding: 28px 18px;
  }
  .lead {
    margin-bottom: 40px;
  }
  .ocean {
    height: 110px;
  }
}
