/*
Theme Name: Talent System
Theme URI: http://localhost/talentsystem/
Author: Talent System
Description: タレントシステム コーポレートサイト カスタムテーマ
Version: 1.0.0
*/

/* ========================================
   Reset & Base
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========================================
   Variables
======================================== */
:root {
  --teal:       #2ec4c4;
  --teal-light: #e6f9f9;
  --teal-pale:  #f0fafb;
  --red:        #c0392b;
  --red-dark:   #a93226;
  --text:       #333333;
  --text-light: #666666;
  --white:      #ffffff;
  --max-w:      1200px;
}

/* ========================================
   Utility
======================================== */
.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.sp-only { display: none; }
.pc-only { display: inline; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.section-title span {
  color: var(--teal);
}

.section-en {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

/* ========================================
   Header
======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.45s ease, box-shadow 0.45s ease;
}

.site-header.scrolled,
body:not(.home) .site-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 40px;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.header-nav { display: flex; align-items: center; gap: 30px; }

.header-nav a { transition: opacity 0.2s; }

.header-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}
.header-nav-item:hover { opacity: 0.7; }

.header-nav-en {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
}

.header-nav-ja {
  font-size: 0.58rem;
  color: var(--text-light);
}

/* フロントページ・スクロール前は白文字 */
.home .site-header:not(.scrolled) .header-nav-en { color: #fff; }
.home .site-header:not(.scrolled) .header-nav-ja { color: rgba(255,255,255,0.75); }

.btn-entry {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 開いた状態: 2本線 → X */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ========================================
   Hero (FV)
======================================== */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  min-height: 500px;
}

.hero-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes hero-fadein {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-text {
  position: absolute;
  height: auto;
  pointer-events: none;
  opacity: 0;
  animation: hero-fadein 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 各レイヤーの位置・サイズ（元カンバス 2880×1662 基準） */
.hero-text--engineer {
  width: 100vw;
  left: 7%;
  top: 13.5%;
  animation-delay: 0.3s;
  max-width: 30vh;
}
.hero-text--yourlife {
  width: 100vw;
  left: 16%;
  top: 18%;
  animation-delay: 0.6s;
  max-width: 30vh;
}
.hero-text--title01 {
  width: 100vw;
  left: 0%;
  top: 36%;
  animation-delay: 1.0s;
  max-width: 100vh;
}
.hero-text--title02 {
  width: 100vw;
  left: 4%;
  top: 50%;
  animation-delay: 1.4s;
  max-width: 100vh;
}

.hero-bnrs {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.hero-bnrs a { display: block; }
.hero-bnrs img {
  width: 280px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-bnrs a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

/* ========================================
   Worries (お悩み)
======================================== */
.worries {
  position: relative;
  padding: 80px 0 80px;
  background: #dde8ea;
}

.worries-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d96070;
}
.worries-dot--tl { top: 40px; left: 60px; }
.worries-dot--br { bottom: 80px; right: 60px; }

.worries-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--teal);
  text-align: center;
  margin-bottom: 14px;
}
.worries-label::before,
.worries-label::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}

.worries-title {
  text-align: center;
  font-size: clamp(1.625rem, 3.5vw, 2.375rem);
  font-weight: 700;
  color: #c0392b;
  letter-spacing: 0.06em;
  margin-bottom: 64px;
  line-height: 1.6;
}
.worries-title span {
  background-image: linear-gradient(transparent 55%, rgba(255,255,255,0.85) 55%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 4px;
  transition: background-size 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}
.worries-title.is-visible span {
  background-size: 100% 100%;
}

.worries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.worry-card {
  background: #fff;
  border: 2px solid var(--teal);
  border-radius: 14px;
  padding: 32px 28px;
}

.worry-card p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.8;
}

.worry-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.worry-icon svg,
.worry-icon img {
  width: 96px;
  height: 96px;
  color: var(--teal);
}

.worry-card p strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}

.worries-bottom {
  position: relative;
  margin-top: 48px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.worries-illust {
  position: absolute;
  left: 40px;
  bottom: -139px;
  width: 130px;
  height: auto;
  display: block;
  z-index: 5;
}

.worries--recruit {
  padding: 80px 0 180px;
}
.worries--recruit .worries-illust {
  bottom: -239px;
}

.worries-arrow {
  position: absolute;
  left: 50%;
  top: 80px;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-top: 42px solid var(--teal);
}

/* ========================================
   About & Features (combined)
======================================== */
.af-section {
  background: #88c8ca;
  padding-top: 60px;
  padding-bottom: 0;
}

.af-lead {
  text-align: center;
  padding: 160px 40px 72px;
  background: transparent;
}

.sp-br { display: none; }

.af-lead-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.af-lead-main span {
  display: inline-block;
  background: #fff;
  color: var(--teal);
  padding: 8px 24px;
}

.af-banner {
  text-align: center;
  padding: 18px 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.af-banner::before {
  content: 'THE NEW STANDARD';
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Figtree', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.12em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

@media (max-width: 768px) {
  .af-banner::before {
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    font-size: 2rem;
    letter-spacing: 0.06em;
  }
}

.af-banner span {
  position: relative;
  z-index: 1;
  font-size: clamp(2.0625rem, 5.25vw, 3.1875rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.af-block {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}
.af-section > .af-block:last-child { padding-bottom: 0; }

.af-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.af-block--reverse .af-block-inner { direction: rtl; }
.af-block--reverse .af-block-inner > * { direction: ltr; }

.af-title {
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.af-title span {
  display: inline-block;
  background: #fff;
  color: var(--red);
  padding: 6px 20px;
}

.af-title--kagi {
  text-indent: -0.5em;
}

.af-bullet {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
  margin-top: 6px;
}

.af-desc {
  font-size: 1.2rem;
  color: #fff;
  line-height: 2;
}

.af-block-photo {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.af-block-photo::before,
.af-block-photo::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: #88c8ca;
  z-index: 1;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.af-block-photo::before { left: 0; }
.af-block-photo::after  { right: 0; }

.af-block-photo.is-visible::before { transform: translateX(-100%); }
.af-block-photo.is-visible::after  { transform: translateX(100%); }

.af-block-photo img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.af-illust {
  position: absolute;
  pointer-events: none;
}

@keyframes float-money {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-14px); }
}

@keyframes float-books {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.af-illust--money {
  width: 210px;
  bottom: -10px;
  left: 45%;
  animation: float-money 3.2s ease-in-out infinite;
}

.af-illust--books {
  width: 140px;
  bottom: -20px;
  right: max(60px, calc((100vw - var(--max-w)) / 2 + 40px));
  animation: float-books 3.2s ease-in-out infinite 0.8s;
}

@keyframes dot-twinkle {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.1; }
}

.af-dot {
  position: absolute;
  width: var(--dot-s, 12px);
  height: var(--dot-s, 12px);
  border-radius: 50%;
  background: var(--dot-c);
  pointer-events: none;
  animation: dot-twinkle var(--dot-dur, 3s) ease-in-out infinite var(--dot-delay, 0s);
}

/* ========================================
   Commitment (Scrolling Marquee)
======================================== */
.commitment {
  position: relative;
  background: #88c8ca;
  padding: 0 0 64px;
  overflow: hidden;
}

.commitment-illust {
  position: absolute;
  bottom: 0;
  left: max(40px, calc((100vw - var(--max-w)) / 2 + 40px));
  width: 110px;
  height: auto;
  z-index: 2;
}

.commitment-marquee {
  overflow: hidden;
}

.commitment-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.commitment-track p {
  font-family: 'Figtree', sans-serif;
  font-size: clamp(4.5rem, 10.5vw, 8.25rem);
  font-style: italic;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  padding-right: 100vw;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----------------------------------------
   Fade-up scroll animation
---------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Recruit (採用情報)
======================================== */
.recruit {
  padding: 80px 0 100px;
  background: #dde8ea;
}

.recruit-inner {
  background: var(--red);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.recruit-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: auto;
  pointer-events: none;
}
.recruit-deco--left  { left: 20px; }
.recruit-deco--right { right: 20px; }

.recruit-heading { margin-bottom: 56px; }

.recruit-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.recruit-sub {
  font-family: 'Figtree', sans-serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.375rem);
  color: rgba(255,255,255,0.9);
}

.recruit-group { margin-bottom: 40px; }

.recruit-group-label {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.recruit-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.recruit-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border-radius: 100px;
  padding: 12px 12px 12px 36px;
  min-width: 300px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.recruit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.recruit-btn-text {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #222;
}

.recruit-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ========================================
   Note Section
======================================== */
.note-section {
  padding: 80px 0;
  background: #dde8ea;
}

.note-section-header {
  margin-bottom: 28px;
}

.note-section-logo {
  display: inline-block;
  transition: opacity 0.2s;
  margin-bottom: 12px;
}
.note-section-logo:hover { opacity: 0.75; }
.note-section-logo img { height: 32px; width: auto; display: block; }

.note-section-heading {
  font-size: clamp(1.125rem, 2.2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  padding-left: 16px;
  border-left: 4px solid var(--teal);
  margin-bottom: 10px;
}

.note-section-lead {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.75;
  padding-left: 20px;
}

/* Cards */
.note-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.note-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.note-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.note-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.note-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #d0e9ea;
  overflow: hidden;
}
.note-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.note-card-body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.note-card-date {
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: 'Figtree', sans-serif;
}

.note-card-title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* More link */
.note-section-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.note-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.note-more-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
.note-more-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  border-radius: 12px;
  padding: 9px 12px;
  background: transparent;
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 0;
}
.note-more-btn-arrow {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 1px;
  border-radius: 9999px;
  background-color: var(--teal);
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.note-more-btn-arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 6px;
  height: 1px;
  border-radius: 9999px;
  background-color: var(--teal);
  transform: rotate(45deg);
  transform-origin: calc(100% - 0.5px) 50%;
}
.note-more-btn-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--teal);
}
.note-more-btn:hover .note-more-btn-arrow,
.note-more-btn:focus-visible .note-more-btn-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .note-more-btn-icon, .note-more-btn-arrow, .note-more-btn-text, .note-more-btn-arrow::before { transition: none; }
}

/* ========================================
   Footer
======================================== */
.site-footer {
  background: #fff;
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.footer-main { padding: 64px 0 48px; }

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  max-width: none;
  padding-right: 0;
}

/* Left column */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 36px;
  flex: 1;
  min-width: 0;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

/* Nav */
.footer-nav {
  display: flex;
  gap: 28px 40px;
  flex-wrap: wrap;
}

.footer-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-nav-item:hover { opacity: 0.75; }

.footer-nav-en {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.footer-nav-ja {
  font-size: 0.7rem;
  color: var(--text-light);
}

/* SNS banner */
.footer-sns-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--teal);
  border-radius: 100px;
  padding: 14px 28px;
  width: fit-content;
  max-width: 100%;
}

.footer-sns-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.footer-sns-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.footer-sns-link:hover { opacity: 0.7; }
.footer-sns-link img { display: block; }

/* 全SNSアイコンを白に */
.footer-sns-link svg { filter: brightness(0) invert(1); }
.footer-sns-link[aria-label="note"] img { filter: brightness(0) invert(1); }

/* Right illustration */
.footer-right {
  flex-shrink: 0;
  width: clamp(260px, 30vw, 420px);
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}

.footer-illust {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -20px;
}

/* Copyright bar */
.footer-copy-bar {
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.12);
}

.footer-copy-bar .inner {
  max-width: none;
  padding-right: 40px;
}

.footer-copy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-privacy-link {
  font-size: 0.75rem;
  color: var(--text-light);
  transition: color 0.2s;
}

.footer-privacy-link:hover {
  color: var(--teal);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: right;
}

/* ========================================
   Mobile Nav Drawer
======================================== */
.sp-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: #fff;
  z-index: 99;
  padding: 72px 0 40px;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.sp-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sp-nav a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 18px 24px;
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text);
}
.sp-nav a:last-child { border: none; }
.sp-nav .btn-entry {
  margin-top: 8px;
  width: fit-content;
  min-width: 180px;
  align-self: center;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
  .inner { padding: 0 24px; }
  .header-inner { padding: 0 24px; }

  .af-block-inner { gap: 40px; }
  .about-block { gap: 40px; }
}

/* ========================================
   Page KV（ページキービジュアル）
======================================== */
.page-kv {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px; /* 固定ヘッダー分オフセット */
  overflow: hidden;
}

.page-kv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.page-kv-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.page-kv-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  animation: kvFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}
.page-kv-sub {
  font-size: 0.6em;
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.75;
}
@keyframes kvFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
  padding: 80px 0 0;
  background: #f5fafb;
}

.contact-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 70px;
}

.contact-deco-img {
  position: absolute;
  bottom: 0;
  right: -80px;
  width: 200px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.contact-notice {
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
  padding: 40px 0;
}

/* ===== CF7 Form ===== */
.wpcf7 {
  width: 100%;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 2;
}

.wpcf7-form label .required {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #cdd8db;
  border-radius: 6px;
  background: #fff;
  font-size: 0.95rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder,
.wpcf7-form textarea::placeholder {
  color: #aab8bc;
  font-weight: 400;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 196, 196, 0.15);
}

.wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
  color: var(--text);
}

.wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.8;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  font-size: 0.76rem;
  color: var(--red);
  font-weight: 400;
}

/* acceptance (checkbox) */
.wpcf7-form .wpcf7-acceptance {
  margin-bottom: 32px;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
  cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.wpcf7-form .wpcf7-acceptance a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* submit */
.wpcf7-form input.wpcf7-submit {
  display: block;
  width: 100%;
  padding: 18px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}

.wpcf7-form input.wpcf7-submit:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* response output */
.wpcf7-response-output {
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: center;
  border: none !important;
}

.wpcf7-form.sent .wpcf7-response-output {
  background: var(--teal-light);
  color: #1a8a8a;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
  background: #fdf2f2;
  color: var(--red);
}

/* ===== FAQ ===== */
.faq-section {
  padding: 80px 0 0;
  background: #f5fafb;
}

.faq-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 200px;
}

.faq-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 0 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* Q ボタン */
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.faq-q-icon,
.faq-a-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.faq-q-icon { background: var(--red, #e07080); color: #fff; }
.faq-a-icon { background: var(--teal, #2ec4c4); color: #fff; }

.faq-q-text {
  flex: 1;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

/* 矢印 */
.faq-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.faq-arrow::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--teal, #2ec4c4);
  border-bottom: 2px solid var(--teal, #2ec4c4);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.35s ease;
}

.faq-item.is-open .faq-arrow::before {
  transform: rotate(-135deg) translateY(-3px);
}

/* A アコーディオン（CSS grid アニメーション）*/
.faq-a {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.faq-a-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
}

.faq-a-text {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.8;
  padding-top: 6px;
}

/* デコ画像：FAQリスト直下・中央より左 */
.faq-deco-img {
  position: absolute;
  bottom: 0;
  left: -80px;
  width: auto;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

/* CF7 フォームスタイル */
.wpcf7-form p {
  margin: 0 0 24px;
  line-height: 1;
}

.wpcf7-form p:last-child {
  margin-bottom: 0;
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  border: 1.5px solid #c8dfe0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 196, 196, 0.18);
}

.wpcf7-form textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.8;
}

.wpcf7-form input[type="submit"] {
  display: block;
  margin: 8px auto 0;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 64px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35);
}

.wpcf7-not-valid-tip {
  display: block;
  font-size: 0.8125rem;
  color: var(--red);
  margin-top: 4px;
}

.wpcf7-response-output {
  border: 1.5px solid var(--teal) !important;
  border-radius: 8px;
  padding: 12px 20px !important;
  margin: 16px 0 0 !important;
  font-size: 0.9rem;
}

/* ========================================
   Message Section
======================================== */
.msg-section {
  padding: 80px 0 100px;
  background: #fff;
}

.msg-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.msg-photos {
  position: relative;
}

.msg-photo-main {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.msg-photo-main img {
  width: 100%;
  height: auto;
  display: block;
}

.msg-body {
  padding-top: 12px;
}

.msg-display {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #d0d0d0;
  line-height: 1;
  margin-bottom: 8px;
}

.msg-sub {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 20px;
}

.msg-divider {
  width: 40px;
  height: 2px;
  background: var(--teal);
  margin-bottom: 28px;
}

.msg-copy {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 28px;
  color: var(--text);
}

.msg-text {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.95;
  margin-bottom: 40px;
  text-align: justify;
}

.msg-text p + p {
  margin-top: 16px;
}

.msg-sig {
  border-top: 1px solid #e8e8e8;
  padding-top: 24px;
}

.msg-sig-role {
  font-size: 0.8125rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.msg-sig-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.3;
}

.msg-sig-name-en {
  font-size: 0.8125rem;
  color: var(--text-light);
  letter-spacing: 0.18em;
  margin-top: 4px;
}

/* ========================================
   Company Section
======================================== */
.company-section {
  padding: 80px 0 0;
  background: #f5fafb;
}

.company-wrap {
  position: relative;
}

.company-top {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 56px;
}

.company-photo {
  flex: 0 0 380px;
  border-radius: 12px;
  overflow: hidden;
}

.company-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-table {
  flex: 1;
  margin: 0;
}

.company-row {
  display: flex;
  border-bottom: 1px solid #e0ecec;
}

.company-row:first-child {
  border-top: 1px solid #e0ecec;
}

.company-row dt {
  flex: 0 0 160px;
  padding: 20px 24px 20px 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.company-row dd {
  flex: 1;
  padding: 20px 0;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.8;
}

.company-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
}

.company-map iframe {
  display: block;
  width: 100%;
  height: 400px;
}

.company-deco-img {
  display: none;
}

/* ========================================
   About Page
======================================== */
.about-section {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}

.about-mission { background: #edf0f1; }
.about-mission .about-block { grid-template-columns: 7fr 3fr; align-items: start; }
.about-vision  { background: #fff; overflow: visible; }
.about-vision .about-block { grid-template-columns: 3fr 7fr; }
.about-vision .about-block-photo { order: -1; }
.about-value   { background: #edf0f1; overflow: visible; }

.about-label {
  font-family: 'Figtree', sans-serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 700;
  color: #89c8ca;
  letter-spacing: 0.06em;
  margin-bottom: -2px;
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-block-photo {
  border-radius: 16px;
  overflow: hidden;
}

.about-block-photo img:not(.about-deco) {
  width: 100%;
  height: auto;
  display: block;
}

.about-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 24px;
}

/* Deco illustrations */
.about-deco {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  height: auto;
}

.about-mission-text {
  position: relative;
  align-self: stretch;
}

.about-mission-photo {
  position: relative;
  overflow: visible !important;
}
.about-mission-photo img:not(.about-deco) {
  border-radius: 16px;
}

.about-deco--mission {
  width: 65px;
  bottom: -18px;
  right: -32px;
  z-index: 3;
}

.about-deco--vision {
  width: 130px;
  bottom: 0;
  left: auto;
  right: calc((100% - var(--max-w)) / 2 - 30px);
  transform: translateY(34%);
  z-index: 5;
}

/* Value */
.about-value-wrap {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 60px;
  align-items: start;
  margin-top: 16px;
  overflow: visible;
}

.about-value-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-value-label {
  font-family: 'Figtree', sans-serif;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #89c8ca;
  letter-spacing: 0.06em;
  margin-bottom: -8px;
}

.about-value-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 14px;
}

.about-value-deco {
  position: sticky;
  top: 120px;
  min-width: 0;
  overflow: visible;
  align-self: end;
}

.about-value-deco img {
  width: clamp(260px, 32vw, 440px);
  max-width: none;
  height: auto;
  display: block;
}

/* Other photos */
.about-other {
  padding: 60px 0 0;
  background: #fff;
  overflow: visible;
}

.about-other-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}

.about-other-photo {
  border-radius: 16px;
  overflow: hidden;
}

.about-other-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* 左：小さめ・下寄せ */
.about-other-photo:first-child {
  width: 75%;
}

/* 右：上へ飛び出してセクションに被る */
.about-other-photo:last-child {
  position: relative;
  z-index: 2;
  transform: translateY(-80px);
}

@media (max-width: 1100px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 1280px) {
  .about-deco--vision { right: 10px; width: 100px; }
}

@media (max-width: 768px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .step-num::before { content: '\00a0'; }
  .hero-bnrs {
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
  .hero-bnrs a { flex: 1; }
  .hero-bnrs img { width: 100%; border-radius: 6px; }

  .worries-grid { grid-template-columns: 1fr; gap: 16px; }
  .worry-card p { font-size: 1.2rem; }
  .worries-arrow { top: 60px; }
  .worries-illust { width: 120px; left: 20px; }
  .worries-dot--tl { left: 20px; }
  .worries-dot--br { right: 20px; }

  .af-lead { padding: 120px 20px 60px; }
  .af-lead-main { font-size: 1.2rem; }
  .sp-br { display: inline; }

  .af-block-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    direction: ltr !important;
  }

  /* SP: 全ブロック「画像 → タイトル → 本文」順に統一 */
  .af-block-photo { order: -1; }

  /* Block 01・03（右端に埋もれるデザイン） */
  .af-section > .af-block:nth-child(2) .af-block-photo,
  .af-section > .af-block:nth-child(4) .af-block-photo {
    margin-right: -32px;
    border-radius: 16px 0 0 16px;
  }

  /* Block 02（左端に埋もれるデザイン） */
  .af-section > .af-block:nth-child(3) .af-block-photo {
    margin-left: -32px;
    border-radius: 0 16px 16px 0;
  }

  .af-block { overflow: visible; }
  .af-illust--money { width: 120px; left: 20%; bottom: -20px; }
  .af-illust--books { width: 120px; right: 20px; bottom: -30px; }

  .commitment { padding-top: 120px; }
  .commitment-illust { width: 80px; left: 16px; }
  .commitment-track p { font-size: clamp(2rem, 8vw, 3.5rem); }

  .fc-section { padding: 60px 0; }
  .fc-block { margin-bottom: 48px; }
  .fc-cards { grid-template-columns: 1fr; gap: 14px; }

  .recruit-btn { min-width: 260px; padding: 10px 10px 10px 24px; }
  .recruit-btn-text { font-size: 0.9375rem; }

  .hero-text--engineer {
    width: 32%;
    left: 3%;
    top: 51%;
  }
  .hero-text--yourlife {
    width: 30%;
    left: 16%;
    top: 55%;
  }
  .hero-text--title01 {
    width: 140%;
    max-width: 140%;
    left: 50%;
    margin-left: -72%;
    top: 65%;
  }
  .hero-text--title02 {
    width: 140%;
    max-width: 140%;
    left: 50%;
    margin-left: -64%;
    top: 75%;
  }

  .note-section { padding: 60px 0; }
  .note-section-header { margin-bottom: 20px; }
  .note-cards { grid-template-columns: 1fr; gap: 14px; }

  .footer-inner { flex-direction: column; gap: 32px; padding-right: 20px; }
  .footer-copy-bar .inner { padding-right: 20px; }
  .footer-copy-inner { flex-direction: column-reverse; gap: 6px; align-items: center; }
  .footer-right { width: 70vw; align-self: flex-end; margin-right: -20px; }
  .footer-illust { margin-top: 0; }
  .footer-nav { gap: 16px 24px; }
  .footer-sns-banner { width: 100%; flex-wrap: wrap; gap: 12px; padding: 12px 20px; justify-content: center; }
  .footer-copy { text-align: center; }

  .inner { padding: 20px; }
  .inner.recruit-inner { padding: 80px 20px; }
  .recruit-deco { width: 110px; top: auto; bottom: 0; transform: none; }
  .fl-banner span { font-size: 1.65rem; }

  .af-banner::before,
  .fl-banner::before {
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    font-size: 2rem;
    letter-spacing: 0.06em;
  }

  /* Contact */
  .page-kv { height: 280px; }
  .contact-section { padding: 60px 0 0; }
  .contact-wrap { padding-bottom: 120px; }
  .contact-deco-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    margin: 0;
  }
  .wpcf7-form label { margin-bottom: 20px; font-size: 0.85rem; }
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form select,
  .wpcf7-form textarea { padding: 12px 14px; font-size: 1rem; }
  .wpcf7-form input.wpcf7-submit { padding: 16px; }

  /* FAQ */
  .faq-section { padding: 60px 0 0; }
  .faq-wrap { padding-bottom: 200px; }
  .faq-deco-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: auto;
    margin: 0;
  }

  /* Message */
  .msg-section { padding: 60px 0 80px; }
  .msg-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .msg-photo-main { width: 100%; }
  .msg-display { font-size: 3.2rem; }
  .msg-copy { font-size: 1.2rem; }

  /* About */
  .about-section { padding: 72px 0 80px; }
  .about-deco--vision { width: 70px; }

  /* Company */
  .company-section { padding: 60px 0 0; }
  .company-top { flex-direction: column; gap: 32px; margin-bottom: 40px; }
  .company-photo { flex: none; width: 100%; max-height: 260px; }
  .company-row dt { flex: 0 0 110px; padding: 16px 16px 16px 0; font-size: 0.8125rem; }
  .company-row dd { padding: 16px 0; font-size: 0.875rem; }
  .company-map iframe { height: 280px; }
}

@media (max-width: 640px) {
  .about-block,
  .about-mission .about-block,
  .about-vision .about-block { grid-template-columns: 1fr; gap: 24px; }
  .about-vision .about-block-photo { order: 0; }
  .about-value-wrap { grid-template-columns: 1fr; gap: 32px; }
  .about-value-deco { position: static; width: 180px; margin: 0 auto; }
  .about-value-list { gap: 36px; }
  .about-other { padding: 60px 0 0; }
  .about-other-photos { grid-template-columns: 1fr; gap: 20px; }
  .about-other-photo:first-child { width: 100%; order: 2; }
  .about-other-photo:last-child { transform: none; order: 1; }
}


/* 20260515追加 */
.af-title {
  font-size: clamp(1.25rem, 2.6vw, 2rem);
}

.af-block-photo img {
  border-radius: 0;
}

/* Block 01・03: photo 右ブリード */
.af-section > .af-block:nth-child(2) .af-block-photo,
.af-section > .af-block:nth-child(4) .af-block-photo {
  border-radius: 16px 0 0 16px;
  margin-right: calc(50% - 50vw);
  width: calc(50vw - 30px);
}

/* Block 02: photo 左ブリード */
.af-section > .af-block:nth-child(3) .af-block-photo {
  border-radius: 0 16px 16px 0;
  margin-left: calc(100% - 50vw + 30px);
  width: calc(50vw - 30px);
}

@media (max-width: 1024px) {
  .af-section > .af-block:nth-child(2) .af-block-photo,
  .af-section > .af-block:nth-child(4) .af-block-photo {
    width: calc(50vw - 20px);
  }
  .af-section > .af-block:nth-child(3) .af-block-photo {
    margin-left: calc(100% - 50vw + 20px);
    width: calc(50vw - 20px);
  }
}

@media (max-width: 768px) {
  .af-section > .af-block:nth-child(2) .af-block-photo,
  .af-section > .af-block:nth-child(4) .af-block-photo {
    margin-right: -32px;
    width: unset;
  }
  .af-section > .af-block:nth-child(3) .af-block-photo {
    margin-left: -32px;
    width: unset;
  }
}

/* ========================================
   fl-section (Flow page / af-section流用)
======================================== */
.fl-section {
  background: #f5fafa;
  padding: 172px 0 0;
}

.fl-lead {
  text-align: center;
  padding: 72px 40px 48px;
}

.fl-lead-main {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.fl-banner {
  text-align: center;
  padding: 18px 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.fl-banner::before {
  content: 'WHY CHOOSE US';
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Figtree', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: rgba(0, 0, 0, 0.03);
  letter-spacing: 0.12em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

@media (max-width: 768px) {
  .fl-banner::before {
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    font-size: 2rem;
    letter-spacing: 0.06em;
  }
}

.fl-banner span {
  position: relative;
  z-index: 1;
  font-size: clamp(2.0625rem, 5.25vw, 3.1875rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.08em;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .fl-banner span { font-size: 1.65rem; }
}

.fl-block {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}
.fl-section > .fl-block:last-child { padding-bottom: 80px; }

.fl-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.fl-title {
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.fl-title span {
  display: inline-block;
  background: #fff;
  color: var(--red);
  padding: 6px 20px;
}

.fl-title--kagi {
  text-indent: -0.5em;
}

.fl-bullet {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 6px;
}

.fl-desc-sub {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.6;
}

.fl-desc {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 2;
}

.fl-block-photo {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.fl-block-photo::before,
.fl-block-photo::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: #f5fafa;
  z-index: 1;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.fl-block-photo::before { left: 0; }
.fl-block-photo::after  { right: 0; }

.fl-block-photo.is-visible::before { transform: translateX(-100%); }
.fl-block-photo.is-visible::after  { transform: translateX(100%); }

.fl-block-photo img {
  width: 100%;
  border-radius: 0;
  display: block;
}

.fl-dot {
  position: absolute;
  width: var(--dot-s, 12px);
  height: var(--dot-s, 12px);
  border-radius: 50%;
  background: var(--dot-c);
  pointer-events: none;
  animation: dot-twinkle var(--dot-dur, 3s) ease-in-out infinite var(--dot-delay, 0s);
}

.fl-block:nth-of-type(even) .fl-block-photo {
  border-radius: 16px 0 0 16px;
  margin-right: calc(50% - 50vw);
  width: calc(50vw - 30px);
}

.fl-block:nth-of-type(odd) .fl-block-photo {
  border-radius: 0 16px 16px 0;
  margin-left: calc(100% - 50vw + 30px);
  width: calc(50vw - 30px);
}

@media (max-width: 1024px) {
  .fl-block:nth-of-type(even) .fl-block-photo {
    width: calc(50vw - 20px);
  }
  .fl-block:nth-of-type(odd) .fl-block-photo {
    margin-left: calc(100% - 50vw + 20px);
    width: calc(50vw - 20px);
  }
}

@media (max-width: 768px) {
  .fl-lead { padding: 48px 24px 32px; }
  .fl-block { padding: 48px 0; overflow: visible; }
  .fl-block-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    direction: ltr !important;
  }
  .fl-block-photo { order: -1; }

  /* Block 01・03（右端にブリード） */
  .fl-section > .fl-block:nth-child(2) .fl-block-photo,
  .fl-section > .fl-block:nth-child(4) .fl-block-photo {
    margin-right: -32px;
    width: unset;
    border-radius: 16px 0 0 16px;
  }

  /* Block 02（左端にブリード） */
  .fl-section > .fl-block:nth-child(3) .fl-block-photo {
    margin-left: -32px;
    width: unset;
    border-radius: 0 16px 16px 0;
  }
}

/* ========================================
   Flow Page
======================================== */
.flow-section {
  padding: 80px 0 100px;
  background: #f5fafa;
}

.flow-section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: grid;
  grid-template-columns: 100px 200px 1fr;
  align-items: stretch;
  background: #fff;
  border: 2px solid var(--teal);
  border-radius: 14px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.flow-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.flow-step-badge {
  background: var(--teal);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 8px;
}

.flow-step-illust {
  overflow: hidden;
}

.flow-step-illust img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flow-step-body {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flow-step-title {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.flow-step-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.85;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.flow-arrow.is-visible {
  opacity: 1;
}

.flow-arrow svg {
  display: block;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .flow-section { padding: 60px 0 80px; }

  .flow-step {
    grid-template-columns: 1fr;
  }

  .flow-step-badge {
    flex-direction: row;
    gap: 6px;
    padding: 14px 20px;
  }

  .flow-step-illust {
    width: 100%;
    max-height: 200px;
    padding: 16px 20px 0;
  }

  .flow-step-illust img {
    object-fit: contain;
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 184px;
    margin: 0 auto;
  }

  .flow-step-body {
    padding: 24px 20px;
  }

  .flow-arrow {
    padding: 4px 0;
    transform: none;
  }
}

/* ============================================================
   Welfare Section
============================================================ */
.welfare-section {
  padding: 80px 0 100px;
  background: #fff;
}

.welfare-head {
  text-align: center;
  margin-bottom: 56px;
}

.welfare-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}

.welfare-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}

.welfare-category {
  margin-bottom: 48px;
}

.welfare-cat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  border-left: 4px solid var(--teal);
  padding-left: 12px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.welfare-insurance-card {
  background: #fff;
  border: 1px solid rgba(46, 196, 196, 0.25);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.welfare-insurance-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
}

.welfare-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.welfare-item-icon svg,
.welfare-item-icon img {
  width: 56px;
  height: 56px;
}

.welfare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.welfare-item {
  background: #fff;
  border: 1px solid rgba(46, 196, 196, 0.2);
  border-radius: 14px;
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.welfare-item-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.welfare-item-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .welfare-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .welfare-section { padding: 60px 0 80px; }
  .welfare-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .welfare-item { padding: 24px 14px 20px; }
  .welfare-item-icon svg, .welfare-item-icon img { width: 46px; height: 46px; }
}

/* ============================================================
   Numbers Section
============================================================ */
.numbers-section {
  padding: 90px 0 100px;
  background: var(--teal);
  position: relative;
}
.numbers-head {
  text-align: center;
  margin-bottom: 60px;
}
.numbers-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.numbers-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}
.numbers-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
}
.numbers-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.numbers-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.numbers-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(46,196,196,0.18);
}
.numbers-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.numbers-icon svg,
.numbers-icon img {
  width: 64px;
  height: 64px;
}
.numbers-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.numbers-value {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.numbers-unit {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--teal);
}
.numbers-sep {
  font-size: 0.65em;
  font-style: normal;
  margin: 0 2px;
  color: var(--teal);
}
.numbers-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}
.numbers-note {
  display: block;
  font-size: 0.6875rem;
  color: #999;
  letter-spacing: 0;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .numbers-section { padding: 60px 0 70px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .numbers-item { padding: 28px 14px 24px; }
  .numbers-icon svg, .numbers-icon img { width: 52px; height: 52px; }
  .numbers-value { font-size: 2.4rem; }
}

/* ============================================================
   Privacy Policy Section
============================================================ */
.privacy-section {
  padding: 80px 0 120px;
  background: #f5fafb;
}

.privacy-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-label {
  font-family: 'Figtree', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--teal);
  text-align: center;
  margin-bottom: 12px;
}

.privacy-intro {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 2;
  text-align: center;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(46, 196, 196, 0.25);
}

.privacy-articles {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.privacy-article {
  padding: 40px 0;
  border-bottom: 1px solid rgba(46, 196, 196, 0.2);
}

.privacy-article:last-child {
  border-bottom: none;
}

.privacy-article-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.5;
}

.privacy-article-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Figtree', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--teal);
  padding: 4px 10px;
  border-radius: 4px;
}

.privacy-article-body {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 2;
}

.privacy-list {
  margin-top: 16px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-list li {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
}

.privacy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.privacy-company-info {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.privacy-company-dl {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.privacy-company-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(46, 196, 196, 0.2);
  padding: 12px 0;
}

.privacy-company-row:first-child {
  border-top: 1px solid rgba(46, 196, 196, 0.2);
}

.privacy-company-row dt {
  flex: 0 0 90px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
}

.privacy-company-row dd {
  font-size: 0.9375rem;
  color: var(--text);
}

.privacy-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.privacy-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 196, 196, 0.35);
}

.privacy-contact-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.privacy-date {
  margin-top: 56px;
  text-align: right;
  font-size: 0.8125rem;
  color: #aaa;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .privacy-section { padding: 60px 0 80px; }
  .privacy-intro { font-size: 0.875rem; margin-bottom: 40px; padding-bottom: 32px; }
  .privacy-article { padding: 28px 0; }
  .privacy-article-title { font-size: 1rem; gap: 12px; }
  .privacy-article-body { font-size: 0.875rem; }
  .privacy-list li { font-size: 0.875rem; }
  .privacy-company-info { flex-direction: column; align-items: flex-start; }
  .privacy-contact-btn { width: 100%; justify-content: center; }
}