/* === Intro / Loader === */
.intro {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: var(--sumi);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.intro-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 70%,
      rgba(20, 58, 96, 0.5) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 70% 30%,
      rgba(178, 56, 42, 0.15) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, #081a2d 0%, #0e2a47 50%, #081a2d 100%);
}
.intro-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 119px,
      rgba(255, 255, 255, 0.025) 119px,
      rgba(255, 255, 255, 0.025) 120px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 119px,
      rgba(255, 255, 255, 0.025) 119px,
      rgba(255, 255, 255, 0.025) 120px
    );
  animation: gridMove 60s linear infinite;
}
@keyframes gridMove {
  to {
    background-position:
      120px 120px,
      120px 120px;
  }
}
.intro-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 40px;
  max-width: 1400px;
}
.intro-text {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.375rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.18em;
  color: var(--white);
}
.intro-text .line {
  display: block;
  overflow: hidden;
  margin-bottom: 8px;
}
.intro-text .line > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.intro-text .accent {
  color: var(--shinchu-light);
}
.intro-text .accent-red {
  color: var(--omibeni-light);
}
.intro-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.intro-logo-mark {
  width: 140px;
  height: 140px;
}
.intro-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(178, 56, 42, 0.4));
}
.intro-logo-text {
  font-family: "Shippori Mincho", serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--white);
  text-align: center;
  width: 100%;
}
.intro-logo-text .en {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  color: var(--shinchu-light);
  margin-top: 8px;
  font-weight: 600;
  text-align: center;
}
.intro-skip {
  position: absolute;
  bottom: 30px;
  right: 40px;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  z-index: 20;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}
.intro-skip:hover {
  border-color: var(--omibeni);
  color: var(--white);
}

/* ========================================
   main visual
   ======================================== */
.fv {
  overflow: hidden;
}
/* 上のグレー部分 */
.fv-top {
  margin-top: 98.59px;
  background: var(--gray);
  padding: 70px 8%;
  position: relative;
}
.fv-top h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  color: var(--aitetsu);
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  line-height: 1.2;
}
.fv-bottom {
  background: var(--aitetsu);
  margin-top: -80px;
  padding: 60px 8% 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
}
.fv-copy {
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1.6;
  color: var(--white);
  font-family: "Shippori Mincho", serif;
  margin-bottom: 30px;
}
/* イントロのスライドアウト中に先に見えてしまわないよう、
   ページ読み込み時点から非表示にしておき、JS側で
   イントロ完全終了後にふわっと表示する */
.fv-top h1,
.fv-copy,
.fv-left .cta-btn {
  opacity: 0;
  transform: translateY(40px);
}
.fv-right img {
  width: clamp(17.75rem, 30vw, 29.375rem);
  opacity: 0;
  transform: scale(0.7);
}
@keyframes scrollPulse {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }
  50% {
    transform-origin: top;
    transform: scaleY(1);
  }
  51% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

/* === Section base === */
section {
  position: relative;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
}
.section-meta {
  display: flex;
  gap: 80px;
  margin-bottom: 80px;
  align-items: flex-end;
}
.top-section-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--sumi);
  text-align: center;
}
.top-section-title span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-section-title span:before {
  margin-right: 1em;
}
.top-section-title span:after {
  margin-left: 1em;
}
/* === 志 Purpose Section === */
.purpose {
  background: var(--white);
  padding: 200px 80px;
  position: relative;
  overflow: hidden;
}
.purpose::before {
  content: "志";
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  font-family: "Shippori Mincho", serif;
  font-size: 55rem;
  font-weight: 800;
  color: var(--aitetsu);
  opacity: 0.04;
  line-height: 0.85;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
}
/* Top header band — 志 character + manifesto */
.purpose-header-band {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  position: relative;
  z-index: 2;
}
.purpose-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--sumi);
  margin-bottom: 32px;
}
.purpose-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--sumi);
}
.purpose-kanji-block {
  flex-shrink: 0;
  position: relative;
}
.purpose-kanji {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(6rem, 14vw, 12.5rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--aitetsu);
  letter-spacing: -0.02em;
  position: relative;
  text-align: right;
}
.purpose-manifesto {
  flex: 1;
  padding-bottom: 12px;
}
.purpose-manifesto p {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 2.2;
  color: var(--aitetsu);
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-left: 50px;
}
/* Diagram — 3-circle 三方よし visual */
.philosophy-diagram-pc {
  display: block;
}
.philosophy-diagram-sp {
  display: none;
}
.philosophy-diagram-wrap {
  max-width: 640px;
  width: 100%;
  margin: 0 auto 100px;
  position: relative;
  z-index: 2;
}
.philosophy-diagram {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(20, 58, 96, 0.12));
}
.philosophy-diagram .circle-shape {
  transform-origin: center;
}
/* Bullet explanations under diagram */
.philosophy-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}
.philo-bullet {
  position: relative;
}
.philo-bullet-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 24px;
}
.philo-bullet h4 {
  font-family: "Shippori Mincho", serif;
  font-size: 1.7rem;
  color: var(--sumi);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.philo-bullet p {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--sumi);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.purpose-cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.purpose-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background: var(--omibeni);
  color: var(--white);
  font-family: "Shippori Mincho", serif;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.purpose-cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--omibeni-light);
  opacity: 0.9;
}
.purpose-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--aitetsu);
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.purpose-cta:hover {
  transform: translateY(-4px);
}
.purpose-cta:hover::after {
  transform: translateY(0);
}
.purpose-cta-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
}
.purpose-cta-arrow {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.4s;
}
.purpose-cta:hover .purpose-cta-arrow {
  border-color: var(--omibeni);
  background: var(--omibeni);
  transform: rotate(-45deg);
}
.purpose-cta-arrow svg {
  width: 12px;
  height: 12px;
}
/* ========================================
   SERVICES — Navy header bar style (image 2 reference, upgraded)
   ======================================== */
.services {
  background: var(--gray);
  padding: 180px 80px;
  position: relative;
}
.services-intro {
  width: 100%;
  margin-bottom: 16px;
  text-align: center;
}
.services-intro .top-section-title h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  margin-bottom: 24px;
  text-align: center;
}
.services-intro .top-section-title {
  font-size: clamp(26px, 4.5vw, 60px);
  margin-bottom: 80px;
  text-align: center;
}
.services-intro .section-lead {
  margin: 0 auto;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 1.0625rem;
  font-weight: 600;
}

.services-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.service-block {
  background: var(--white);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid var(--line);
}
.service-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(20, 58, 96, 0.15);
  border-color: var(--aitetsu);
}
.service-header {
  background: var(--aitetsu);
  color: var(--white);
  padding: 26px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.service-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background: var(--omibeni);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);

  width: 100%;
  opacity: 0;
}
.service-block:hover .service-header::after {
  opacity: 1;
}
.service-header > * {
  position: relative;
  z-index: 2;
}
.service-header-name {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  flex: 1;
}
.service-header-en {
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
}
.service-header-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--aitetsu);
  border-radius: 50%;
  transition: all 0.4s;
}
.service-block:hover .service-header-arrow {
  background: var(--omibeni);
  color: var(--white);
  transform: rotate(-45deg);
}
.service-header-arrow svg {
  width: 14px;
  height: 14px;
}
.service-body {
  padding: 40px;
  font-family: "Shippori Mincho", serif;
}
.service-body-text {
  font-weight: 600;
  font-size: 1rem;
  line-height: 2;
  color: var(--sumi);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  max-width: 100%;
  text-align: justify;
}
.service-targets {
  font-weight: 500;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
}
.service-targets-label {
  font-family: "Shippori Mincho", serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--aitetsu);
  letter-spacing: 0.1em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--gray);
  padding: 2px 6px;
}
.service-target {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Shippori Mincho", serif;
  font-size: 0.9375rem;
  color: var(--sumi);
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s;
}
.service-target::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--aitetsu);
  border-bottom: 1.5px solid var(--aitetsu);
  transform: rotate(-45deg);
  display: inline-block;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.service-target:hover {
  color: var(--omibeni);
}
.service-target:hover::before {
  border-color: var(--omibeni);
}

/* ===== Section Title Center ===== */

.services .section-meta,
.numbers .section-meta,
.cases .section-meta,
.resources .section-meta,
.news .section-meta {
  justify-content: center;
  text-align: center;
}

.services .top-section-title,
.numbers .top-section-title,
.cases .top-section-title,
.resources .top-section-title,
.news .top-section-title {
  width: 100%;
  text-align: center;
}

.services .section-lead,
.numbers .section-lead,
.cases .section-lead,
.resources .section-lead,
.news .section-lead {
  text-align: center;
  margin: 0 auto;
  font-weight: 600;
  line-height: 2.2rem;
}

/* ========================================
   CASES — Coming Soon placeholder
   ======================================== */
.cases {
  background: var(--white);
  color: var(--sumi);
  padding: 180px 80px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cases .top-section-title {
  color: var(--sumi);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.case-card-placeholder {
  position: relative;
  background: var(--off-white);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 36px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-card-placeholder:hover {
  background: var(--white);
  border-color: var(--aitetsu);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(20, 58, 96, 0.1);
}
.case-card-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 16px,
    rgba(20, 58, 96, 0.025) 16px,
    rgba(20, 58, 96, 0.025) 32px
  );
  pointer-events: none;
}
.case-card-placeholder > * {
  position: relative;
  z-index: 2;
}
.case-placeholder-num {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--omibeni);
}
.case-placeholder-icon {
  width: 80px;
  height: 80px;
  margin: 24px 0;
  border: 1px solid var(--sekkai);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  position: relative;
}
.case-placeholder-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--sekkai);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
.case-placeholder-icon svg {
  width: 32px;
  height: 32px;
  color: var(--aitetsu);
}
.case-placeholder-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-placeholder-label {
  font-family: "Shippori Mincho", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--aitetsu);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.case-placeholder-en {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--tan-sumi);
  margin-bottom: 24px;
}
.case-card-placeholder:hover {
  background: var(--aitetsu);
  color: var(--white);
}

/* === Numbers === */
.numbers {
  background: var(--aitetsu);
  color: var(--white);
  padding: 140px 80px;
  position: relative;
  overflow: hidden;
}
.numbers .top-section-title {
  color: var(--white);
}
.numbers .section-lead {
  color: var(--white);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}
.number-cell {
  padding: 60px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.number-cell:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.number-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 0;
  background: var(--omibeni);
  transition: height 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.number-cell.active::before {
  height: 100%;
}
.number-label {
  font-family: "Shippori Mincho", serif;
  font-weight: 800;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 24px;
}
.number-value {
  font-family: "Inter", sans-serif;
  font-size: clamp(3.75rem, 9vw, 8.125rem);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.number-value .unit {
  font-size: 0.22em;
  font-weight: 500;
  color: var(--white);
  font-family: "Shippori Mincho", serif;
}
.number-desc {
  font-size: 0.8125rem;
  color: var(--white);
  margin-top: 16px;
  font-family: "Shippori Mincho", serif;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* === News === */
.news {
  background: var(--white);
  padding: 160px 80px;
}

.news-list {
  margin-top: 60px;
  border-top: 1px solid var(--aitetsu);
}

.news-item {
  display: grid;
  grid-template-columns: 180px 1fr 40px;
  align-items: center;
  column-gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(20, 58, 96, 0.15); /* ← 項目ごとの線 */
  transition: background .3s, transform .3s, padding .3s;
}

.news-item:hover {
  padding: 28px 16px;
  background: var(--off-white);
}

.news-date {
  white-space: nowrap;
  color: #8e8b86;              /* 元画像に近いグレー */
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;         /* 14px */
  font-weight: 600;            /* 太字 */
  letter-spacing: 0.02em;
  line-height: 1;
}

.news-title {
  font-family: "Shippori Mincho", serif; /* タイトルを明朝体に戻す */
}

.news-arrow {
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--sumi);
  transition: transform .4s, color .4s;
}

.news-item:hover .news-arrow svg {
  transform: translateX(8px);
  color: var(--omibeni);
}

/* === Resources === */
.resources {
  background: var(--off-white);
  padding: 180px 80px;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.resource-card {
  background: var(--white);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.resource-card:hover {
  transform: translateY(-8px);
  border-color: var(--aitetsu);
  box-shadow: 0 20px 40px rgba(20, 58, 96, 0.08);
}
.resource-thumb {
  aspect-ratio: 5 / 3;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: var(--white);
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  overflow: hidden;
}
.resource-thumb::before {
  content: "WHITE PAPER";
  position: absolute;
  top: 24px;
  left: 32px;
  font-family: "Inter", sans-serif;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.7);
}
.resource-thumb::after {
  content: "";
  position: absolute;
  /*inset: 0;*/
  top: 0;
  left: 0;
  right: 0;
  height: 70%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}
.resource-thumb > * {
  position: relative;
  z-index: 2;
}
.resource-thumb.r1 {
  background: var(--aitetsu);
}
.resource-thumb.r2 {
  background: var(--sumi);
}
.resource-thumb.r3 {
  background: var(--aitetsu);
}
.resource-body {
  padding: 28px 32px;
}
.resource-cat {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--aitetsu);
  margin-bottom: 16px;
}
.resource-title {
  font-family: "Shippori Mincho", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sumi);
  line-height: 1.9;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.resource-dl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--omibeni);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--omibeni);
}

/* === CTA === */
.cta-section {
  background: var(--gray);
  color: var(--sumi);
  padding: 200px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}
.cta-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 60px;
  color: var(--sumi);
}
.cta-title em {
  font-style: italic;
  color: var(--shinchu-light);
  font-weight: 500;
}
.cta-sub {
  line-height: 2;
  color: var(--sumi);
  max-width: 640px;
  margin: 0 auto 60px;
  font-weight: 700;
  line-height: 2.2;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 24px 40px;
  background: var(--omibeni);
  color: var(--white);
  font-family: "Shippori Mincho", serif;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  position: relative;
  overflow: hidden;
  font-size: 1.2rem;
}
.cta-btn::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--omibeni-light);
}
.cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-btn:hover {
  color: var(--omibeni);
}
.cta-btn:hover::after {
  transform: translateY(0);
}
.cta-btn * {
  position: relative;
  z-index: 2;
}
.cta-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s;
}
.cta-btn:hover svg {
  transform: translateX(8px);
}

@media (max-width: 1279px) {
  .purpose-header-band {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .purpose-kanji-block {
    width: 100%;
    margin-bottom: 24px;
  }
  .purpose-kanji {
    text-align: left;
  }
  .purpose-manifesto {
    width: 100%;
    padding-bottom: 0;
    margin-left: 0;
  }
  .purpose-manifesto p {
    margin-left: 0;
    text-align: left;
  }
}
@media (max-width: 1010px) {
  .resources-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
  }
  .resource-card {
    width: 100%;
    max-width: 710px; /* スクショくらいのサイズ */
  }
  .resource-thumb {
    aspect-ratio: 25 / 8;
    padding: 20px;
  }
  .resource-thumb::before {
    left: 20px;
  }
  .resource-body {
    padding: 28px 20px;
  }
  .resources {
    padding: 120px 20px;
  }
  .resources-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 40px;
    overflow: visible;
  }
  .resource-card {
    width: calc(100vw - 40px);
    max-width: 500px;
  }
  .resource-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 0;
  }
  .purpose {
  padding: 100px 80px;
}
}
@media (max-width: 840px) {
  .cta-btn {
    font-size: 1.062rem !important;
    padding: 24px 20px;
  }
}
@media (max-width: 768px) {
  .intro-logo {
    width: 100%;
    padding: 0 20px;
  }
  .intro-logo-text {
    width: 100%;
    text-align: center;
    letter-spacing: 0.08em;
    line-height: 1.6;
  }
  .intro-skip {
    bottom: 20px;
    right: 20px;
  }
  .intro-content {
    padding: 0;
  }
  /* ========= FV全体 ========= */
  .fv {
    margin-top: 67px;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* 上段グレー */
  .fv-top {
    margin-top: 0;
    padding: 30px 20px 70px;
    text-align: left;
  }
  .fv-top h1 {
    line-height: 1.4;
    text-align: left;
    margin-bottom: 20px;
    height: 35px;
  }
  /* 下段ネイビー */
  .fv-left .cta-btn,
  .fv-left .purpose-cta,
  .fv-left a[class*="btn"] {
    margin: 20px auto 0;
    justify-content: center;
    padding: 20px;
  }
  .cta-btn {
    font-size: 1.062rem !important;
  }
  .fv-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 30px 40px 20px 20px;
  }
  .fv-left {
    width: 65%;
  }
  .fv-right {
    display: block;
    width: 35%;
  }
  .fv-right img {
    width: 100%;
  }
  .fv-copy {
    text-align: left;
    margin-bottom: 0;
    line-height: 1.5;
  }
  .fv-left p {
    text-align: left;
  }
  .cta-btn svg {
    display: none;
  }
  /* ========= FV全体 end ========= */
  .cta-btn {
    padding: 20px 48px;
  }
  .purpose-cta {
    padding: 20px 24px;
  }
  .services .section-meta,
  .services-intro .top-section-title,
  .numbers .section-meta,
  .cases .section-meta,
  .resources .section-meta,
  .news .section-meta {
    margin-bottom: 30px;
  }
  /* Diagram — 3-circle 三方よし visual */
  .philosophy-diagram-pc {
    display: none;
  }
  .philosophy-diagram-sp {
    display: block;
    margin: 0 auto;
  }
  .philosophy-diagram-wrap {
    width: calc(100% + 40px);
    max-width: none;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 60px;
  }
  .philo-bullet h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }
  .purpose-kanji {
    text-align: left;
  }
  section {
    position: relative;
    padding: 0;
  }
  /* Services */
  .service-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
  }
  .service-body {
    padding: 20px;
  }
  .service-body-text br {
    display: none;
  }
  .service-targets-label::after {
    display: none;
  }
  .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .service-header-arrow {
    display: none;
  }
  .service-body {
    padding: 24px;
  }
  .service-targets {
    flex-direction: column;
    align-items: flex-start;
  }
  .service-targets-label::after {
    display: none;
  }
  .services-intro .top-section-title {
    margin-bottom: 50px;
  }
  .services {
    background: var(--gray);
    padding: 80px 20px;
    position: relative;
  }
  .top-section-title span:before,
  .top-section-title span:after {
    display: none;
  }
  .resource-thumb {
    aspect-ratio: 8 / 2.2;
    padding: 20px;
  }
  .numbers,
  .cases,
  .resources,
  .news,
  .cta-section {
    padding: 80px 20px;
  }
  .number-cell {
    padding: 30px;
  }
  .number-label {
    margin-bottom: 15px;
  }
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }
  section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  section,
  .purpose,
  .services,
  .numbers,
  .cases,
  .resources,
  .news,
  .cta-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .purpose {
    padding-top: 80px;
    padding-bottom: 60px;
  }
  .purpose-header-band {
    gap: 20px;
    margin-bottom: 60px;
    padding-bottom: 40px;
  }
  .purpose-manifesto {
    margin-left: 0;
  }
  .purpose-manifesto p {
    line-height: 1.8;
  }
  .purpose-manifesto {
    padding-bottom: 0;
  }
  .purpose-cta-group {
    grid-template-columns: 1fr;
  }
  .philosophy-bullets {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 30px;
  }
  .philo-bullet:last-child p:last-child {
    margin-bottom: 50px;
  }
  .resource-cat {
    padding-left: 0;
  }
  /* Numbers */
  .numbers-grid {
    grid-template-columns: 1fr;
  }
  .number-cell {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }
  /* Cases & Resources */
  .cases-grid,
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* News */
  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .cta-title {
    font-size: 1.6rem;
  }
  .cta-sub {
    text-align: justify;
  }
  .cta-sub br {
    display: none;
  }
  .intro-skip {
    bottom: 20px;
    right: 20px;
  }
}
@media (max-width: 530px) {
  .fv-right {
    display: none;
  }
  .fv-left {
    width: 100%;
  }
  .resource-thumb::before {
    display: none;
  }
  .philo-bullet p{
    letter-spacing: 0.01em;
  }
}
