/* ==========================================================================
   concept.css — 理念ページ固有スタイル
   株式会社Session Webサイト
   ========================================================================== */

/* ==========================================================================
   ページヒーロー（写真背景）
   ========================================================================== */
.concept-hero {
  position: relative;
  text-align: center;
  margin-top: 0;
  min-height: 58vh;
  display: flex;
  align-items: center;
  background-image: url('../images/ferdinand-stohr-iW1WzbuWMcA-unsplash.jpg');
  background-size: cover;
  background-position: center 85%;
  padding: 160px 0 100px;
}

/* ヒーロー下端フェード：次の Mission（白背景）へ自然につなぐ */
.concept-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(255, 250, 245, 0.96));
  z-index: 0;
  pointer-events: none;
}

.concept-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.concept-hero-eyebrow {
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.concept-hero-title {
  font-family: var(--font-accent);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.18em;
  line-height: 1.3;
  margin-bottom: 28px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65), 0 1px 8px rgba(0, 0, 0, 0.45);
}

.concept-hero-lead {
  font-family: var(--font-accent);
  font-size: clamp(0.9rem, 1.8vw, 1.125rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.12em;
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.70);
}

/* ==========================================================================
   スクロールリベール（共通）
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Value セクション：左右交互スライドイン */
.reveal-from-right {
  opacity: 0;
  transform: translateX(52px);
  transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-from-left {
  opacity: 0;
  transform: translateX(-52px);
  transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-from-right.is-visible,
.reveal-from-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.30s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   パラックス Mission セクション
   ========================================================================== */
.concept-parallax {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* デスクトップ parallax */
  overflow: hidden;
}

/* iOS Safari は background-attachment:fixed が効かないためスクロールにフォールバック */
@supports (-webkit-touch-callout: none) {
  .concept-parallax {
    background-attachment: scroll;
  }
}

/* Pattern A — concept-mission-bg2（Vision 左寄せ用）
   background-position: center top で画像上部（被写体の頂点）を確実に表示 */
.concept-parallax--a {
  background-image: url('../images/concept-mission-bg2.jpg');
  background-position: center top;
}

/* Pattern A オーバーレイ：テキスト領域（左寄り）のみ薄く暗くする */
.concept-parallax--a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(4, 8, 20, 0.58) 0%,
    rgba(4, 8, 20, 0.24) 44%,
    transparent 68%
  );
  z-index: 0;
  pointer-events: none;
}

/* Pattern B — concept-mission-bg（Vision 中央寄せ用） */
.concept-parallax--b {
  background-image: url('../images/concept-mission-bg.jpg');
  background-position: center top;
}

/* Pattern B オーバーレイ：中央テキスト周辺のみ薄く暗くする */
.concept-parallax--b::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 58%,
    rgba(4, 8, 20, 0.44) 0%,
    rgba(4, 8, 20, 0.18) 52%,
    transparent 78%
  );
  z-index: 0;
  pointer-events: none;
}

/* コンテンツ共通 */
.concept-parallax-inner {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* デコレーションライン（縦） */
.concept-parallax-deco {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(212, 148, 58, 0.85), transparent);
  margin-bottom: 32px;
}

/* セクションラベル */
.concept-parallax-label {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: block;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.80);
}

/* 見出し */
.concept-parallax-heading {
  font-family: var(--font-accent);
  font-size: clamp(1.15rem, 4.5vw, 3.25rem); /* SP: 最小値を下げて2行に収める */
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 2px 22px rgba(0, 0, 0, 0.75), 0 1px 8px rgba(0, 0, 0, 0.55); /* 近接シャドウ追加で視認性向上 */
}

/* 区切りライン（横） */
.concept-parallax-rule {
  width: 40px;
  height: 1px;
  background-color: rgba(212, 148, 58, 0.6);
  margin: 36px 0;
}

/* 本文 */
.concept-parallax-text {
  font-size: var(--fs-sm);
  line-height: 2.3;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

/* ---- Pattern A: 左寄せ ---- */
.concept-parallax--a .concept-parallax-inner {
  text-align: left;
}

/* ---- Pattern B: 中央寄せ ---- */
.concept-parallax--b .concept-parallax-inner {
  text-align: center;
}

.concept-parallax--b .concept-parallax-deco {
  margin-left: auto;
  margin-right: auto;
}

.concept-parallax--b .concept-parallax-rule {
  margin-left: auto;
  margin-right: auto;
}

.concept-parallax--b .concept-parallax-text {
  margin: 0 auto;
  max-width: 620px; /* 長い日本語行が意図しない箇所で折り返さないよう拡張 */
}

/* ==========================================================================
   Mission セクション（白背景テキストレイアウト）
   Hero（写真）の次に配置。Vision の写真背景と対比させる
   ========================================================================== */
.concept-mission-section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.concept-mission-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.concept-mission-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 48px;
}

.concept-mission-heading {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: 40px;
  border-left: 2px solid var(--color-primary);
  padding-left: 28px;
}

.concept-mission-text {
  font-size: var(--fs-base);
  line-height: 2.2;
  color: var(--color-text-light);
  padding-left: 30px;
}

/* ==========================================================================
   Vision セクション
   ========================================================================== */
.concept-vision-section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.concept-vision-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.concept-vision-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 48px;
}

.concept-label-en {
  display: block;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.concept-label-ja {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  letter-spacing: 0.12em;
}

.concept-vision-heading {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: 40px;
  border-left: 2px solid var(--color-primary);
  padding-left: 28px;
}

.concept-vision-text {
  font-size: var(--fs-base);
  line-height: 2.2;
  color: var(--color-text-light);
  padding-left: 30px;
}

/* ==========================================================================
   Value セクション
   ========================================================================== */
.concept-value-section {
  padding: 100px 0;
  background-color: var(--color-bg-dark);
}

.concept-value-header {
  margin-bottom: 64px;
}

.concept-value-lead {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  letter-spacing: 0.06em;
  margin-top: 8px;
}

.concept-value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.concept-value-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px 32px;
  padding: 48px 0;
  border-top: 1px solid rgba(26, 39, 68, 0.1);
  align-items: start;
}

.concept-value-item:last-child {
  border-bottom: 1px solid rgba(26, 39, 68, 0.1);
}

.concept-value-num {
  font-family: var(--font-accent);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(192, 80, 45, 0.22);
  letter-spacing: -0.02em;
  padding-top: 4px;
}

.concept-value-heading {
  font-family: var(--font-accent);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-secondary);
  margin-bottom: 14px;
}

.concept-value-text {
  font-size: var(--fs-sm);
  line-height: 2.1;
  color: var(--color-text-light);
}


/* ==========================================================================
   Statement セクション
   ========================================================================== */
.concept-statement-section {
  padding: 120px 0;
  background: linear-gradient(160deg, var(--color-secondary) 0%, #1e2e58 100%);
}

.concept-statement-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.concept-statement-label {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 400;
  color: rgba(212, 148, 58, 0.75);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 56px;
  text-align: center;
}

.concept-statement-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 56px;
}

.concept-statement-body p {
  font-family: var(--font-accent);
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 2.4;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.06em;
}

.concept-statement-body strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.concept-statement-rule {
  width: 32px;
  height: 1px;
  background: rgba(212, 148, 58, 0.5);
  margin: 0 auto 56px;
}

.concept-statement-brand {
  font-family: var(--font-accent);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.40);
  letter-spacing: 0.25em;
  text-align: right;
}

/* ==========================================================================
   メディアクエリ（モバイルファースト）
   ========================================================================== */

/* Tablet: 768px以上 */
@media (min-width: 768px) {

  .concept-hero {
    min-height: 62vh;
  }

  .concept-parallax {
    min-height: 88vh;
  }

  .concept-parallax-inner {
    padding: 120px 40px;
  }

  .concept-parallax-text {
    font-size: var(--fs-base);
  }

  .concept-mission-section {
    padding: 120px 0;
  }

  .concept-mission-heading {
    padding-left: 36px;
  }

  .concept-mission-text {
    padding-left: 38px;
    font-size: var(--fs-md);
  }

  .concept-vision-section {
    padding: 120px 0;
  }

  .concept-vision-heading {
    padding-left: 36px;
  }

  .concept-vision-text {
    padding-left: 38px;
    font-size: var(--fs-md);
  }

  .concept-value-section {
    padding: 120px 0;
  }

  .concept-value-item {
    grid-template-columns: 100px 1fr;
    gap: 24px 48px;
  }

  .concept-value-num {
    font-size: 72px;
  }

  .concept-value-heading {
    font-size: var(--fs-xl);
  }

  .concept-statement-body p {
    font-size: var(--fs-md);
  }

}

/* PC: 1024px以上 */
@media (min-width: 1024px) {

  .concept-hero {
    min-height: 65vh;
  }

  .concept-parallax {
    min-height: 92vh;
  }

  .concept-parallax-inner {
    padding: 140px 40px;
  }

  /* Pattern A: テキスト左半分に収める */
  .concept-parallax--a .concept-parallax-inner {
    max-width: var(--container-width);
  }

  /* heading は <br> タグで改行を制御するため max-width 制約を外す */
  .concept-parallax--a .concept-parallax-heading {
    max-width: none;
  }

  /* 本文・ルールは読みやすさのためコンパクトに */
  .concept-parallax--a .concept-parallax-text,
  .concept-parallax--a .concept-parallax-rule {
    max-width: 560px;
  }

  .concept-mission-section {
    padding: 140px 0;
  }

  .concept-vision-section {
    padding: 140px 0;
  }

  .concept-value-section {
    padding: 140px 0;
  }

  .concept-value-item {
    grid-template-columns: 120px 1fr;
    gap: 24px 64px;
    padding: 56px 0;
  }

  .concept-value-num {
    font-size: 88px;
  }

  .concept-statement-section {
    padding: 140px 0;
  }

  .concept-statement-body p {
    font-size: var(--fs-lg);
    line-height: 2.5;
  }

}

/* ==========================================================================
   Statement セクション — 写真背景バリアント（concept-c 用）
   背景：jonathan-borba-3eC5n6gHwe8-unsplash.jpg（雲海の日の出）
   .concept-band を除去してこのセクションで画像を受け取る
   ========================================================================== */
.concept-statement-section--photo {
  background: none;
  background-image: url('../images/jonathan-borba-3eC5n6gHwe8-unsplash.jpg');
  background-size: cover;
  background-position: center 35%;
  background-attachment: fixed;
  position: relative;
}

@supports (-webkit-touch-callout: none) {
  .concept-statement-section--photo {
    background-attachment: scroll;
  }
}

/* Statement 写真背景：テキストに text-shadow で視認性を確保 */
.concept-statement-section--photo .concept-statement-label {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.80);
}

.concept-statement-section--photo .concept-statement-body p {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}

.concept-statement-section--photo .concept-statement-brand {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}

/* Statement 写真背景オーバーレイ：上下を薄く暗くし、中央は画像の色味を生かす */
.concept-statement-section--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 8, 20, 0.42) 0%,
    rgba(4, 8, 20, 0.10) 35%,
    rgba(4, 8, 20, 0.10) 65%,
    rgba(4, 8, 20, 0.42) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* コンテンツをオーバーレイより前面に */
.concept-statement-section--photo .concept-statement-inner {
  position: relative;
  z-index: 1;
}
