:root {
  --oooh-main: #3E9BBB;
  --oooh-main-dark: #33879F;
  --oooh-main-tint: #EAF4F8;
  --oooh-sub: #7AB8C8;
  --oooh-sub-tint: #EDF5F8;
  --oooh-accent: #FF385C;
  /* 企業ページ本文では不使用 */
  --oooh-accent-dark: #E02A4C;
  --oooh-ink: #1d1d1f;
  --oooh-ink-sub: #6e6e73;
  --oooh-line: #d2d2d7;
  --oooh-gray: #f5f5f7;
  --oooh-dark: #12414E;
  --oooh-white: #ffffff;
  --oooh-link: #2F7C97;

  /* ---- v5 = v3（メルカリ風の部品）× 文字拡大 × センタリング ---- */
  --font-base: "Avenir Next", "Avenir", "Helvetica Neue", Arial,
    "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --hairline: #eceef2;
  --container: 1040px;
  --content: 780px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base) !important;
  color: var(--oooh-ink) !important;
  background: var(--oooh-white) !important;
  font-size: 15.5px !important;
  line-height: 2 !important;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  word-break: normal;
  /* 日本語は文字間で自然に折り返す（keep-allは長い和文が折れず溢れるため不可） */
  overflow-wrap: break-word;
  /* 万一の長い英単語などの保険 */
  line-break: strict;
  /* 行頭・行末禁則を守る */
}

body.menu-open {
  overflow: hidden;
}

/* 見出しなど短い語は途中で割れないように（溢れる恐れのない要素のみ） */
h1,
.eyebrow {
  word-break: keep-all;
}

.mobile-br {
  display: none;
}

/* 狙った位置で改行するための<br>。モバイルのみ表示（@media側でinline化） */
.pc-br {
  display: inline;
}

/* PC用の改行。モバイルでは非表示にして自然に流す */
a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s, color .2s;
}

a:hover {
  opacity: .7;
}

.mock-note {
  background: var(--oooh-gray);
  color: #9aa1ab;
  font-size: 11px;
  padding: 6px 16px;
}

.mock-note strong {
  color: var(--oooh-ink-sub);
  font-weight: 600;
}

/* ---- ヘッダー（2段組ラベルのナビ） ---- */
header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: rgba(255, 255, 255, .96) !important;
  backdrop-filter: blur(10px) !important;
  padding: 0 !important;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin-right: 0 !important;
}

.logo img {
  height: 30px;
  width: auto;
  display: block;
}

nav {
  display: flex !important;
  align-items: center;
  gap: 24px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

nav a.nav-item {
  display: block;
  text-align: center;
  line-height: 1.4;
}

nav .jp {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

nav .en {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  color: #9aa1ab;
  letter-spacing: .08em;
}

nav a.nav-item:hover .jp {
  color: var(--oooh-main);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

/* ---- ハンバーガーメニューボタン（モバイルのみ表示） ---- */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex: none;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--oooh-ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

body.menu-open .menu-btn span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .menu-btn span:nth-child(2) {
  opacity: 0 !important;
  background: #fff !important;
}

body.menu-open .menu-btn span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---- 丸ボタン＋矢印（リンク部品） ---- */
.circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--oooh-main);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex: none;
}

.nav-cta .circle {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.circle-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-weight: 700;
}

/* ---- 共通 ---- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 120px 0;
}

.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--oooh-sub);
  /* 補助ラベルなので一段引いたサブ。メインは主役要素に温存 */
  margin-bottom: 22px;
}

.sec-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 52px;
}

.sub-head {
  margin-top: 96px;
}

.sub-head .eyebrow {
  margin-bottom: 18px;
}

.sub-title {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 36px;
}

/* ---- プレフッター（シネマチック・ステートメント）＋フッター ---- */
.statement {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--oooh-ink);
}

.stmt-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stmt-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
  transform: scale(1);
  transform-origin: center 62%;
  will-change: transform;
}

.statement.in-view .stmt-bg img {
  animation: stmtZoom 20s cubic-bezier(.15, .4, .3, 1) forwards;
}

@keyframes stmtZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.12);
  }
}

.stmt-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 18, 22, .55) 0%, rgba(10, 18, 22, .12) 55%, rgba(10, 18, 22, 0) 100%),
    linear-gradient(180deg, rgba(10, 18, 22, .30) 0%, rgba(10, 18, 22, .55) 100%);
}

.stmt-content {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.statement p {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  max-width: 11em;
  text-shadow: 0 2px 24px rgba(10, 18, 22, .45);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.statement.in-view p {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .stmt-bg img {
    animation: none !important;
  }

  .statement p {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

footer {
  border-top: 1px solid var(--hairline) !important;
  padding: 76px 0 56px !important;
  font-size: 14px !important;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  text-align: left;
}

.f-social {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.f-social a {
  color: var(--oooh-ink-sub);
  display: inline-flex;
}

.f-social a:hover {
  color: var(--oooh-main);
  opacity: 1;
}

.f-social svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.f-head {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--oooh-ink);
  margin-bottom: 14px;
}

.f-list {
  list-style: none;
}

.f-list li {
  margin-bottom: 9px;
}

.f-list a {
  font-size: 14px;
  font-weight: 400;
  color: var(--oooh-ink-sub);
}

.f-list a:hover {
  color: var(--oooh-main);
  opacity: 1;
}

/* 規約層（最下部・別枠）：規約リンク左＋SNS右。サービスサイトと共通ルール */
.f-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 26px;
}

.f-legal {
  list-style: none;
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
}

.f-legal a {
  font-size: 12px;
  color: #9aa1ab;
}

.f-legal a:hover {
  color: var(--oooh-ink-sub);
  opacity: 1;
}

.copyright {
  font-size: 12px;
  color: #9aa1ab;
  margin-top: 22px;
}

/* ---- レスポンシブ ---- */
@media (max-width: 820px) {
  .wrap {
    padding: 0 20px;
  }

  section {
    padding: 80px 0;
  }

  .hero-banner {
    height: 300px;
  }

  .hero-copy {
    padding-top: 56px;
    padding-bottom: 84px;
  }

  .mobile-br {
    display: inline;
  }

  .pc-br {
    display: none;
  }

  /* PC用改行はモバイルで無効化し自然に流す */
  .about .definition {
    font-size: 18px;
  }

  .about-mosaic .m-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* モバイルは4列×3段 */
  .tl-head {
    padding: 0 20px;
  }

  .statement {
    min-height: 60vh;
  }

  .stmt-content {
    padding: 72px 0;
  }

  .timeline-wrap {
    padding: 0 20px;
    margin-top: 32px;
  }

  .timeline-wrap::before {
    left: 82px;
  }

  .tl-row {
    gap: 14px;
    padding-bottom: 40px;
  }

  .tl-year-col {
    flex: 0 0 50px;
  }

  .tl-year {
    font-size: 19px;
  }

  .tl-date-sub {
    font-size: 11px;
  }

  .tl-dot {
    left: 62px;
  }

  .tl-body {
    gap: 16px;
    padding-left: 14px;
  }

  .tl-photo {
    flex-basis: 100%;
    width: 100%;
    max-width: 260px;
  }

  .tl-bullets {
    flex-basis: 100%;
    min-width: 0;
  }

  /* ハンバーガーメニュー：ボタン表示＋navをフルスクリーンパネル化 */
  .menu-btn {
    display: flex;
  }

  /* headerのbackdrop-filterはfixed nav（下記）の含みブロックをheaderに固定してしまい、
     パネルが80pxのheader内に閉じ込められるため、モバイルでは無効化する（背景は不透明の白に） */
  header {
    backdrop-filter: none;
    background: #fff;
  }

  nav {
    position: fixed;
    /* fixed の bottom:0 はレイアウトビューポート基準になるため、iOS Safari の
       下部ツールバーの裏にパネル下端が隠れる。dvh で実際の可視領域に収める */
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    /* dvh非対応ブラウザ用フォールバック */
    height: calc(100dvh - 80px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, .98) !important;
    backdrop-filter: blur(10px);
    /* ホームバー分の余白を確保 */
    padding: 8px 24px calc(40px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
    pointer-events: none;
  }

  body.menu-open nav {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--hairline);
  }

  nav a.nav-item {
    padding: 20px 4px;
    text-align: center;
  }

  nav .jp {
    font-size: 16px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 28px;
  }

  .nav-cta .label {
    display: inline;
  }

  .sec-title {
    margin-bottom: 40px;
  }

  .sub-head {
    margin-top: 72px;
  }

  .value-item {
    padding: 36px 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .info-row {
    gap: 18px;
  }

  .info-row .chip {
    width: 108px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* スマホはSNSを規約の上に（Airbnb同様、アイコン→規約→©の順で静かに締める） */
  .f-bottom {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }
}