/*
Theme Name: Tieel
Theme URI: https://tieel.jp
Author: Tieel Inc.
Author URI: https://tieel.jp
Description: Tieel Corporate Website Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tieel
*/

/* ==============================================
   最小フォントサイズ 14px ルール
   ============================================== */
body { overflow-x: clip; }

.text-xs { font-size: 0.875rem !important; }
[class*="text-[10px]"] { font-size: 0.875rem !important; }

/* ==============================================
   Story Scroll — フルスクリーン・縦ライン
   ============================================== */

.story-scroll {
  height: 360vh;
  position: relative;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #060606;
  overflow: hidden;
}

/* ---- 背景画像 (フルスクリーン・クロスフェード) ---- */
.story-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  z-index: 0;
}

.story-bg.is-active {
  opacity: 1;
  z-index: 1;
}

.story-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .story-bg[data-index="0"] img,
  .story-bg[data-index="2"] img {
    object-position: 40% center;
  }
}


/* ---- オーバーレイ ---- */
.story-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top,  rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.08) 100%),
    linear-gradient(to right, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.05) 55%, transparent 100%);
}

/* ---- コンテンツ (楕円の中央) ---- */
.story-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 8rem;
  padding-top: 8vh;
}

.story-header {
  text-align: center;
  margin-bottom: 2rem;
}


.story-mission {
  font-family: 'Noto Sans JP', serif;
  font-size: clamp(1.2rem, 5.5vw, 3.0rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.story-mission__ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
}

/* ---- ノードテキスト (1つずつ表示) ---- */
.story-nodes-text {
  position: relative;
  height: 4.5rem;
  overflow: hidden;
}

.story-node {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.story-node__body {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.story-node.is-active .story-node__body {
  opacity: 1;
  transform: translateY(0);
}

.story-node__num {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 0.35rem;
}

.story-node__title {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.story-node__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.7;
  white-space: nowrap;
}

/* ---- リング (画面いっぱい・中央) ---- */
.story-line {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 78vh;
  z-index: 3;
  pointer-events: none;
}

.story-line__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.story-line__track {
  fill: none;
  stroke: rgba(255,255,255,0.10);
  stroke-width: 0.15;
}

/* スクロールに連動して描かれるリング */
.story-line__ring {
  fill: none;
  stroke: rgba(255,255,255,0.85);
  stroke-width: 0.15;
  stroke-dasharray: 225;
  stroke-dashoffset: 225;
  /* transition なし: スクロールに直接追従 */
}

/* リングのドット (4点) */
.story-line__dot {
  fill: rgba(255,255,255,0.18);
  stroke: rgba(255,255,255,0.28);
  stroke-width: 0.5;
  transition: fill 0.45s ease, filter 0.45s ease;
}

.story-line__dot.is-active {
  fill: #fff;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.70));
}

/* ---- スクロールヒント ---- */
.story-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.22);
  font-size: 0.875rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  transition: opacity 0.5s;
  z-index: 3;
}

.story-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.story-hint__line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: storyHint 1.8s ease-in-out infinite;
}

@keyframes storyHint {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
  .story-content { padding: 0 2rem; padding-top: 10vh; }
  .story-line    { width: 90vw; height: 55vh; }
  .story-header  { margin-bottom: 1rem; }
  .story-mission { font-size: clamp(1.4rem, 6.5vw, 2.2rem); }
}

/* ==============================================
   Split Text — 1字ずつ表示
   ============================================== */

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em) skewY(4deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.split-char.is-visible {
  opacity: 1;
  transform: translateY(0) skewY(0deg);
}

/* ==============================================
   Recruit Transition — left to right flow band
   ============================================== */

.home__recruit__transition {
  overflow: hidden;
  background: #000;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.home__recruit__transition__in {
  display: flex;
  gap: 0;
  width: max-content;
  animation: flow-ltr 28s linear infinite;
}

/* ぐるぐるではなく左→右へ流れる */
@keyframes flow-ltr {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.home__recruit__transition__in span {
  display: inline-block;
  padding: 0 3rem;
  font-size: 0.875rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  position: relative;
}

/* 区切りドット */
.home__recruit__transition__in span::after {
  content: '·';
  position: absolute;
  right: -0.1em;
  color: rgba(255,255,255,0.12);
}

/* ホバーで一時停止 */
.home__recruit__transition:hover .home__recruit__transition__in {
  animation-play-state: paused;
}

/* ==============================================
   Sustainability Section — sticky background scroll
   ============================================== */

.home__sustainability {
  position: relative;
  background-image: var(--sustainability-bg);  /* front-page.php の style属性で設定 */
  background-size: cover;
  background-position: center;
}

@media (min-width: 768px) {
  .home__sustainability {
    background-attachment: fixed;
  }
}

/* 暗幕オーバーレイ */
.home__sustainability::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.home__sustainability__contents {
  position: relative;
  z-index: 1;
  padding-bottom: 10vh;
}

.home__sustainability__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 20vh;
}

@media (min-width: 768px) {
  .home__sustainability__inner {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.home__sustainability__header {
  margin-bottom: 6rem;
}

/* アイテム群 */
.home__sustainability__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: transparent;
}

@media (min-width: 1024px) {
  .home__sustainability__items {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
  }
}

.home__sustainability__item {
  position: relative;
  background: rgba(8, 12, 18, 0.52);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3.5rem 2.75rem;
  overflow: hidden;
}

/* 番号 — 大きく幽霊化してデコ要素に */
.home__sustainability__item-num {
  display: block;
  font-family: "Google Sans", "Noto Sans JP", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.10);
  margin-bottom: 0;
}

/* タイトルを数字に重ねる */
.home__sustainability__item-title {
  font-family: "Google Sans", "Noto Sans JP", sans-serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.home__sustainability__item-body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  line-height: 2.2;
  min-height: 5.5em;
}

/* ==============================================
   Google Sans — 英語見出しフォント
   ============================================== */

.font-headline,
[class*="font-headline"] {
  font-family: "Google Sans", "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: "GRAD" 0;
}

/* ==============================================
   Light Blue Gradient — サイトカラー
   ============================================== */

/* ページ全体の背景 */
body {
  background: #ffffff !important;
  -webkit-font-smoothing: antialiased;
}

/* セクション区切りグラデーション */
/* 数字で見るTieel：カウントアップ数字のグラデーション文字 */
.countup-gradient {
  background: linear-gradient(160deg, #a0c4dc 0%, #c8a882 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}
.countup-gradient-recruit {
  background: linear-gradient(160deg, #7fbee9 0%, hsl(51, 100%, 60%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.countup-suffix {
  font-size: 0.45em;
  -webkit-text-fill-color: inherit;
}

#recruit-numbers .countup-suffix {
  background: linear-gradient(160deg, #7fbee9 0%, hsl(51, 100%, 60%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 手書き風グラデ下線 */
.recruit-brush-underline {
  background-image: linear-gradient(90deg, #7fbee9 0%, hsl(51, 100%, 60%) 100%);
  background-position: 0 100%;
  background-size: 100% 4px;
  background-repeat: no-repeat;
  padding-bottom: 8px;
}

/* Interview floating circles */
.interview-float-wrap {
  position: relative;
  overflow: clip;
}
.interview-float-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(40px);
  pointer-events: none;
}
.interview-float-circle--1 {
  width: 300px; height: 300px;
  background: linear-gradient(160deg, #b8dff5 0%, hsl(51, 100%, 82%) 100%);
  top: -60px; left: -80px;
  animation: float-circle 8s ease-in-out infinite;
}
.interview-float-circle--2 {
  width: 200px; height: 200px;
  background: linear-gradient(160deg, hsl(51, 100%, 82%) 0%, #b8dff5 100%);
  top: 40%; right: -40px;
  animation: float-circle 10s ease-in-out infinite reverse;
}
.interview-float-circle--3 {
  width: 250px; height: 250px;
  background: linear-gradient(160deg, #b8dff5 0%, hsl(51, 100%, 82%) 100%);
  bottom: -80px; left: 40%;
  animation: float-circle 12s ease-in-out infinite 2s;
}
.interview-float-circle--4 {
  width: 160px; height: 160px;
  background: linear-gradient(160deg, hsl(51, 100%, 82%) 0%, #b8dff5 100%);
  top: 20%; left: 60%;
  animation: float-circle 9s ease-in-out infinite 1s;
}
@keyframes float-circle {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Interview scroll hide */
.interview-scroll-hide::-webkit-scrollbar { display: none; }
.interview-scroll-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Company: Numbers grid PC ── */
@media (min-width: 768px) {
  .numbers-grid > div {
    padding: 0 3rem;
    border-right: none;
    border-left: 1px solid rgba(0,0,0,0.15);
    border-bottom: none !important;
  }
  .numbers-grid > div:first-child { padding-left: 0; border-left: none; }
  .numbers-grid > div:last-child { padding-right: 0; }
}

/* ── Recruit: Personality stagger ── */
.personality-01 { margin-top: 5rem; }
.personality-02 { margin-top: 5rem; }
.personality-03 { margin-top: 5rem; }
@media (min-width: 768px) {
  .personality-01 { margin-top: 12rem !important; }
  .personality-02 { margin-top: 6rem !important; }
  .personality-03 { margin-top: 0 !important; }
}

/* ── Recruit: fade-in paragraphs ── */
.recruit-fade-para {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.recruit-fade-para.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Recruit: keyword gradient ── */
.recruit-keyword {
  background: linear-gradient(160deg, #7fbee9 0%, hsl(51, 100%, 60%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

/* ── Philosophy Quote ── */
.philosophy-quote {
  background: linear-gradient(135deg, #3a6080 0%, #85b8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ── Company Page Side Navigation ── */
.company-side-nav {
  position: fixed;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  background: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  padding: 0;
  border: none;
}

.company-side-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.company-side-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}

.company-side-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-direction: row-reverse;
}

.company-side-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--md-sys-color-outline-variant, #aaa);
  opacity: 0.3;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.company-side-nav-label {
  font-family: 'Marcellus SC', serif;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant, #888);
  opacity: 0.25;
  transition: all 0.35s ease;
  white-space: nowrap;
}

.company-side-nav a:hover .company-side-nav-label {
  opacity: 0.6;
}

.company-side-nav a:hover .company-side-nav-dot {
  opacity: 0.6;
}

.company-side-nav a.is-active .company-side-nav-dot {
  background: var(--md-sys-color-primary, #3a6080);
  opacity: 1;
  transform: scale(1.5);
}

.company-side-nav a.is-active .company-side-nav-label {
  color: var(--md-sys-color-primary, #3a6080);
  opacity: 1;
}

@media (max-width: 1200px) {
  .company-side-nav { display: none; }
}

.gradient-section {
  background: linear-gradient(135deg, #e3edf5 0%, #bde0f2 100%);
}

/* ヒーロー・バナー下部のアクセントライン */
.gradient-accent {
  background: linear-gradient(90deg, #3a6080 0%, #85d0f2 50%, #bde9ff 100%);
}

/* 白 → ライトブルー グラデーション（セクション背景） */
.section-gradient-white-blue {
  background: linear-gradient(160deg,#eaf3fb 0%,#f5ede3 100%);
}

/* ==============================================
   Scroll Reveal
   ============================================== */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: transform, opacity;
}
.reveal-up    { transform: translateY(48px); }
.reveal-left  { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal-scale { transform: scale(0.94); }
.reveal.is-visible,
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

/* ==============================================
   Marquee
   ============================================== */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==============================================
   Navigation
   ============================================== */
nav {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
nav.nav-scrolled {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* ==============================================
   Hero Parallax
   ============================================== */
.hero-parallax-wrap {
  overflow: hidden;
  position: absolute;
  inset: 0;
}
.hero-parallax {
  width: 100%;
  height: 115%;
  object-fit: cover;
  transform-origin: center top;
  will-change: transform;
}

/* ==============================================
   Image Hover Lift
   ============================================== */
.img-hover {
  overflow: hidden;
}
.img-hover img {
  transition: transform 1s cubic-bezier(0.16,1,0.3,1),
              filter 0.6s ease;
}
/* hover は a タグ内の img-hover にのみ適用 */
a .img-hover:hover img,
a.img-hover:hover img {
  transform: scale(1.06);
}

/* ==============================================
   Underline Grow
   ============================================== */
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.link-underline:hover::after { width: 100%; }

/* ==============================================
   Material Symbols Outlined
   ============================================== */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}
.page-template-page-recruit .material-symbols-outlined,
.page-template-page-information .material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.page-template-page-contact .material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
  font-size: 1.25rem;
}

/* ==============================================
   Typography Utilities
   ============================================== */
.text-display {
  font-size: clamp(3.5rem, 11vw, 8rem);
  line-height: 1;
}
.text-editorial-lg {
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 1;
}

/* ==============================================
   Layout Utilities
   ============================================== */
.asymmetric-clip {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.vertical-text {
  writing-mode: vertical-rl;
}
.editorial-shadow {
  box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 10px 40px rgba(0,0,0,0.02);
}

/* ==============================================
   Transition Delay Utilities
   ============================================== */
.delay-05  { transition-delay: .05s; }
.delay-08  { transition-delay: .08s; }
.delay-1   { transition-delay: .1s; }
.delay-12  { transition-delay: .12s; }
.delay-15  { transition-delay: .15s; }
.delay-16  { transition-delay: .16s; }
.delay-2   { transition-delay: .2s; }
.delay-24  { transition-delay: .24s; }
.delay-25  { transition-delay: .25s; }
.delay-3   { transition-delay: .3s; }

/* ==============================================
   History Line — スクロール連動で上から伸びる縦線
   ============================================== */
.history-line {
  transform-origin: top center;
  transform: scaleY(0);
}

/* ==============================================
   Section Number Deco — 各セクションの背景数字
   ============================================== */
.section-num {
  position: absolute;
  font-size: 120px;
  line-height: 1;
  opacity: 0.05;
  user-select: none;
  pointer-events: none;
  left: 2rem;
  top: var(--section-num-top, -3rem);
}
@media (min-width: 768px) {
  .section-num {
    left: 4rem;
  }
}

/* &Belle の数字は h2 の wrapper 基準で重ねる */
.section-num--belle {
  --section-num-top: -1rem;
}
@media (max-width: 767px) {
  .section-num--belle {
    --section-num-top: -1.5rem;
  }
}

/* ==============================================
   Section Kana — 見出し下のカタカナ補足テキスト
   ============================================== */
.section-kana {
  font-size: 0.875rem;
}

/* ==============================================
   surface-container-low — グラデーション上書き
   ============================================== */
.bg-surface-container-low,
.hover\:bg-surface-container-low:hover {
  background: var(--gradient-surface-container-low) !important;
}

/* ==============================================
   Footer
   ============================================== */
.site-footer {
  background: var(--color-footer-bg);
}
.site-footer__brand {
  color: var(--color-footer-text);
}
.site-footer__link {
  color: var(--color-footer-muted);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: none;
  transition: color 0.3s ease;
}
.site-footer__link:hover {
  color: var(--color-footer-text);
}
.site-footer__copy {
  color: var(--color-footer-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ==============================================
   Gradient Overlays — ヒーロー・カード共通
   ============================================== */

/* ダーク上下グラデーション（ヒーロー背景） */
.overlay-hero {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.40) 0%,
    transparent       50%,
    rgba(0,0,0,0.60) 100%
  );
}

/* 左から右への横グラデーション（CTAセクション） */
.overlay-side {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.70) 0%,
    rgba(0,0,0,0.20) 100%
  );
}

/* スクロールインジケーターの縦グラデーションライン */
.scroll-indicator-line {
  width: 1px;
  height: 4rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0.40), transparent);
}

/* ビジネスカードオーバーレイ */
.business-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: var(--color-business-card-overlay, rgba(75, 95, 105, 0.35));
}

/* &Belle セクション ボタン */
.belle-btn {
  display: inline-block;
  border: 1px solid var(--color-belle-btn-border, rgba(30, 41, 59, 0.30));
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: background 0.5s ease, color 0.5s ease;
}
.belle-btn:hover {
  background: var(--color-on-surface);
  color: #ffffff;
}

/* ==============================================
   Company Image Marquee — 無限スクロール
   ============================================== */
.company-image-marquee {
  animation: company-marquee 30s linear infinite;
}

@keyframes company-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==============================================
   Form Focus — Contact
   ============================================== */
input:focus,
textarea:focus {
  outline: none;
  border-color: #000000 !important;
}

/* ==============================================
   Design Tokens — ここで色・フォント・角丸を管理
   Tailwind の bg-primary / text-on-primary 等すべてここに連動
   ============================================== */
:root {
  /* ── Primary ── */
  --color-primary:                   #3d3d3d;
  --color-on-primary:                #ffffff;
  --color-primary-container:         #1b1b1b;
  --color-on-primary-container:      #848484;
  --color-primary-fixed:             #e2e2e2;
  --color-primary-fixed-dim:         #c6c6c6;
  --color-on-primary-fixed:          #1b1b1b;
  --color-on-primary-fixed-variant:  #474747;
  --color-inverse-primary:           #c6c6c6;

  /* ── Secondary ── */
  --color-secondary:                 #3a6080;
  --color-on-secondary:              #ffffff;
  --color-secondary-container:       #bde0f2;
  --color-on-secondary-container:    #2d5a78;
  --color-secondary-fixed:           #bde0f2;
  --color-secondary-fixed-dim:       #9ec8e0;
  --color-on-secondary-fixed:        #001530;
  --color-on-secondary-fixed-variant:#1e3a55;

  /* ── Tertiary ── */
  --color-tertiary:                  #000000;
  --color-on-tertiary:               #ffffff;
  --color-tertiary-container:        #001f2a;
  --color-on-tertiary-container:     #3d8dac;
  --color-tertiary-fixed:            #bde9ff;
  --color-tertiary-fixed-dim:        #85d0f2;
  --color-on-tertiary-fixed:         #001f2a;
  --color-on-tertiary-fixed-variant: #004d64;

  /* ── Error ── */
  --color-error:                     #ba1a1a;
  --color-on-error:                  #ffffff;
  --color-error-container:           #ffdad6;
  --color-on-error-container:        #93000a;

  /* ── Surface ── */
  --color-surface:                   #ffffff;
  --color-surface-dim:               #ccd8e6;
  --color-surface-bright:            #f0f7fb;
  --color-surface-container-lowest:  #ffffff;
  --color-surface-container-low:     #eaf3f9;  /* ← HONEMOカード背景など */
  --color-surface-container:         #e3edf5;
  --color-surface-container-high:    #dce8f2;
  --color-surface-container-highest: #d6e4ef;
  --color-surface-variant:           #d6e4ef;
  --color-surface-tint:              #5e6e7e;
  --color-inverse-surface:           #1e2d3a;
  --color-inverse-on-surface:        #e4eef6;

  /* ── On-surface / outline ── */
  --color-on-surface:                #131b24;
  --color-on-surface-variant:        #454a50;
  --color-on-background:             #131b24;
  --color-background:                #f0f7fb;
  --color-outline:                   #7e8a96;
  --color-outline-variant:           #c4cdd6;

  /* ── Footer ── */
  --color-footer-bg:    #fafaf9;  /* フッター背景 */
  --color-footer-text:  #1c1917;  /* フッター文字 */
  --color-footer-muted: #a8a29e;  /* フッターリンク・著作権 */

  /* ── surface-container-low グラデーション ── */
  --gradient-surface-container-low: linear-gradient(160deg, #eaf3fb 0%, #f5ede3 100%);

  /* ── Business Card Overlay ── */
  --color-business-card-overlay: rgba(75, 95, 105, 0.35);

  /* ── &Belle Button ── */
  --color-belle-btn-border: rgba(30, 41, 59, 0.30);
}
