@charset "utf-8";

/* ============================================
   CSS Variables
   ============================================ */
:root {
  --base: #F8FAF7;
  --base2: #FFF6EA;
  --main: #A8D8C9;
  --accent1: #F28C82;
  --accent2: #f6ef78;
  --accent3: #D9EDFA;
  --text-dark: #2d3a4a;
  --text-mid: #4a5568;
  --text-light: #718096;
  --white: #ffffff;

  --font-ja-heading: 'Zen Kaku Gothic New', sans-serif;
  --font-ja-body: 'Noto Sans JP', sans-serif;
  --font-en: 'Playpen Sans', cursive;

  --header-h: 70px;
  --container-w: 1100px;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--base);
  color: var(--text-dark);
  font-family: var(--font-ja-body);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  cursor: none; /* カスタムカーソルを使うので非表示 */
}

/* ============================================
   Custom Cursor — 紙飛行機 & 星
   ============================================ */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  width: 32px;
  height: 32px;
  transform: translate(-4px, -4px);
  will-change: transform;
}

#custom-cursor svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.22));
  transition: transform 0.12s ease;
}

/* リンク・ボタン上 → 星マーク */
body.cursor-star #custom-cursor .cursor-plane { display: none; }
body.cursor-star #custom-cursor .cursor-star  { display: block; }
body:not(.cursor-star) #custom-cursor .cursor-plane { display: block; }
body:not(.cursor-star) #custom-cursor .cursor-star  { display: none; }

/* クリック瞬間のぴょん */
body.cursor-click #custom-cursor svg { transform: scale(0.75) rotate(15deg); }

/* モバイルはカーソル非表示 */
@media (hover: none) {
  body { cursor: auto; }
  #custom-cursor { display: none; }
}

a {
  text-decoration: none;
  color: inherit;
  cursor: none;
}

button {
  cursor: none;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(168, 216, 201, 0.3);
  height: var(--header-h);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.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;
}

.header-inner {
  max-width: 1200px;
  height: 70px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  min-width: 0;
}

/* Logo */
.header-logo {
  display: block;
  width: 100px;
}


/* PC Nav */
.pc-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-ja-body);
  font-size: 14px;
  color: var(--text-mid);
  padding: 6px 10px;
  border-radius: 20px;
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.is-active {
  color: #2d7a60;
  background: rgba(12, 173, 106, 0.08);
  font-weight: bold;
}

/* Hamburger (hidden on PC) */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: none;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}

.hamburger-btn:hover {
  background: rgba(168, 216, 201, 0.2);
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.is-visible {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(80vw, 360px);
  height: 100dvh;
  background: var(--base2);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

/* Close button */
.menu-close-btn {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--main);
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  cursor: none;
  color: white;
  font-family: var(--font-en);
  margin-bottom: 32px;
  transition: background 0.2s;
}

.menu-close-btn:hover {
  background: var(--accent1);
}

.close-icon {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  margin-top: 8px;
}

.close-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Mobile Nav Items */
.mobile-nav-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(168, 216, 201, 0.3);
  transition: opacity 0.2s;
}

.mobile-nav-link:hover {
  opacity: 0.7;
}

.mobile-nav-en {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.mobile-nav-ja {
  font-family: var(--font-ja-body);
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* Underline accent for mobile nav */
.mobile-nav-list li:nth-child(1) .mobile-nav-en {
  text-decoration-color: var(--accent2);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  margin-top: 32px;
  padding: 20px;
  background: var(--main);
  border-radius: var(--radius);
  text-align: center;
}

.mobile-logo-box {
  display: block;
}

.mobile-logo-box img {
  max-width: 160px;
  /* logo size */
  height: auto;
  margin: 0 auto;
}

.mobile-tagline {
  font-family: var(--font-ja-body);
  font-size: 10px;
  /* ← お好みで調整 */
  color: var(--text-mid);
  margin-top: 6px;
  /* ← ロゴとの間隔も少し空けると綺麗です */
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-section {
  margin-top: var(--header-h);
}

/* スライダーコンテナ */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(320px, 55vw, 600px);
  overflow: hidden;
}

/* 各スライド：重ねてクロスフェード */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ── 背景 ── */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  /* Ken Burns 用の余白 */
  transition: transform 6.5s ease-out;
}

.hero-slide.is-active .hero-slide-bg {
  transform: scale(1);
  /* ゆっくり引く Ken Burns */
}

/* Slide 1 背景（スポーツ・バレー風） */
.hero-slide-bg--1 {
  background-image: url(./images/FV1.webp);
}

/* Slide 2 背景（海・空・青） */
.hero-slide-bg--2 {
  background-image: url(./images/FV2.webp);
}

/* オーバーレイ */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,
      rgba(0, 0, 0, 0.08) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.18) 100%);
}

.slide2-overlay {
  background: linear-gradient(to bottom,
      rgba(200, 230, 248, 0.2) 0%,
      rgba(255, 255, 255, 0.1) 100%);
}

/* ── Slide 1 テキスト ── */
.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.slide1-content {
  padding: 32px 40px;
  align-items: flex-start;
}

.hero-catch {
  font-family: var(--font-ja-heading);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.hero-sub {
  font-family: var(--font-ja-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

/* Slide 1 テキストスタイル */
.slide-catch--1 {
  font-size: clamp(22px, 4vw, 44px);
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  background: rgba(242, 140, 130, 0.82);
  display: inline-block;
  padding: 4px 14px 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}

.slide-sub--1 {
  font-size: clamp(16px, 2.5vw, 30px);
  color: var(--text-dark);
  background: rgba(246, 239, 120, 0.88);
  display: inline-block;
  padding: 3px 14px 3px 10px;
  border-radius: 4px;
  text-shadow: none;
}

/* ── Slide 2 散らばった写真カード ── */
.slide2-photo {
  position: absolute;
  background: white;
  border-radius: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  padding: 6px 6px 18px;
  transform-origin: center;
}

.slide2-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 1px;
  object-fit: cover;
  /* ← 追加：写真をトリミングして枠内に収める */
  object-position: center;
  /* ← 追加：中央を基準にトリミング */
  display: block;
  /* ← 追加：img下の余白を消す */
}

.slide2-photo-label {
  text-align: center;
  font-family: var(--font-ja-body);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 4px;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

/* 写真A（右上） */
.slide2-photo--a {
  width: clamp(70px, 9vw, 120px);
  height: clamp(80px, 10vw, 136px);
  top: 8%;
  right: 6%;
  transform: rotate(6deg);
}

/* 写真B（右中） */
.slide2-photo--b {
  width: clamp(65px, 8vw, 110px);
  height: clamp(72px, 9vw, 122px);
  top: 32%;
  right: 12%;
  transform: rotate(-4deg);
}

/* 写真C（右下） */
.slide2-photo--c {
  width: clamp(60px, 8vw, 108px);
  height: clamp(68px, 8.5vw, 116px);
  top: 54%;
  right: 4%;
  transform: rotate(3deg);
}

/* 枠線装飾 — 非表示 */
.slide2-frame {
  display: none;
}



/* Slide 2 テキスト */
.slide2-content {
  padding: 40px 40px 0;
  justify-content: flex-start;
  align-items: flex-start;
}

.slide-catch--2 {
  font-size: clamp(18px, 3.2vw, 38px);
  color: var(--text-dark);
  text-shadow: none;
  background: rgba(168, 216, 201, 0.92);
  /* #A8D8C9 ミントグリーン */
  display: inline-block;
  padding: 4px 14px 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}

.slide-sub--2 {
  font-size: clamp(16px, 2.5vw, 30px);
  color: var(--text-dark);
  text-shadow: none;
  background: rgba(246, 239, 120, 0.88);
  /* --accent2 イエロー */
  display: inline-block;
  padding: 3px 14px 3px 10px;
  border-radius: 4px;
}

/* ── ドット インジケーター ── */
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: none;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.is-active {
  background: white;
  transform: scale(1.25);
}

.hero-scroll-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  transform: translateY(0);
  /* ← bounce アニメ用に残す */
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  animation: heroScrollBounce 1.6s ease-in-out infinite;
}

.hero-scroll-arrow {
  display: block;
  width: 36px;
  height: 36px;
  background: rgba(168, 216, 201, 0.88);
  /* ミントグリーン */
  border-radius: 50%;
  position: relative;
  box-shadow: 0 3px 12px rgba(168, 216, 201, 0.5);
}

/* 矢印（▼ をCSSで描く） */
.hero-scroll-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-right: 2.5px solid white;
  border-bottom: 2.5px solid white;
}

.hero-scroll-text {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-light);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@keyframes heroScrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

/* ── テキストのフェードイン（スライド切替時） ── */
@keyframes slideTextIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide.is-active .slide-catch--1,
.hero-slide.is-active .slide-catch--2 {
  animation: slideTextIn 0.8s ease 0.5s both;
}

.hero-slide.is-active .slide-sub--1,
.hero-slide.is-active .slide-sub--2 {
  animation: slideTextIn 0.8s ease 0.75s both;
}


/* ============================================
   INTRO
   ============================================ */
.intro-section {
  position: relative;
  background: var(--base2);
  padding: 56px 0;
  text-align: center;
  overflow: hidden;
}

.intro-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}

.intro-deco-tl {
  width: 80px;
  height: 80px;
  background: var(--accent3);
  top: -20px;
  left: -20px;
}

.intro-deco-tr {
  width: 60px;
  height: 60px;
  background: var(--accent2);
  top: 10px;
  right: 40px;
}

.intro-deco-bl {
  width: 50px;
  height: 50px;
  background: var(--main);
  bottom: -15px;
  left: 60px;
}

.intro-deco-br {
  width: 70px;
  height: 70px;
  background: var(--accent1);
  bottom: -20px;
  right: -15px;
  opacity: 0.3;
}

.intro-text {
  font-family: var(--font-ja-body);
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text-dark);
  line-height: 2.2;
  letter-spacing: 0.05em;
}

.intro-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 1.5s ease;
}

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

/* ============================================
   SECTION TITLES (共通)
   ============================================ */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.section-title-en {
  font-family: var(--font-en);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.03em;
}

.section-title-ja {
  font-family: var(--font-ja-heading);
  font-size: clamp(12px, 1.5vw, 15px);
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 10px;
}

.section-title-ja::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent1);
  border-radius: 2px;
}

/* ============================================
   NEWS & EVENTS
   ============================================ */
.news-section {
  padding: 72px 0;
  background: var(--base);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 20px;
  /* ← 上下を細く */
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.news-icon {
  flex-shrink: 0;
  width: 40px;
  /* ← 少し小さく */
  height: 40px;
}

.news-icon svg {
  width: 100%;
  height: 100%;
}

.news-body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* h3のデフォルトスタイルをリセット */
h3.news-title {
  all: unset;
  font-family: var(--font-ja-body);
  font-size: 15px;
  color: var(--text-dark);
  flex: 1;
}

.news-title strong {
  font-weight: 700;
}

.news-date {
  font-family: var(--font-ja-body);
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  /* ← 日時を右側に固定 */
  flex-shrink: 0;
}

.news-btn {
  flex-shrink: 0;
  background: var(--accent1);
  color: white;
  font-family: var(--font-ja-body);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}

.news-btn:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

/* ============================================
   JOB DICTIONARY - ACCORDION
   ============================================ */
.job-section {
  padding: 72px 0;
  background: var(--base2);
}

.section-lead {
  text-align: center;
  font-family: var(--font-ja-body);
  font-size: clamp(13px, 1.8vw, 16px);
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 4px;
}

/* Accordion Container */
.job-accordion {
  display: flex;
  flex-direction: row;
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}

/* Each Card */
.job-card {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Default (closed): tab only */
.job-card {
  flex: 0 0 auto;
}

/* Active (open): tab + content */
.job-card.is-active {
  flex: 1 1 auto;
}

/* Vertical Tab (always visible) */
.job-card-tab {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 52px;
  padding: 20px 0;
  cursor: none;
  user-select: none;
  transition: width 0.3s, filter 0.3s;
  flex-shrink: 0;
}

.job-card-tab:hover {
  filter: brightness(1.06);
}

.job-card-label {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
}

.job-card-label-ja {
  font-family: var(--font-ja-heading);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
}

/* Card Colors */
.job-card--create .job-card-tab {
  background: var(--accent1);
}

.job-card--explore .job-card-tab {
  background: var(--main);
}

.job-card--global .job-card-tab {
  background: var(--accent2);
}

/* #f6ef78 */
.job-card--global .job-card-tab .job-card-label,
.job-card--global .job-card-tab .job-card-label-ja {
  color: var(--text-dark);
}

.job-card--support .job-card-tab {
  background: var(--accent3);
}

.job-card--support .job-card-tab .job-card-label,
.job-card--support .job-card-tab .job-card-label-ja {
  color: var(--text-dark);
}

/* Content Panel — ふわっと fade */
.job-card-content {
  flex: 1;
  overflow: hidden;
  width: 0;
  opacity: 0;
  /* 開く：幅が広がってから少し遅れてフェードイン */
  transition:
    width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease 0.15s;
  pointer-events: none;
}

.job-card.is-active .job-card-content {
  width: auto;
  min-width: 200px;
  opacity: 1;
  pointer-events: auto;
  /* 閉じるときは逆順：先にフェードアウト、その後幅を縮める */
  transition:
    width 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
    opacity 0.25s ease 0s;
}

/* Content inner */
.job-card-inner {
  padding: 28px 28px 28px 20px;
  min-width: 220px;
  white-space: normal;
}

.job-card--create .job-card-inner {
  background: rgba(242, 140, 130, 0.06);
}

.job-card--explore .job-card-inner {
  background: rgba(168, 216, 201, 0.1);
}

.job-card--global .job-card-inner {
  background: rgba(246, 239, 120, 0.1);
}

.job-card--support .job-card-inner {
  background: rgba(217, 237, 250, 0.3);
}

.job-card-title {
  font-family: var(--font-ja-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.job-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.job-card-list li {
  font-family: var(--font-ja-body);
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
}

/* フッター行：インタビューを左、もっと見るを右 */
.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

/* カードクリックヒント */
.job-gallery-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ja-body);
  font-size: 11px;
  color: var(--text-dark);
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* 関連インタビューボタン（左） */
.job-interview-btn {
  display: inline-block;
  background: var(--accent1);
  color: white;
  font-family: var(--font-ja-body);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  transition: opacity 0.2s;
}

.job-interview-btn:hover {
  opacity: 0.85;
}

/* ── ワクワクする仕事を全部見る ボタン ── */
/* もっと見るボタン（右） */
.job-more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ja-body);
  font-size: 12px;
  font-weight: 700;
  color: #5A3FC0;
  background: #fff;
  border: 2px solid #5A3FC0;
  border-radius: 50px;
  padding: 7px 32px 7px 14px;
  cursor: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  transform-origin: center center;
}

.job-more-btn:hover {
  background: #5A3FC0;
  color: #fff;
  transform: rotate(-2deg) scale(1.04);
}

.job-more-sparkle {
  font-size: 13px;
  transition: transform 0.2s;
}

.job-more-btn:hover .job-more-sparkle {
  transform: rotate(30deg) scale(1.2);
}

.job-more-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent1);
  color: #fff;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  transition: transform 0.2s;
}

.job-more-btn:hover .job-more-badge {
  transform: scale(1.15) rotate(8deg);
}

/* ============================================
   INTERVIEW
   ============================================ */
.interview-section {
  padding: 72px 0;
  background: var(--base);
}

.interview-lead {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.interview-lead-main {
  font-family: var(--font-ja-heading);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.interview-lead-sub {
  font-family: var(--font-ja-body);
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--text-mid);
  line-height: 1.8;
}

.interview-lead-deco {
  width: 48px;
  height: 3px;
  background: var(--accent1);
  border-radius: 3px;
  margin: 14px auto 0;
}

.interview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.interview-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  /* 追加 */
  flex-direction: column;
  /* 追加 */
}

.interview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.interview-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.interview-img-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.4s;
}

.interview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.interview-card:hover .interview-img {
  transform: scale(1.05);
}


.interview-card-body {
  padding: 20px;
  display: flex;
  /* 追加 */
  flex-direction: column;
  /* 追加 */
  flex: 1;
  /* 追加 */
}

.interview-text {
  flex: 1;
  /* 追加（テキストが伸び縮みしてボタンを押し下げる） */
  /* 既存のスタイルはそのまま */
}

.interview-name {
  font-family: var(--font-ja-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.interview-text {
  font-family: var(--font-ja-body);
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

.interview-detail-btn {
  display: inline-block;
  font-family: var(--font-ja-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent1);
  border-bottom: 1px solid var(--accent1);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.interview-detail-btn:hover {
  opacity: 0.7;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-image: url(./images/曇り飛行機.jpg);
  background-repeat: no-repeat;
  background-position: center 40%;
  background-size: cover;
}

/* ここから消す予定
   .site-footer {
  background: var(--main);
  padding: 40px 0 0;
} */

.footer-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 32px;
  display: flex;
  align-items: flex-end
}

.footer-logo {
  display: block;
  width: 160px;
  white-space: nowrap;
}

.footer-inner p {
  color: rgba(255, 255, 255, 0.9);
  /* 白文字に */
  font-size: 11px;

}

.footer-tagline {
  font-family: var(--font-ja-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-info {
  flex: 1;
}

.footer-info p {
  font-family: var(--font-ja-body);
  font-size: 13px;
  color: var(--text-dark);
  line-height: 2;
  text-align: right;
}

.footer-info a {
  color: var(--text-dark);
  text-decoration: underline;
  text-align: right;
}

.footer-notice {
  background: rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: var(--font-ja-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  padding: 10px;
}

/* ============================================
   REVEAL ANIMATION (scroll-triggered fade-up)
   ============================================ */
.reveal-row {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   OUR MISSION
   ============================================ */
.mission-section {
  position: relative;
  padding: 88px 0 80px;
  overflow: hidden;
  background: #f5f9f5;
}

/* 背景グラデーション */
.mission-bg-img {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(217, 237, 250, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(246, 239, 120, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 90%, rgba(168, 216, 201, 0.3) 0%, transparent 50%),
    #f5f9f5;
  z-index: 0;
}

.mission-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 247, 0.45);
  z-index: 1;
}

/* 水玉デコレーション */
.mission-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.mdot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
}

.mdot--1 {
  width: 42px;
  height: 42px;
  background: #a8e6c0;
  top: 60px;
  left: 5%;
}

.mdot--2 {
  width: 24px;
  height: 24px;
  background: #a8e6c0;
  top: 100px;
  right: 7%;
}

.mdot--3 {
  width: 30px;
  height: 30px;
  background: #fde68a;
  top: 200px;
  left: 14%;
}

.mdot--4 {
  width: 18px;
  height: 18px;
  background: #b5d4f4;
  top: 260px;
  right: 18%;
}

.mdot--5 {
  width: 36px;
  height: 36px;
  background: #f9c5d1;
  top: 44px;
  right: 18%;
}

.mdot--6 {
  width: 24px;
  height: 24px;
  background: #a8e6c0;
  bottom: 220px;
  left: 7%;
}

.mdot--7 {
  width: 20px;
  height: 20px;
  background: #fde68a;
  bottom: 180px;
  right: 12%;
}

.mdot--8 {
  width: 24px;
  height: 24px;
  background: #b5d4f4;
  bottom: 300px;
  left: 22%;
}

.mdot--9 {
  width: 20px;
  height: 20px;
  background: #f9c5d1;
  bottom: 120px;
  left: 18%;
}

.mdot--10 {
  width: 16px;
  height: 16px;
  background: #a8e6c0;
  top: 340px;
  right: 6%;
}

.mission-container {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

/* ピンク下線 — 他セクションのグリーン線をピンクで上書き */
.mission-container .section-title-ja::after {
  background: #f4a7b9;
  width: 80px;
}

.mission-title-underline {
  display: none;
}

/* H2 キャッチ */
.mission-catch {
  font-family: var(--font-ja-heading);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.mission-sub {
  font-family: var(--font-ja-heading);
  font-size: clamp(13px, 1.8vw, 15px);
  font-weight: 500;
  color: #7ec8a0;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 44px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* 本文 */
.mission-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mission-body p {
  font-family: var(--font-ja-body);
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--text-mid);
  line-height: 2.1;
  letter-spacing: 0.04em;
  text-align: justify;
}

/* Fail fast ボックス */
.mission-fail-box {
  background: #fffbea;
  border: 2px solid #fde68a;
  border-radius: 16px;
  padding: 32px 36px;
  text-align: center;
}

.mission-fail-main {
  font-family: var(--font-en);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  font-style: italic;
  color: #78350f;
  line-height: 1.4;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.mission-fail-sub {
  font-family: var(--font-ja-body);
  font-size: clamp(13px, 1.4vw, 14px);
  color: #92400e;
  line-height: 1.9;
  margin: 0;
}

/* 応援バナー */
.mission-cheer {
  margin-top: 48px;
  background: linear-gradient(135deg, #83c7a4 0%, #e8fad8 100%);
  border-radius: 20px;
  padding: 26px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-cheer::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: rgba(80, 200, 130, 0.28);
  border-radius: 50%;
}

.mission-cheer::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -10px;
  width: 100px;
  height: 100px;
  background: rgba(80, 200, 130, 0.20);
  border-radius: 50%;
}

.mission-cheer p {
  font-family: var(--font-ja-heading);
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  color: #1a5c38;
  line-height: 1.8;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ============================================
/* ============================================
   FOOTER — SNS 追加
   ============================================ */
.footer-sns {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: var(--container-w);
  margin: 0 auto;
}

.footer-sns-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  margin-right: 4px;
}

.footer-sns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}

.footer-sns-icon svg {
  width: 16px;
  height: 16px;
}

.footer-sns-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

/* ============================================
   JOB GALLERY — 自動スクロール
   ============================================ */
.job-gallery {
  margin: 16px 0 20px;
  overflow: hidden;
  position: relative;
  /* フェードエッジ */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  /* カーソルポインターを入れる */
  cursor: none;
  text-decoration: none;
  color: inherit;
  display: block;
}

/* トラック：アイテムを横並び */
.job-gallery-track {
  display: flex;
  gap: 12px;
  width: max-content;
  /* CSS アニメーション（JS で pause/resume） */
  animation: galleryScroll 18s linear infinite;
  will-change: transform;
}

.job-gallery-track.is-paused {
  animation-play-state: paused;
}

@keyframes galleryScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* 複製込みの半分を移動 */
}

/* 各カード */
.job-gallery-item {
  width: 130px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  cursor: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.job-gallery-item:hover,
.job-gallery-item.is-touched {
  transform: translateY(-6px) rotate(3deg) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  z-index: 2;
  position: relative;
}

/* 奇数カードは逆向きに傾く */
.job-gallery-item:nth-child(even):hover,
.job-gallery-item:nth-child(even).is-touched {
  transform: translateY(-6px) rotate(-3deg) scale(1.04);
}

/* 画像エリア（プレースホルダーグラデーション） */
.job-gallery-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #ddd;
  /* 画像読込中のフォールバック色 */
  object-fit: cover;
  /* ← 追加：画像をトリミングして埋める */
  object-position: center;
  /* ← 追加：中央を基準にトリミング */
  display: block;
  /* ← 追加：imgの下の余白を消す */
}

/* テキスト */
.job-gallery-name {
  font-family: var(--font-ja-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 8px 8px 2px;
  line-height: 1.3;
}

.job-gallery-desc {
  font-family: var(--font-ja-body);
  font-size: 10px;
  color: var(--text-mid);
  padding: 0 8px 6px;
  line-height: 1.4;
}

.job-gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 8px 10px;
}

.job-gallery-tags span {
  font-family: var(--font-ja-body);
  font-size: 9px;
  color: var(--text-light);
  background: var(--base);
  border-radius: 10px;
  padding: 2px 6px;
  white-space: nowrap;
}

/* ============================================
   ============================================ */
@media (min-width: 601px) and (max-width: 800px) {
  :root {
    --header-h: 64px;
  }

  .hero-scroll-btn {
    right: 12px;
    bottom: 16px;
  }

  .pc-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .logo-tagline {
    display: none;
  }

  .container {
    padding: 0 24px;
  }

  .hero-content {
    padding: 24px;
  }

  .interview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .interview-card:last-child {
    grid-column: 1 / -1;
    max-width: 340px;
    margin: 0 auto;
  }

  .job-accordion {
    min-height: 280px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

}

.slide2-photo-label {
  text-align: center;
  font-family: var(--font-ja-body);
  font-size: 8px;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 2px;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

/* 関連インタビューボタン（左） */
.job-interview-btn {
  margin-right: 10px;
}

/* ── ワクワクする仕事を全部見る ボタン ── */
/* もっと見るボタン（右） */
.job-more-btn {
  margin-left: 10px;
}

/* ============================================
   RESPONSIVE: Mobile (≤600px)
   ============================================ */
@media (max-width: 600px) {
  :root {
    --header-h: 60px;
  }

  .pc-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .logo-tagline {
    display: none;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  /* Hero */
  .hero-image-wrap {
    height: 240px;
  }

  .hero-content {
    padding: 16px;
  }

  .hero-text-block {
    padding: 12px 16px;
  }

  /* Intro */
  .intro-section {
    padding: 40px 0;
  }

  .intro-text {
    font-size: 13px;
    line-height: 2;
  }

  /* Section */
  .news-section,
  .job-section,
  .interview-section {
    padding: 48px 0;
  }

  .section-title {
    margin-bottom: 28px;
  }

  /* News */
  .news-item {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
  }

  .news-body {
    flex-wrap: wrap;
    gap: 4px;
  }

  .news-date {
    width: 100%;
    order: -1;
    /* モバイルでは日時を上に */
  }

  .news-btn {
    width: 100%;
    text-align: center;
  }

  /* Job Accordion → vertical on mobile */
  .job-accordion {
    flex-direction: column;
    min-height: unset;
  }

  .job-card {
    flex-direction: column;
  }

  .job-card-tab {
    writing-mode: horizontal-tb;
    width: 100%;
    height: 52px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 20px;
    gap: 12px;
  }

  .job-card-label {
    font-size: 15px;
  }

  .job-card-label-ja {
    font-size: 12px;
  }

  .job-gallery-track {
    animation-duration: 30s;
  }

  /* Content on mobile: PCのwidth/opacity/pointer-eventsを完全上書き */
  .job-card-content {
    width: 100% !important;
    min-width: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    overflow: hidden !important;
    /* heightはJSがinline styleで制御。transitionはheightのみ */
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  /* JS未初期化時のFOUC防止: is-activeでないカードは非表示 */
  .job-accordion:not(.sp-ready) .job-card:not(.is-active) .job-card-content {
    height: 0 !important;
  }

  /* is-active時の高さはJS(spOpen/spCollapseInit)がinline styleで設定 */
  .job-card-inner {
    min-width: 0;
    padding: 20px 16px;
  }

  /* Gallery on mobile: カード幅を少し小さく */
  .job-gallery-item {
    width: 110px;
  }

  .job-gallery-img {
    aspect-ratio: 3 / 4;
  }

  /* Mission */
  .mission-section {
    padding: 60px 0 56px;
  }

  .mission-quote {
    padding: 18px 20px;
  }

  .mission-body p {
    text-align: left;
  }

  .footer-sns {
    padding: 14px 16px;
  }

  /* Interview */
  .interview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .interview-img-wrap {
    aspect-ratio: 16/9;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    padding: 24px 16px;
  }
}

/* ========================================
   スクロールボタン（右下固定）
   ======================================== */

.scroll-btns {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.scroll-btns.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scr-fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid;
  background: #fff;
  cursor: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.scr-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .13);
}

.scr-fab:active {
  transform: scale(0.94);
}

/* TOP：メインカラー */
.scr-fab--top {
  border-color: var(--main);
  color: #1e7060;
}

/* ★ 星バッジ */
.scr-fab--top::before {
  content: '★';
  position: absolute;
  top: -9px;
  right: -9px;
  font-size: 18px;
  color: var(--accent2);
  -webkit-text-stroke: 1.5px #bfad10;
  line-height: 1;
  pointer-events: none;
}

/* HOME：アクセント① */
.scr-fab--home {
  border-color: var(--accent1);
  color: #b83828;
}

/* ========================================
   スクロールボタン（右下固定）
   style.css の末尾に追加
   ======================================== */

.scroll-btns {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.scroll-btns.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scr-fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid;
  background: #fff;
  cursor: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.scr-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .13);
}

.scr-fab:active {
  transform: scale(0.94);
}

/* TOP：メインカラー */
.scr-fab--top {
  border-color: var(--main);
  color: #1e7060;
}

/* ★ 星バッジ */
.scr-fab--top::before {
  content: '★';
  position: absolute;
  top: -9px;
  right: -9px;
  font-size: 18px;
  color: var(--accent2);
  -webkit-text-stroke: 1.5px #bfad10;
  line-height: 1;
  pointer-events: none;
}

/* HOME：アクセント① */
.scr-fab--home {
  border-color: var(--accent1);
  color: #b83828;
}