/* ==========================================================================
   NANBA INDUSTRY – Main Stylesheet  (style2.css)
   ========================================================================== */

/* ── CSS Variables ─────────────────────────────────────────────────────── */
:root {
  --orange:  #e15925;
  --orange2: #f2752a;
  --orange3: #ffbc94;
  --cream:   #fff4e8;
  --navy:    #14263d;
  --ink:     #172333;
  --white:   #fff;
  --line:    #e7ded4;
}

/* ── Base Reset ────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.75;
  background: #fff;
}
img      { display: block; max-width: 100%; }
a        { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

/* ── Header ────────────────────────────────────────────────────────────── */
.header {
  height: 105px;
  display: block;
  border-top: 5px solid var(--orange);
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 20px #17233312;
}
.header-inner {
  height: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 80px);
}
.brand     { width: auto; padding: 0; }
.brand img { width: min(350px, 28vw); height: auto; }

/* Header action buttons (phone + entry) */
.header-actions {
  position: absolute;
  right: 0;
  top: -5px;
  height: 65px;
  display: flex;
}
.header-phone {
  width: 200px;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}
.header-phone strong { font-size: 19px; }
.header-phone small  { font-size: 9px; margin-top: 5px; }
.header-entry {
  width: 190px;
  /*height: 82px;*/
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  border-radius: 0 0 15px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.header-entry span { font-size: 10px; }

/* ── Global Nav (desktop) ──────────────────────────────────────────────── */
.nav {
  position: absolute;
  right: 40px;
  bottom: 10px;
  display: flex;
  gap: 30px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.nav a {
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: .25s;
}

/* Burger + nav overlay elements – hidden on desktop */
.menu               { display: none; }
.nav-close          { display: none; }
.nav-mobile-actions { display: none; }


/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  height: 85vh;
  min-height: 680px;
  margin-top: 105px;
  padding: clamp(40px, 6vw, 80px) clamp(30px, 7vw, 100px);
  display: flex;
  align-items: center;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide:nth-child(1) { background-image: url('../img/index/fv01.jpg'); }
.hero-slide:nth-child(2) { background-image: url('../img/index/fv02.jpg'); }
.hero-slide:nth-child(3) { background-image: url('../img/index/fv03.jpg'); }
.hero-slide.current      { opacity: 1; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    #fff 0%,
    rgba(255,255,255,.92) 30%,
    rgba(255,255,255,.58) 46%,
    transparent 68%
  );
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0;
  padding: 0;
  color: var(--ink);
}
.hero-kicker {
  color: var(--navy);
  border: 0;
  padding: 0;
  margin-bottom: 20px;
  font-size: clamp(18px, 2vw, 25px);
}
.hero h1 {
  color: var(--navy);
  font-size: clamp(52px, 5.3vw, 82px);
  line-height: 1.2;
  letter-spacing: .02em;
  text-shadow: none;
  margin: 0 0 25px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
  background: transparent;
  padding: 0;
}
.hero-lead {
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 800;
  color: var(--ink);
}
.hero-buttons     { display: flex; gap: 12px; margin-top: 34px; }
.hero-recruit {
  position: absolute;
  z-index: 3;
  right: 5vw;
  bottom: 45px;
  display: block;
  transition: .3s;
}
.hero-recruit img    { width: min(480px, 35vw); }
.hero-recruit:hover  { transform: translateY(-6px) scale(1.02); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 16px 26px;
  font-weight: 800;
  border: 2px solid var(--orange);
  transition: .2s;
}
.btn:hover  { transform: translateY(-3px); }
.btn-dark   { background: var(--navy); color: white; border: 2px solid var(--navy);}
.btn-white  { background: #fff; color: var(--navy); }
.btn-org   { background: var(--orange); color: white;border: 2px solid var(--orange);}


/* ── Sections ──────────────────────────────────────────────────────────── */
.section       { padding: 110px 5vw; }
.section-inner { max-width: 1180px; margin: auto; }
.en {
  font: 800 17px "Barlow Condensed", sans-serif;
  letter-spacing: .15em;
  color: var(--orange);
  margin-bottom: 18px;
}


/* ── Message ───────────────────────────────────────────────────────────── */
.message {
  background: var(--orange);
  color: #fff;
  padding-bottom: 80px;
  overflow: hidden;
}
.message .en { color: #fff; }
.message-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5%;
  align-items: center;
}
.message h2,
.heading-row h2,
.numbers-title h2,
.people-heading h2,
.about h2,
.news h2 {
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.55;
  margin: 0;
  font-weight: 900;
  letter-spacing: -.04em;
	min-width: 180px;
}
.message h2 span { color: var(--navy); background: #fff; padding: 0 .1em; }
.message-text {
  border-left: 1px solid rgba(255, 255, 255, .5);
  padding-left: 55px;
}
.message-text p { font-weight: 600; margin-bottom: 1.5em; }
.ticker {
  margin-top: 90px;
  white-space: nowrap;
  transform: rotate(-2deg);
  background: var(--cream);
  color: var(--navy);
  font: 800 clamp(22px, 2.7vw, 38px) "Barlow Condensed";
  letter-spacing: .12em;
  padding: 8px;
  text-align: center;
  overflow: hidden;
}


/* ── Jobs ──────────────────────────────────────────────────────────────── */
.jobs {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff 64%, var(--cream) 64%, var(--cream) 100%);
}
.jobs::before {
  content: "OUR JOB";
  position: absolute;
  right: -2vw;
  top: 40px;
  font: 900 clamp(80px, 13vw, 190px)/1 "Barlow Condensed", sans-serif;
  color: rgba(225, 89, 37, .055);
  pointer-events: none;
}
.heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 55px;
}
.heading-note {
  font-size: 14px;
  line-height: 2;
  border-left: 4px solid var(--orange);
  padding-left: 22px;
}
.job-intro {
  position: relative;
  z-index: 1;
  margin: -15px 0 42px;
  padding: 20px 26px;
  background: var(--cream);
  border-left: 6px solid var(--orange);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.job-intro strong { font-size: 18px; color: var(--orange); white-space: nowrap; }
.job-intro p      { font-size: 13px; margin: 0; }
.job-intro span {
  background: var(--navy);
  color: #fff;
  border-radius: 100px;
  padding: 7px 15px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.job-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.job-card {
  background: #e15925;
  color: #fff;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: .6s;
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 285px;
  border-bottom: 5px solid var(--navy);
  box-shadow: 0 14px 30px rgba(225, 89, 37, .2);
}
.job-card:nth-child(2) { transition-delay: .12s; }
.job-card:nth-child(3) { transition-delay: .24s; }
.job-card:nth-child(4) { transition-delay: .36s; }
.job-card.visible      { opacity: 1; transform: none; }
.job-card img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
  filter: saturate(.8);
  transition: .4s;
}
.job-card:hover img { transform: scale(1.04); filter: saturate(1.2); }
.job-card:hover     { box-shadow: 0 18px 36px rgba(225, 89, 37, .28); }
.job-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  position: relative;
}
.job-card span {
  position: absolute;
  right: 20px;
  top: 5px;
  font: 800 54px "Barlow Condensed";
  color: #fff;
  opacity: .28;
}
.job-card > div > p:not(.job-description) { color: #fff3e8; font-weight: 700; }
.job-card h3    { font-size: 25px; margin: 0; color: #fff; }
.job-card small { font: 700 14px "Barlow Condensed"; letter-spacing: .15em; color: var(--navy); font-weight: 900; }
.job-description {
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1.8;
  margin: 15px 0 0 !important;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .35);
}

/* text-link with pseudo-element arrow */
.text-link {
  display: flex;
  align-items: center;
  gap: 15px;
  width: max-content;
  margin: 40px 0 0 auto;
  font-weight: 800;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 8px;
  transition: gap .2s;
}
.text-link::after {
  content: "→";
  color: var(--orange);
  font-size: 22px;
  font-weight: 700;
  transition: transform .2s;
}
.text-link:hover::after { transform: translateX(4px); }


/* ── Numbers ───────────────────────────────────────────────────────────── */
.numbers { background: var(--orange); color: #fff; }
.numbers-title            { text-align: center; margin-bottom: 45px; }
.numbers-title .en        { color: #fff; }
.numbers-title > p:last-child { margin: 14px 0 0; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.number-card {
  min-height: 225px;
  background: #fff;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 22px 15px;
  opacity: 0;
  transform: translateY(25px);
  transition: .6s;
}
.number-card.visible { opacity: 1; transform: none; }
.number-card p       { font-weight: 800; }
.number-card strong {
  font: 900 clamp(36px, 4vw, 60px)/1 "Barlow Condensed", sans-serif;
  color: var(--orange);
  margin: 12px 0;
}
.number-card strong:not(:has(small)) {
  font-family: "Noto Sans JP";
  font-size: 24px;
}
.number-card strong small { font: 800 17px "Noto Sans JP"; }
.number-card span    { font-size: 11px; }
.number-card.accent  { background: var(--navy); color: #fff; }
.numbers-note {
  text-align: right;
  font-size: 10px;
  margin: 16px 0 0;
  opacity: .8;
}


/* ── People ────────────────────────────────────────────────────────────── */
.people { background: var(--cream); }
.people-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.people-heading h2      { line-height: 1.3; margin: 0; }
.people-heading h2 span { color: var(--orange); }
.people-heading > p {
  font-size: 13px;
  border-left: 4px solid var(--orange);
  padding-left: 20px;
}
.people-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.person-card {
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 38, 61, .09);
  transition: .3s;
}
.person-card:hover { transform: translateY(-6px); }
.person-photo {
  height: 310px;
  overflow: hidden;
  position: relative;
}
.person-photo img { width: 100%; max-width: none; height: 100%; object-fit: cover; }
.person-photo span {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--orange);
  color: #fff;
  font: 800 28px "Barlow Condensed";
  padding: 8px 15px;
}
.person-card > div:last-child { padding: 24px; }
.person-card small { color: var(--orange); font-weight: 800; }
.person-card h3    { font-size: 18px; line-height: 1.7; margin: 8px 0 12px; }
.person-card p     { font-size: 11px; }
.person-card a     { font-size: 12px; font-weight: 800; color: var(--orange); }
.person-card a::after { content: " →"; transition: letter-spacing .2s; }
.person-card a:hover::after { letter-spacing: .05em; }
.people-more { display: flex; width: max-content; margin: 38px auto 0; }

/* Photo offset positions */
.person-photo.pos-left   img { transform: translateX(0); }
.person-photo.pos-center img { transform: translateX(-33.333%); }
.person-photo.pos-right  img { transform: translateX(-66.666%); }


/* ── Daily ─────────────────────────────────────────────────────────────── */
.daily { background: #fff; }
.sub-heading              { text-align: center; margin-bottom: 55px; }
.sub-heading h2           { line-height: 1.25; margin: 0; }
.sub-heading > p:last-child { font-size: 13px; margin-top: 14px; }
.daily-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 12px;
}
.daily-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 68px;
  height: 4px;
  background: var(--orange);
}
.daily-flow > div {
  position: relative;
  text-align: center;
  background: var(--cream);
  padding: 25px 14px 22px;
  border-radius: 12px;
}
.daily-flow time { display: block; font: 900 30px "Barlow Condensed"; color: var(--navy); }
.daily-flow span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 8px auto 16px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font: 800 13px "Barlow Condensed";
}
.daily-flow h3 { font-size: 17px; margin-bottom: 7px; }
.daily-flow p  { font-size: 10px; margin: 0; }


/* ── Growth ────────────────────────────────────────────────────────────── */
.growth { background: var(--navy); color: #fff; overflow: hidden; }
.growth .en { color: #ff9d76; }
.growth .sub-heading h2 { font-size: clamp(38px, 4.2vw, 58px); }
.growth-road {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.growth-road > div {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.growth-road > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 5px;
  background: var(--orange);
}
.growth-road > div.goal        { background: var(--orange); border-color: var(--orange); }
.growth-road > div.goal::before { background: #fff; }
.growth-road span              { font: 800 12px "Barlow Condensed"; letter-spacing: .1em; color: #ff9d76; }
.growth-road .goal span        { color: #fff; }
.growth-road strong            { font-size: 25px; margin: 10px 0; }
.growth-road p                 { font-size: 10px; margin: 0; }
.growth-road > i {
  font-style: normal;
  color: var(--orange);
  font-size: 22px;
}
/* Arrow via pseudo-element; <i> element is kept as structural separator */
.growth-road > i::before { content: "→"; }


/* ── Recruit Banner ─────────────────────────────────────────────────────── */
.recruit-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(167deg, #e15925 0%, #e15925 62%, #f7931e 62%, #f7931e 100%);
  padding: 95px 5vw 65px;
  isolation: isolate;
	z-index: 0;
}
.recruit-banner::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 8vw;
  bottom: 0;
  width: 30vw;
  height: 20vw;
  background: url('../img/index/rec-bottom.png') no-repeat bottom / contain;
}
.recruit-grid {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 24px;
  min-height: 560px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.recruit-copy             { position: relative; }
.recruit-copy .en         { color: #fff; }
.recruit-copy > p:not(.en) { max-width: 760px; }
.recruit-label {
  display: inline-block;
  background: #fff;
  color: var(--orange);
  font-size: clamp(0.813rem, 0.407rem + 1.71vw, 1.688rem);
  font-weight: 900;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 var(--navy);
}
.recruit-copy h2    { font-size: clamp(44px, 5vw, 70px); line-height: 1.2; margin: 0 0 22px; }
.recruit-copy h2 em { font-style: normal; color: var(--navy); background: #fff; padding: 0 .12em; }
.recruit-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.recruit-points article {
  min-height: 175px;
  padding: 24px 17px;
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(91, 37, 16, .24);
  text-align: center;
}
.recruit-points article img  { width: auto; height: 55px; margin: 0 auto 10px; object-fit: contain; }
.recruit-points article span { display: block; color: var(--orange); font-size: 15px; font-weight: 900; }
.recruit-points article p    { margin: 10px 0 0; color: var(--navy); font-size: 11px; line-height: 1.7; font-weight: 700; }
.recruit-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: var(--navy);
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 6px 6px 0 var(--navy);
  transition: transform .25s, box-shadow .25s;
}
.recruit-cta::after { content: "→"; font-size: 22px; color: var(--orange); font-weight: 700; transition: transform .25s; }
.recruit-cta small  { display: block; font-size: 9px; font-weight: 600; }
.recruit-cta:hover  { transform: translateY(-4px); box-shadow: 9px 9px 0 var(--navy); }
.recruit-cta:hover::after { transform: translateX(4px); }
.recruit-visual {
  position: relative;
  align-self: end;
  justify-self: center;
  z-index: 2;
}
.recruit-visual img {
  width: min(470px, 34vw);
  max-height: none;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  transform: scale(1.18);
  transform-origin: center bottom;
}


/* ── About ─────────────────────────────────────────────────────────────── */
.about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 7%;
  align-items: center;
  opacity: 0;
  transition: .8s;
}
.about-grid.visible       { opacity: 1; }
.about-grid img           { width: 100%; }
.about-grid h3            { font-size: 28px; margin-bottom: 18px; }
.about-grid > div > p     { font-size: 14px; line-height: 2; }
.about-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 28px;
}
.about-links a {
  background: var(--orange);
  color: #fff;
  padding: 18px 14px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.about-links a::after     { content: "→"; color: var(--navy); transition: transform .2s; }
.about-links a:hover      { background: var(--navy); }
.about-links a:hover::after { transform: translateX(4px); color: var(--orange)}


/* ── News ──────────────────────────────────────────────────────────────── */
.news { background: var(--cream); }
.news-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 6%;
}
.news-list{
    max-height: 210px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) transparent;	
}
/* Chrome / Edge / Safari */
.news-list::-webkit-scrollbar{ width: 4px;}
.news-list::-webkit-scrollbar-track{ background: transparent;}
.news-list::-webkit-scrollbar-thumb{ background: var(--orange); border-radius: 999px;}
.news-list::-webkit-scrollbar-thumb:hover{ background: #d14b1b; /* メインカラーを少し濃く */
}
.news-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
  border-top: 1px solid #d8cbbd;
  padding: 22px 5px;
  font-size: 14px;
  align-items: center;
  transition: color .2s;
}
.clearfix{
	display: flex;
	align-items: center;
}


.news-list a:last-child { border-bottom: 1px solid #d8cbbd; }
.news-list time         { font: 700 14px "Barlow Condensed"; color: var(--orange); width: 120px;}
.news-list a::after     { content: "→"; color: var(--orange); font-weight: 700; transition: transform .2s; }
.news-list a:hover::after { transform: translateX(4px); }


/* ── Entry ─────────────────────────────────────────────────────────────── */
.entry {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #e15925 0%, #e15925 70%, #cc481c 70%, #cc481c 100%);
  color: #fff;
  padding: 90px 5vw;
}
.entry::before {
  content: "ENTRY";
  position: absolute;
  right: -20px;
  bottom: -48px;
  color: rgba(255, 255, 255, .1);
  font: 900 clamp(110px, 18vw, 250px)/1 "Barlow Condensed";
  letter-spacing: .04em;
  pointer-events: none;
}
.entry-inner {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 190px 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.entry-character {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 8px 8px 0 var(--navy);
}
.entry .entry-character img {
  width: 205px;
  height: auto;
  max-width: none;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  margin: 0 0 2px -8px;
}
.entry .en { color: #fff; }
.entry h2  { font-size: clamp(38px, 4vw, 54px); margin: 0 0 15px; }
.entry p:last-of-type { font-size: 13px; }

/* Entry actions with hover */
.entry-actions { display: grid; gap: 12px; }
.entry-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 25px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 5px 5px 0 rgba(255, 255, 255, .9);
  transition: transform .2s, box-shadow .2s;
}
.entry-actions a:last-child {
  background: #fff;
  color: var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
}
.entry-actions a::after {
  content: "→";
  font-size: 18px;
  opacity: .65;
  transition: transform .2s, opacity .2s;
  flex-shrink: 0;
}
.entry-actions a:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0 rgba(255, 255, 255, .8);
}
.entry-actions a:last-child:hover { box-shadow: 8px 8px 0 var(--navy); }
.entry-actions a:hover::after { transform: translateX(5px); opacity: 1; }
.entry-actions small { display: block; font-size: 10px; font-weight: 400; margin-bottom: 4px; }


/* ── Footer ────────────────────────────────────────────────────────────── */
footer {
  background: #fff;
  padding: 55px 5vw 25px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: end;
  max-width: 1300px;
  margin: auto;
}
footer img    { width: 215px; margin-bottom: 18px; }
footer p      { font-size: 11px; }
.footer-links { display: flex; gap: 25px; font-size: 12px; font-weight: 700; }
footer > small {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font: 600 10px "Barlow Condensed";
  letter-spacing: .1em;
}


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

/* ── 1023px: Burger Menu + nav dropdown ──────────────────────────────────── */
@media (max-width: 1023px) {

  .header       { height: 80px; }
  .header-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .brand img { width: min(280px, 45vw); }

  .header-phone  { display: none; }

  .header-actions { height: 75px; }
  .header-entry {
    height: 75px;
    border-radius: 0;
    width: 175px;
  }

  /* Burger button */
  .menu {
    display: block;
    width: 72px;
    height: 75px;
    background: var(--orange);
    border: 0;
    padding: 18px;
    cursor: pointer;
  }
  .menu i {
    display: block;
    height: 2px;
    background: #fff;
    margin: 6px;
  }

  /* Nav – フルスクリーンオーバーレイ（オレンジ） */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--orange);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px clamp(32px, 8vw, 80px);
    gap: 0;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
    margin: 0;
  }
  .nav.open { transform: translateX(0); }

  /* 装飾：右上の半透明サークル */
  .nav::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    pointer-events: none;
  }
  /* MENU ウォーターマーク */
  .nav::after {
    content: 'MENU';
    position: absolute;
    bottom: 30px;
    right: 30px;
    font: 900 clamp(80px, 14vw, 130px)/1 "Barlow Condensed";
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .06);
    pointer-events: none;
  }

  /* ナビリンク */
  .nav a {
    color: #fff;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    letter-spacing: .06em;
    padding: 14px 0;
    width: min(320px, 80vw);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateX(-24px);
    transition: transform .3s, opacity .01s;
  }
  .nav a:first-of-type { border-top: 1px solid rgba(255, 255, 255, .2); }
  .nav a::after {
    content: '〉';
    font-size: 14px;
    opacity: .6;
    flex-shrink: 0;
    transition: transform .3s, opacity .3s;
    width: auto;
    height: auto;
    background: none;
    position: static;
    bottom: auto;
    left: auto;
  }
  .nav a:hover { color: #fff; }
  .nav a:hover::after { transform: translateX(4px); opacity: 1; }

  /* オープン時：リンクをスライドイン */
  .nav.open a:nth-of-type(1) { animation: navLinkIn .4s .20s forwards; }
  .nav.open a:nth-of-type(2) { animation: navLinkIn .4s .27s forwards; }
  .nav.open a:nth-of-type(3) { animation: navLinkIn .4s .34s forwards; }
  .nav.open a:nth-of-type(4) { animation: navLinkIn .4s .41s forwards; }
  .nav.open a:nth-of-type(5) { animation: navLinkIn .4s .48s forwards; }

  @keyframes navLinkIn {
    to { opacity: 1; transform: translateX(0); }
  }

  /* 閉じるボタン */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: background .3s, transform .3s;
    z-index: 202;
  }
  .nav-close:hover { background: rgba(255, 255, 255, .25); transform: rotate(90deg); }

  /* モバイル用 TEL・エントリーリンク */
  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 32px;
    width: min(320px, 80vw);
    opacity: 0;
    transform: translateY(10px);
  }
  .nav.open .nav-mobile-actions { animation: navLinkIn .4s .55s forwards; }
  .nav-mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 255, 255, .4);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    transition: background .3s;
    opacity: 1;
    transform: none;
    border-top: none;
    border-bottom: none;
  }
  .nav-mobile-actions a i { font-size: 18px; }
  .nav-mobile-actions a::after { display: none; }
  .nav-mobile-actions a:hover { background: rgba(255, 255, 255, .22); }

  .hero { margin-top: 80px; }

}



/* ── 900px ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .job-intro                { grid-template-columns: 1fr; }
  .job-intro span           { width: max-content; }
  .job-card                 { grid-template-columns: 1fr; }
  .job-card img             { height: 220px; min-height: 0; }
  .job-card > div           { min-height: 245px; }
  .numbers-grid             { grid-template-columns: repeat(2, 1fr); }
  .people-cards             { grid-template-columns: repeat(2, 1fr); }
  .person-card:last-child   { grid-column: 1 / -1; max-width: calc(50% - 11px); margin: auto; }
  .daily-flow               { grid-template-columns: 1fr; }
  .daily-flow::before       { left: 31px; right: auto; top: 35px; bottom: 35px; width: 4px; height: auto; }
  .daily-flow > div         { text-align: left; padding-left: 75px; }
  .daily-flow time          { display: inline-block; }
  .daily-flow span          { position: absolute; left: 16px; top: 25px; margin: 0; }
  .growth-road              { grid-template-columns: 1fr; }
  .growth-road > i          { transform: rotate(90deg); text-align: center; }
  .growth-road > i::before  { display: block; }
  .growth-road > div        { min-height: 130px; }
  .entry-inner              { grid-template-columns: 150px 1fr; }
  .entry-character          { width: 140px; height: 140px; }
  .entry .entry-character img { width: 160px; }
  .entry-actions            { grid-column: 1 / -1; }
}


/* ── 768px ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    height: 66svh;
    min-height: 620px;
    padding: 75px 5vw 55px;
    align-items: flex-start;
  }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.82) 55%,
      rgba(255,255,255,.2) 100%
    );
  }
  .hero-copy     { max-width: 100%; }
  .hero h1       { font-size: clamp(40px, 9vw, 58px); }
  .hero-kicker   { font-size: 16px; }
  .hero-lead     { font-size: 14px; }
  .hero-recruit  { right: 16px; bottom: 16px; }
  .hero-recruit img { width: min(240px, 38vw); }
}


/* ── 640px: Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .header-entry   { display: none; }
  .header-actions { right: 0; }
  .hero {
    height: 66svh;
    min-height: 590px;
    margin-top: 80px;
    padding-top: 65px;
  }
  .hero h1       { font-size: clamp(38px, 11vw, 51px); line-height: 1.22; }
  .hero-buttons  { gap: 8px; }
  .hero-recruit  { display: none; }
  .section       { padding: 75px 6vw; }

  /* Layout: single column */
  .message-grid,
  .recruit-grid,
  .about-grid,
  .news-grid  { grid-template-columns: 1fr; }

  .message-text { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .45); padding: 25px 0 0; }
  .ticker {
    margin-top: 55px;
    white-space: normal;        /* 2行折り返しを許可 */
    word-break: keep-all;
    font-size: clamp(18px, 5.5vw, 26px);
    padding: 12px 5vw;
    line-height: 1.6;
  }

  .heading-row  { display: block; }
  .heading-note { margin-top: 25px; }

  /* Job cards: 2-column on small screens */
  .job-cards    { grid-template-columns: 1fr; }
  .job-card     { grid-template-columns: 42% 58%; min-height: 240px; }
  .job-card img { height: 100%; min-height: 240px; }
  .job-card > div { min-height: 240px; padding: 20px 17px; }
  .job-card span  { font-size: 42px; right: 12px; }
  .job-card h3    { font-size: 21px; }
  .job-card small { font-size: 11px; }
  .job-description { font-size: 10px !important; margin-top: 10px !important; padding-top: 9px; }

  /* Numbers */
  .numbers-grid  { grid-template-columns: 1fr 1fr; gap: 8px; }
  .number-card   { min-height: 180px; padding: 15px; }
  .number-card strong { font-size: 38px; }
  .number-card strong:not(:has(small)) { font-size: 18px; }

  /* People */
  .people-heading { display: block; }
  .people-heading > p { margin-top: 24px; }
  .people-cards   { grid-template-columns: 1fr; }
  .person-card:last-child { grid-column: auto; max-width: none; }
  .person-card    { display: grid; grid-template-columns: 42% 58%; }
  .person-photo   { height: 260px; }
  .person-card > div:last-child { padding: 18px 15px; }
  .person-card h3 { font-size: 14px; }
  .person-card p  { font-size: 10px; }

  /* Recruit */
  .recruit-banner { padding: 75px 6vw calc(30vw + 40px); }
  .recruit-banner::after { width: 70vw; min-width: 280px; height: 30vw; }
  .recruit-visual { order: -1; margin: 12px 10px 35px 0; }
  /*.recruit-visual img { transform: none; width: 100%; }*/
	.recruit-visual{
    position:relative;
    margin:0 auto 30px;
    width:100%;
    text-align:center;
}

.recruit-visual::before{
    content:"";
    position:absolute;
    left:50%;
    bottom:-15px;
    transform:translateX(-50%);
    width:100%;
    aspect-ratio:1;
    background:#fff;
    border-radius:50%;
    z-index:-1;
}

.recruit-visual img{
    width:88%;
	margin: 0 auto;
}
  .recruit-points { grid-template-columns: 1fr; }
  .recruit-points article {
    min-height: auto;
    display: grid;
    grid-template-columns: 55px 1fr;
    column-gap: 14px;
    text-align: left;
    padding: 17px;
  }
  .recruit-points article img  { grid-row: 1 / 3; margin: auto; }
  .recruit-points article span { font-size: 14px; }
  .recruit-points article p    { font-size: 10px; margin-top: 4px; }
  .recruit-cta { display: flex; width: 100%; justify-content: center; font-size: 18px; flex-direction: column; gap: 5px;}
  .recruit-cta small{font-size: 13px;}
	.recruit-cta::after { position: absolute; right:20px;}
  /* About */
  .about-links  { grid-template-columns: 1fr; }

  /* News */
  .news-grid    { gap: 30px; }
  .news-list a  { /*grid-template-columns: 90px 1fr auto; */gap: 8px; font-size: 12px; }

  /* Entry */
  .entry        { padding: 70px 6vw; }
  .entry-inner  { grid-template-columns: 100px 1fr; gap: 18px; }
  .entry-character { width: 95px; height: 95px; box-shadow: 5px 5px 0 var(--navy); }
  .entry .entry-character img { width: 112px; margin-left: -5px; }
  .entry h2     { font-size: 30px; }
  .entry-actions a { font-size: 17px; }

  /* Footer */
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
  footer        { grid-template-columns: 1fr; }

  /* Always-visible mobile contact bar */
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }
  .header-phone,
  .header-entry {
    position: fixed;
    z-index: 50;
    bottom: 0;
    height: calc(62px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    display: flex !important;
    border-radius: 0;
    box-shadow: 0 -4px 16px rgba(20, 38, 61, .18);
  }
  .header-phone { left: 0; width: 50%; background: var(--navy); }
  .header-entry { right: 0; width: 50%; background: var(--orange); font-size: 13px; }
  /* Restore text for fixed bottom bar */
  .header-phone strong { font-size: 16px; }
  .header-phone strong::before { display: none; }
  .header-phone small  { font-size: 8px; display: flex; }
  .header-entry::before { display: none; }
  .header-entry span   { display: block; font-size: 8px; }
  .header-phone:active,
  .header-entry:active { filter: brightness(.92); }
}

/* ── 440px: hero-buttons 縦積み ─────────────────────────────────────────── */
@media (max-width: 440px) {
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .btn { min-width: 0; width: 100%; }
  .entry h2 { font-size: 26px;}	
}
