:root {
  --red: rgb(210, 37, 80);
  --red-dark: rgb(189, 28, 68);
  --red-light: rgb(229, 134, 157);
  --red-pale: rgb(241, 199, 208);
  --cream: rgb(250, 244, 243);
  --gray-bg: rgb(250, 250, 250);
  --gray-border: rgb(242, 242, 242);
  --ink: rgb(51, 51, 51);
  --ink-soft: rgb(130, 136, 152);
  --black: rgb(0, 0, 0);
  --white: rgb(255, 255, 255);
  --green: rgb(0, 179, 119);
  --shadow-red: 0 0 10px 0 rgba(96, 14, 35, 0.1);
  --jp: "Heisei Kaku Gothic Std", "Noto Sans JP", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --en: "Inclusive Sans", "Helvetica Neue", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Menlo", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--jp);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.page {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

/* Section base */
.section {
  padding: 112px 80px;
}

.section--tight {
  padding: 80px 80px;
}

.section--white {
  background: var(--white);
}

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

.section--cream {
  background: var(--cream);
}

.section--red {
  background: var(--red);
  color: var(--white);
}

.inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* Type */
.h-en {
  font-family: var(--en);
  font-weight: 700;
  color: var(--red);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.h-jp {
  font-family: var(--jp);
  color: var(--red);
  line-height: 1.3;
  font-weight: 700;
}

.section-title {
  font-family: var(--jp);
  font-size: 40px;
  line-height: 1.3;
  color: var(--red);
  margin: 0;
  font-weight: 700;
}

.section-lead {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 2;
  color: var(--ink);
  margin: 16px 0 0;
}

.eyebrow {
  font-family: var(--en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--black);
}

/* CTA button (pill style) */
.cta-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 552px;
  padding: 16px 24px;
  border-radius: 5px;
  background: var(--cream);
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
  border: none;
  transition: all 0.2s ease;
}

.cta-pill.on-red {
  background: var(--cream);
}

.cta-pill.on-white {
  background: var(--cream);
}

.cta-pill .arrow {
  font-family: var(--en);
  font-weight: 300;
  font-size: 30px;
  line-height: 1;
  color: var(--red);
}

.cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(210, 37, 80, 0.18);
}

.cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 700;
  background: transparent;
  line-height: 1.3;
  border-radius: 4px;
}

.cta-outline:hover {
  background: var(--red);
  color: var(--white);
}

/* Header */
.header {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  height: 64px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-red);
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 100;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__divider {
  width: 1px;
  height: 24px;
  background: var(--gray-border);
}

.header__tag {
  font-family: "YuGothic", var(--jp);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--red);
  white-space: nowrap;
}

.header__nav {
  display: flex;
  align-items: stretch;
  gap: 24px;
  margin-left: auto;
  align-self: stretch;
}

.header__nav a {
  display: flex;
  align-items: center;
  font-family: var(--jp);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  padding: 0 4px;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.header__nav a:hover {
  opacity: 0.6;
}

.header__nav a.is-active {
  font-weight: 700;
}

.header__nav a.is-active::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 4px;
  background: var(--red);
}

/* Page band (sub-page hero) */
.page-band {
  background: var(--red);
  color: var(--white);
  padding: 144px 80px 64px;
}

.page-band__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.page-band__crumb {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.page-band__crumb .sep {
  opacity: 0.5;
}

.page-band__crumb a:hover {
  color: var(--white);
}

.page-band__title {
  font-family: var(--jp);
  font-size: 44px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.page-band__sub {
  font-family: var(--jp);
  font-size: 15px;
  line-height: 1.9;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
}

/* Page band - crumb only variant */
.page-band-crumb-only {
  background: var(--white);
  color: var(--ink);
  padding: 144px 80px 24px;
}

/* Sub-page generic blocks */
.subpage main {
  padding-top: 0;
}

.lede {
  font-family: var(--jp);
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
}

.block-title {
  font-family: var(--jp);
  font-size: 32px;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.3;
}

.block-title .en {
  display: block;
  font-family: var(--en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--black);
  margin-bottom: 6px;
}

.sub-h {
  font-family: var(--jp);
  font-size: 22px;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 12px;
}

/* CEO message on vision page */
.ceo-message {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-top: 16px;
}

.ceo-message__photo {
  flex-shrink: 0;
  width: 260px;
}

.ceo-message__img {
  width: 260px;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream);
}

.ceo-message__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center top;
  object-position: center top;
}

.ceo-message__name {
  font-family: var(--jp);
  font-size: 15px;
  color: var(--ink);
  margin-top: 16px;
}

.ceo-message__name strong {
  font-weight: 700;
  font-size: 18px;
}

.ceo-message__text {
  flex: 1;
  font-family: var(--jp);
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
  white-space: pre-line;
  max-width: 820px;
}

/* Role rows (job list) */
.role-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 5px;
  padding: 18px 24px;
  font-family: var(--jp);
  font-size: 16px;
  color: var(--ink);
}

.role-row:hover {
  background: var(--cream);
  transform: translateX(4px);
}

.role-row .arrow {
  font-family: var(--en);
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  color: var(--red);
}

/* Selection flow */
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.flow-step {
  display: flex;
  gap: 24px;
  padding: 0 0 32px;
  position: relative;
}

.flow-step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: -8px;
  width: 2px;
  background: var(--red-pale);
}

.flow-step:last-child::before {
  display: none;
}

.flow-step__n {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--en);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.flow-step__body {
  padding-top: 6px;
}

.flow-step__body h3 {
  font-family: var(--jp);
  font-size: 20px;
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}

.flow-step__tag {
  font-style: normal;
  font-size: 12px;
  color: var(--red);
}

.flow-step__body p {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
  margin: 8px 0 0;
}

/* Vision/Mission cards */
.vmv-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  border: 1px solid var(--gray-border);
}

.vmv-card__label {
  font-family: var(--en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
}

.vmv-card__head {
  font-family: var(--jp);
  font-size: 28px;
  color: var(--red);
  font-weight: 700;
  margin: 12px 0 16px;
  line-height: 1.4;
}

/* Value cards */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  padding: 28px;
}

.value-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.value-card__num {
  font-family: var(--en);
  font-weight: 700;
  font-size: 28px;
  color: var(--red-pale);
}

.value-card__icon {
  font-size: 28px;
}

.value-card__en {
  font-family: var(--en);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin: 16px 0 4px;
  letter-spacing: 0.02em;
}

.value-card__jp {
  font-family: var(--jp);
  font-size: 22px;
  color: var(--ink);
  font-weight: 700;
  margin: 4px 0 0;
}

.value-card__guides {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-card__guides li {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 0;
  line-height: 1.5;
}

.value-card__guides li::before {
  display: none;
}

.value-card__guides .g-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.value-card__guides .g-title {
  font-family: var(--jp);
  font-size: 13px;
  color: var(--ink);
  font-weight: 700;
}

.value-card__guides .g-title-en {
  font-family: var(--en);
  font-size: 13px;
  color: var(--ink);
  font-weight: 700;
}

.value-card__guides .g-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.value-card__guides .g-desc {
  font-family: var(--jp);
  font-size: 12px;
  color: var(--ink);
  line-height: 1.7;
  white-space: pre-line;
}

.value-card__guides .g-desc-en {
  font-family: var(--en);
  font-size: 12px;
  color: var(--ink);
  line-height: 1.5;
  white-space: pre-line;
}

/* Workstyle layouts */
.ws-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.ws-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ws-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ws-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  padding: 24px;
}

.ws-info {
  background: var(--cream);
  border-radius: 8px;
  padding: 32px;
}

/* Job detail document */
.job-doc {
  max-width: 860px;
}

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

.job-doc .media-tile__title {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
}

.job-intro {
  background: var(--cream);
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 56px;
}

.job-intro__label {
  font-family: var(--en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--red);
  text-transform: uppercase;
}

.job-intro__h {
  font-family: var(--jp);
  font-size: 26px;
  color: var(--red);
  font-weight: 700;
  line-height: 1.5;
  margin: 12px 0 20px;
}

.job-intro p {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 2;
  color: var(--ink);
  margin: 0;
}

.job-sec {
  margin-bottom: 48px;
}

.job-sec__h {
  font-family: var(--jp);
  font-size: 24px;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red-pale);
}

.job-p {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 2;
  color: var(--ink);
  margin: 0 0 14px;
}

.job-ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-ul>li {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}

.job-ul>li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--red);
}

.job-ul--sub {
  margin: 10px 0 0;
  gap: 6px;
}

.job-ul--sub>li {
  font-size: 13px;
  color: #333;
  padding-left: 16px;
}

.job-ul--sub>li::before {
  content: "−";
  color: #333;
}

.job-block {
  margin-bottom: 28px;
}

.job-block__h {
  font-family: var(--jp);
  font-size: 16px;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
}

.job-lang {
  font-family: var(--jp);
  font-size: 14px;
  color: var(--ink);
  margin: 12px 0 8px;
}

/* Employment block */
.job-emp {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 32px;
}

.job-emp__salary {
  font-family: var(--en);
  font-weight: 700;
  font-size: 24px;
  color: var(--red);
  margin-bottom: 16px;
}

.job-emp__example {
  background: var(--white);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 16px 0;
}

.job-emp__example-label {
  font-family: var(--jp);
  font-size: 13px;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 10px;
}

.job-emp__meta {
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.job-emp__meta>div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
}

.job-emp__meta dt {
  font-family: var(--jp);
  font-size: 13px;
  color: var(--red);
  font-weight: 700;
  margin: 0;
}

.job-emp__meta dd {
  font-family: var(--jp);
  font-size: 14px;
  color: var(--ink);
  margin: 0;
  line-height: 1.7;
}

.job-emp__note {
  font-size: 12px;
  color: var(--ink-soft);
}

.header__cta {
  display: flex;
  gap: 8px;
  margin-left: 16px;
}

.header__cta a,
.header__cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--jp);
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-ghost {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  font-weight: 700;
}

.btn-ghost:hover {
  background: var(--red);
  color: var(--white);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: none;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--red-dark);
}

/* Mobile menu button - hidden by default on desktop */
.mobile-menu-btn {
  display: none;
}

/* メニュー本体はデスクトップでは出さない（従来 v-show が担っていた分） */
.mobile-menu {
  display: none;
}

/* Logo image */
.logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.logo-img.white {
  filter: brightness(0) invert(1);
  height: 22px;
}

/* Logo SVG-ish text fallback */
.logo-mark {
  font-family: var(--en);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1;
  color: var(--red);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.logo-mark .gmo {
  color: var(--red);
}

.logo-mark .slash {
  color: var(--red);
  font-weight: 300;
}

.logo-mark .flatt {
  letter-spacing: -0.02em;
}

.logo-mark.white {
  color: var(--white);
}

.logo-mark.white .gmo,
.logo-mark.white .slash {
  color: var(--white);
}

/* Hide header on internship page */
.internship-page-body .header {
  display: none;
}

/* HERO */
.hero {
  min-height: 370px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 96px;
}

.hero__title {
  font-family: var(--jp);
  font-size: 40px;
  line-height: 1.7;
  text-align: center;
  color: var(--white);
  font-weight: 700;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero__title em {
  font-style: normal;
}

.hero--cinematic {
  min-height: 560px;
}

.hero--cinematic .hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 380px at 20% 20%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(700px 320px at 85% 80%, rgba(0, 0, 0, 0.35), transparent 60%),
    linear-gradient(180deg, rgb(189, 28, 68) 0%, rgb(210, 37, 80) 50%, rgb(140, 18, 52) 100%);
}

.hero--cinematic .hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero--cinematic .hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.7), transparent 75%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.7), transparent 75%);
}

.hero--cinematic .hero__title {
  font-size: 48px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.hero--cinematic .hero__title .accent {
  color: var(--white);
  position: relative;
  display: inline-block;
}

.hero--cinematic .hero__title .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.hero--cinematic .hero__meta {
  position: absolute;
  bottom: 28px;
  left: 40px;
  right: 40px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.hero--cinematic .hero__corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero--cinematic .hero__corner.tl {
  top: 24px;
  left: 24px;
  border-right: none;
  border-bottom: none;
}

.hero--cinematic .hero__corner.tr {
  top: 24px;
  right: 24px;
  border-left: none;
  border-bottom: none;
}

.hero--cinematic .hero__corner.bl {
  bottom: 24px;
  left: 24px;
  border-right: none;
  border-top: none;
}

.hero--cinematic .hero__corner.br {
  bottom: 24px;
  right: 24px;
  border-left: none;
  border-top: none;
}

.hero--minimal {
  background: var(--white);
}

.hero--minimal .hero__title {
  color: var(--red);
}

/* CEO message */
.ceo {
  position: relative;
  min-height: 575px;
  height: auto;
  overflow: hidden;
  background: var(--white);
}

.ceo__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
}

/* 大画面（2300px以上）では画像全体を表示 */
@media (min-width: 2300px) {
  .ceo__bg {
    background-size: 60%;
    background-position: right center;
    background-repeat: no-repeat;
  }
}

.ceo__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 40%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0) 75%);
}

.ceo__inner {
  position: relative;
  padding: 72px 80px;
  max-width: 980px;
}

.ceo__content {}

.ceo__text {
  font-family: var(--jp);
  font-size: 16px;
  line-height: 2;
  color: var(--red);
  white-space: pre-line;
  max-width: 750px;
  font-weight: 700;
}

.ceo__sig {
  margin-top: 28px;
  font-size: 14px;
  line-height: 2;
  color: var(--ink);
  white-space: pre-line;
}

.ceo__img-sp {
  display: none;
}

/* 2027 banner */
.banner-2027 {
  position: relative;
  width: 570px;
  height: 174px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
  background: linear-gradient(135deg, rgb(189, 28, 68), rgb(210, 37, 80) 55%, rgb(229, 134, 157));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(210, 37, 80, 0.25);
}

.banner-2027:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(210, 37, 80, 0.35);
}

.banner-2027 .pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.5) 1px, transparent 0);
  background-size: 14px 14px;
}

.banner-2027 .label-jp {
  font-family: var(--jp);
  font-size: 16px;
  letter-spacing: 0.1em;
  position: relative;
}

.banner-2027 .label-en {
  font-family: var(--en);
  font-weight: 700;
  font-size: 34.7px;
  letter-spacing: 0.02em;
  margin-top: 4px;
  position: relative;
}

.banner-2027 .arrow-down {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid var(--white);
}

.banner-2027 .see {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 14px;
}

/* MVV section */
.mvv-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mvv-en {
  font-family: var(--en);
  font-weight: 700;
  font-size: 56px;
  color: var(--red);
  width: 340px;
  flex-shrink: 0;
  line-height: 1.3;
}

.mvv-jp {
  font-family: var(--jp);
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.5;
}

/* Business section */
.section--business {
  position: relative;
  background-image: url('/images/business-wave.jpg');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: auto 42%;
}

.section--business .inner {
  position: relative;
  z-index: 1;
}

/* Business section cards */
.biz-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.biz-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* no hover lift */
}

.biz-card h3 {
  font-family: var(--jp);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  font-weight: 700;
}

.biz-card p {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.biz-card .media {
  border-radius: 4px;
  height: 180px;
  overflow: hidden;
  background: var(--cream);
  margin-top: auto;
}

.biz-card .media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.biz-card .media.biz-takumi {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 24px;
  border: 1px solid var(--gray-border);
}

.biz-card .media.biz-takumi img {
  max-height: 100%;
  max-width: 80%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

.biz-hero {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

.biz-hero__img {
  width: 538px;
  height: 313px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}

.biz-hero__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.biz-hero__copy {
  flex: 1;
}

/* Why Flatt */
.why-row {
  display: grid;
  grid-template-columns: 266px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.why-row.reverse {
  grid-template-columns: 1fr 266px;
}

.why-row .img-wrap {
  width: 266px;
  height: 350px;
  overflow: hidden;
  background: var(--green);
}

.why-row .img-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.why-row h3 {
  font-family: var(--jp);
  font-size: 32px;
  line-height: 1.6;
  color: var(--red);
  margin: 0;
  white-space: pre-line;
  font-weight: 700;
}

.why-row p {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 16px 0 0;
  white-space: pre-line;
}

.why-row p .bullet {
  display: block;
  padding-left: 18px;
  position: relative;
}

.why-row p .bullet::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--red);
}

/* Work style */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.work-card__img {
  width: 213px;
  height: 213px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
}

.work-card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.work-card__img.square {
  border-radius: 0;
}

.work-card h4 {
  font-family: var(--jp);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin: 12px 0 0;
  font-weight: 700;
}

.work-card p {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  max-width: 340px;
}

/* Stats */
.stats-big {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.stats-num {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--red);
}

.stats-num .label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats-num .label-en {
  font-family: var(--en);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.3;
  color: var(--black);
}

.stats-num .label-jp {
  font-family: var(--jp);
  font-size: 16px;
  color: var(--black);
}

.stats-num .value {
  font-family: var(--en);
  font-weight: 700;
  font-size: 128px;
  line-height: 1;
  color: var(--red);
}

.stats-num .value.tight {
  letter-spacing: -0.05em;
}

.stats-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

.chart-card {
  border: 1px solid var(--red);
  padding: 16px 24px 32px;
  min-height: 317px;
  position: relative;
}

.chart-card .chart-head {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Pie */
.pie-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.pie-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pie-legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--jp);
  font-size: 12px;
  color: var(--ink);
}

.pie-legend-swatch {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.pie-svg {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}

/* Bar chart */
.bar-chart {
  margin-top: 16px;
}

.bar-row {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.bar-row .bar-label {
  font-family: var(--jp);
  font-size: 12px;
  color: var(--ink);
  text-align: right;
}

.bar-row .bar-track {
  height: 18px;
  background: transparent;
  position: relative;
}

.bar-row .bar-fill {
  height: 100%;
  background: var(--red);
  border-radius: 0;
}

.bar-row .bar-num {
  font-family: var(--en);
  font-weight: 700;
  font-size: 12px;
  color: var(--red);
}

.note {
  font-family: var(--jp);
  font-size: 12px;
  color: var(--black);
  margin-top: 16px;
}

/* Jobs */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.job-card {
  background: var(--red);
  color: var(--white);
  border-radius: 5px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.job-card:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.job-card .arrow {
  font-family: var(--en);
  font-weight: 300;
  font-size: 30px;
  line-height: 1;
}

/* Entry */
.entry .section-title {
  color: var(--white);
  text-align: center;
}

.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1120px;
  margin: 32px auto 0;
}

/* Media */
.media-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.media-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--gray-border);
}

.media-card__shot {
  width: 360px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream);
}

.media-card__shot img {
  width: 100%;
  display: block;
}

.media-card__copy h3 {
  margin: 0;
  font-size: 22px;
  color: var(--red);
  font-weight: 700;
}

.media-card__copy p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.media-card__copy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--red);
  font-size: 14px;
}

.media-card__copy a:hover {
  text-decoration: underline;
}

/* Channels */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.channel-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(96, 14, 35, 0.08);
  border-color: var(--red-pale);
}

.channel-card__logo-heading {
  align-self: flex-start;
  margin: 0;
  padding: 0;
}

.channel-card__logo-heading img {
  height: 24px;
  width: auto;
  -o-object-fit: contain;
  object-fit: contain;
  display: block;
}

.channel-card__body {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

.channel-card__more {
  font-family: var(--jp);
  font-size: 14px;
  color: var(--red);
  margin-top: auto;
}

/* Media coverage grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.media-tile {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.media-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(96, 14, 35, 0.08);
}

.media-tile__thumbnail {
  width: 120px;
  height: 68px;
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
}

.media-tile__thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.media-tile__content {
  padding: 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.media-tile__source {
  font-family: var(--en);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.media-tile__title {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-tile__date {
  margin-top: 8px;
  font-family: var(--en);
  font-size: 10px;
  color: var(--ink-soft);
}

/* Members */
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 16px;
}

.members-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.member {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.member__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
  border-radius: 4px;
}

.member__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center top;
  object-position: center top;
}

.member__name {
  font-family: var(--jp);
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 700;
  margin: 0;
}

.member__role {
  font-family: var(--jp);
  font-size: 13px;
  color: var(--red);
  margin: 0 0 2px;
  font-weight: 700;
}

.member--link {
  position: relative;
  text-decoration: none;
}

.member--link:hover .member__img img,
.member--link:hover .member-ph {
  transform: scale(1.04);
}

.member--link:hover .member__name {
  color: var(--red);
}

/* カード全体を覆うリンク。SNS リンク以外のクリックはメンバー詳細へ。 */
.member__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* SNS リンクは overlay より前面に置き、クリックを X 遷移として機能させる。 */
.member__handle {
  position: relative;
  z-index: 2;
}

.member__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
  transition: transform 0.4s ease;
}

.member-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red-pale), var(--cream));
  color: var(--red);
  font-family: var(--jp);
  font-size: 48px;
  font-weight: 500;
  transition: transform 0.4s ease;
}

.member__bio {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

.member-detail__img {
  width: 360px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream);
}

.member-detail__img img,
.member-detail__img .member-ph {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.member__handle {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
}

/* Banners Grid (Newgrads + Internship) */
.banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1120px;
}

.banner-item {
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.banner-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Internship Banner (for newgrads page) */
.internship-section {
  padding-top: 72px;
  padding-bottom: 80px;
}

.internship-section__inner {
  display: flex;
  justify-content: center;
}

.internship-banner {
  display: block;
  max-width: 480px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.internship-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.internship-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  font-family: var(--jp);
  font-size: 18px;
  color: var(--ink);
  font-weight: 700;
}

.faq-q .marker {
  font-family: var(--en);
  font-weight: 700;
  font-size: 22px;
  color: var(--red);
  flex-shrink: 0;
  min-width: 32px;
}

.faq-q .toggle {
  margin-left: auto;
  font-family: var(--en);
  font-weight: 300;
  font-size: 24px;
  color: var(--red);
  transition: transform 0.3s;
}

.faq-item.open .faq-q .toggle {
  transform: rotate(45deg);
}

.faq-a {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 2;
  color: var(--ink);
  padding: 0 0 24px 56px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 600px;
  opacity: 1;
  padding: 0 0 24px 56px;
}

/* FAQ Article Links */
.faq-a .faq-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.faq-article-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.faq-article-link:hover {
  opacity: 0.7;
}

.faq-article-thumbnail {
  width: 120px;
  height: 80px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--cream);
}

.faq-article-title {
  font-family: var(--jp);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 80px 40px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h5 {
  font-family: var(--en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.footer a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--white);
  opacity: 0.85;
}

.footer a:hover {
  opacity: 1;
  color: var(--red-light);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Heading combos */
.heading-pair {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: baseline;
}

.heading-pair .h-en {
  font-size: 56px;
}

.heading-pair .h-jp {
  font-size: 28px;
}

/* Section heading block */
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Scroll reveal hooks (set via JS) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Tweaks UI helpers */
.fig-anchor {
  scroll-margin-top: 96px;
}

/* Speaker Deck embed */
.deck-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 576;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(96, 14, 35, 0.08);
}

.deck-embed .speakerdeck-embed {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.deck-embed iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

/* Job categories */
.job-categories {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* Workstyle cards */
.ws-card__title {
  font-size: 17px;
}

.ws-card__text {
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {

  /* Section padding */
  .section {
    padding: 80px 40px;
  }

  .section--tight {
    padding: 60px 40px;
  }

  .inner {
    max-width: 100%;
    padding: 0 20px;
  }

  /* Header */
  .header {
    top: 12px;
    left: 12px;
    right: 12px;
    padding: 0 16px;
    height: 56px;
  }

  .header__logo {
    gap: 12px;
  }

  .header__tag {
    font-size: 14px;
  }

  .header__nav {
    gap: 16px;
  }

  .header__nav a {
    font-size: 13px;
  }

  .header__cta {
    gap: 6px;
    margin-left: 12px;
  }

  .header__cta a,
  .header__cta button {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .logo-img {
    height: 20px;
  }

  /* Page band */
  .page-band {
    padding: 120px 40px 48px;
  }

  .page-band__title {
    font-size: 36px;
  }

  .page-band__sub {
    font-size: 14px;
  }

  .page-band-crumb-only {
    padding: 120px 40px 20px;
  }

  /* Typography */
  .section-title {
    font-size: 32px;
  }

  .section-lead {
    font-size: 13px;
  }

  .block-title {
    font-size: 28px;
  }

  /* Hero */
  .hero {
    min-height: 300px;
    padding-top: 80px;
  }

  .hero__title {
    font-size: 32px;
    padding: 0 20px;
  }

  .hero--cinematic {
    min-height: 440px;
  }

  .hero--cinematic .hero__title {
    font-size: 38px;
  }

  /* CEO message */
  .ceo {
    height: auto;
    min-height: 400px;
  }

  .ceo__bg {
    background-image: url('/images/ceo-sp.jpg') !important;
    background-position: center center;
  }

  .ceo__inner {
    padding: 48px 40px;
  }

  .ceo__text {
    font-size: 15px;
    max-width: 100%;
  }

  /* 2027 banner */
  .banner-2027 {
    width: 100%;
    max-width: 500px;
    height: 160px;
  }

  .banner-2027 .label-jp {
    font-size: 14px;
  }

  .banner-2027 .label-en {
    font-size: 30px;
  }

  /* MVV */
  .mvv-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mvv-en {
    font-size: 44px;
    width: auto;
  }

  .mvv-jp {
    font-size: 26px;
  }

  /* Business */
  .section--business {
    background-size: auto 80%;
  }

  .biz-hero {
    flex-direction: column;
    gap: 32px;
  }

  .biz-hero__img {
    width: 100%;
    height: 280px;
  }

  .biz-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Why Flatt */
  .why-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
  }

  .why-row.reverse {
    grid-template-columns: 1fr;
  }

  .why-row .img-wrap {
    width: 100%;
    height: 280px;
  }

  .why-row h3 {
    font-size: 26px;
  }

  /* Work style */
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .work-card__img {
    width: 180px;
    height: 180px;
  }

  /* Stats */
  .stats-big {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-num .value {
    font-size: 96px;
  }

  .stats-charts {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Value cards */
  .value-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* CEO message on vision page */
  .ceo-message {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .ceo-message__photo {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .ceo-message__img {
    width: 100%;
    height: auto;
    aspect-ratio: 260 / 320;
  }

  .ceo-message__name {
    font-size: 14px;
    text-align: center;
  }

  .ceo-message__name strong {
    font-size: 17px;
  }

  .ceo-message__text {
    font-size: 14px;
  }

  /* Workstyle layouts */
  .ws-2col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ws-grid2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ws-grid3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Jobs */
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Entry */
  .entry-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Members */
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  /* Media */
  .media-card {
    flex-direction: column;
  }

  .media-card__shot {
    width: 100%;
  }

  .channels-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Banners Grid */
  .banners-grid {
    gap: 20px;
  }

  /* Internship Banner */
  .internship-section {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  /* Footer */
  .footer {
    padding: 60px 40px 32px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {

  /* Section padding */
  .section {
    padding: 60px 20px;
  }

  .section--tight {
    padding: 48px 20px;
  }

  .inner {
    padding: 0 10px;
  }

  /* Header - Mobile menu would be ideal, but simplified version */
  .header {
    top: 8px;
    left: 8px;
    right: 8px;
    padding: 0 12px;
    min-height: 52px;
    height: auto;
    z-index: 1000;
    flex-direction: column;
    align-items: flex-start;
  }

  .header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
  }

  .header__logo {
    gap: 8px;
  }

  .header__tag {
    font-size: 12px;
  }

  .header__nav {
    display: none;
  }

  /* Hide desktop navigation on mobile */
  .header__cta {
    display: none;
  }

  /* Hide desktop CTA buttons on mobile */
  .logo-img {
    height: 18px;
  }

  /* Mobile menu button */
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
  }

  .hamburger {
    position: relative;
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transition: all 0.3s ease;
  }

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

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

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

  /* Mobile menu overlay */
  .mobile-menu {
    display: block;
    width: 100%;
    padding: 0 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .mobile-menu.is-open {
    max-height: 600px;
    opacity: 1;
    padding: 24px 12px 32px;
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .mobile-menu__link {
    font-family: var(--jp);
    font-size: 18px;
    font-weight: 700;
    color: var(--red);
    text-align: center;
    padding: 20px 0;
    transition: color 0.3s ease;
  }

  .mobile-menu__link:hover,
  .mobile-menu__link.is-active {
    opacity: 0.7;
  }

  .mobile-menu__link--cta {
    margin-top: 24px;
    background: transparent;
    border: 2px solid var(--red);
    color: var(--red);
    border-radius: 8px;
    padding: 14px 0;
    font-size: 16px;
  }

  .mobile-menu__link--cta:hover {
    opacity: 0.7;
  }

  .mobile-menu__link--primary {
    margin-top: 12px;
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
    border-radius: 8px;
    padding: 14px 0;
    font-size: 16px;
  }

  .mobile-menu__link--primary:hover {
    opacity: 0.9;
  }

  /* Page band */
  .page-band {
    padding: 100px 20px 40px;
  }

  .page-band__title {
    font-size: 28px;
  }

  .page-band__sub {
    font-size: 13px;
  }

  .page-band__crumb {
    font-size: 11px;
  }

  .page-band-crumb-only {
    padding: 100px 20px 16px;
  }

  /* Typography */
  .section-title {
    font-size: 26px;
  }

  .section-lead {
    font-size: 13px;
    line-height: 1.8;
  }

  .block-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .sub-h {
    font-size: 18px;
  }

  .lede {
    font-size: 14px;
    line-height: 1.8;
  }

  /* Hero */
  .hero {
    min-height: 240px;
    padding-top: 72px;
  }

  .hero__title {
    font-size: 24px;
    line-height: 1.6;
    padding: 0 16px;
  }

  .hero--cinematic {
    min-height: 320px;
  }

  .hero--cinematic .hero__title {
    font-size: 28px;
    line-height: 1.5;
  }

  .hero--cinematic .hero__meta {
    font-size: 10px;
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  /* CEO message */
  .ceo {
    height: auto;
    min-height: auto;
  }

  .ceo__bg {
    display: none;
  }

  .ceo__scrim {
    display: none;
  }

  .ceo__inner {
    padding: 0;
    max-width: 100%;
    position: static;
  }

  .ceo__content {
    padding: 40px 20px 32px;
  }

  .ceo__text {
    font-size: 14px;
    line-height: 1.9;
    max-width: 100%;
  }

  .ceo__sig {
    font-size: 13px;
    margin-top: 16px;
  }

  .ceo__img-sp {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: -320px;
    aspect-ratio: 1201 / 1972;
    min-height: 600px;
    background-image: url('/images/ceo-sp.jpg');
    background-size: cover;
    background-position: center top;
  }

  /* 2027 banner */
  .banner-2027 {
    width: 100%;
    height: 140px;
  }

  .banner-2027 .label-jp {
    font-size: 13px;
  }

  .banner-2027 .label-en {
    font-size: 24px;
  }

  /* MVV */
  .mvv-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .mvv-en {
    font-size: 32px;
    width: auto;
  }

  .mvv-jp {
    font-size: 20px;
  }

  /* Business */
  .section--business {
    background-image: none;
  }

  .biz-hero {
    flex-direction: column;
    gap: 24px;
  }

  .biz-hero__img {
    width: 100%;
    height: 220px;
  }

  .biz-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .biz-card {
    padding: 24px;
  }

  .biz-card h3 {
    font-size: 16px;
  }

  .biz-card p {
    font-size: 13px;
  }

  .biz-card .media {
    height: 160px;
  }

  /* Why Flatt */
  .why-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .why-row.reverse {
    grid-template-columns: 1fr;
  }

  .why-row .img-wrap {
    width: 100%;
    height: 240px;
  }

  .why-row h3 {
    font-size: 22px;
    line-height: 1.5;
  }

  .why-row p {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 12px;
  }

  /* CTA Outline */
  .cta-outline {
    font-size: 14px;
    padding: 8px 12px;
    width: 100%;
    justify-content: space-between;
  }

  /* Heading pair */
  .heading-pair {
    flex-direction: column;
    gap: 8px;
  }

  .heading-pair .h-en {
    font-size: 36px;
  }

  .heading-pair .h-jp {
    font-size: 20px;
  }

  /* Work style */
  .work-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .work-card__img {
    width: 160px;
    height: 160px;
  }

  .work-card h4 {
    font-size: 16px;
  }

  .work-card p {
    font-size: 13px;
  }

  /* CTA buttons */
  .cta-pill {
    max-width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }

  .cta-pill .arrow {
    font-size: 26px;
  }

  .cta-outline {
    font-size: 14px;
    height: 36px;
  }

  /* Stats */
  .stats-big {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stats-num {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 12px;
  }

  .stats-num .value {
    font-size: 64px;
    margin-top: 8px;
  }

  .stats-charts {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .chart-card {
    padding: 16px 20px 24px;
    min-height: auto;
  }

  /* Pie chart */
  .pie-row {
    flex-direction: column;
    gap: 16px;
  }

  .pie-svg {
    width: 160px;
    height: 160px;
  }

  /* Value cards */
  .value-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .value-card {
    padding: 20px;
  }

  .value-card__jp {
    font-size: 18px;
  }

  .value-card__guides {
    font-size: 12px;
  }

  .value-card__guides li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .value-card__guides .g-left {
    gap: 2px;
  }

  .value-card__guides .g-right {
    gap: 3px;
  }

  /* Vision/Mission cards */
  .vmv-card {
    padding: 28px 20px;
  }

  .vmv-card__head {
    font-size: 22px;
  }

  /* CEO message on vision page */
  .ceo-message {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .ceo-message__photo {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .ceo-message__img {
    width: 100%;
    height: auto;
    aspect-ratio: 260 / 320;
  }

  .ceo-message__name {
    font-size: 14px;
    text-align: center;
  }

  .ceo-message__name strong {
    font-size: 16px;
  }

  .ceo-message__text {
    font-size: 14px;
    line-height: 1.9;
  }

  /* Workstyle layouts */
  .ws-2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ws-grid2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ws-grid3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ws-card {
    padding: 20px;
  }

  .ws-info {
    padding: 24px;
  }

  /* Job detail */
  .job-doc {
    max-width: 100%;
  }

  .job-intro {
    padding: 28px 20px;
    margin-bottom: 40px;
  }

  .job-intro__h {
    font-size: 22px;
  }

  .job-intro p {
    font-size: 13px;
  }

  .job-sec {
    margin-bottom: 36px;
  }

  .job-sec__h {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .job-p {
    font-size: 13px;
  }

  .job-ul>li {
    font-size: 13px;
  }

  .job-block__h {
    font-size: 15px;
  }

  .job-emp {
    padding: 24px 20px;
  }

  .job-emp__salary {
    font-size: 20px;
  }

  .job-emp__example {
    padding: 16px 20px;
  }

  .job-emp__meta>div {
    grid-template-columns: 100px 1fr;
    gap: 12px;
  }

  /* Role rows */
  .role-row {
    padding: 14px 16px;
    font-size: 15px;
  }

  /* Selection flow */
  .flow-step {
    gap: 16px;
    padding-bottom: 24px;
  }

  .flow-step::before {
    left: 19px;
  }

  .flow-step__n {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .flow-step__body h3 {
    font-size: 18px;
  }

  .flow-step__body p {
    font-size: 13px;
  }

  /* Jobs */
  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .job-card {
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Entry */
  .entry-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .members-grid--3col {
    grid-template-columns: 1fr;
  }

  .member__name {
    font-size: 20px;
  }

  .member__role {
    font-size: 12px;
  }

  .member__bio {
    font-size: 13px;
  }

  .member-detail__img {
    width: 100%;
    max-width: 300px;
  }

  /* Media */
  .media-card {
    flex-direction: column;
    padding: 24px;
  }

  .media-card__shot {
    width: 100%;
  }

  .media-card__copy h3 {
    font-size: 20px;
  }

  .media-card__copy p {
    font-size: 13px;
  }

  .channels-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .channel-card {
    padding: 24px;
  }

  .channel-card__title {
    font-size: 20px;
  }

  .channel-card__body {
    font-size: 13px;
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .media-tile {
    flex-direction: column;
  }

  .media-tile__thumbnail {
    width: 100%;
    height: 180px;
    margin-left: 0;
  }

  .media-tile__content {
    padding: 12px 16px;
  }

  .media-tile__title {
    font-size: 13px;
    line-height: 1.5;
  }

  .media-tile__source {
    font-size: 10px;
  }

  .media-tile__date {
    font-size: 10px;
    margin-top: 8px;
  }

  /* Banners Grid */
  .banners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Internship Banner */
  .internship-section {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .internship-banner {
    border-radius: 4px;
  }

  /* FAQ */
  .faq-q {
    padding: 20px 0;
    font-size: 16px;
    gap: 16px;
  }

  .faq-q .marker {
    font-size: 20px;
    min-width: 28px;
  }

  .faq-q .toggle {
    font-size: 22px;
  }

  .faq-a {
    font-size: 13px;
    padding: 0 0 20px 44px;
  }

  /* Job categories */
  .job-categories {
    gap: 32px;
  }

  /* Workstyle cards */
  .ws-card__title {
    font-size: 16px;
  }

  .ws-card__text {
    font-size: 14px;
  }

  .faq-item.open .faq-a {
    padding: 0 0 20px 44px;
  }

  .faq-a .faq-links {
    grid-template-columns: 1fr;
  }

  .faq-article-link {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-article-thumbnail {
    width: 100%;
    height: auto;
    max-height: 150px;
  }

  /* Footer */
  .footer {
    padding: 48px 20px 24px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .footer-cols>div:first-child {
    grid-column: 1 / -1;
    margin-bottom: 16px;
  }

  .footer h5 {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .footer a {
    font-size: 13px;
    padding: 4px 0;
  }

  .footer-bottom {
    margin-top: 32px;
    padding-top: 16px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Deck embed */
  .deck-embed {
    border-radius: 4px;
  }
}

