@charset "UTF-8";
/* ===============================================
   伊勢久採用サイト メインスタイルシート
   =============================================== */
/* -----------------------------------------------
   1. 変数・リセット・ベース
   ----------------------------------------------- */
/* ===============================================
   CSSカスタムプロパティ（変数）
   =============================================== */
:root {
  /* カラー */
  --color-primary: #093389;
  --color-white: #ffffff;
  --color-bg-light-blue: #e3eeff;
  --color-bg-light-cyan: #d7f4f4;
  --color-gray: #9fa0a0;
  --color-overlay: rgba(0, 0, 0, 0.85);
  /* グラデーション */
  --gradient-main: linear-gradient(
    145deg,
    #07c2e8 10%,
    #3a5ce8 60%,
    #1dd636 100%
  );
  --gradient-text: linear-gradient(
    168.669deg,
    #07c2e8 1.2267%,
    #3a5ce8 47.831%,
    #1dd636 79.33%
  );
  /* フォント */
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-barlow: "Barlow Condensed", sans-serif;
  /* レイアウト */
  --nav-width: 250px;
  --content-width: 1350px;
  --page-width: 1600px;
  /* シャドウ */
  --shadow-nav: 0px 0px 15px rgba(0, 0, 0, 0.2);
  --shadow-card: 0px 4px 14px rgba(0, 0, 0, 0.25);
  /* 角丸 */
  --radius-card: 20px;
  --radius-tab: 20px;
  /* トランジション */
  --transition-base: 0.3s ease;
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s ease;
  /* イージング */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  /* Z-index */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-max: 9999;
  /* 1600px以下 */
}
@media (max-width: 1600px) {
  :root {
    --content-width: 1200px;
  }
}
:root {
  /* 1280px以下 */
}
@media (max-width: 1280px) {
  :root {
    --content-width: 1000px;
  }
}
:root {
  /* 1024px以下 */
}
@media (max-width: 1024px) {
  :root {
    --nav-width: 0px;
  }
}

/* ===============================================
   リセット & ベーススタイル
   =============================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  background-color: var(--color-white);
  overflow-x: hidden;
}
@media screen and (max-width: 640px) {
  body {
    font-size: 3.6vw;
    line-height: 1.7;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-base);
}
a:hover {
  opacity: 0.7;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ===============================================
   ベーススタイル
   =============================================== */
/* スキップリンク */
.skip-link {
  position: absolute;
  top: -45px;
  left: 0;
  z-index: var(--z-max);
  text-decoration: underline;
}
.skip-link:focus {
  top: 0;
}

/* フォーカススタイル */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* 共通背景 */
#common-background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.common-background-content {
  width: 100%;
  height: 100%;
}
.common-background-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* メインコンテンツ */
#main-content {
  margin-left: var(--nav-width);
  width: calc(100% - var(--nav-width));
  min-height: 100vh;
  overflow: clip;
}
@media (max-width: 1024px) {
  #main-content {
    margin-left: 0;
    width: 100%;
  }
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 1280px) {
  .container {
    padding: 0 30px;
  }
}
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
}

.page-container {
  max-width: var(--page-width);
  margin: 0 auto;
}

/* ===============================================
   アクセシビリティ - Reduce Motion
   =============================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* -----------------------------------------------
   2. 共通コンポーネント
   ----------------------------------------------- */
/* ===============================================
   イントロアニメーション
   =============================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: var(--z-max);
  pointer-events: none;
}

.intro__gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  will-change: clip-path;
}

/* スクロールロック */
body.is-intro-active {
  overflow: hidden;
}

/*
 * ヒーロー要素の表示/非表示はGSAPで一元管理する。
 * CSS側では visibility のみ制御し、opacity との競合を防止する。
 * GSAPが初期化される前のフラッシュ（FOUC）を防ぐため、
 * JS未読み込み時のフォールバックとして no-js クラスで制御。
 */
/* JS未読み込み時: ヒーロー要素は表示（フォールバック） */
body.no-js .hero-heading,
body.no-js .hero-businessman,
body.no-js .hero-content {
  opacity: 1 !important;
}

/* reduce-motion: イントロをスキップ */
@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }
  .hero-heading,
  .hero-businessman,
  .hero-content {
    opacity: 1 !important;
  }
}
/* ===============================================
   サイドナビゲーション
   =============================================== */
#sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--nav-width);
  height: 100vh;
  background: var(--color-white);
  box-shadow: var(--shadow-nav);
  z-index: var(--z-fixed);
  overflow-y: auto;
  overflow-x: hidden;
}

.nav {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-inline: 1rem;
}
@media (max-width: 1024px) {
  .nav {
    display: none;
  }
}

.nav-header {
  padding: 40px 0;
  text-align: center;
}

.nav-logo {
  display: block;
  margin-bottom: 0;
}
.nav-logo img {
  max-width: 193px;
  margin: 0 auto;
}
.nav-logo:hover {
  opacity: 0.8;
}

.nav-title {
  font-family: var(--font-barlow);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  font-style: normal;
  color: var(--color-primary);
  letter-spacing: 0.1em;
}

.nav-menu {
  flex: 1;
  padding: 20px 0;
}

.nav-menu li {
  display: block;
}

.nav-link {
  display: block;
  padding: 12px 20px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: background-color var(--transition-base), color var(--transition-base);
}
.nav-link:hover, .nav-link.is-active {
  background-color: var(--color-bg-light-blue);
  color: var(--color-primary);
  opacity: 1;
}

.nav-footer {
  padding: 20px;
  border-top: 1px solid var(--color-primary);
  text-align: center;
}

.mynavi-banner {
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  padding-block: 10px;
  border: 1px solid #c4c4c4;
}
.mynavi-banner img {
  max-width: 100%;
}

.corporate-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #333;
  font-weight: 500;
  margin-bottom: 16px;
}
.corporate-link:hover {
  opacity: 0.7;
}

.copyright {
  font-size: 11px;
  color: var(--color-gray);
}

/* ハンバーガーボタン */
.hamburger-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: calc(var(--z-fixed) + 1);
  width: 48px;
  height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  gap: 6px;
  cursor: pointer;
  border: none;
}
@media (max-width: 1024px) {
  .hamburger-btn {
    display: flex;
  }
}
@media screen and (max-width: 640px) {
  .hamburger-btn {
    width: 10vw;
    height: 10vw;
    gap: 1vw;
    top: 1.5vw;
    right: 1.5vw;
  }
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: transform var(--transition-base), opacity var(--transition-base);
}
@media screen and (max-width: 640px) {
  .hamburger-line {
    width: 4vw;
    height: 0.5vw;
  }
}

.hamburger-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
@media screen and (max-width: 640px) {
  .hamburger-btn.is-active .hamburger-line:nth-child(1) {
    transform: translateY(1.5vw) rotate(45deg);
  }
}
.hamburger-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media screen and (max-width: 640px) {
  .hamburger-btn.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-1.5vw) rotate(-45deg);
  }
}

/* モバイルナビゲーション */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: var(--z-fixed);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav.is-active {
  transform: translateX(0);
}
@media (min-width: 641px) and (max-width: 1024px) {
  .mobile-nav {
    width: 300px;
  }
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}
@media screen and (max-width: 640px) {
  .mobile-nav-header {
    padding: 2vw 5vw;
  }
}

.mobile-nav-logo {
  max-width: 120px;
}
@media screen and (max-width: 640px) {
  .mobile-nav-logo {
    max-width: 38vw;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .mobile-nav-logo {
    max-width: 260px;
  }
}

.mobile-nav-close {
  width: 7vw;
  height: 7vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5vw;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-nav-close:hover {
  color: var(--color-primary);
}
@media (min-width: 641px) and (max-width: 1024px) {
  .mobile-nav-close {
    display: none;
  }
}

.mobile-nav-menu {
  flex: 1;
  padding: 20px;
}

.mobile-nav-menu li {
  border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-link {
  display: block;
  padding: 1em 1.5em;
  color: #333;
  font-size: 3.6vw;
  font-weight: 500;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .mobile-nav-link {
    font-size: 16px;
  }
}
.mobile-nav-link:hover {
  color: var(--color-primary);
  opacity: 1;
}

.mobile-nav-footer {
  padding: 10vw;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .mobile-nav-footer {
    padding: 5vw 0;
  }
}

.mynavi-banner-mobile {
  display: block;
  margin-bottom: 16px;
}
.mynavi-banner-mobile img {
  max-width: 200px;
  margin: 0 auto;
  border-radius: 8px;
}

.corporate-link-mobile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
}
.corporate-link-mobile:hover {
  opacity: 0.7;
}

/* ===============================================
   ボタンコンポーネント
   =============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  opacity: 1;
}
.btn:active {
  transform: translateY(0);
}
.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.btn.is-loading {
  position: relative;
  color: transparent;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@media (max-width: 640px) {
  .btn {
    font-size: 14px;
    padding: 12px 24px;
    width: 275px;
    height: 70px;
    display: grid;
  }
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--primary:hover {
  background: #0a3da0;
}

.btn--gradient {
  background: var(--gradient-main);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-large {
  padding: 20px 48px;
  font-size: 16px;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}
.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
  opacity: 1;
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
}
.btn-primary:hover {
  background: transparent;
  color: var(--color-white);
  opacity: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ===============================================
   カードコンポーネント
   =============================================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}
@media (max-width: 640px) {
  .card {
    padding: 20px;
    border-radius: 16px;
  }
}

/* グラデーション */
.gradient-line {
  height: 4px;
  background: var(--gradient-main);
  border-radius: 2px;
  margin: 40px 0;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ステップサークル */
.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-barlow);
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===============================================
   タブコンポーネント
   =============================================== */
.tab-buttons {
  display: flex;
  gap: 8px;
}

.tab-button {
  padding: 12px 1em;
  font-size: 18px;
  font-weight: 700;
  color: #747474;
  background-color: #eaeaea;
  border: none;
  border-radius: 0 var(--radius-tab) 0 0;
  width: 10em;
  cursor: pointer;
  transition: background-color var(--transition-base), color var(--transition-base);
}
.tab-button:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.tab-button.active {
  background: var(--color-white);
  color: var(--color-primary);
}
@media (min-width: 641px) and (max-width: 1024px) {
  .tab-button {
    padding: 12px 1em;
  }
}
@media (max-width: 640px) {
  .tab-button {
    font-size: 3.8vw;
    padding: 0.8em 0.5em;
    width: 8em;
  }
}

/* Compensation tabs in light background */
.compensation-tabs .tab-buttons {
  gap: 8px;
  margin-bottom: 0;
}

.compensation .tab-button {
  border-radius: 0 var(--radius-tab) 0 0;
  padding: 18px 1.2em;
  width: 12em;
  font-size: 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #747474;
  background: #eaeaea;
}
.compensation .tab-button:hover {
  opacity: 0.8;
}
.compensation .tab-button.active {
  background: #e3eeff;
  color: #000;
}
@media screen and (max-width: 640px) {
  .compensation .tab-button {
    font-size: 3.5vw;
    font-weight: 500;
    padding: 1.2em 0.8em;
    width: 10em;
  }
}

.tab-panels {
  /* Container for tab panels */
  position: relative;
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}
.tab-panel {
  /* タブコンテンツ内の要素にアニメーションを適用 */
}
.tab-panel .training-content,
.tab-panel .welfare-content,
.tab-panel .compensation-content {
  animation: tabContentFadeIn 0.4s ease-out;
}

@keyframes tabContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===============================================
   モーダルコンポーネント
   =============================================== */
.project-modal,
.keyword-modal,
.employee-modal,
.video-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  /* 初期状態: 透明で非表示 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.project-modal[hidden],
.keyword-modal[hidden],
.employee-modal[hidden],
.video-modal[hidden] {
  display: none;
}
.project-modal,
.keyword-modal,
.employee-modal,
.video-modal {
  /* 表示状態: フェードイン */
}
.project-modal.is-open,
.keyword-modal.is-open,
.employee-modal.is-open,
.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s 0s;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1; /* コンテンツより前面に配置してクリック可能にする */
  cursor: pointer;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: var(--color-white);
  border-radius: var(--radius-card);
  z-index: 2; /* オーバーレイより前面に配置 */
  overflow: hidden;
  animation: modalFadeIn var(--transition-base);
  pointer-events: auto; /* コンテンツ内のクリックを有効にする */
  cursor: default;
}
@media (max-width: 768px) {
  .modal-content {
    width: 92%;
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal-close {
  position: absolute;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  transition: background-color var(--transition-base);
  z-index: 2;
}
.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}
@media (max-width: 640px) {
  .modal-close {
    font-size: 5vw;
  }
}

.modal-body {
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
}
@media (max-width: 768px) {
  .modal-body {
    padding: 30px;
  }
}
@media (max-width: 640px) {
  .modal-body {
    padding: 24px;
  }
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #333;
  padding-right: 40px;
}
@media (max-width: 640px) {
  .modal-title {
    font-size: 20px;
  }
}

.modal-image {
  margin-bottom: 24px;
}
.modal-image img {
  width: 100%;
  height: auto;
}

.modal-text {
  font-size: 15px;
  line-height: 2;
  color: #666;
}

/* Modal Wrappers */
.project-modal-wrapper,
.keyword-modal-wrapper,
.video-modal-wrapper,
.employee-modal-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 90vh;
  width: 90%;
  pointer-events: none; /* wrapperはクリックを通過させる */
}
.project-modal-wrapper > *,
.keyword-modal-wrapper > *,
.video-modal-wrapper > *,
.employee-modal-wrapper > * {
  pointer-events: auto; /* 子要素のみクリック可能にする */
}

/* Project Modal Specific */
.project-modal-content {
  max-width: 860px;
  border-radius: 20px;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
}

.project-modal-body {
  padding: 50px;
  padding-bottom: 20px;
}
@media screen and (max-width: 640px) {
  .project-modal-body {
    padding: 12vw 7.5vw;
  }
}

.project-modal-header {
  display: flex;
  gap: 40px;
  margin-bottom: 24px;
}
@media screen and (max-width: 640px) {
  .project-modal-header {
    flex-direction: column;
    gap: 20px;
  }
}

.project-modal-left {
  flex: 0 0 330px;
}
@media screen and (max-width: 640px) {
  .project-modal-left {
    flex: 0 0 100%;
  }
}

.project-modal-image-wrapper {
  position: relative;
}

.project-modal-label {
  position: absolute;
  top: -26px;
  left: 0;
  width: 132px;
  height: auto;
  z-index: 2;
}
@media screen and (max-width: 640px) {
  .project-modal-label {
    top: -3vw;
    width: 26vw;
  }
}

.project-modal .modal-image {
  margin-bottom: 0;
}
.project-modal .modal-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
@media screen and (max-width: 640px) {
  .project-modal .modal-image img {
    height: 48vw;
  }
}

.project-modal-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-modal-category {
  display: grid;
}

.modal-category-label {
  height: 50px;
  width: auto;
}
@media screen and (max-width: 640px) {
  .modal-category-label {
    height: 10vw;
  }
}

.project-modal .modal-title {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.67;
  color: #000;
  margin-bottom: 0;
  padding-right: 0;
}
@media screen and (max-width: 640px) {
  .project-modal .modal-title {
    font-size: 5vw;
  }
}

.project-modal .modal-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 2.2;
  color: #000;
}
@media screen and (max-width: 640px) {
  .project-modal .modal-text {
    font-size: 3.5vw;
    line-height: 1.8;
  }
}

.project-modal-close,
.keyword-modal-close,
.video-modal-close,
.employee-modal-close {
  position: relative;
  display: inline-block;
  width: auto;
  padding: 15px 40px 47px;
  background: transparent;
  border: none;
  font-family: var(--font-barlow);
  font-size: 30px;
  font-style: italic;
  font-weight: 300;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: opacity var(--transition-base);
  border-radius: 4px;
  animation: closeButtonFadeIn 0.4s ease-out 0.15s both;
}
.project-modal-close:hover,
.keyword-modal-close:hover,
.video-modal-close:hover,
.employee-modal-close:hover {
  opacity: 0.8;
}
.project-modal-close:focus,
.keyword-modal-close:focus,
.video-modal-close:focus,
.employee-modal-close:focus {
  outline: none;
}
@media (max-width: 640px) {
  .project-modal-close,
  .keyword-modal-close,
  .video-modal-close,
  .employee-modal-close {
    font-size: 5vw;
    padding: 0.5em 1.5em;
  }
}

@keyframes closeButtonFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Keyword Modal Specific */
.keyword-modal-content {
  max-width: 850px;
  border-radius: 20px;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
}

.keyword-modal-body {
  padding: 50px;
  padding-bottom: 30px;
}
@media screen and (max-width: 640px) {
  .keyword-modal-body {
    padding: 10vw 7.5vw 10vw;
  }
}

.keyword-modal-title-image {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
@media screen and (max-width: 640px) {
  .keyword-modal-title-image {
    margin-bottom: 1rem;
  }
}
.keyword-modal-title-image .modal-title-image {
  max-width: 420px;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 640px) {
  .keyword-modal-title-image .modal-title-image {
    width: 80%;
    height: auto;
    object-fit: contain;
  }
  .keyword-modal-title-image .modal-title-image.is-wide {
    width: 100%;
  }
}

.keyword-modal-content-area {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
@media screen and (max-width: 640px) {
  .keyword-modal-content-area {
    flex-direction: column;
    gap: 20px;
  }
}

.keyword-modal-text {
  flex: 2;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 2.2;
  color: #000;
}
@media screen and (max-width: 640px) {
  .keyword-modal-text {
    font-size: 14px;
    line-height: 2;
  }
}
.keyword-modal-text p {
  margin: 0;
}

.keyword-modal-image {
  flex: 1;
}
.keyword-modal-image .modal-keyword-image {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (max-width: 640px) {
  .keyword-modal-image {
    width: 100%;
  }
}

/* Legacy Keyword Modal Number (kept for backward compatibility) */
.modal-keyword-number {
  font-family: var(--font-barlow);
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

/* Employee Modal Specific */
.employee-modal .modal-content {
  max-width: 850px;
  max-height: 90vh;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  /* overflow-y: visible; を削除して二重スクロールを防ぐ */
  display: flex;
  flex-direction: column;
}

.modal-employee-cover {
  width: 100%;
  margin: 10px auto 30px;
  background-color: #f5f5f5;
  position: relative;
}
.modal-employee-cover .modal-employee-background-image {
  width: 100%;
  height: auto;
}

.modal-employee-profile-wrapper {
  position: absolute;
  bottom: 0px;
  left: 85px;
  width: 231px;
  height: 300px;
  z-index: 3;
}
.modal-employee-profile-wrapper .modal-employee-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
@media screen and (max-width: 640px) {
  .modal-employee-profile-wrapper {
    width: 35vw;
    height: 42vw;
    left: 1vw;
    bottom: 0;
  }
}

.modal-employee-info {
  position: absolute;
  bottom: 20px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  z-index: 4;
}
@media screen and (max-width: 640px) {
  .modal-employee-info {
    right: 0.5em;
    bottom: 0.1em;
  }
}

.modal-employee-department,
.modal-employee-year,
.modal-employee-education {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  color: #fff;
  text-align: right;
}
@media screen and (max-width: 640px) {
  .modal-employee-department,
  .modal-employee-year,
  .modal-employee-education {
    font-size: 3.2vw;
  }
}

.modal-body-scroll {
  max-height: calc(90vh - 120px);
  overflow-y: auto;
  flex: 1;
}

.employee-modal .modal-body {
  position: relative;
  padding: 60px 85px 80px;
  z-index: 2;
  max-height: none; /* 共通スタイルの max-height を無効化 */
  overflow-y: visible; /* 二重スクロールを防ぐ: スクロールは .modal-body-scroll で管理 */
}
@media screen and (max-width: 640px) {
  .employee-modal .modal-body {
    padding: 16vw 7.5vw 10vw;
  }
}

/* Employee Q&A Section */
.modal-employee-questions {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.modal-employee-qa {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-employee-question {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.modal-employee-question-bar {
  flex-shrink: 0;
  width: 4px;
  height: 30px;
  background: var(--gradient-main);
  margin-top: 2px;
}

.modal-employee-question-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.67;
  color: #000;
}
@media screen and (max-width: 640px) {
  .modal-employee-question-title {
    font-size: 3.8vw;
  }
}

.modal-employee-answer {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 2.19;
  color: #000;
}
@media screen and (max-width: 640px) {
  .modal-employee-answer {
    font-size: 3.5vw;
    line-height: 1.8;
  }
}

.modal-employee-qa-image {
  width: 680px;
  max-width: 100%;
  height: auto;
  margin-top: 10px;
}
.modal-employee-qa-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Video Modal Specific */
.video-modal-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  padding: 0 20px;
  box-sizing: border-box;
}

.video-modal .modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}
.video-modal .modal-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===============================================
   ページトップボタン
   =============================================== */
.page-top-btn {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  opacity: 0;
  transform: translateY(200px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}
.page-top-btn.is-visible {
  opacity: 0.75;
  transform: translateY(0);
}
.page-top-btn:hover {
  opacity: 0.85;
  box-shadow: 0 3px 5px rgba(120, 120, 120, 0.5);
}
.page-top-btn:hover .page-top-btn__arrow {
  animation: page-top-arrow-up 0.75s linear infinite;
}
@media (max-width: 767px) {
  .page-top-btn {
    width: 10.2vw;
    height: 10.2vw;
    bottom: 3vh;
    right: 3vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-top-btn {
    transition: none;
  }
  .page-top-btn:hover .page-top-btn__arrow {
    animation: none;
  }
}

.page-top-btn__arrow {
  position: absolute;
  top: 25%;
  left: 25%;
  display: grid;
  place-items: center;
  place-content: center;
  width: 50%;
  height: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' fill='none'%3E%3Cpath d='M2 12L10 4L18 12' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

@keyframes page-top-arrow-up {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}
/* -----------------------------------------------
   3. セクションスタイル
   ----------------------------------------------- */
/* ===============================================
   共通 - セクションヘッダー
   =============================================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  user-select: none;
  pointer-events: none;
  font-size: clamp(100px, 8.5vw, 120px);
}
@media (max-width: 1600px) {
  .section-header {
    font-size: clamp(80px, 7.5vw, 100px);
  }
}
@media (max-width: 1280px) {
  .section-header {
    font-size: clamp(80px, 6.25vw, 100px);
    margin-bottom: 56px;
  }
}
@media (max-width: 1024px) {
  .section-header {
    font-size: clamp(60px, 7.86vw, 80px);
    margin-bottom: 48px;
  }
}
@media (max-width: 640px) {
  .section-header {
    font-size: clamp(40px, 8.6vw, 72px);
    margin-bottom: 0;
  }
  .section-header .section-decoration-line {
    width: 40px;
  }
}

.section-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.section-decoration-line {
  width: 60px;
  height: 1px;
  background: var(--gradient-main);
}

.section-heading {
  padding-top: 0.5em;
}

.section-header .section-heading .heading-content {
  font-size: 1em;
}

.section-heading-en {
  font-family: var(--font-barlow);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0;
  line-height: 1;
  color: #000;
  display: block;
  transform: skewX(-5deg) rotate(-5deg);
}
@media (max-width: 1600px) {
  .section-heading-en {
    transform: skewX(-4.5deg) rotate(-4.5deg);
  }
}
@media (max-width: 1280px) {
  .section-heading-en {
    transform: skewX(-4deg) rotate(-4deg);
  }
}
@media (max-width: 1024px) {
  .section-heading-en {
    transform: skewX(-3deg) rotate(-3deg);
  }
}
@media (max-width: 640px) {
  .section-heading-en {
    transform: skewX(-2deg) rotate(-2deg);
  }
}

.section-heading-ja {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #333;
  text-align: center;
}
@media (max-width: 1600px) {
  .section-heading-ja {
    font-size: 20px;
  }
}
@media (max-width: 1280px) {
  .section-heading-ja {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .section-heading-ja {
    font-size: 16px;
  }
}
@media (max-width: 640px) {
  .section-heading-ja {
    font-size: 3.5vw;
  }
}

.section-heading.heading-decoration-01 {
  position: relative;
}
.section-heading.heading-decoration-01::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2446px;
  height: 320px;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' height='185' viewBox='0 0 1414 185' width='1414' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3ClinearGradient id='a'%3E%3Cstop offset='0' stop-color='%2307c2e8'/%3E%3Cstop offset='.435' stop-color='%233a5ce8'/%3E%3Cstop offset='.729' stop-color='%231dd636'/%3E%3Cstop offset='1' stop-color='%23808080'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='.000003' x2='108.49' xlink:href='%23a' y1='165.039' y2='474.2'/%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='57.4927' x2='176.307' xlink:href='%23a' y1='201.249' y2='503.158'/%3E%3Cpath d='m53.736 109.756-53.736 55.283 1410.81-165.039z' fill='url(%23b)'/%3E%3Cpath d='m155.722 146.406 66.548 31.941 1184.55-178.34627865z' fill='url(%23c)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left bottom;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transform: translateX(60px);
}
@media screen and (max-width: 640px) {
  .section-heading.heading-decoration-01::before {
    bottom: 2vw;
    left: 5vw;
    width: 152vw;
    height: 20vw;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .section-heading.heading-decoration-01::before {
    left: calc(50% - 50vw);
    width: 140vw;
    height: 18.3156173344vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-heading.heading-decoration-01::before {
    opacity: 1;
    transform: none;
  }
}
.section-heading.heading-decoration-01.is-visible::before {
  animation: slideFromRight 0.3s ease-out forwards;
}
.section-heading.heading-decoration-01 .heading-decoration {
  display: none;
}
.section-heading.heading-decoration-01 .section-heading-en {
  display: block;
  width: fit-content;
  line-height: 0.9;
}
@media screen and (max-width: 640px) {
  .section-heading.heading-decoration-01 .section-heading-en {
    line-height: 1.2;
  }
}
.section-heading.heading-decoration-01 .section-heading-ja {
  display: block;
  width: fit-content;
  margin-left: auto;
  line-height: 1.2;
}
@media screen and (max-width: 640px) {
  .section-heading.heading-decoration-01 .section-heading-ja {
    font-size: 3.5vw;
    margin: 0;
  }
}
.section-heading.heading-decoration-01 .heading-content {
  position: relative;
  display: grid;
  width: fit-content;
  place-items: end;
  margin-left: 1em;
  padding-bottom: 0.5em;
  opacity: 0;
}
@media screen and (max-width: 640px) {
  .section-heading.heading-decoration-01 .heading-content {
    margin-left: 0;
    margin-inline: auto;
    padding-bottom: 0.6em;
    place-items: center;
    margin-bottom: 0.5em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-heading.heading-decoration-01 .heading-content {
    opacity: 1;
  }
}
.section-heading.heading-decoration-01.is-visible .heading-content {
  animation: fadeInText 0.4s ease-out 0.3s forwards;
}

.section-heading.heading-decoration-02 {
  position: relative;
}
@media screen and (max-width: 640px) {
  .section-heading.heading-decoration-02 {
    padding-bottom: 0.35em;
  }
}
.section-heading.heading-decoration-02::before {
  content: "";
  position: absolute;
  top: calc(40px + 0.5em);
  left: calc(50% - 50vw);
  width: 1238px;
  height: 320px;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' height='320' viewBox='0 0 1238 320' width='1238' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3ClinearGradient id='a'%3E%3Cstop offset='0' stop-color='%2307c2e8'/%3E%3Cstop offset='.435' stop-color='%233a5ce8'/%3E%3Cstop offset='.729' stop-color='%231dd636'/%3E%3Cstop offset='1' stop-color='%23808080'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='1237.66' x2='1049.61' xlink:href='%23a' y1='32.9904' y2='-502.915'/%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='1138.01' x2='932.053' xlink:href='%23a' y1='-29.7761' y2='-553.111'/%3E%3Cpath d='m1144.52 128.818 93.14-95.8276-2445.52 286.0806z' fill='url(%23b)'/%3E%3Cpath d='m967.734 65.2894-115.355-55.36784-2053.319 309.14844z' fill='url(%23c)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transform: translateX(-60px);
}
@media screen and (max-width: 640px) {
  .section-heading.heading-decoration-02::before {
    top: auto;
    bottom: 0;
    left: -5.5vw;
    width: 152vw;
    height: 20vw;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .section-heading.heading-decoration-02::before {
    left: calc(50% - 50vw);
    width: 64vw;
    height: 16.5428109855vw;
    top: auto;
    bottom: calc(2vw - 0.5em);
  }
}
@media (min-width: 1025px) and (max-width: 1380px) {
  .section-heading.heading-decoration-02::before {
    left: calc(50% - 42vw);
    width: 70vw;
    height: 18.0936995153vw;
    top: calc(2vw + 0.5em);
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-heading.heading-decoration-02::before {
    opacity: 1;
    transform: none;
  }
}
.section-heading.heading-decoration-02.is-visible::before {
  animation: slideFromLeft 0.3s ease-out forwards;
}
.section-heading.heading-decoration-02 .heading-decoration {
  display: none;
}
.section-heading.heading-decoration-02 .section-heading-en {
  display: block;
  width: fit-content;
  line-height: 0.9;
}
@media screen and (max-width: 640px) {
  .section-heading.heading-decoration-02 .section-heading-en {
    line-height: 1.2;
  }
}
.section-heading.heading-decoration-02 .section-heading-ja {
  display: block;
  width: fit-content;
  margin-left: auto;
  line-height: 1;
  font-weight: 500;
  font-size: 18px;
  color: #000;
}
@media screen and (max-width: 640px) {
  .section-heading.heading-decoration-02 .section-heading-ja {
    font-size: 3.5vw;
    margin: 0;
  }
}
.section-heading.heading-decoration-02 .heading-content {
  display: grid;
  width: fit-content;
  place-items: end;
  margin-left: 60px;
  padding-bottom: 36px;
  opacity: 0;
}
@media screen and (max-width: 640px) {
  .section-heading.heading-decoration-02 .heading-content {
    margin-left: 0;
    margin-inline: auto;
    padding-bottom: 0.26em;
    place-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-heading.heading-decoration-02 .heading-content {
    opacity: 1;
  }
}
.section-heading.heading-decoration-02.is-visible .heading-content {
  animation: fadeInText 0.4s ease-out 0.3s forwards;
}

/* ===============================================
   Keyframes Animations
   =============================================== */
@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInText {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ===============================================
   セクション - ヒーロー
   =============================================== */
.hero {
  position: relative;
  height: calc(92vh + 9vw);
  min-height: 860px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  z-index: 1;
  padding-bottom: 9vw;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
}
@media (max-width: 1024px) {
  .hero {
    height: 100vw;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 600px;
  }
}
@media (max-width: 640px) {
  .hero {
    min-height: 100vh;
  }
}

.hero-heading {
  position: absolute;
  top: calc(50% - 2vw);
  left: 56%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
  text-align: center;
  pointer-events: none;
}
.hero-heading picture {
  display: block;
  width: 100%;
}
.hero-heading img {
  width: 100%;
  height: auto;
  /* min(vw, vh) で幅・高さのうち小さい方を基準にスケール */
  max-height: min(65vw, 65vh);
  object-fit: contain;
  display: block;
}
.hero-heading {
  /* PC（1000px以上）: 画面高さに応じて可変、hero-content との重なり防止 */
}
@media (min-width: 1000px) {
  .hero-heading {
    /* 中心より上に配置して hero-content との重なりを回避 */
    top: calc(50% - 2vw);
    transform: translate(-50%, -50%);
  }
  .hero-heading img {
    /* min(vw, vh) を基準に clamp で調整、 hero-content との重なり防止 */
    max-height: clamp(210px, min(28vw, 28vh), min(52vw, 52vh));
  }
}
@media (max-width: 1024px) {
  .hero-heading {
    max-width: 100%;
    padding: 0 20px;
    top: 22vw;
  }
  .hero-heading img {
    max-height: min(60vw, 60vh);
  }
}
@media (max-width: 640px) {
  .hero-heading {
    top: 7.5vh;
    left: 8%;
    right: 8%;
    width: auto;
    max-width: none;
    transform: none;
    padding: 0;
  }
  .hero-heading img {
    /* モバイル: 幅・高さの小さい方の 84% を最大に */
    max-height: min(84vw, 84vh);
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-background picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-businessman {
  position: absolute;
  bottom: 0;
  right: 0%;
  height: 100%;
  width: auto;
  object-fit: contain;
  z-index: 1;
}
@media (max-width: 1024px) {
  .hero-businessman {
    height: 90%;
    right: 0;
  }
}
@media (max-width: 640px) {
  .hero-businessman {
    height: 100%;
    padding-top: 16vh;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 40px 2vh;
  max-width: 880px;
  margin-left: auto;
}
@media (max-width: 1024px) {
  .hero-content {
    max-width: 100%;
    padding: 0 20px;
  }
}
@media (max-width: 640px) {
  .hero-content {
    padding: 0 16px 0;
  }
}

.hero-copy-container {
  padding: 40px 50px 0;
}
@media (max-width: 768px) {
  .hero-copy-container {
    padding: 30px;
  }
}
@media (max-width: 640px) {
  .hero-copy-container {
    padding: 4vw;
  }
}

.hero-copy {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 2.2;
  color: #333;
  display: inline;
  background: var(--color-white);
  padding: 0.2em 0.5em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
@media (max-width: 1600px) {
  .hero-copy {
    font-size: 16px;
  }
}
@media (max-width: 1280px) {
  .hero-copy {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .hero-copy {
    font-size: 14px;
    line-height: 2;
  }
}
@media (max-width: 640px) {
  .hero-copy {
    font-size: 2.9vw;
    padding: 0.2em 0.2em;
    line-height: 1.89;
    display: block;
  }
}

/* ===============================================
   セクション - 代表メッセージ (CEO)
   =============================================== */
.ceo-message {
  position: relative;
  padding: 300px 0;
  color: var(--color-white);
  overflow: hidden;
  top: -9vw;
  margin-bottom: -18vw;
}
@media (max-width: 1024px) {
  .ceo-message {
    padding: 150px 0;
  }
}
@media (max-width: 768px) {
  .ceo-message {
    padding: 80px 0;
  }
}

.ceo-message-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient-text);
  opacity: 0.68;
}

.ceo-message-content {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
}

.ceo-message-title {
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 30px;
}
@media screen and (min-width: 1280px) and (max-width: 1400px) {
  .ceo-message-title {
    font-size: 50px;
  }
}
@media (max-width: 1280px) {
  .ceo-message-title {
    font-size: clamp(40px, 3.125vw, 50px);
  }
}
@media (max-width: 1024px) {
  .ceo-message-title {
    font-size: clamp(32px, 3.125vw, 40px);
  }
}
@media (max-width: 640px) {
  .ceo-message-title {
    font-size: clamp(24px, 6vw, 32px);
  }
}

.ceo-decoration {
  position: absolute;
  z-index: 1;
  width: min(88%, 1600px);
  height: 100%;
  left: 0;
  top: 2%;
}
.ceo-decoration > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (min-width: 1025px) and (max-width: 1280px) {
  .ceo-decoration {
    top: 0;
    width: 100%;
    height: 100vw;
  }
}
@media (max-width: 1024px) {
  .ceo-decoration {
    top: 0;
    width: 100%;
    height: 88vw;
  }
}
@media screen and (max-width: 640px) {
  .ceo-decoration {
    top: 0;
    width: 100%;
    height: 88vw;
  }
}

.ceo-message-body {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 40px;
}
.ceo-message-body > p {
  margin-bottom: 30px;
}
.ceo-message-body > p:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 640px) {
  .ceo-message-body {
    font-size: 3.6vw;
  }
}

.ceo-message-signature {
  text-align: right;
  padding-right: 3rem;
}
@media screen and (max-width: 640px) {
  .ceo-message-signature {
    padding-right: 0;
  }
}

.ceo-title {
  font-size: 14px;
  margin-bottom: 8px;
  opacity: 0.9;
}

.ceo-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

/* ===============================================
   セクション - ギャラリー
   =============================================== */
.gallery {
  padding: 0;
  position: relative;
  z-index: 1;
}

.gallery-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 9.1vw);
  inset: 0;
  z-index: 1;
  background: var(--color-white);
  clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
  margin-bottom: -9vw;
}

.gallery-canvas {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  /* アスペクト比: 908 / 1350 ≒ 67.26% */
  aspect-ratio: 1350/908;
}

.gallery-item {
  position: absolute;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Figmaデザイン基準（キャンバス: 1350×908, 起点: x=250, y=1715） */
/* fig01: x=362, y=1728 → left=(362-250)/1350, top=(1728-1715)/908 */
.gallery-item-01 {
  left: 8.3%; /* (362-250) / 1350 = 8.3% */
  top: 1.43%; /* (1728-1715) / 908 = 1.43% */
  width: 36.37%; /* 491 / 1350 = 36.37% */
  height: 63.44%; /* 576 / 908 = 63.44% */
}

/* fig02: x=938, y=2026 → left=(938-250)/1350, top=(2026-1715)/908 */
.gallery-item-02 {
  left: 50.96%; /* (938-250) / 1350 = 50.96% */
  top: 34.25%; /* (2026-1715) / 908 = 34.25% */
  width: 22.89%; /* 309 / 1350 = 22.89% */
  height: 39.87%; /* 362 / 908 = 39.87% */
}

/* fig03: x=1288, y=1961 → left=(1288-250)/1350, top=(1961-1715)/908 */
.gallery-item-03 {
  left: 76.89%; /* (1288-250) / 1350 = 76.89% */
  top: 27.09%; /* (1961-1715) / 908 = 27.09% */
  width: 12.91%; /* 174 / 1350 = 12.91% */
  height: 22.47%; /* 204 / 908 = 22.47% */
}

/* fig04: x=1206, y=2215 → left=(1206-250)/1350, top=(2215-1715)/908 */
.gallery-item-04 {
  left: 70.81%; /* (1206-250) / 1350 = 70.81% */
  top: 55.07%; /* (2215-1715) / 908 = 55.07% */
  width: 14.64%; /* 198 / 1350 = 14.64% */
  height: 25.55%; /* 232 / 908 = 25.55% */
}

/* ===============================================
   装飾用矩形（グラデーション背景・平行四辺形）
   =============================================== */
.gallery-deco {
  position: absolute;
  background: var(--gradient-main);
  opacity: 0.15;
  pointer-events: none;
  /* 平行四辺形: 縦辺は垂直、上下の横辺に角度（左に15%オフセット） */
  clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
}

/* deco-01: x=377, y=1734, 500×586 - fig01の背後右下 */
.gallery-deco-01 {
  left: 9.41%; /* (377-250) / 1350 */
  top: 2.09%; /* (1734-1715) / 908 */
  width: 37.04%; /* 500 / 1350 */
  height: 64.54%; /* 586 / 908 */
}

/* deco-02: x=515, y=1947, 594×676 - 大きい中央矩形 */
.gallery-deco-02 {
  left: 19.63%; /* (515-250) / 1350 */
  top: 25.55%; /* (1947-1715) / 908 */
  width: 44%; /* 594 / 1350 */
  height: 74.45%; /* 676 / 908 */
}

/* deco-03: x=924, y=2109, 263×308 - fig02の背後 */
.gallery-deco-03 {
  left: 49.93%; /* (924-250) / 1350 */
  top: 43.39%; /* (2109-1715) / 908 */
  width: 19.48%; /* 263 / 1350 */
  height: 33.92%; /* 308 / 908 */
}

/* deco-04: x=1074, y=1895, 66×77 - 小さい正方形（右上エリア） */
.gallery-deco-04 {
  left: 61.04%; /* (1074-250) / 1350 */
  top: 19.82%; /* (1895-1715) / 908 */
  width: 4.89%; /* 66 / 1350 */
  height: 8.48%; /* 77 / 908 */
}

/* deco-05: x=1259, y=2211, 161×188 - fig04の背後 */
.gallery-deco-05 {
  left: 74.74%; /* (1259-250) / 1350 */
  top: 54.63%; /* (2211-1715) / 908 */
  width: 11.93%; /* 161 / 1350 */
  height: 20.7%; /* 188 / 908 */
}

/* deco-06: x=1355, y=1941, 129×150 - 右側中上 */
.gallery-deco-06 {
  left: 81.85%; /* (1355-250) / 1350 */
  top: 24.89%; /* (1941-1715) / 908 */
  width: 9.56%; /* 129 / 1350 */
  height: 16.52%; /* 150 / 908 */
}

/* deco-07: x=1404, y=2285, 84×98 - 右下小さい矩形 */
.gallery-deco-07 {
  left: 85.48%; /* (1404-250) / 1350 */
  top: 62.78%; /* (2285-1715) / 908 */
  width: 6.22%; /* 84 / 1350 */
  height: 10.79%; /* 98 / 908 */
}

/* deco-08: x=284, y=2453, 146×170 - 左下小さい矩形 */
.gallery-deco-08 {
  left: 15.52%;
  top: 88.48%;
  width: 10.81%; /* 146 / 1350 */
  height: 18.72%; /* 170 / 908 */
}

/* ===============================================
   レスポンシブ対応
   =============================================== */
@media (max-width: 768px) {
  .gallery-grid {
    height: 400px;
  }
}
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
}

@media (max-width: 640px) {
  .gallery-item-main {
    grid-row: auto;
    height: 250px;
  }
}

/* ===============================================
   セクション - 事業領域
   =============================================== */
.business {
  position: relative;
  z-index: 2;
  padding: 0 0 calc(120px + 9vw);
}

.business .container {
  position: relative;
  z-index: 2;
}

.business-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 1;
  background: var(--color-white);
  clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
  margin-bottom: -9vw;
  margin-top: 0;
}

#business-heading {
  position: relative;
}
@media (min-width: 641px) and (max-width: 1024px) {
  #business-heading {
    left: 15%;
  }
}
@media screen and (min-width: 1000px) {
  #business-heading {
    left: 20%;
  }
}

.business-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.business-content-text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.business-catchcopy {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0;
}
@media (max-width: 1280px) {
  .business-catchcopy {
    font-size: clamp(28px, 2.1875vw, 30px);
  }
}
@media (max-width: 1024px) {
  .business-catchcopy {
    font-size: clamp(26px, 2.54vw, 28px);
  }
}
@media (max-width: 640px) {
  .business-catchcopy {
    font-size: clamp(20px, 3.125vw, 24px);
  }
}

.business-text {
  font-size: 16px;
  line-height: 2;
  color: #666;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .business-text {
    font-size: 1.5vw;
  }
}
.business-text p {
  margin-bottom: 24px;
}
.business-text p:last-child {
  margin-bottom: 0;
}

.business-content-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.business-content-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .business {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .business-content {
    grid-template-columns: 1fr;
    gap: 4vw;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .business-content {
    grid-template-columns: 3fr 2fr;
    gap: 20px;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .business-content-text {
    order: 1;
  }
}

@media (max-width: 640px) {
  .business-content-image {
    order: 2;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    padding-inline: 3.5vw;
  }
}

@media (max-width: 768px) {
  .business-catchcopy {
    font-size: 28px;
  }
}
@media (max-width: 640px) {
  .business-catchcopy {
    font-size: 6vw;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  .business-text {
    font-size: 15px;
  }
}
@media (max-width: 640px) {
  .business-text {
    font-size: 3.5vw;
    line-height: 1.8;
  }
}

/* ===============================================
   セクション - プロジェクト
   =============================================== */
.project {
  position: relative;
  padding: 0 0;
  margin-top: -9vw;
  margin-bottom: -9vw;
  z-index: 2;
  padding-bottom: calc(60px + 9vw);
}
@media screen and (max-width: 640px) {
  .project::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 32vw;
    background: #fff;
    z-index: 2;
    clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
  }
}

.project-gradient-background {
  position: absolute;
  width: 100%;
  height: calc(100% + 9vw);
  inset: 0;
  z-index: 1;
  background: var(--gradient-text);
  opacity: 0.68;
  clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
}

.project .container {
  position: relative;
  top: -40px;
  z-index: 3;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .project .container {
    top: 0;
  }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  .project .container {
    top: -10px;
    margin-bottom: 20px;
  }
}
@media (min-width: 1280px) and (max-width: 1400px) {
  .project .container {
    top: -20px;
  }
}

#project-heading {
  position: relative;
}
@media (min-width: 641px) and (max-width: 1279px) {
  #project-heading {
    top: calc(-2vw - 0.5em);
  }
}
@media screen and (min-width: 1280px) and (max-width: 1400px) {
  #project-heading {
    top: calc(-2vw - 0.5em);
  }
}
@media screen and (min-width: 1400px) {
  #project-heading {
    top: calc(-20px - 0.5em);
  }
}

.project .section-heading-en,
.project .section-heading-ja {
  color: #000;
}

.project .section-decoration-line {
  background: var(--color-white);
}

/* Project Flow */
.project-flow {
  position: relative;
  padding: 70px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.project-flow picture {
  width: 100%;
  display: flex;
  justify-content: center;
}
.project-flow img {
  width: 100%;
  max-width: 1350px;
  height: auto;
  display: block;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .project-flow {
    padding: 40px 0;
  }
}
@media (max-width: 640px) {
  .project-flow {
    padding: 40px 0;
  }
}

.project-description {
  text-align-last: left;
  color: #fff;
}

/* Project Cards (Swiper) */
.project-cases {
  width: 100%;
  padding-left: 20px;
  margin: 0 auto;
}

.project-swiper {
  padding: 20px 10px 60px;
}

.project-swiper .swiper-wrapper {
  align-items: flex-start !important;
  display: flex;
}
.project-swiper .swiper-slide {
  width: 360px;
  height: auto;
  flex-shrink: 0;
  display: block;
  align-self: flex-start;
}
@media (max-width: 640px) {
  .project-swiper .swiper-slide {
    width: clamp(200px, 68vw, 360px) !important;
  }
}

.project-card {
  position: relative;
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  padding: 16px;
  padding-bottom: 48px;
  width: clamp(280px, 80vw, 360px);
  height: clamp(380px, 128vw, 420px);
  box-sizing: border-box;
}
.project-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
.project-card::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' height='6' viewBox='0 0 40 6' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%239C9C9C' stroke-linecap='round'%3E%3Cpath d='m39.5 5.5h-39'/%3E%3Cpath d='m38.9771 5.18301-7.7942-4.499997'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 5;
  pointer-events: none;
}
@media (max-width: 640px) {
  .project-card {
    width: clamp(280px, 80vw, 360px);
  }
}

.project-card-label {
  position: absolute;
  top: 4px;
  left: 3px;
  width: auto;
  height: 56px;
  z-index: 2;
}

.project-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
@media screen and (max-width: 640px) {
  .project-card-image {
    height: 40vw;
  }
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 1025px) and (hover: hover) {
  .project-card:hover .project-card-image img {
    transform: scale(1.06);
  }
}

.project-card-cursor-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px;
  height: 48px;
  display: none;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-white);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  will-change: transform, opacity;
}
.project-card-cursor-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (min-width: 1025px) and (hover: hover) {
  .project-card:hover .project-card-cursor-icon, .project-card.is-hovering .project-card-cursor-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.project-card-divider {
  width: 48px;
  height: 4px;
  background: var(--gradient-main);
  margin: 24px auto 16px;
  border-radius: 2px;
}

.project-card-title {
  padding: 0 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  color: #333;
  text-align: center;
}

.project-swiper .swiper-pagination {
  position: relative;
  bottom: auto;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.project-swiper .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px;
  min-height: 12px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 !important;
  transform: none !important;
}

.project-swiper .swiper-pagination-bullet-active {
  background: var(--color-white);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .project {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .project-card-title {
    font-size: 3.6vw;
    line-height: 1.7;
  }
}

@media (max-width: 640px) {
  .project-swiper.swiper.swiper-horizontal {
    overflow: visible;
  }
}

/* ===============================================
   セクション - 社員紹介 (Person)
   =============================================== */
.person {
  position: relative;
  z-index: 3;
  padding: calc(70px + 9vw) 0 calc(70px + 9vw);
  background: var(--color-white);
  clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
  margin-bottom: -9vw;
}
@media screen and (max-width: 640px) {
  .person {
    padding-bottom: 19vw;
  }
}

.person-lead {
  position: relative;
  max-width: 1000px;
  text-align: left;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-bottom: 60px;
  z-index: 1;
}
@media screen and (min-width: 1536px) {
  .person-lead {
    margin-top: -50px;
  }
}
.person-lead p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  font-family: var(--font-sans);
}
@media screen and (max-width: 640px) {
  .person-lead p {
    font-size: 3.6vw;
    line-height: 1.7;
  }
}

.person-sub-heading {
  font-size: 1.2rem;
  border-left: 3px solid #07c2e8;
  padding-left: 1.2em;
  margin-bottom: 20px;
  margin-top: 60px;
  font-family: var(--font-serif);
}

.employee-cards {
  margin: 0 auto 60px;
}

/* Employee Swiper */
.employee-swiper {
  width: 100%;
  height: auto;
  overflow: visible;
}
.employee-swiper .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.employee-swiper .swiper-slide {
  width: 100%;
  height: auto;
}
.employee-swiper .swiper-pagination {
  display: none;
  position: relative;
  margin-top: 30px;
}

.employee-card {
  background: var(--color-white);
  cursor: pointer;
  transition: transform var(--transition-base), opacity var(--transition-base);
  position: relative;
}
@media (min-width: 1025px) and (hover: hover) {
  .employee-card:hover {
    transform: translateY(-4px);
    opacity: 1;
  }
}
@media (max-width: 1024px), (hover: none) {
  .employee-card:hover {
    transform: translateY(-4px);
    opacity: 0.9;
  }
}
.employee-card:focus {
  outline: none;
  outline-offset: 0;
}

.employee-card-image {
  position: relative;
  height: 440px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}
.employee-card-image::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' height='6' viewBox='0 0 40 6' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='m39.5 5.5h-39'/%3E%3Cpath d='m38.9771 5.18301-7.7942-4.499997'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 4;
  pointer-events: none;
}
@media (min-width: 1025px) and (max-width: 1380px) {
  .employee-card-image {
    height: 34vw;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .employee-card-image {
    height: 36vw;
  }
}
@media screen and (max-width: 640px) {
  .employee-card-image {
    height: 72vw;
  }
}

.employee-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.employee-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 380/440;
  object-position: right bottom;
  border-radius: 0;
}

.employee-card-person {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.employee-card-person img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 1025px) and (hover: hover) {
  .employee-card:hover .employee-card-person img {
    transform: scale(1.06);
  }
}

.employee-card-cursor-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px;
  height: 48px;
  display: none;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-white);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  will-change: transform, opacity;
}
.employee-card-cursor-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (min-width: 1025px) and (hover: hover) {
  .employee-card:hover .employee-card-cursor-icon, .employee-card.is-hovering .employee-card-cursor-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.employee-card-content {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  padding: 24px;
  text-align: right;
  z-index: 3;
}

.employee-card-year {
  font-size: 14px;
  color: var(--color-white);
  font-weight: 700;
}
@media screen and (max-width: 640px) {
  .employee-card-year {
    font-size: 2.9vw;
  }
}

.employee-card-department {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
}
@media screen and (max-width: 640px) {
  .employee-card-department {
    font-size: 2.9vw;
  }
}

.employee-card-education {
  font-size: 13px;
  color: var(--color-white);
  margin-bottom: 0;
}
@media screen and (max-width: 640px) {
  .employee-card-education {
    font-size: 2.9vw;
    text-shadow: 0 0 3px rgb(0, 0, 0);
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .person {
    padding: 80px 0;
  }
}

@media (max-width: 1024px) {
  .employee-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .employee-cards {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
}

@media (max-width: 1024px) {
  .employee-swiper .swiper-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .employee-swiper {
    overflow: visible !important;
  }
  .employee-swiper .swiper-wrapper {
    display: flex;
    grid-template-columns: none;
  }
  .employee-swiper .swiper-slide {
    width: 56vw;
    max-width: 280px;
    flex-shrink: 0;
  }
  .employee-swiper .swiper-pagination {
    display: block;
    position: relative;
    bottom: 0;
    left: 0;
    width: calc(100% - 40px);
    margin: 20px 20px 0;
    height: 6px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    overflow: hidden;
  }
  .employee-swiper .swiper-pagination.swiper-pagination-progressbar {
    background: rgba(0, 0, 0, 0.15);
  }
  .employee-swiper .swiper-pagination .swiper-pagination-progressbar-fill {
    background: var(--gradient-main);
    border-radius: 3px;
    height: 100%;
  }
}

/* ===============================================
   セクション - インタビュー
   =============================================== */
.interview {
  position: relative;
  z-index: 2;
  padding: 10px 0 calc(220px + 9vw);
  background: var(--color-white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
  margin-bottom: -9vw;
}
@media (max-width: 1280px) {
  .interview {
    padding: 10px 0 calc(70px + 9vw);
  }
}
@media (max-width: 1024px) {
  .interview {
    padding: 10px 0 calc(80px + 9vw);
  }
}
@media (max-width: 640px) {
  .interview {
    padding: 10px 0 calc(60px + 9vw);
  }
}

.interview-item {
  flex: 1;
  margin-bottom: 80px;
  max-width: 1000px;
}
.interview-item:last-child {
  margin-bottom: 0;
}

.interview-visual {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base);
}
.interview-visual::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' height='6' viewBox='0 0 40 6' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='m39.5 5.5h-39'/%3E%3Cpath d='m38.9771 5.18301-7.7942-4.499997'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 3;
  pointer-events: none;
}
.interview-visual:hover {
  transform: scale(1.02);
}
.interview-visual:hover .interview-overlay {
  opacity: 1;
}

.interview-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.interview-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: opacity var(--transition-base);
  z-index: 2;
}

.interview-title-large {
  font-family: var(--font-barlow);
  font-size: 140px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
@media (max-width: 1280px) {
  .interview-title-large {
    font-size: clamp(100px, 7.8125vw, 120px);
  }
}
@media (max-width: 1024px) {
  .interview-title-large {
    font-size: clamp(60px, 7.8125vw, 80px);
  }
}
@media (max-width: 640px) {
  .interview-title-large {
    font-size: clamp(36px, 7.5vw, 48px);
  }
}

.interview-play-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.play-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #07c2e8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.play-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid var(--color-white);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}

.play-text {
  font-family: var(--font-barlow);
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-white);
  letter-spacing: 0.2em;
}

.interview-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
  background: var(--color-white);
}

.interview-text-header {
  margin-bottom: 20px;
}
@media screen and (max-width: 640px) {
  .interview-text-header {
    margin-bottom: 4vw;
  }
}

.interview-text-department {
  font-size: 16px;
  color: #333;
  font-weight: 400;
  font-family: var(--font-sans);
}
@media screen and (max-width: 640px) {
  .interview-text-department {
    font-size: 3.5vw;
    line-height: 1.5;
  }
}

.interview-text-year {
  font-size: 16px;
  color: #333;
  font-weight: 400;
  margin-bottom: 2px;
  font-family: var(--font-sans);
}
@media screen and (max-width: 640px) {
  .interview-text-year {
    font-size: 3.5vw;
    line-height: 1.5;
  }
}

.interview-text-education {
  font-size: 16px;
  color: #333;
  font-weight: 400;
  font-family: var(--font-sans);
}
@media screen and (max-width: 640px) {
  .interview-text-education {
    font-size: 3.5vw;
    line-height: 1.5;
  }
}

.interview-text-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #07c2e8 0%, #3a5ce8 50%, #1dd636 100%);
  margin-bottom: 24px;
}
@media screen and (max-width: 640px) {
  .interview-text-divider {
    margin-bottom: 4vw;
  }
}

.interview-text-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  font-family: var(--font-sans);
}
@media (min-width: 641px) and (max-width: 1024px) {
  .interview-text-description {
    font-size: 1.5vw;
  }
}

/* レスポンシブ対応 */
@media (max-width: 640px) {
  .interview-container {
    padding: 0 5%;
  }
}
@media screen and (min-width: 641px) {
  .interview-container {
    display: flex;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .interview-item {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .interview-item {
    margin-bottom: 60px;
  }
}

@media (max-width: 1024px) {
  .interview-title-large {
    font-size: 80px;
  }
}
@media (max-width: 640px) {
  .interview-title-large {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  .interview-text-description {
    font-size: 3.5vw;
    line-height: 1.7;
  }
}

@media (max-width: 640px) {
  .interview-overlay {
    gap: 20px;
    padding: 30px 20px;
  }
}

@media (max-width: 640px) {
  .play-icon {
    width: 60px;
    height: 60px;
  }
  .play-icon::after {
    border-left-width: 16px;
    border-top-width: 10px;
    border-bottom-width: 10px;
    margin-left: 4px;
  }
}

/* ===============================================
   セクション - 環境・福利厚生
   =============================================== */
.environment {
  position: relative;
  padding: 0 0 calc(120px + 9vw);
  margin-bottom: -9vw;
  z-index: 5;
}
@media screen and (max-width: 640px) {
  .environment::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 35vw;
    background: #fff;
    z-index: 2;
    clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
  }
}
@media screen and (max-width: 640px) {
  .environment {
    padding: 10vw 0 25vw;
  }
}

.environment-gradient-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--gradient-text);
  opacity: 0.68;
  clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
}

.environment .container {
  position: relative;
  z-index: 3;
}

.environment .section-header {
  margin-bottom: 0;
}

#environment-heading {
  position: relative;
}
@media (min-width: 641px) and (max-width: 1279px) {
  #environment-heading {
    top: calc(-8vw - 0.5em);
    left: 4.5%;
  }
}
@media screen and (min-width: 1280px) and (max-width: 1400px) {
  #environment-heading {
    top: calc(-3vw - 0.5em);
    left: 5.6%;
  }
}
@media screen and (min-width: 1400px) {
  #environment-heading {
    left: 20%;
    top: calc(-70px - 0.5em);
  }
}

.environment-description {
  color: var(--color-white);
  margin-bottom: 60px;
  line-height: 2;
  max-width: 1000px;
  margin-inline: auto;
}

.environment-tabs {
  max-width: 1000px;
  margin: 0 auto;
}
.environment-tabs .tab-panel.active {
  background: var(--color-white);
}

/* Training Content */
.training-content {
  display: flex;
  gap: 30px;
  padding: 30px;
}

.training-left-column,
.training-right-column {
  flex: 1;
}

.training-left-column {
  border-right: 1px solid #c4c4c4;
  padding-right: 30px;
}

.training-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.5;
}

.training-section-description {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 24px;
}

.training-curriculum-image img {
  width: 100%;
  height: auto;
}

.career-support-item {
  margin-bottom: 24px;
}
.career-support-item:last-child {
  margin-bottom: 0;
}

.career-support-item-title {
  display: block;
  background-color: #3960e8;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  padding: 2px 16px;
  margin-bottom: 10px;
}

.career-support-item-description {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .training-content {
    flex-direction: column;
    gap: 30px;
    padding: 24px;
  }
  .training-left-column {
    border-right: none;
    border-bottom: 1px solid #c4c4c4;
    padding-right: 0;
    padding-bottom: 30px;
  }
  .training-section-title {
    font-size: 18px;
  }
}
/* Welfare Content */
.welfare-content {
  border-radius: 0;
  padding: 30px;
}

.welfare-main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.welfare-benefits {
  flex: 1;
}

.welfare-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .welfare-benefits-list {
    gap: 1vw;
  }
}
.welfare-benefits-list li {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.6;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .welfare-benefits-list li {
    font-size: 2vw;
  }
}
@media (max-width: 640px) {
  .welfare-benefits-list li {
    font-size: 3.5vw;
  }
}

.welfare-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .welfare-images {
    gap: 1vw;
    flex: 1;
  }
}
.welfare-images img {
  width: 270px;
  height: 180px;
}
@media (min-width: 1025px) and (max-width: 1279px) {
  .welfare-images img {
    width: 200px;
    height: 133px;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .welfare-images img {
    width: 20vw;
    height: 14vw;
  }
}
@media (max-width: 640px) {
  .welfare-images img {
    width: 100%;
    height: auto;
    aspect-ratio: 200/140;
  }
}

.welfare-facilities {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #c4c4c4;
}

.welfare-facilities-list {
  display: flex;
  flex-direction: column;
  gap: 8px 30px;
  justify-content: flex-start;
}
.welfare-facilities-list li {
  font-size: 14px;
  color: var(--color-text);
  position: relative;
  padding-left: 16px;
}
.welfare-facilities-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  .welfare-main {
    flex-direction: column;
    gap: 24px;
  }
  .welfare-benefits-list li {
    font-size: 16px;
  }
  .welfare-images {
    width: 100%;
    justify-content: center;
  }
  .welfare-images img {
    width: 100%;
    height: auto;
    aspect-ratio: 200/140;
  }
  .welfare-facilities-list {
    flex-direction: column;
    gap: 8px;
  }
}
/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .training-grid,
  .welfare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .welfare-list {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   セクション - 募集要項 (Compensation)
   =============================================== */
.compensation {
  position: relative;
  z-index: 2;
  padding: calc(80px + 9vw) 0 calc(160px + 14vw);
  background: var(--color-white);
  clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
  margin-bottom: -9vw;
}
@media screen and (max-width: 640px) {
  .compensation {
    padding: 15vw 0;
  }
}

.compensation-tabs {
  max-width: 1000px;
  margin: 120px auto 0;
}
@media screen and (max-width: 640px) {
  .compensation-tabs {
    margin: 5vw auto 0;
  }
}
.compensation-tabs .tab-panel.active {
  background: var(--color-bg-light-blue);
}

.compensation-content {
  border-radius: 0;
  padding: 50px 40px;
  box-shadow: none;
}
@media screen and (max-width: 640px) {
  .compensation-content {
    padding: 5vw 7.5vw 10vw;
  }
}

.compensation-details {
  display: grid;
  gap: 0;
}

.compensation-detail-item {
  display: flex;
  border-bottom: 1px solid var(--color-gray);
}
.compensation-detail-item:last-child {
  border-bottom: 1px solid var(--color-gray);
}

.compensation-detail-term {
  flex: 0 0 130px;
  padding: 16px 0;
  background: transparent;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: #000;
  line-height: 1.6;
}

.compensation-detail-description {
  flex: 1;
  padding: 16px 0 16px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: #000;
}

/* 勤務地の詳細リスト */
.compensation-location-title {
  margin: 0 0 1rem;
}

.compensation-location-item {
  margin: 0;
  line-height: 1.8;
}

.compensation-location-note {
  font-size: 12px;
  margin-top: 1rem;
}

.compensation-career-note {
  text-align: center;
  font-size: 16px;
  line-height: 2;
  color: #666;
  padding: 40px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .compensation-detail-item {
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .compensation-detail-term {
    flex: 0 0 auto;
    padding: 16px 0 8px;
  }
}

@media (max-width: 1024px) {
  .compensation-detail-description {
    padding: 0 0 16px 0;
  }
}
@media (max-width: 640px) {
  .compensation-detail-description {
    font-size: 3.5vw;
    line-height: 1.7;
  }
  .compensation-detail-description h3 {
    font-size: 3.5vw;
    margin-top: 1em;
  }
}

/* ===============================================
   セクション - キーワード
   =============================================== */
.keywords {
  position: relative;
  padding: 0 0 calc(120px + 9vw);
  margin-bottom: -9vw;
  z-index: 5;
}
@media screen and (max-width: 640px) {
  .keywords {
    padding: 10vw 0 25vw;
  }
}
@media screen and (max-width: 640px) {
  .keywords::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 35vw;
    background: #fff;
    z-index: 2;
    clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
  }
}

.keywords-gradient-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 1;
  background: var(--gradient-text);
  opacity: 0.68;
  clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
}

.keywords .container {
  position: relative;
  z-index: 3;
}

#keywords-heading {
  position: relative;
  top: -160px;
  left: 20%;
}
@media screen and (max-width: 640px) {
  #keywords-heading {
    left: 0;
    top: 0;
  }
}
@media (min-width: 641px) and (max-width: 1279px) {
  #keywords-heading {
    top: calc(-10vw - 0.5em);
    left: 15%;
  }
}
@media screen and (min-width: 1280px) and (max-width: 1400px) {
  #keywords-heading {
    top: calc(-2vw - 0.5em);
  }
}
@media screen and (min-width: 1400px) {
  #keywords-heading {
    top: calc(-70px - 0.5em);
  }
}

.keywords .section-header {
  margin-bottom: 0;
}

.keywords-grid {
  max-width: 1000px;
  margin: 0 auto;
}

@media screen and (max-width: 640px) {
  .keywords-grid-pc {
    display: none;
  }
}
@media screen and (min-width: 641px) {
  .keywords-grid-pc {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media screen and (max-width: 640px) {
  .keywords-grid-mobile {
    /* CSS Gridで明示的に2カラムレイアウト（モバイル） */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    column-count: unset;
  }
}
@media screen and (min-width: 641px) {
  .keywords-grid-mobile {
    display: none;
  }
}

.keyword-tile {
  display: block;
  /* Safari対応: page-break-insideも追加 */
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 10px;
  cursor: pointer;
  opacity: 1; /* GSAPアニメーションの終了状態を明示 */
  transition: opacity var(--transition-base);
  overflow: hidden;
  position: relative;
}
.keyword-tile:hover {
  opacity: 0.7;
}
.keyword-tile:focus {
  outline: none;
  outline-offset: 0;
}
.keyword-tile img {
  width: 100%;
  height: auto;
  display: block;
}

.keyword-tile-image {
  position: relative;
  overflow: hidden;
}
.keyword-tile-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.keyword-tile-cursor-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px;
  height: 48px;
  display: none;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-white);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  will-change: transform, opacity;
}
.keyword-tile-cursor-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (min-width: 1025px) and (hover: hover) {
  .keyword-tile:hover .keyword-tile-cursor-icon, .keyword-tile.is-hovering .keyword-tile-cursor-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* フォールバック用テキストスタイル */
.keyword-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  line-height: 1.4;
}

.keyword-text.gradient-text {
  background: linear-gradient(135deg, #07c2e8 0%, #1dd636 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===============================================
   セクション - 人事メッセージ (Message)
   =============================================== */
.message {
  position: relative;
  z-index: 1;
  padding: calc(60px + 9vw) 0;
  background: var(--color-white);
  clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 9vw), 0 100%, 0 0);
}
@media (max-width: 768px) {
  .message {
    padding: 80px 0;
  }
}

.message-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 1280px) {
  .message-content {
    gap: 40px;
  }
}
@media (max-width: 1024px) {
  .message-content {
    flex-direction: column-reverse;
  }
}

.message-image {
  flex: 0 0 300px;
}
.message-image img {
  width: 100%;
  height: auto;
}
@media (max-width: 1280px) {
  .message-image {
    flex: 0 0 250px;
  }
}
@media (max-width: 1024px) {
  .message-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 640px) {
  .message-image {
    max-width: 240px;
    width: 60%;
  }
}

.message-text {
  flex: 1;
}

.message-title {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 20px;
  width: fit-content;
}
@media (max-width: 1280px) {
  .message-title {
    font-size: clamp(24px, 1.875vw, 25px);
  }
}
@media (max-width: 1024px) {
  .message-title {
    font-size: clamp(22px, 2.148vw, 24px);
  }
}
@media (max-width: 640px) {
  .message-title {
    font-size: clamp(20px, 5vw, 28px);
  }
}

.message-body p {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 20px;
  color: #666;
}
.message-body p:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 640px) {
  .message-body p {
    font-size: 3.5vw;
  }
}

.message-signature {
  margin-top: 1rem;
  text-align: center;
}
@media (max-width: 1024px) {
  .message-signature {
    text-align: center;
  }
}
@media screen and (max-width: 640px) {
  .message-signature {
    margin-top: 0.5rem;
  }
}

.message-name {
  font-size: 16px;
  font-weight: 400;
  color: #333;
}

/* ===============================================
   セクション - フッター
   =============================================== */
.footer {
  position: relative;
  padding: 200px 0 60px;
  color: var(--color-white);
  overflow: hidden;
  margin-top: -9vw;
}
@media screen and (max-width: 640px) {
  .footer {
    padding: 20vw 0 2em;
  }
}

.footer-gradient-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient-text);
  opacity: 0.68;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-cta {
  margin-bottom: 60px;
}

.footer-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.footer-cta-buttons .btn {
  flex: 1;
  background: #fff;
  border: 1px solid #999999;
  border-radius: 0;
  color: #000;
  max-width: 275px;
  font-weight: normal;
}
.footer-cta-buttons .btn:hover {
  transform: none;
  opacity: 0.8;
}

.footer-info {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo img {
  max-width: 150px;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.footer-copyright {
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .footer-cta-buttons {
    display: grid;
    flex-direction: column;
    align-items: center;
  }
  .footer-cta-buttons .btn {
    flex: 0;
  }
}

/* -----------------------------------------------
   4. ユーティリティ
   ----------------------------------------------- */
/* ===============================================
   ユーティリティクラス
   =============================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-small {
  margin-top: 16px;
}

.mt-medium {
  margin-top: 32px;
}

.mt-large {
  margin-top: 64px;
}

.mb-small {
  margin-bottom: 16px;
}

.mb-medium {
  margin-bottom: 32px;
}

.mb-large {
  margin-bottom: 64px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ホバー・状態スタイル */
.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.is-loading {
  position: relative;
  color: transparent;
}
.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 3px solid var(--color-primary);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.is-hidden {
  display: none !important;
}

.is-visible {
  display: block !important;
}

/* PCのみ表示 */
.pc-only {
  display: inline;
}
@media (max-width: 640px) {
  .pc-only {
    display: none;
  }
}

/* ===============================================
   Intersection Observer Animations
   =============================================== */
/* アニメーション対象要素の初期状態 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  display: revert !important;
}

/* フェードインのみ */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transition: none;
  }
}
.fade-in.is-visible {
  opacity: 1;
  display: revert !important;
}

/* 左からスライド */
.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .slide-in-left {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
  display: revert !important;
}

/* 右からスライド */
.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .slide-in-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
  display: revert !important;
}

/* スケールアップ */
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .scale-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
  display: revert !important;
}/**
 * Swiper 12.1.2
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2026 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: February 18, 2026
 */

:root {
  --swiper-theme-color: #007aff;
  /*
  --swiper-preloader-color: var(--swiper-theme-color);
  --swiper-wrapper-transition-timing-function: initial;
  */
}
:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  /* Fix of Webkit flickering */
  z-index: 1;
  display: block;
}
.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}
.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-vertical {
  touch-action: pan-x;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-slide-invisible-blank {
  visibility: hidden;
}
/* Auto Height */
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}
.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* 3D Effects */
.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}
.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}
.swiper-3d {
  perspective: 1200px;
  .swiper-slide,
  .swiper-cube-shadow {
    transform-style: preserve-3d;
  }
}

/* CSS Mode */
.swiper-css-mode {
  > .swiper-wrapper {
    overflow: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    &::-webkit-scrollbar {
      display: none;
    }
  }
  > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: start start;
  }
  &.swiper-horizontal {
    > .swiper-wrapper {
      scroll-snap-type: x mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-slides-offset-before);
      scroll-margin-inline-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-inline-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-vertical {
    > .swiper-wrapper {
      scroll-snap-type: y mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-slides-offset-before);
      scroll-margin-block-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-block-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-free-mode {
    > .swiper-wrapper {
      scroll-snap-type: none;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: none;
    }
  }
  &.swiper-centered {
    > .swiper-wrapper::before {
      content: '';
      flex-shrink: 0;
      order: 9999;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: center center;
      scroll-snap-stop: always;
    }
  }
  &.swiper-centered.swiper-horizontal {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      height: 100%;
      min-height: 1px;
      width: var(--swiper-centered-offset-after);
    }
  }
  &.swiper-centered.swiper-vertical {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      width: 100%;
      min-width: 1px;
      height: var(--swiper-centered-offset-after);
    }
  }
}

/* Slide styles start */
/* 3D Shadows */
.swiper-3d {
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom,
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }
  .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15);
  }
  .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-top {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
}
.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}
.swiper:not(.swiper-watch-progress),
.swiper-watch-progress .swiper-slide-visible {
  .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear;
  }
}
.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}
.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}
@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Slide styles end */
:root {
  /*
  --swiper-pagination-color: var(--swiper-theme-color);
  --swiper-pagination-left: auto;
  --swiper-pagination-right: 8px;
  --swiper-pagination-bottom: 8px;
  --swiper-pagination-top: auto;
  --swiper-pagination-fraction-color: inherit;
  --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25);
  --swiper-pagination-progressbar-size: 4px;
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-border-radius: 50%;
  --swiper-pagination-bullet-inactive-color: #000;
  --swiper-pagination-bullet-inactive-opacity: 0.2;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-bullet-horizontal-gap: 4px;
  --swiper-pagination-bullet-vertical-gap: 6px;
  */
}
.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
  &.swiper-pagination-hidden {
    opacity: 0;
  }
  .swiper-pagination-disabled > &,
  &.swiper-pagination-disabled {
    display: none !important;
  }
}
/* Common Styles */
.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: var(--swiper-pagination-bottom, 8px);
  top: var(--swiper-pagination-top, auto);
  left: 0;
  width: 100%;
}
/* Bullets */
.swiper-pagination-bullets-dynamic {
  overflow: hidden;
  font-size: 0;
  .swiper-pagination-bullet {
    transform: scale(0.33);
    position: relative;
  }
  .swiper-pagination-bullet-active {
    transform: scale(1);
  }
  .swiper-pagination-bullet-active-main {
    transform: scale(1);
  }
  .swiper-pagination-bullet-active-prev {
    transform: scale(0.66);
  }
  .swiper-pagination-bullet-active-prev-prev {
    transform: scale(0.33);
  }
  .swiper-pagination-bullet-active-next {
    transform: scale(0.66);
  }
  .swiper-pagination-bullet-active-next-next {
    transform: scale(0.33);
  }
}
.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
  display: inline-block;
  border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
  background: var(--swiper-pagination-bullet-inactive-color, #000);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
  button& {
    border: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    appearance: none;
  }
  .swiper-pagination-clickable & {
    cursor: pointer;
  }

  &:only-child {
    display: none !important;
  }
}
.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: var(--swiper-pagination-color, var(--swiper-theme-color));
}

.swiper-vertical > .swiper-pagination-bullets,
.swiper-pagination-vertical.swiper-pagination-bullets {
  right: var(--swiper-pagination-right, 8px);
  left: var(--swiper-pagination-left, auto);
  top: 50%;
  transform: translate3d(0px, -50%, 0);
  .swiper-pagination-bullet {
    margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
    display: block;
  }
  &.swiper-pagination-bullets-dynamic {
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    .swiper-pagination-bullet {
      display: inline-block;
      transition:
        200ms transform,
        200ms top;
    }
  }
}
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-horizontal.swiper-pagination-bullets {
  .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
  }
  &.swiper-pagination-bullets-dynamic {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    .swiper-pagination-bullet {
      transition:
        200ms transform,
        200ms left;
    }
  }
}
.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transition:
    200ms transform,
    200ms right;
}
/* Fraction */
.swiper-pagination-fraction {
  color: var(--swiper-pagination-fraction-color, inherit);
}
/* Progress */
.swiper-pagination-progressbar {
  background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));
  position: absolute;
  .swiper-pagination-progressbar-fill {
    background: var(--swiper-pagination-color, var(--swiper-theme-color));
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transform-origin: left top;
  }
  .swiper-rtl & .swiper-pagination-progressbar-fill {
    transform-origin: right top;
  }
  .swiper-horizontal > &,
  &.swiper-pagination-horizontal,
  .swiper-vertical > &.swiper-pagination-progressbar-opposite,
  &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {
    width: 100%;
    height: var(--swiper-pagination-progressbar-size, 4px);
    left: 0;
    top: 0;
  }
  .swiper-vertical > &,
  &.swiper-pagination-vertical,
  .swiper-horizontal > &.swiper-pagination-progressbar-opposite,
  &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {
    width: var(--swiper-pagination-progressbar-size, 4px);
    height: 100%;
    left: 0;
    top: 0;
  }
}
.swiper-pagination-lock {
  display: none;
}
:root {
  --swiper-navigation-size: 44px;
  /*
  --swiper-navigation-top-offset: 50%;
  --swiper-navigation-sides-offset: 4px;
  --swiper-navigation-color: var(--swiper-theme-color);
  */
}
.swiper-button-prev,
.swiper-button-next {
  position: absolute;

  width: var(--swiper-navigation-size);
  height: var(--swiper-navigation-size);

  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color, var(--swiper-theme-color));
  &.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
  }
  &.swiper-button-hidden {
    opacity: 0;
    cursor: auto;
    pointer-events: none;
  }
  .swiper-navigation-disabled & {
    display: none !important;
  }
  svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center;
    fill: currentColor;
    pointer-events: none;
  }
}

.swiper-button-lock {
  display: none;
}

.swiper-button-prev,
.swiper-button-next {
  top: var(--swiper-navigation-top-offset, 50%);
  margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
}
.swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, 4px);
  right: auto;
  .swiper-navigation-icon {
    transform: rotate(180deg);
  }
}
.swiper-button-next {
  right: var(--swiper-navigation-sides-offset, 4px);
  left: auto;
}
.swiper-horizontal {
  .swiper-button-prev,
  .swiper-button-next,
  ~ .swiper-button-prev,
  ~ .swiper-button-next {
    top: var(--swiper-navigation-top-offset, 50%);
    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
    margin-left: 0;
  }
  .swiper-button-prev,
  & ~ .swiper-button-prev,
  &.swiper-rtl .swiper-button-next,
  &.swiper-rtl ~ .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 4px);
    right: auto;
  }
  .swiper-button-next,
  & ~ .swiper-button-next,
  &.swiper-rtl .swiper-button-prev,
  &.swiper-rtl ~ .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 4px);
    left: auto;
  }
  .swiper-button-prev,
  & ~ .swiper-button-prev,
  &.swiper-rtl .swiper-button-next,
  &.swiper-rtl ~ .swiper-button-next {
    .swiper-navigation-icon {
      transform: rotate(180deg);
    }
  }
  &.swiper-rtl .swiper-button-prev,
  &.swiper-rtl ~ .swiper-button-prev {
    .swiper-navigation-icon {
      transform: rotate(0deg);
    }
  }
}
.swiper-vertical {
  .swiper-button-prev,
  .swiper-button-next,
  ~ .swiper-button-prev,
  ~ .swiper-button-next {
    left: var(--swiper-navigation-top-offset, 50%);
    right: auto;
    margin-left: calc(0px - (var(--swiper-navigation-size) / 2));
    margin-top: 0;
  }
  .swiper-button-prev,
  ~ .swiper-button-prev {
    top: var(--swiper-navigation-sides-offset, 4px);
    bottom: auto;
    .swiper-navigation-icon {
      transform: rotate(-90deg);
    }
  }
  .swiper-button-next,
  ~ .swiper-button-next {
    bottom: var(--swiper-navigation-sides-offset, 4px);
    top: auto;
    .swiper-navigation-icon {
      transform: rotate(90deg);
    }
  }
}
