/*
 * 転エン株式会社 運営会社ページ — ポータル版
 */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f4f7fb; /* 極薄ブルーグレー */
  --bg-panel: #eaf2fb;
  --bg-cyan-50: #e8fbff;

  /* Ten-sura primary palette */
  --blue: #005cb1;
  --blue-deep: #003f82;
  --blue-ink: #002c5c;
  --cyan: #45e7ff;
  --cyan-soft: #b6f0ff;

  /* Ten-sura category rainbow */
  --cat-yellow: #ffec4f;
  --cat-pink: #ff6bc3;
  --cat-purple: #bb59ff;
  --cat-onair: #56e5ff;
  --cat-lime: #bfff4f;
  --cat-orange: #ffb400;
  --cat-red: #ff3737;
  --cat-cornflower: #448fff;
  --cat-green: #00ff54;

  /* Brand: "縁" 用の 転エン オレンジ */
  --en: #ea580c;
  --en-deep: #c2410c;
  --en-light: #fb923c;

  /* Ink */
  --ink: #0c1e3a;
  --ink-1: #1f2a44;
  --ink-2: #4a5568;
  --ink-3: #7b8498;

  /* Border */
  --border: #d6e1ee;
  --border-blue: rgba(0, 92, 177, 0.2);

  /* Radius（ポップ感のため丸め多め） */
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 44, 92, 0.05), 0 1px 3px rgba(0, 44, 92, 0.06);
  --shadow: 0 6px 18px rgba(0, 44, 92, 0.09), 0 2px 4px rgba(0, 44, 92, 0.05);
  --shadow-lg: 0 20px 40px -12px rgba(0, 44, 92, 0.18);

  /* Type */
  --font-display: "Montserrat", "Inter", sans-serif;
  --font-jp: "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink-1);
  font-family: var(--font-jp);
  font-feature-settings: "palt";
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 外枠の太青フレーム（ten-sura の 12px border 再現） */
body::before,
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--blue);
  z-index: 100;
  pointer-events: none;
}
body::before {
  top: 0;
}
body::after {
  bottom: 0;
}
@media (max-width: 640px) {
  body::before,
  body::after {
    height: 6px;
  }
}

/* ───── Utility ───── */

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow--center {
  display: block;
  text-align: center;
}
.values-title {
  margin-top: 72px;
  margin-bottom: 24px;
  text-align: center;
}
.br-pc {
  display: none;
}
@media (min-width: 768px) {
  .br-pc {
    display: inline;
  }
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
}
.btn:hover {
  text-decoration: none;
}

/* Primary: 青塗り（Nav CTA 用） */
.btn--primary {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  color: #ffffff;
}

/* Accent: 縁のオレンジ（最重要 Service CTA 用） */
.btn--accent {
  background: var(--en);
  color: #ffffff;
  border-color: var(--en);
}
.btn--accent:hover {
  background: var(--en-deep);
  border-color: var(--en-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.3);
  color: #ffffff;
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--ghost:hover {
  background: var(--bg-panel);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 11px;
}
.btn--lg {
  padding: 16px 36px;
  font-size: 14px;
}

/* ───── Nav ───── */
.nav {
  position: sticky;
  top: 10px; /* body::before の分だけオフセット */
  z-index: 60;
  background: var(--blue);
  color: #ffffff;
}
@media (max-width: 640px) {
  .nav {
    top: 6px;
  }
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav__brand:hover {
  color: var(--cyan);
  text-decoration: none;
}

.nav__brand-mark {
  display: inline-flex;
  color: var(--cyan);
}

.nav__brand-text {
  font-family: var(--font-jp);
  font-weight: 700;
}

.nav__links {
  display: none;
  gap: 28px;
  margin-left: auto;
  margin-right: 20px;
}
@media (min-width: 960px) {
  .nav__links {
    display: flex;
  }
}

.nav__links a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #ffffff;
  line-height: 1.1;
  position: relative;
}
.nav__links a:hover {
  color: var(--cyan);
  text-decoration: none;
}

.nav__en {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.nav__ja {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.08em;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.nav__links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Nav の primary ボタンは青背景上なので白塗りに上書き */
.nav .btn--primary {
  background: #ffffff;
  color: var(--blue);
  border-color: #ffffff;
}
.nav .btn--primary:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--blue-deep);
}

@media (max-width: 959px) {
  .nav__inner > .btn {
    margin-left: auto;
  }
}

/* ───── Hero ───── */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 560px;
  padding: 80px 24px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, var(--bg-cyan-50) 0%, var(--bg) 80%),
    radial-gradient(ellipse at 20% 10%, rgba(69, 231, 255, 0.3) 0%, transparent 55%);
}
@media (min-width: 768px) {
  .hero {
    min-height: 680px;
    padding: 96px 24px 88px;
  }
}
@media (min-width: 1024px) {
  .hero {
    min-height: min(80vh, 740px);
    padding: 120px 24px 112px;
  }
}

/* "星"ではなく、ポップな "キラ☆" を散らす */
.hero__starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__starfield span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--cat-yellow);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: popStar 3.5s ease-in-out infinite;
}
.hero__starfield span:nth-child(1) {
  top: 12%;
  left: 8%;
  animation-delay: 0s;
  background: var(--cat-yellow);
}
.hero__starfield span:nth-child(2) {
  top: 28%;
  left: 82%;
  animation-delay: -0.4s;
  background: var(--cat-pink);
  width: 6px;
  height: 6px;
}
.hero__starfield span:nth-child(3) {
  top: 64%;
  left: 14%;
  animation-delay: -0.8s;
  background: var(--cat-onair);
}
.hero__starfield span:nth-child(4) {
  top: 80%;
  left: 72%;
  animation-delay: -1.2s;
  background: var(--cat-orange);
  width: 10px;
  height: 10px;
}
.hero__starfield span:nth-child(5) {
  top: 22%;
  left: 36%;
  animation-delay: -1.6s;
  background: var(--cat-lime);
}
.hero__starfield span:nth-child(6) {
  top: 48%;
  left: 88%;
  animation-delay: -2s;
  background: var(--cat-purple);
  width: 6px;
  height: 6px;
}
.hero__starfield span:nth-child(7) {
  top: 74%;
  left: 44%;
  animation-delay: -2.4s;
  background: var(--cat-yellow);
}
.hero__starfield span:nth-child(8) {
  top: 8%;
  left: 56%;
  animation-delay: -0.2s;
  background: var(--cat-cornflower);
  width: 6px;
  height: 6px;
}
.hero__starfield span:nth-child(9) {
  top: 40%;
  left: 4%;
  animation-delay: -1s;
  background: var(--cat-pink);
}
.hero__starfield span:nth-child(10) {
  top: 86%;
  left: 20%;
  animation-delay: -1.8s;
  background: var(--cat-onair);
  width: 6px;
  height: 6px;
}
.hero__starfield span:nth-child(11) {
  top: 16%;
  left: 68%;
  animation-delay: -0.6s;
  background: var(--cat-orange);
}
.hero__starfield span:nth-child(12) {
  top: 56%;
  left: 60%;
  animation-delay: -2.2s;
  background: var(--cat-lime);
  width: 6px;
  height: 6px;
}
.hero__starfield span:nth-child(13) {
  top: 32%;
  left: 24%;
  animation-delay: -2.6s;
  background: var(--cat-purple);
}
.hero__starfield span:nth-child(14) {
  top: 70%;
  left: 92%;
  animation-delay: -0.9s;
  background: var(--cat-yellow);
  width: 6px;
  height: 6px;
}
.hero__starfield span:nth-child(15) {
  top: 90%;
  left: 50%;
  animation-delay: -1.4s;
  background: var(--cat-pink);
}

@keyframes popStar {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.7) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) rotate(20deg);
  }
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
  mask-image: radial-gradient(ellipse 92% 92% at 50% 50%, #000 30%, rgba(0, 0, 0, 0.55) 75%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 92% 92% at 50% 50%, #000 30%, rgba(0, 0, 0, 0.55) 75%, transparent 100%);
}

.hero__visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}
.hero__visual svg {
  width: min(85vmin, 620px);
  height: auto;
  animation: softFloat 10s ease-in-out infinite;
}
@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__super {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.hero__super-line {
  width: 36px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
}

.hero__title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--blue-ink);
  margin: 0;
  text-align: center;
}

.hero__title em {
  font-style: normal;
  color: var(--en);
  position: relative;
  padding: 0 0.05em;
}
.hero__title em::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 5%;
  height: 26%;
  background: var(--cat-yellow);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.85;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 4px;
}

/* News notice — ポップなカテゴリタグ風 */
.hero__notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-ink);
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.hero__notice:hover {
  background: var(--cat-yellow);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: var(--shadow);
  color: var(--blue-ink);
}

.hero__notice-tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--cat-yellow);
  color: var(--blue-ink);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__notice:hover .hero__notice-tag {
  background: #ffffff;
}

.hero__notice-text {
  font-weight: 600;
}

.hero__notice-arrow {
  color: var(--blue);
  transition: transform 0.2s;
}
.hero__notice:hover .hero__notice-arrow {
  transform: translateX(2px);
}

/* ───── Section base ───── */
.section {
  position: relative;
  padding: 96px 24px;
  background: var(--bg);
}

.section--alt {
  background: var(--bg-soft);
}

.section__inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* Episode 型 section head（ポップな帯状タイトル） */
.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 56px;
}

.section__head--episode {
  padding-bottom: 16px;
}

.section__episode {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: var(--blue);
  color: #ffffff;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}

.section__episode-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}

.section__episode-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.section__titling {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 720px;
  position: relative;
}

.section__title {
  font-family: var(--font-jp);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--blue-ink);
  margin: 0;
  line-height: 1.4;
}

.section__lead {
  font-size: 14px;
  color: var(--ink-2);
  margin: 12px 0 0;
  max-width: 640px;
  line-height: 1.9;
}

/* 見出し下のカラフルな 3 ドット */
.section__ornament {
  display: inline-flex;
  gap: 6px;
  margin-top: 8px;
  align-items: center;
}
.section__ornament::before,
.section__ornament::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.section__ornament::before {
  background: var(--cat-pink);
}
.section__ornament::after {
  background: var(--cyan);
}
.section__titling > .section__ornament {
  position: relative;
}
.section__titling > .section__ornament::after {
  margin-left: 10px;
}
/* 中央の黄色ドット */
.section__titling::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cat-yellow);
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
  margin-top: 6px;
}

/* ───── Manifesto ───── */
.manifesto {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.manifesto__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 28px 28px;
  text-align: center;
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .manifesto__row {
    grid-template-columns: 140px 1fr;
    gap: 28px;
    padding: 32px 36px;
    text-align: left;
    align-items: center;
  }
}

.manifesto__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: var(--blue);
  color: #ffffff;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  width: fit-content;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .manifesto__label {
    margin: 0;
  }
}

.manifesto__statement {
  font-family: var(--font-jp);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--blue-ink);
}

/* ───── Values (ポップなカード 5 枚、各色違い) ───── */
.values {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.value {
  position: relative;
  background: #ffffff;
  padding: 24px 20px 22px;
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  overflow: hidden;
}

/* カード上部に太いカテゴリ色の帯 */
.value::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--cat-yellow);
}
.value:nth-child(1)::before {
  background: var(--cat-yellow);
}
.value:nth-child(2)::before {
  background: var(--cat-pink);
}
.value:nth-child(3)::before {
  background: var(--cat-onair);
}
.value:nth-child(4)::before {
  background: var(--cat-lime);
}
.value:nth-child(5)::before {
  background: var(--cat-orange);
}

.value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value__number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 10px;
}

.value__title {
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 900;
  color: var(--blue-ink);
  margin: 0 0 10px;
  letter-spacing: 0.03em;
}

.value__body {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0;
}

/* ───── Service (flagship) ───── */

.service-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .service-feature {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

.service-feature__body {
  max-width: 560px;
}

.service-feature__lead {
  font-family: var(--font-jp);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.75;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--blue-ink);
  margin: 0 0 18px;
}

.service-feature__text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  margin: 0 0 28px;
}

.service-feature__aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-logo {
  text-align: center;
  padding: 28px 24px;
  background: var(--bg-cyan-50);
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(69, 231, 255, 0.18) 0%, transparent 55%);
  pointer-events: none;
  animation: haloPulse 5s ease-in-out infinite;
}

@keyframes haloPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.service-logo__img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.highlight {
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: var(--r);
  padding: 16px 14px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  position: relative;
}
.highlight:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.highlight:nth-child(1) {
  border-color: var(--cat-pink);
}
.highlight:nth-child(2) {
  border-color: var(--cat-onair);
}
.highlight:nth-child(3) {
  border-color: var(--cat-purple);
}
.highlight:nth-child(4) {
  border-color: var(--cat-orange);
}

.highlight__label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.highlight__value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--blue-ink);
  line-height: 1.2;
}

.highlight__value small {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 2px;
  color: var(--ink-2);
  letter-spacing: 0;
}

/* ───── Business areas (ten-sura 風の 2x2 バナーカード) ───── */
.services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 720px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service {
  position: relative;
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  overflow: hidden;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service:nth-child(1) .service__icon {
  background: var(--cat-yellow);
  color: var(--blue-ink);
}
.service:nth-child(2) .service__icon {
  background: var(--cat-pink);
  color: #ffffff;
}
.service:nth-child(3) .service__icon {
  background: var(--cat-onair);
  color: var(--blue-ink);
}
.service:nth-child(4) .service__icon {
  background: var(--cat-orange);
  color: #ffffff;
}

.service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  color: var(--blue);
  margin-bottom: 18px;
  transition: transform 0.25s;
}

.service:hover .service__icon {
  transform: rotate(-6deg) scale(1.06);
}

.service__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 3px 10px;
  background: var(--bg-panel);
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}

.service__title {
  font-family: var(--font-jp);
  font-size: 19px;
  font-weight: 900;
  color: var(--blue-ink);
  margin: 0 0 12px;
  letter-spacing: 0.03em;
}

.service__body {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-2);
  margin: 0 0 18px;
}

.service__meta {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--ink-3);
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  letter-spacing: 0.06em;
}

.services__note {
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-3);
  text-align: center;
}

/* ───── About ───── */
.about {
  max-width: 720px;
  margin: 0 auto;
}

.info-list {
  margin: 0;
  padding: 24px 28px;
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.info-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border);
}
.info-row:last-child {
  border-bottom: none;
}

@media (min-width: 640px) {
  .info-row {
    grid-template-columns: 180px 1fr;
    gap: 24px;
  }
}

.info-row__label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}
@media (min-width: 640px) {
  .info-row__label {
    text-align: right;
  }
}

.info-row__value {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

/* ───── Contact ───── */
.contact {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact__title {
  font-family: var(--font-jp);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  color: var(--blue-ink);
}

.contact__lead {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.9;
}

/* ───── Footer ───── */
.footer {
  background: var(--blue);
  color: #ffffff;
  position: relative;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    gap: 56px;
  }
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.footer__tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
  margin: 0;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 640px) {
  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}

.footer__col a {
  color: #ffffff;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--cyan);
  text-decoration: none;
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}

/* ───── Focus ───── */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cat-yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ───── Reduced motion ───── */
@media (prefers-reduced-motion: reduce) {
  .hero__starfield span,
  .service-logo::before,
  .hero__visual svg {
    animation: none !important;
  }
}
