/* ============================================================
   犬猫総合製薬株式会社 / Recruit Page
   Concept: 「やさしい紙の上の、編集された日記」
   Editorial × Soft sky × Warm cream
   ============================================================ */

:root {
  /* color */
  --j-cream: #fbf7ee;
  --j-cream-soft: #fdfaf3;
  --j-cream-deep: #f3ecdb;
  --j-paper: #fffdf7;
  --j-ink: #1f2024;
  --j-ink-soft: #54565d;
  --j-ink-mute: #8c8d92;
  --j-line: #e6dfcc;
  --j-line-soft: #efe9d8;

  --j-sky: #64c7ff;
  --j-sky-deep: #1f9ee2;
  --j-sky-soft: #e7f5ff;
  --j-sky-pale: #f3faff;

  --j-gold: #c69447;
  --j-gold-soft: #e8d4a3;

  /* type */
  --j-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --j-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --j-serif: "Fraunces", "Cormorant Garamond", Georgia, serif;

  /* layout — mobile-first, unified width across all viewports */
  --j-wide: 460px;
  --j-narrow: 460px;
  --j-list-wide: 460px;

  /* easing */
  --j-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--j-cream);
  color: var(--j-ink);
  font-family: var(--j-sans);
  font-weight: 400;
  font-feature-settings: "palt";
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  /* paper grain */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(100, 199, 255, 0.05), transparent 60%),
    radial-gradient(circle at 85% 80%, rgba(198, 148, 71, 0.04), transparent 55%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.35 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   Header
   ============================================================ */
.j-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(251, 247, 238, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(230, 223, 204, 0.6);
}

.j-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(calc(100% - 32px), var(--j-wide));
  margin: 0 auto;
  height: 60px;
}

.j-brand__logo { height: 28px; }
.j-brand__name { font-size: 0.78rem; }

.j-header__cta {
  height: 36px;
  padding: 0 14px;
  font-size: 0.72rem;
}

.j-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.j-brand__logo { height: 32px; width: auto; }

.j-brand__name {
  font-family: var(--j-mincho);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--j-ink);
}

.j-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--j-ink);
  border-radius: 999px;
  background: var(--j-paper);
  color: var(--j-ink);
  font-family: var(--j-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.4s var(--j-ease);
}

.j-header__cta:hover {
  background: var(--j-ink);
  color: var(--j-paper);
  transform: translateY(-1px);
}

.j-arrow {
  display: inline-block;
  font-family: var(--j-serif);
  font-style: italic;
  transition: transform 0.3s var(--j-ease);
}

.j-header__cta:hover .j-arrow,
.j-btn:hover .j-arrow { transform: translateX(4px); }

/* ============================================================
   Main / shared
   ============================================================ */
.j-main { padding-top: 60px; }

.j-section {
  width: min(calc(100% - 32px), var(--j-narrow));
  margin: 0 auto;
  padding: 64px 0 0;
  position: relative;
}

.j-section__head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--j-line);
}

.j-num {
  font-family: var(--j-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--j-sky-deep);
  letter-spacing: -0.03em;
}

.j-kicker {
  margin: 0;
  font-family: var(--j-mincho);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--j-ink);
}

.j-prose {
  margin: 0 0 16px;
  font-size: 0.96rem;
  line-height: 1.95;
  color: var(--j-ink-soft);
  letter-spacing: 0.04em;
}

.j-prose:last-child { margin-bottom: 0; }

.j-prose--lead {
  font-family: var(--j-mincho);
  font-size: 1.02rem;
  color: var(--j-ink);
  font-weight: 500;
  line-height: 1.95;
}

.j-rule {
  display: inline-block;
  width: 44px;
  height: 1px;
  background: var(--j-ink);
  vertical-align: middle;
}

.j-rule--gold { background: var(--j-gold); }

/* ============================================================
   Hero
   ============================================================ */
.j-hero {
  width: min(calc(100% - 32px), var(--j-wide));
  margin: 0 auto;
  padding: 44px 0 32px;
  position: relative;
}

.j-hero::before {
  content: "";
  position: absolute;
  top: 30px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(100, 199, 255, 0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.j-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}

.j-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.j-hero__meta-text {
  font-family: var(--j-serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--j-ink);
  text-transform: uppercase;
}

.j-hero__title {
  margin: 0 0 28px;
  font-family: var(--j-mincho);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--j-ink);
}

.j-hero__title span {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: j-rise 0.9s var(--j-ease) forwards;
}

.j-hero__title span:nth-child(1) { animation-delay: 0.05s; }
.j-hero__title span:nth-child(2) { animation-delay: 0.20s; }
.j-hero__title span:nth-child(3) { animation-delay: 0.35s; }

.j-hero__title em {
  font-style: normal;
  color: var(--j-sky-deep);
}

@keyframes j-rise {
  to { opacity: 1; transform: translateY(0); }
}

.j-hero__sub {
  margin: 0 0 12px;
  font-family: var(--j-sans);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--j-ink-soft);
  line-height: 1.7;
}

.j-hero__seo {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: 0.94rem;
  line-height: 1.95;
  color: var(--j-ink-soft);
  letter-spacing: 0.03em;
}

.j-hero__brand {
  font-family: var(--j-mincho);
  font-weight: 700;
  color: var(--j-ink);
  background: linear-gradient(180deg, transparent 65%, var(--j-sky-soft) 65%);
  padding: 0 4px;
}

.j-hero__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.j-hero__cta-note {
  margin: 0;
  font-family: var(--j-mincho);
  font-size: 0.82rem;
  color: var(--j-ink-mute);
  letter-spacing: 0.04em;
}

/* ---- buttons ---- */
.j-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--j-ink);
  color: var(--j-paper);
  font-family: var(--j-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all 0.4s var(--j-ease);
  position: relative;
  overflow: hidden;
}

.j-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--j-sky-deep), var(--j-sky));
  opacity: 0;
  transition: opacity 0.4s var(--j-ease);
}

.j-btn:hover::before { opacity: 1; }
.j-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(31, 158, 226, 0.25); }
.j-btn > span { position: relative; z-index: 1; }

.j-btn--lg {
  height: 56px;
  padding: 0 30px;
  font-size: 0.92rem;
}

/* ---- hero passage (台本トーンの引用文) ---- */
.j-hero__passage {
  position: relative;
  margin: 8px 0 0;
  padding: 6px 4px 6px 28px;
}

.j-hero__passage::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 1px;
  height: calc(100% - 20px);
  background: var(--j-sky-deep);
  opacity: 0.55;
}

.j-hero__passage-lead {
  margin: 0 0 22px;
  font-family: var(--j-mincho);
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.08em;
  color: var(--j-ink);
}

.j-hero__passage-body {
  margin: 0;
  font-family: var(--j-mincho);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--j-ink-soft);
}

.j-photo {
  position: relative;
  margin: 0;
  background: var(--j-cream-soft);
  border: 1px solid var(--j-line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 24px 50px -22px rgba(31, 158, 226, 0.18),
    0 4px 14px -6px rgba(36, 30, 20, 0.08);
}

.j-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.j-photo--frame { aspect-ratio: 4 / 3; }
.j-photo--wide { aspect-ratio: 16 / 9; }

.j-photo__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--j-ink);
  opacity: 0.55;
}
.j-photo__corner--tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.j-photo__corner--tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.j-photo__corner--bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.j-photo__corner--br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.j-photo__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
  margin: 0;
  padding: 8px 12px 8px 12px;
  background: rgba(255, 253, 247, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 2px;
}

.j-photo__caption-no {
  font-family: var(--j-serif);
  font-style: italic;
  font-size: 0.74rem;
  color: var(--j-ink-mute);
  letter-spacing: 0.04em;
}

.j-photo__caption-text {
  font-family: var(--j-serif);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--j-ink);
  letter-spacing: 0.04em;
}

/* ============================================================
   01 私たちの想い
   ============================================================ */
.j-section__visual {
  margin-top: 32px;
}

.j-section--wish { padding-top: 48px; }

.j-pull {
  margin: 0 0 24px;
  font-family: var(--j-mincho);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--j-ink);
  position: relative;
  padding-top: 22px;
}

.j-pull::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--j-sky-deep);
}

.j-mark {
  font-family: var(--j-mincho);
  font-weight: 700;
  color: var(--j-ink);
  background: linear-gradient(180deg, transparent 60%, var(--j-sky-soft) 60%);
  padding: 0 2px;
}

/* ============================================================
   02 split layout
   ============================================================ */
.j-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.j-split__visual { padding-top: 0; }

/* ============================================================
   03 募集していること
   ============================================================ */
.j-section--openings {
  /* 全幅の背景パネルで「特集ゾーン」化 */
  width: 100%;
  padding: 76px 0 72px;
  margin-top: 64px;
  background:
    linear-gradient(180deg,
      var(--j-cream-deep) 0%,
      var(--j-sky-pale) 30%,
      var(--j-sky-pale) 70%,
      var(--j-cream) 100%
    );
  border-top: 1px solid var(--j-line);
  border-bottom: 1px solid var(--j-line);
  overflow: hidden;
}

.j-section--openings > * {
  width: min(calc(100% - 32px), var(--j-list-wide));
  margin-left: auto;
  margin-right: auto;
}

.j-section--openings .j-section__head {
  width: min(100%, var(--j-narrow));
  margin-left: auto;
  margin-right: auto;
}

.j-openings__lead {
  width: min(100%, var(--j-narrow));
  margin: -6px auto 34px;
  font-family: var(--j-mincho);
  font-size: 0.96rem;
  line-height: 1.95;
  color: var(--j-ink-soft);
  letter-spacing: 0.05em;
}

.j-openings {
  display: grid;
  gap: 14px;
  position: relative;
}

.j-openings::before {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100, 199, 255, 0.25), transparent);
  pointer-events: none;
}

.j-opening {
  position: relative;
  z-index: 1;
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid rgba(255, 253, 247, 0);
  box-shadow: 0 18px 42px -34px rgba(31, 32, 36, 0.22);
  transition:
    border-color 0.35s var(--j-ease),
    transform 0.35s var(--j-ease),
    box-shadow 0.35s var(--j-ease);
}

.j-opening--featured,
.j-opening:hover,
.j-opening:focus-within {
  border-color: var(--j-sky-deep);
  box-shadow: 0 20px 46px -34px rgba(31, 158, 226, 0.32);
}

.j-opening:hover { transform: translateY(-1px); }

.j-opening__summary {
  min-height: 92px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  cursor: pointer;
  list-style: none;
}

.j-opening__summary::-webkit-details-marker { display: none; }

.j-opening__no {
  font-family: var(--j-serif);
  font-size: 0.9rem;
  font-weight: 500;
  color: #aab3b6;
  letter-spacing: 0.12em;
}

.j-opening__title {
  font-family: var(--j-mincho);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--j-ink);
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.j-opening__count {
  min-width: 52px;
  font-family: var(--j-mincho);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--j-ink);
  letter-spacing: 0.08em;
  text-align: right;
  white-space: nowrap;
}

.j-opening__plus {
  position: relative;
  width: 20px;
  height: 20px;
  justify-self: end;
}

.j-opening__plus::before,
.j-opening__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--j-ink);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--j-ease), opacity 0.35s var(--j-ease);
}

.j-opening__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.j-opening[open] .j-opening__plus::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.j-opening__body {
  margin: -8px 28px 28px 86px;
  padding-top: 22px;
  border-top: 1px solid var(--j-line-soft);
}

.j-opening__body p {
  margin: 0;
  max-width: 500px;
  font-family: var(--j-mincho);
  font-size: 0.92rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--j-ink-soft);
}

.j-opening__meta {
  margin-top: 18px;
  max-width: 500px;
}

.j-opening__meta-title {
  margin: 18px 0 8px;
  font-family: var(--j-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--j-ink);
}

.j-opening__meta-list {
  margin: 0;
  padding: 0;
}

.j-opening__meta-list li,
.j-opening__meta-text {
  position: relative;
  margin: 0 0 6px;
  font-family: var(--j-mincho);
  font-size: 0.9rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--j-ink-soft);
}

.j-opening__meta-list li {
  padding-left: 1em;
}

.j-opening__meta-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--j-ink-soft);
}

/* ============================================================
   04 学生の方へ
   ============================================================ */
/* (旧 .j-students インライン版は .j-students-standalone に移行済み) */

.j-careers {
  margin-top: 28px;
  padding: 26px 22px;
  background: var(--j-paper);
  border: 1px solid var(--j-line);
  border-radius: 4px;
  position: relative;
}

.j-careers::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--j-gold) 0%, var(--j-gold-soft) 50%, transparent 100%);
}

.j-careers__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.j-careers__title {
  margin: 0;
  font-family: var(--j-mincho);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--j-ink);
}

.j-careers__list {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
}

.j-careers__list li {
  display: inline-flex;
  align-items: center;
  padding-left: 14px;
  position: relative;
}

.j-careers__list li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--j-gold);
}

.j-careers__list li span {
  font-family: var(--j-mincho);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--j-ink);
  letter-spacing: 0.04em;
}

.j-careers__list em {
  font-style: normal;
  font-family: var(--j-serif);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--j-gold);
  margin-left: 4px;
  letter-spacing: 0.06em;
}

.j-careers__note {
  margin: 18px 0 0;
  font-family: var(--j-mincho);
  font-size: 0.86rem;
  color: var(--j-ink-mute);
  letter-spacing: 0.04em;
}

.j-btn--wide {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   07 こんな人
   ============================================================ */
.j-wish {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--j-line);
}

.j-wish__item {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--j-line);
  transition: padding 0.4s var(--j-ease);
}

.j-wish__item:hover { padding-left: 14px; }

.j-wish__bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--j-sky-deep);
  box-shadow: 0 0 0 4px var(--j-sky-soft);
}

.j-wish__text {
  font-family: var(--j-mincho);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--j-ink);
  letter-spacing: 0.06em;
}

/* ============================================================
   08 はじめはこんな流れ
   ============================================================ */
.j-flow { padding: 8px 0; }

.j-flow__card {
  position: relative;
  padding: 32px 24px 30px;
  background: var(--j-paper);
  border: 1px solid var(--j-line);
  border-radius: 4px;
  box-shadow: 0 18px 40px -20px rgba(36, 30, 20, 0.12);
}

.j-flow__card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 44px;
  height: 44px;
  border-top: 2px solid var(--j-sky-deep);
  border-left: 2px solid var(--j-sky-deep);
}

.j-flow__card::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 44px;
  height: 44px;
  border-bottom: 2px solid var(--j-sky-deep);
  border-right: 2px solid var(--j-sky-deep);
}

.j-flow__mark {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--j-serif);
  color: var(--j-sky-deep);
}

.j-flow__mark span {
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.j-flow__mark em {
  font-style: italic;
  font-weight: 400;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  color: var(--j-ink-mute);
  text-transform: uppercase;
}

.j-flow__text {
  margin: 0;
  font-family: var(--j-mincho);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.95;
  color: var(--j-ink);
  letter-spacing: 0.05em;
}

/* ============================================================
   CTA
   ============================================================ */
.j-cta {
  margin-top: 88px;
  padding: 80px 20px 96px;
  background:
    radial-gradient(circle at 50% 0%, rgba(100, 199, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--j-cream-soft), var(--j-cream-deep));
  border-top: 1px solid var(--j-line);
  position: relative;
  overflow: hidden;
}

.j-cta::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(100, 199, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.j-cta__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--j-narrow));
  margin: 0 auto;
  text-align: center;
}

.j-cta__kicker {
  margin: 0 0 22px;
  font-family: var(--j-serif);
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--j-sky-deep);
}

.j-cta__title {
  margin: 0 0 28px;
  font-family: var(--j-mincho);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.06em;
  color: var(--j-ink);
}

.j-cta__title em {
  font-style: normal;
  color: var(--j-sky-deep);
}

.j-cta__lead {
  margin: 0 0 24px;
  font-family: var(--j-mincho);
  font-size: 0.94rem;
  line-height: 1.95;
  letter-spacing: 0.05em;
  color: var(--j-ink-soft);
}

.j-cta__list {
  list-style: none;
  counter-reset: cta-item;
  margin: 0 0 28px;
  padding: 22px 24px;
  background: rgba(255, 253, 247, 0.7);
  border: 1px solid var(--j-line);
  border-radius: 4px;
  text-align: left;
}

.j-cta__list li {
  counter-increment: cta-item;
  position: relative;
  padding: 14px 0 14px 38px;
  font-family: var(--j-mincho);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--j-ink);
  letter-spacing: 0.05em;
  border-bottom: 1px dashed var(--j-line);
}

.j-cta__list li:first-child { padding-top: 4px; }
.j-cta__list li:last-child { padding-bottom: 4px; border-bottom: none; }

.j-cta__list li::before {
  content: counter(cta-item);
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--j-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--j-sky-deep);
  line-height: 1;
}

.j-cta__list li:first-child::before { top: 14px; transform: none; }

.j-cta__list li span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--j-ink-mute);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.j-cta__lead--bottom {
  margin: 0 0 36px;
}

/* ============================================================
   Footer
   ============================================================ */
.j-footer {
  background: var(--j-cream-deep);
  padding: 60px 24px 40px;
  text-align: center;
  border-top: 1px solid var(--j-line);
}

.j-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: var(--j-serif);
  font-style: italic;
  font-size: 0.86rem;
  color: var(--j-ink-soft);
  letter-spacing: 0.06em;
}

.j-footer__dog { height: 22px; width: auto; }

.j-footer__logo-link {
  display: inline-block;
  margin-bottom: 22px;
}

.j-footer__logo {
  height: 36px;
  width: auto;
  margin: 0 auto;
}

.j-footer__links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0 0 22px;
  flex-wrap: wrap;
}

.j-footer__links a {
  font-family: var(--j-mincho);
  font-size: 0.84rem;
  color: var(--j-ink-soft);
  letter-spacing: 0.06em;
  position: relative;
}

.j-footer__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--j-ink-soft);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--j-ease);
}

.j-footer__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.j-footer__copyright {
  margin: 0;
  font-family: var(--j-serif);
  font-size: 0.74rem;
  color: var(--j-ink-mute);
  letter-spacing: 0.08em;
}

/* ============================================================
   学生の方へ — スタンドアロン（メインCTAの後に配置）
   メイン導線とは視覚的に切り離し、独立した世界として見せる
   ============================================================ */
.j-students-standalone {
  position: relative;
  margin-top: 0;
  padding: 72px 0 80px;
  background:
    linear-gradient(180deg, var(--j-cream-deep) 0%, var(--j-cream) 30%, var(--j-sky-pale) 100%);
  border-top: 1px solid var(--j-line);
}

.j-students-standalone__inner {
  width: min(calc(100% - 32px), var(--j-narrow));
  margin: 0 auto;
}

.j-students-standalone__head {
  text-align: center;
  margin-bottom: 40px;
}

.j-students-standalone__label {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--j-serif);
  font-style: italic;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--j-sky-deep);
}

.j-students-standalone__title {
  margin: 0 0 18px;
  font-family: var(--j-mincho);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--j-ink);
}

.j-students-standalone__rule {
  width: 40px;
  height: 1px;
  margin: 0 auto;
  background: var(--j-sky-deep);
}

.j-students-standalone__body {
  margin-bottom: 32px;
}

.j-students-standalone__visual {
  margin: 0 0 36px;
}

.j-students-standalone__cta {
  margin-top: 36px;
  text-align: center;
}

.j-students-standalone__cta-note {
  margin: 14px 0 0;
  font-family: var(--j-mincho);
  font-size: 0.82rem;
  color: var(--j-ink-mute);
  letter-spacing: 0.04em;
}

/* ============================================================
   Line breaks helpers
   ============================================================ */
.j-br-pc { display: none; }
.j-br-sp { display: inline; }

@media (max-width: 720px) {
  .j-hero::before {
    right: -12px;
  }

  .j-section--openings {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .j-section--openings .j-section__head {
    width: min(calc(100% - 24px), var(--j-narrow));
  }

  .j-section--openings > * {
    width: min(calc(100% - 24px), var(--j-list-wide));
  }

  .j-openings {
    gap: 12px;
  }

  .j-openings::before {
    left: -12px;
    right: -12px;
  }

  .j-opening__summary {
    min-height: 108px;
    grid-template-columns: 36px minmax(0, 1fr) 26px;
    grid-template-areas:
      "no title plus"
      "no count plus";
    gap: 2px 14px;
    padding: 20px 18px;
  }

  .j-opening__no { grid-area: no; }

  .j-opening__title {
    grid-area: title;
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .j-opening__count {
    grid-area: count;
    min-width: 0;
    text-align: left;
    font-size: 0.86rem;
    color: var(--j-ink-mute);
  }

  .j-opening__plus {
    grid-area: plus;
    width: 20px;
    height: 20px;
  }

  .j-opening__plus::before,
  .j-opening__plus::after {
    width: 20px;
  }

  .j-opening__body {
    margin: -2px 18px 24px 68px;
    padding-top: 18px;
  }
}
