@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root {
  --orange: #ed6a00;
  --orange-dark: #b94b00;
  --orange-soft: #fff3e8;
  --green: #6aa842;
  --green-dark: #487b2b;
  --green-soft: #f1f7ed;
  --blue: #3f6576;
  --blue-soft: #eff5f7;
  --pink: #e99a9a;
  --ink: #252827;
  --text: #383c3b;
  --text-light: #6f7472;
  --line: #e8e6e1;
  --paper: #fffdfa;
  --white: #fff;
  --shadow: 0 14px 40px rgba(45, 38, 27, .09);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }
p { margin-bottom: 14px; }
::selection { background: #ffd8b4; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(232,230,225,.85);
  backdrop-filter: blur(14px);
}
.header-shell {
  max-width: 1440px;
  min-height: 78px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.site-logo img { width: 42px; height: auto; }
.site-logo span { font-size: 14px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  color: #343837;
  transition: color .2s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 14px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.site-nav a:hover,
.site-nav a.active { color: var(--orange); }
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 12px;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 7px 20px rgba(237,106,0,.2);
  transition: transform .2s ease, background .2s ease;
}
.header-contact:hover { transform: translateY(-2px); background: var(--orange-dark); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Shared ---------- */
.section { padding: 104px 28px; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-kicker,
.eyebrow {
  margin-bottom: 14px;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}
.section-heading {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}
.section-heading h2,
.home-about h2,
.home-story h2 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.45;
  letter-spacing: .01em;
}
.section-heading p:last-child {
  color: var(--text-light);
  font-size: 14px;
  margin-top: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--orange { color: #fff; background: var(--orange); box-shadow: 0 10px 28px rgba(237,106,0,.18); }
.button--orange:hover { background: var(--orange-dark); }
.button--green { color: #fff; background: var(--green); box-shadow: 0 10px 28px rgba(106,168,66,.18); }
.button--green:hover { background: var(--green-dark); }
.button--outline { color: var(--orange); border: 1.5px solid var(--orange); background: #fff; }
.button--outline:hover { color: #fff; background: var(--orange); }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 28px 78px;
  background:
    radial-gradient(circle at 7% 24%, rgba(237,106,0,.08) 0 70px, transparent 71px),
    radial-gradient(circle at 91% 15%, rgba(233,154,154,.13) 0 115px, transparent 116px),
    linear-gradient(130deg, #fff 0%, #fffaf4 58%, #f3f8ee 100%);
}
.home-hero::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -34px;
  height: 78px;
  background: var(--orange-soft);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.home-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: 58px;
}
.home-hero__copy { padding-left: 24px; }
.home-hero h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.home-hero h1 em {
  display: inline-block;
  margin-top: 6px;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.24em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -.07em;
}
.home-hero h1 span { color: var(--orange); font-size: .62em; }
.home-hero__lead {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}
.home-hero__text {
  max-width: 510px;
  margin-bottom: 30px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 2.05;
}
.home-hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
}
.text-link span { color: var(--orange); }
.home-hero__visual { position: relative; min-height: 540px; }
.hero-photo {
  position: absolute;
  inset: 30px 0 18px 18px;
  overflow: hidden;
  border-radius: 48% 52% 44% 56% / 42% 42% 58% 58%;
  background: #ddd;
  box-shadow: 0 28px 70px rgba(67,48,29,.18);
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 45%, rgba(255,255,255,.22));
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  transform: scale(1.06);
}
.hero-chip {
  position: absolute;
  z-index: 3;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  border: 7px solid rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}
.hero-chip strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  line-height: 1;
}
.hero-chip span { display: block; margin-top: 5px; font-size: 11px; font-weight: 700; }
.hero-chip--orange { left: -16px; top: 4px; color: #fff; background: var(--orange); }
.hero-chip--green { right: 4px; bottom: 0; color: #fff; background: var(--green); }
.hero-scribble {
  position: absolute;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(106,168,66,.55);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}
.hero-scribble--one { left: 2%; bottom: 17%; transform: rotate(22deg); }
.hero-scribble--two { right: 3%; top: 19%; transform: rotate(190deg); border-color: rgba(237,106,0,.28); border-left-color: transparent; }

/* ---------- About ---------- */
.home-about {
  position: relative;
  background: var(--orange-soft);
}
.home-about__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.home-about__copy h2 { margin-bottom: 22px; }
.home-about__copy > p:not(.section-kicker) {
  color: var(--text-light);
  font-size: 14px;
  line-height: 2.1;
  margin-bottom: 30px;
}
.home-about__visual { position: relative; padding-bottom: 58px; }
.about-photo {
  overflow: hidden;
  height: 370px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-facts {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.about-fact {
  min-height: 120px;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d8e7cd;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(59,73,48,.1);
}
.fact-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--orange);
  background: var(--orange-soft);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.about-fact strong { font-size: 12px; line-height: 1.55; }

/* ---------- Feature cards ---------- */
.home-links { background: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(55,48,38,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(55,48,38,.12); }
.feature-card--wide { grid-column: span 2; }
.feature-card__image { height: 225px; overflow: hidden; background: #eee; }
.feature-card--wide .feature-card__image { height: 245px; }
.feature-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.feature-card:hover .feature-card__image img { transform: scale(1.035); }
.feature-card--map .feature-card__image { background: var(--green-soft); }
.feature-card--map .feature-card__image img { object-fit: contain; padding: 18px; }
.feature-card__body {
  position: relative;
  flex: 1;
  padding: 24px 26px 26px;
}
.feature-no {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.feature-card h3 { color: var(--ink); font-size: 17px; line-height: 1.55; }
.feature-card p { margin-top: 7px; margin-bottom: 0; color: var(--text-light); font-size: 12px; line-height: 1.75; }
.feature-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--orange);
  background: var(--orange-soft);
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.feature-card:hover .feature-arrow { transform: translateX(3px); color: #fff; background: var(--orange); }
.feature-card--green .feature-no,
.feature-card--green .feature-arrow { color: var(--green-dark); }
.feature-card--green .feature-arrow { background: var(--green-soft); }

/* ---------- Story strip ---------- */
.home-story {
  padding-top: 70px;
  padding-bottom: 70px;
  background:
    linear-gradient(90deg, rgba(106,168,66,.08), rgba(237,106,0,.08)),
    #fff;
}
.home-story__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.home-story__inner > div { max-width: 720px; }
.home-story p:last-child { color: var(--text-light); font-size: 14px; margin-top: 12px; }

/* ---------- Inner pages ---------- */
.page-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 90px 28px 110px;
}
.page-wrap::before {
  content: 'MANTOMI FOODS';
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}
.page-heading {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.35;
}
.page-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}
.page-subheading { color: var(--green-dark); font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.page-lead { max-width: 760px; color: var(--text-light); margin: 18px 0 46px; line-height: 2.05; }
.sec-title {
  position: relative;
  margin: 64px 0 22px;
  padding-left: 16px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
}
.sec-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: .35em;
  width: 5px;
  height: 1.35em;
  border-radius: 99px;
  background: var(--orange);
}
.sec-title-box {
  margin: 64px 0 24px;
  padding: 17px 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--orange-soft), #fff8f2);
}
.clean-list, .num-list, .flow-list, .process-list, .timeline,
.achievement-list, .shakun-list { list-style: none; margin-bottom: 34px; }
.clean-list li, .num-list li, .achievement-list li {
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.clean-list li:first-child, .num-list li:first-child, .achievement-list li:first-child { border-top: 1px solid var(--line); }
.num-list { counter-reset: n; }
.num-list li { counter-increment: n; padding-left: 38px; position: relative; }
.num-list li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 11px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: 11px;
  font-weight: 700;
}
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; margin-bottom: 40px; border: 1px solid var(--line); border-radius: 16px; font-size: 14px; }
.data-table th, .data-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table th { width: 180px; color: var(--ink); background: #faf8f4; font-weight: 600; white-space: nowrap; }
.img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8d918f;
  background:
    linear-gradient(135deg, rgba(106,168,66,.12), rgba(237,106,0,.1));
  border: 1px dashed #cfd5cf;
  border-radius: 18px;
}
.card-grid-2, .card-grid-3 { display: grid; gap: 26px; margin-bottom: 36px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.card .img-box { border: 0; border-radius: 0; }
.card-label { padding: 18px 48px 18px 18px; font-size: 14px; font-weight: 700; text-align: left; }
.card-arrow { position: absolute; right: 16px; bottom: 14px; color: var(--orange); }
.bg-orange, .bg-green, .bg-gray { padding: 90px 28px; }
.bg-orange { background: var(--orange-soft); }
.bg-green { background: var(--green-soft); }
.bg-gray { background: #f7f7f5; }
.bg-inner { max-width: 1180px; margin: 0 auto; }
.bg-title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 14px; }
.bg-lead { max-width: 850px; margin: 0 auto 42px; color: var(--text-light); font-size: 14px; text-align: center; line-height: 2; }
.orange-box { padding: 28px; margin-bottom: 36px; background: var(--orange-soft); border-radius: 16px; font-size: 14px; line-height: 2; }
.safety-sub { margin: 22px 0 8px; color: var(--green-dark); font-weight: 700; }
.safety-sub::before { content: '● '; }
.flow-list li, .process-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.flow-list li:first-child, .process-item:first-child { border-top: 1px solid var(--line); }
.flow-num, .process-num {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 700;
}
.flow-text h4, .process-body h4 { color: var(--ink); font-size: 15px; margin-bottom: 3px; }
.flow-text p, .process-body p { color: var(--text-light); font-size: 13px; margin: 0; }
.process-body { flex: 1; }
.process-img { width: 190px; flex: 0 0 190px; }
.process-img .img-box { height: 125px; }
.voice-block {
  margin-bottom: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.voice-title { color: var(--orange); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.voice-block ul { list-style: none; }
.voice-block li { position: relative; padding-left: 16px; font-size: 14px; }
.voice-block li::before { content: '・'; position: absolute; left: 0; color: var(--orange); }
.timeline li {
  display: flex;
  gap: 32px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.timeline li:first-child { border-top: 1px solid var(--line); }
.tl-year { min-width: 130px; flex: 0 0 130px; color: var(--green-dark); font-family: 'Montserrat', sans-serif; font-weight: 700; }
.shakun-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.shakun-letter { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--orange); font-weight: 700; }
.achievement-list .ach-head { margin-bottom: 4px; color: var(--green-dark) !important; font-weight: 700; }

/* Forms */
.form-wrap {
  max-width: 760px;
  margin-top: 30px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.form-row { display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: start; margin-bottom: 18px; }
.form-label { padding-top: 9px; color: var(--ink); font-size: 13px; font-weight: 600; }
.req { color: var(--orange); font-size: 10px; margin-left: 4px; }
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  border: 1px solid #d8d9d6;
  border-radius: 10px;
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-input:focus, .form-textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(237,106,0,.08); }
.form-textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  display: block;
  min-width: 220px;
  margin: 30px auto 0;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-weight: 700;
  cursor: pointer;
}

/* ---------- CTA / footer ---------- */
.footer-cta {
  padding: 68px 28px;
  background: #fff;
}
.footer-cta__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 42px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  align-items: center;
  border: 1px dashed rgba(237,106,0,.65);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 10%, rgba(106,168,66,.1) 0 62px, transparent 63px),
    linear-gradient(90deg, #fffaf4, #fff);
}
.footer-mascot { width: 132px; max-height: 170px; object-fit: contain; justify-self: center; }
.footer-cta__content { text-align: center; }
.footer-cta .sub { margin-bottom: 6px; color: var(--ink); font-size: 13px; font-weight: 700; }
.footer-cta .main { margin-bottom: 22px; color: var(--ink); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.55; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 36px;
  border-radius: 12px;
  color: #fff;
  background: var(--orange);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(237,106,0,.18);
}
.btn-cta:hover { background: var(--orange-dark); }
.footer-tel { margin: 14px 0 0; color: var(--text-light); font-size: 13px; }
.site-footer {
  padding: 40px 28px 0;
  background: #f7f7f4;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 700; }
.footer-brand img { width: 38px; }
.footer-address { margin-top: 14px; color: var(--text-light); font-size: 11px; line-height: 1.9; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); gap: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 9px; font-size: 12px; }
.footer-links a { color: var(--text-light); }
.footer-links a::before { content: '›'; margin-right: 8px; color: var(--orange); font-weight: 700; }
.footer-links a:hover { color: var(--orange); }
.footer-copy {
  max-width: 1180px;
  margin: 30px auto 0;
  padding: 20px 0 24px;
  color: #888;
  border-top: 1px solid var(--line);
  font-size: 10px;
  text-align: center;
}

/* existing page-specific layouts */
.president-wrap { display: flex; gap: 34px; align-items: flex-start; }
.president-img { width: 220px; flex: 0 0 220px; }
.president-text { flex: 1; }
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.product-entry { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.product-entry img { aspect-ratio: 3/2; object-fit: cover; }
.product-entry h4 { padding: 18px 20px 0; color: var(--ink); font-size: 16px; line-height: 1.65; }
.product-entry p { padding: 0 20px 20px; color: var(--text-light); font-size: 13px; }
.prefecture-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.prefecture-list li {
  list-style: none;
  padding: 11px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.pref-name { color: var(--green-dark); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-shell { min-height: 70px; }
  .site-nav a { min-height: 70px; padding: 0 7px; font-size: 10px; }
  .header-contact { padding: 0 13px; }
}
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .header-contact { margin-left: 0; }
  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: max-height .3s ease;
  }
  .site-nav.is-open { max-height: calc(100vh - 70px); overflow-y: auto; }
  .site-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); padding: 14px 20px 24px; }
  .site-nav a { min-height: 52px; justify-content: flex-start; text-align: left; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
  .site-nav a::after { display: none; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .home-hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .home-hero__copy { padding: 20px 0 0; }
  .home-hero__visual { min-height: 500px; }
  .home-about__grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--wide { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  .header-shell { min-height: 64px; padding: 0 16px; gap: 12px; }
  .site-logo img { width: 36px; }
  .site-logo span { font-size: 12px; }
  .header-contact { min-height: 38px; padding: 0 12px; font-size: 0; border-radius: 9px; }
  .header-contact::before { content: '✉'; font-size: 16px; }
  .site-nav { top: 64px; }
  .section { padding: 74px 20px; }
  .home-hero { padding: 35px 20px 70px; }
  .home-hero h1 { font-size: 50px; }
  .home-hero__lead { font-size: 16px; }
  .home-hero__visual { min-height: 370px; }
  .hero-photo { inset: 18px 0 12px; border-radius: 38px; }
  .hero-chip { width: 90px; height: 90px; border-width: 5px; }
  .hero-chip strong { font-size: 25px; }
  .hero-chip span { font-size: 9px; }
  .hero-chip--orange { left: -8px; }
  .hero-chip--green { right: -4px; }
  .home-about__visual { padding-bottom: 100px; }
  .about-photo { height: 280px; }
  .about-facts { left: 0; right: 0; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .about-fact { min-height: 105px; padding: 12px 5px; border-radius: 14px; }
  .about-fact strong { font-size: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 350px; }
  .feature-card__image, .feature-card--wide .feature-card__image { height: 210px; }
  .home-story__inner { display: block; }
  .home-story .button { margin-top: 24px; }
  .page-wrap { padding: 68px 20px 84px; }
  .card-grid-2, .card-grid-3, .products-grid { grid-template-columns: 1fr; }
  .bg-orange, .bg-green, .bg-gray { padding: 70px 20px; }
  .president-wrap { display: block; }
  .president-img { width: 100%; margin-bottom: 24px; }
  .data-table { display: block; overflow-x: auto; }
  .data-table th { min-width: 130px; }
  .timeline li { display: block; }
  .tl-year { display: block; margin-bottom: 6px; }
  .process-item { flex-wrap: wrap; }
  .process-img { width: 100%; flex-basis: 100%; }
  .form-wrap { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 7px; }
  .form-label { padding-top: 0; }
  .footer-cta { padding: 52px 20px; }
  .footer-cta__inner { grid-template-columns: 1fr; padding: 28px 20px; }
  .footer-mascot { width: 110px; max-height: 145px; }
  .btn-cta { width: 100%; padding: 0 16px; }
  .site-footer { padding: 34px 20px 0; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .site-logo span { display: none; }
  .home-hero h1 { font-size: 43px; }
  .home-hero__actions { align-items: flex-start; flex-direction: column; }
  .home-hero__visual { min-height: 315px; }
  .about-facts { position: relative; margin-top: -22px; }
  .home-about__visual { padding-bottom: 0; }
  .footer-links { grid-template-columns: 1fr; }
}

/* =========================================================
   Reference-format homepage override — 2026-07
   ========================================================= */
.home-reference {
  --ref-orange: #ef6700;
  --ref-green: #78ad36;
  --ref-cream: #fff5ec;
  --ref-ink: #2f302f;
  background: #fff;
}
.home-reference .site-header { position: relative; box-shadow: none; }
.home-reference .header-shell { max-width: 1320px; min-height: 72px; padding: 0 24px; gap: 16px; }
.home-reference .site-logo img { width: 43px; }
.home-reference .site-logo span { font-size: 15px; }
.home-reference .site-nav a { min-height: 72px; font-size: 10px; padding: 0 9px; }
.home-reference .header-contact { min-height: 38px; border-radius: 5px; box-shadow: none; }

.ref-container { width: min(1130px, calc(100% - 48px)); margin: 0 auto; }
.ref-hero {
  overflow: hidden;
  position: relative;
  background: #fff;
}
.ref-hero::after {
  content: '';
  position: absolute;
  left: -5%; right: -5%; bottom: -10px;
  height: 28px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--ref-cream);
  z-index: 4;
}
.ref-hero-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.ref-hero-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: 1;
  transform: translate3d(var(--dot-x, 0), var(--dot-y, 0), 0);
  will-change: transform, opacity;
}
.ref-hero-dot--1 {
  width: 94px;
  height: 94px;
  left: -2.5%;
  top: 34%;
  background: rgba(239,103,0,.08);
  --dot-duration: 26s;
}
.ref-hero-dot--2 {
  width: 144px;
  height: 144px;
  left: 95%;
  top: -6%;
  background: rgba(236,143,153,.13);
  --dot-duration: 31s;
}
.ref-hero-dot--3 {
  width: 62px;
  height: 62px;
  left: -3%;
  top: 8%;
  background: rgba(244,184,0,.09);
  --dot-duration: 34s;
}
.ref-hero-dot--4 {
  width: 76px;
  height: 76px;
  left: 98.5%;
  top: 63%;
  background: rgba(116,168,73,.075);
  --dot-duration: 29s;
}
@media (prefers-reduced-motion: reduce) {
  .ref-hero-dot {
    transform: none !important;
    transition: none !important;
  }
}
.ref-hero__inner {
  width: min(1280px, calc(100% - 48px));
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 39% 61%;
  align-items: stretch;
}
.ref-hero__copy {
  position: relative;
  z-index: 3;
  padding: 66px 20px 72px 42px;
}
.ref-hero h1 {
  margin: 0 0 30px;
  color: var(--ref-ink);
  font-size: clamp(48px, 5.3vw, 74px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.ref-hero h1 span { color: var(--ref-orange); font-size: .66em; font-weight: 500; }
.ref-hero h1 b {
  display: inline-block;
  margin-right: 4px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.05em;
  font-style: italic;
  font-weight: 400;
  line-height: .75;
  letter-spacing: -.08em;
}
.ref-hero__lead { margin: 0 0 16px; color: var(--ref-ink); font-size: 18px; font-weight: 700; }
.ref-hero__text { color: #666; font-size: 11px; line-height: 2.05; }
.ref-hero__hand {
  position: absolute;
  right: 22px;
  bottom: 36px;
  margin: 0;
  color: var(--ref-green);
  font-family: cursive;
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: .08em;
  transform: rotate(-5deg);
}
.ref-hero__hand::before { content: '≪'; margin-right: 10px; color: #f4b800; font-family: sans-serif; font-size: 16px; }
.ref-hero__photo { position: relative; z-index: 2; min-width: 0; }
.ref-hero__photo::before {
  content: '';
  position: absolute;
  inset: 0 0 0 -100px;
  z-index: 2;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.76) 13%, transparent 31%);
  pointer-events: none;
}
.ref-hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ref-hero-slider--sp { display: none; }
.ref-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: refHeroFade 12s infinite ease-in-out;
}
.ref-hero-slide--pc { object-position: 60% center; }
.ref-hero-slide--sp { object-position: center 70%; }
.ref-hero-slider--pc .ref-hero-slide--1 { object-position: 60% center; }
.ref-hero-slider--pc .ref-hero-slide--2 {
  object-position: 100% 100%;
  transform: translateX(-7%) scale(1.13);
  transform-origin: center bottom;
}
.ref-hero-slider--pc .ref-hero-slide--3 { object-position: 58% center; }
.ref-hero-slider--sp .ref-hero-slide--1 { object-position: center 74%; }
.ref-hero-slider--sp .ref-hero-slide--2 {
  object-fit: cover;
  object-position: center 100%;
  transform: translateX(14%) scale(1.16);
  transform-origin: center bottom;
}
.ref-hero-slider--sp .ref-hero-slide--3 { object-position: center 60%; }
.ref-hero-slide--1 { animation-delay: 0s; }
.ref-hero-slide--2 { animation-delay: 4s; }
.ref-hero-slide--3 { animation-delay: 8s; }
@keyframes refHeroFade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  29% { opacity: 1; }
  33.333% { opacity: 0; }
  100% { opacity: 0; }
}

.ref-about { padding: 78px 0 82px; background: var(--ref-cream); }
.ref-about__grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 58px; align-items: center; }
.ref-about__copy { position: relative; }
.ref-title-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.ref-title-row span { color: var(--ref-orange); font-family: Georgia, serif; font-size: 24px; font-style: italic; }
.ref-title-row h2 { margin: 0; color: var(--ref-ink); font-size: 27px; line-height: 1.2; }
.ref-about h3 { margin-bottom: 14px; color: var(--ref-ink); font-size: 20px; line-height: 1.6; }
.ref-about__copy p { margin-bottom: 25px; color: #666; font-size: 11px; line-height: 2.05; }
.ref-button {
  display: inline-flex; align-items: center; gap: 24px;
  min-height: 44px; padding: 0 20px;
  color: #fff; background: var(--ref-orange); border-radius: 4px;
  font-size: 12px; font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.ref-button:hover { transform: translateY(-2px); background: #d95800; }
.ref-button i { font-style: normal; font-size: 16px; }
.ref-doodle { position: absolute; color: rgba(239,103,0,.55); font-size: 58px; font-weight: 300; transform: rotate(-18deg); }
.ref-doodle--croquette { right: 18px; bottom: -10px; }
.ref-about__visual { position: relative; padding-bottom: 66px; }
.ref-factory-photo { height: 285px; overflow: hidden; border-radius: 13px; box-shadow: 0 13px 28px rgba(53,45,34,.1); }
.ref-factory-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ref-facts {
  position: absolute; left: 7%; right: 7%; bottom: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.ref-fact {
  aspect-ratio: 1 / 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 15px 8px;
  border: 1.5px solid var(--ref-green); border-radius: 50%;
  background: #fff; text-align: center;
  box-shadow: 0 8px 20px rgba(49,72,34,.08);
}
.ref-fact__icon { width: 37px; height: 37px; margin-bottom: 6px; display: grid; place-items: center; }
.ref-fact__icon img { max-width: 36px; max-height: 36px; object-fit: contain; }
.ref-svg-icon svg { width: 31px; height: 31px; fill: none; stroke: var(--ref-green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ref-fact strong { color: #444; font-size: 11px; line-height: 1.55; }

.ref-links { padding: 45px 0 78px; background: #fffaf6; }
.ref-section-title { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 27px; }
.ref-section-title h2 { margin: 0; color: var(--ref-ink); font-size: 21px; }
.ref-section-title span { width: 28px; height: 12px; position: relative; }
.ref-section-title span::before,
.ref-section-title span::after { content: ''; position: absolute; width: 10px; height: 1.5px; background: var(--ref-orange); }
.ref-section-title span::before { top: 3px; left: 2px; transform: rotate(25deg); }
.ref-section-title span::after { bottom: 1px; right: 2px; transform: rotate(-25deg); }
.ref-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; }
.ref-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 17px rgba(55,48,38,.11);
  transition: transform .22s ease, box-shadow .22s ease;
}
.ref-card:hover { transform: translateY(-4px); box-shadow: 0 13px 28px rgba(55,48,38,.15); }
.ref-card__photo { height: 156px; overflow: hidden; background: #eee; }
.ref-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ref-card:hover .ref-card__photo img { transform: scale(1.035); }
.ref-card--map .ref-card__photo { background: #eff7e9; }
.ref-card--map .ref-card__photo img { object-fit: contain; padding: 6px 28px; }
.ref-card__label { min-height: 66px; position: relative; display: flex; align-items: center; padding: 12px 42px 12px 72px; }
.ref-card__label strong { color: #343635; font-size: 12px; line-height: 1.5; }
.ref-card__label i {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 23px; height: 23px; display: grid; place-items: center;
  border: 1px solid var(--ref-orange); border-radius: 50%;
  color: var(--ref-orange); font-size: 12px; font-style: normal;
}
.ref-card__icon {
  position: absolute; left: 13px; top: -20px;
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 1px solid #eee; border-radius: 50%; background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
}
.ref-card__icon img { width: 30px; height: 27px; object-fit: contain; }
.ref-card__icon--line { color: var(--ref-green); font-size: 22px; font-weight: 500; }

.home-reference .ref-footer-cta { padding: 52px 24px 34px; background: #fff; }
.home-reference .footer-cta__inner {
  max-width: 1130px;
  min-height: 190px;
  padding: 24px 42px;
  grid-template-columns: 150px 1fr 90px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fff9f1, #fffdf8);
}
.home-reference .footer-mascot { width: 122px; max-height: 145px; }
.home-reference .footer-cta .sub { font-size: 12px; }
.home-reference .footer-cta .main { margin-bottom: 13px; font-size: 20px; }
.home-reference .btn-cta { min-width: 460px; min-height: 50px; border-radius: 4px; font-size: 15px; }
.home-reference .footer-tel { margin-top: 9px; color: #555; line-height: 1.6; }
.home-reference .footer-tel b { font-size: 14px; }
.home-reference .footer-tel span { font-size: 9px; }
.footer-cta__leaves { color: var(--ref-green); font-size: 27px; transform: rotate(-18deg); }

.home-reference .site-footer { padding-top: 30px; background: #fff; }
.home-reference .footer-inner { max-width: 1250px; grid-template-columns: 255px 1fr; gap: 52px; align-items: center; }
.home-reference .footer-links { gap: 12px; }
.home-reference .footer-links li { font-size: 10px; }
.footer-recruit {
  min-height: 86px; overflow: hidden; position: relative;
  display: grid; grid-template-columns: 1fr 115px; align-items: center;
  border: 1px solid #cfe0b7; border-radius: 8px; background: #f5faee;
}
.footer-recruit div { padding: 11px 7px 11px 17px; }
.footer-recruit strong { display: block; margin-bottom: 2px; color: var(--ref-green); font-size: 15px; }
.footer-recruit span { color: #555; font-size: 9px; line-height: 1.5; }
.footer-recruit img { width: 115px; height: 86px; object-fit: cover; }
.footer-recruit i {
  position: absolute; right: 6px; bottom: 6px;
  width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; color: #fff; background: var(--ref-orange); font-size: 11px; font-style: normal;
}
.footer-bottom {
  margin-top: 25px; padding: 10px max(28px, calc((100% - 1250px)/2));
  display: flex; justify-content: space-between; gap: 20px;
  color: #fff; background: var(--ref-orange); font-size: 9px;
}

@media (max-width: 1050px) {
  .home-reference .site-header { position: sticky; }
  .ref-hero__inner { grid-template-columns: 1fr; }
  .ref-hero__copy { padding: 52px 28px 25px; }
  .ref-hero__hand { position: static; display: inline-block; margin-top: 4px; }
  .ref-hero__photo { height: 430px; margin: 0 -24px; }
  .ref-hero__photo::before { inset: -1px 0 auto 0; height: 90px; background: linear-gradient(#fff, transparent); }
  .ref-hero::after { bottom: -8px; height: 24px; }
  .ref-about__grid { grid-template-columns: 1fr; }
  .ref-card-grid { grid-template-columns: repeat(2, 1fr); }
  .home-reference .footer-inner { grid-template-columns: 1fr 1.5fr; }
  .footer-recruit { grid-column: 1 / -1; max-width: 360px; }
}
@media (max-width: 720px) {
  .ref-hero-dot--3 { display: none; }
  .ref-hero-dot--1 { width: 72px; height: 72px; }
  .ref-hero-dot--2 { width: 112px; height: 112px; }
  .ref-hero-dot--4 { width: 56px; height: 56px; }
  .ref-container { width: min(100% - 36px, 560px); }
  .ref-hero__inner { width: 100%; }
  .ref-hero__copy { padding: 42px 22px 18px; }
  .ref-hero h1 { font-size: 48px; }
  .ref-hero__photo { height: 310px; }
  .ref-hero::after { bottom: -6px; height: 18px; }
  .ref-hero-slider--pc { display: none; }
  .ref-hero-slider--sp { display: block; }
  .ref-about { padding: 62px 0; }
  .ref-title-row h2 { font-size: 23px; }
  .ref-about h3 { font-size: 18px; }
  .ref-factory-photo { height: 230px; }
  .ref-facts { left: 2%; right: 2%; gap: 5px; }
  .ref-fact { padding: 9px 3px; }
  .ref-fact strong { font-size: 9px; }
  .ref-card-grid { grid-template-columns: 1fr; }
  .ref-card__photo { height: 190px; }
  .home-reference .footer-cta__inner { grid-template-columns: 90px 1fr; padding: 22px 18px; }
  .home-reference .footer-mascot { width: 88px; }
  .footer-cta__leaves { display: none; }
  .home-reference .btn-cta { min-width: 0; width: 100%; padding: 0 12px; font-size: 12px; }
  .home-reference .footer-cta .main { font-size: 16px; }
  .home-reference .footer-inner { grid-template-columns: 1fr; }
  .home-reference .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}


/* ---------- Homepage content refinements ---------- */
.ref-card--recruit .ref-card__photo {
  position: relative;
  background: linear-gradient(135deg, #f1f7ed 0%, #fff6ed 100%);
}
.ref-card--recruit .ref-card__photo::after {
  content: 'RECRUIT';
  position: absolute;
  right: 16px;
  bottom: 8px;
  color: rgba(255,255,255,.88);
  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .13em;
  text-shadow: 0 1px 12px rgba(32,46,28,.24);
}
.ref-card--recruit .ref-card__photo img {
  object-position: center 25%;
}

.king-column {
  position: relative;
  overflow: hidden;
  padding: 78px 24px 72px;
  background:
    radial-gradient(circle at 12% 24%, rgba(120,173,54,.10), transparent 23%),
    radial-gradient(circle at 88% 65%, rgba(239,103,0,.09), transparent 25%),
    linear-gradient(105deg, #f7fbf4 0%, #fffdf8 52%, #fff5ec 100%);
  border-top: 1px solid rgba(120,173,54,.11);
  border-bottom: 1px solid rgba(239,103,0,.10);
}
.king-column::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -155px;
  top: -225px;
  border: 1px solid rgba(239,103,0,.10);
  border-radius: 50%;
}
.king-column__inner {
  position: relative;
  z-index: 1;
  width: min(1130px, calc(100% - 12px));
  min-height: 250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 72px;
}
.king-column__copy { max-width: 790px; }
.king-column__kicker {
  margin: 0 0 25px;
  color: var(--ref-orange);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .21em;
}
.king-column h2 {
  margin: 0 0 22px;
  color: var(--ref-ink);
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.35;
  letter-spacing: .025em;
}
.king-column__copy > p:last-child {
  max-width: 820px;
  margin: 0;
  color: #707572;
  font-size: 15px;
  line-height: 2.05;
}
.king-column__visual {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
}
.king-column__halo {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  box-shadow: 0 25px 70px rgba(101,77,45,.08);
}
.king-column__visual img {
  position: relative;
  z-index: 1;
  width: 180px;
  max-height: 235px;
  object-fit: contain;
  filter: drop-shadow(0 15px 14px rgba(89,60,34,.13));
}

/* The homepage introduces the mascot in the column above, so the CTA stays clean. */
.home-reference .ref-footer-cta .footer-mascot { display: none; }
.home-reference .footer-cta__inner { grid-template-columns: 1fr 90px; }

@media (max-width: 720px) {
  .king-column { padding: 58px 22px 52px; }
  .king-column__inner {
    width: min(100%, 560px);
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .king-column__kicker { margin-bottom: 18px; font-size: 11px; }
  .king-column h2 { margin-bottom: 16px; font-size: 26px; }
  .king-column__copy > p:last-child { font-size: 13px; line-height: 1.95; }
  .king-column__visual { min-height: 190px; }
  .king-column__halo { width: 165px; height: 165px; }
  .king-column__visual img { width: 138px; max-height: 185px; }
  .home-reference .footer-cta__inner { grid-template-columns: 1fr; }
}

/* =========================================================
   About page v2
   ========================================================= */
.about-v2 { --about-orange:#ef6800; --about-green:#5c9d32; --about-ink:#282b29; --about-cream:#fff7ef; --about-line:#f1d5be; background:#fff; }
.about-v2 main { overflow:hidden; color:var(--about-ink); }
.about-container { width:min(1120px, calc(100% - 48px)); margin-inline:auto; }
.about-section { padding:34px 0; }

.about-hero { position:relative; min-height:430px; overflow:hidden; background:linear-gradient(107deg,#fffdf9 0%,#fff9f1 50%,#fffdf9 100%); }
.about-hero::after { content:""; position:absolute; left:-4%; right:-4%; bottom:-78px; height:138px; border-radius:50% 50% 0 0 / 42% 42% 0 0; background:#fff; }
.about-hero__inner { min-height:430px; position:relative; display:flex; align-items:center; }
.about-hero__copy { position:relative; z-index:2; width:min(650px,65%); padding:60px 0 94px; }
.about-kicker { margin:0 0 20px; color:var(--about-orange); font-size:12px; font-weight:800; letter-spacing:.18em; }
.about-hero h1 { margin:0; font-size:clamp(38px,5vw,61px); line-height:1.22; letter-spacing:.035em; }
.about-title-rule { width:62px; height:4px; margin:25px 0 21px; border-radius:999px; background:linear-gradient(90deg,var(--about-orange) 0 42%,#f1b59e 42% 100%); }
.about-hero__catch { margin:0 0 23px; color:var(--about-green); font-size:17px; font-weight:800; line-height:1.85; }
.about-hero__lead { max-width:620px; margin:0; color:#575d59; font-size:14px; line-height:2.05; }
.about-hero__type { position:absolute; z-index:1; right:-20px; top:73px; display:flex; flex-direction:column; align-items:flex-end; color:rgba(239,104,0,.09); font-family:Arial,sans-serif; font-size:78px; font-weight:300; line-height:.94; letter-spacing:.01em; }
.about-hero__type::before { content:""; position:absolute; width:240px; height:240px; right:106px; bottom:-64px; border:1px solid rgba(239,104,0,.12); border-radius:50%; }
.about-hero__type::after { content:""; position:absolute; width:7px; height:7px; right:40px; top:138px; border-radius:50%; background:rgba(239,104,0,.38); }

.about-croquette { padding-top:10px; }
.about-croquette__panel { display:grid; grid-template-columns:.92fr 1.08fr; gap:48px; padding:34px; border:1px solid #f3dfd0; border-radius:18px; background:linear-gradient(115deg,#fffaf4,#fff); box-shadow:0 12px 35px rgba(85,55,30,.055); }
.about-section-title { position:relative; margin:0 0 28px; font-size:25px; line-height:1.45; }
.about-section-title::after { content:""; position:absolute; left:0; bottom:-11px; width:34px; height:3px; border-radius:99px; background:var(--about-orange); }
.about-croquette__copy p { margin:0 0 17px; color:#555c58; font-size:14px; line-height:2; }
.about-croquette__copy p:last-child { margin-bottom:0; }
.about-croquette__visual { display:grid; grid-template-columns:1fr 1fr; gap:8px; align-self:start; }
.about-photo { height:138px; margin:0; overflow:hidden; border-radius:12px; background:#eee; }
.about-photo--main { grid-column:1/-1; height:205px; }
.about-photo img { width:100%; height:100%; object-fit:cover; }
.about-photo:nth-child(2) img { object-position:center 42%; }

.about-policy__grid { display:grid; grid-template-columns:340px 1fr; gap:22px; }
.about-policy-card { position:relative; overflow:hidden; padding:27px 30px; border:1px solid #f0d8c7; border-radius:14px; background:#fff; }
.about-policy-card--motto { background:linear-gradient(155deg,#fff,#fffaf5); }
.about-policy-card--philosophy { min-height:188px; background:linear-gradient(130deg,#f8fcf5,#fff); border-color:#e0ecd7; }
.about-policy-card--guideline { background:linear-gradient(130deg,#fffaf2,#fff); }
.about-policy__stack { display:grid; gap:22px; }
.about-motto-list { list-style:none; margin:0; padding:0; }
.about-motto-list li { display:grid; grid-template-columns:34px 1fr; align-items:center; gap:13px; min-height:39px; border-bottom:1px solid #eee4dc; }
.about-motto-list li:last-child { border-bottom:0; }
.about-motto-list span { width:27px; height:27px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--about-orange); font-size:13px; font-weight:800; }
.about-motto-list b { font-size:14px; font-weight:600; }
.about-policy-card p { max-width:700px; margin:0; color:#555c58; font-size:14px; line-height:2; }
.about-policy-mark { position:absolute; right:35px; top:22px; color:rgba(92,157,50,.3); font-size:78px; font-family:Arial,sans-serif; }
.about-guideline-list { counter-reset:guideline; list-style:none; margin:0; padding:0; }
.about-guideline-list li { counter-increment:guideline; position:relative; padding:6px 0 6px 37px; color:#4c524f; font-size:13px; line-height:1.7; }
.about-guideline-list li::before { content:counter(guideline); position:absolute; left:0; top:7px; width:23px; height:23px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--about-orange); font-size:11px; font-weight:800; }

.about-strengths { padding-top:18px; padding-bottom:58px; }
.about-strengths__title { position:relative; margin:0 0 30px; text-align:center; font-size:27px; }
.about-strengths__title small { font-size:.72em; }
.about-strengths__title::after { content:""; position:absolute; left:50%; bottom:-12px; width:38px; height:3px; transform:translateX(-50%); border-radius:99px; background:var(--about-orange); }
.about-strength-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; }
.about-strength-card { position:relative; overflow:visible; border-radius:12px; background:#fff; box-shadow:0 7px 22px rgba(55,43,31,.12); }
/* v132: four strengths are links; retain the existing card appearance. */
.about-strength-card { display:block; color:inherit; text-decoration:none; transition:opacity .2s ease; }
.about-strength-card:hover { opacity:.82; }
.about-strength-card:focus-visible { outline:2px solid var(--about-orange); outline-offset:4px; }
.about-strength-card img { width:100%; height:165px; display:block; object-fit:cover; border-radius:12px 12px 0 0; }
.about-strength-card:nth-child(4) img { object-position:center 25%; }
.about-strength-card h3 { min-height:74px; margin:0; display:grid; place-items:center; padding:15px 10px; text-align:center; font-size:15px; line-height:1.6; }
.about-strength-number { position:absolute; z-index:2; left:-7px; top:-10px; width:39px; height:39px; display:grid; place-items:center; border:3px solid #fff; border-radius:50%; color:#fff; background:var(--about-orange); font-size:17px; font-weight:800; box-shadow:0 3px 9px rgba(0,0,0,.12); }
.about-company-link { max-width:660px; min-height:59px; margin:31px auto 0; display:grid; grid-template-columns:35px 1fr 25px; align-items:center; gap:10px; padding:0 22px; border:1px solid var(--about-orange); border-radius:7px; color:#3d403e; background:#fff; font-size:15px; font-weight:700; text-align:center; transition:.2s ease; }
.about-company-link:hover { color:#fff; background:var(--about-orange); transform:translateY(-2px); }
.about-company-link__icon { color:#777; font-size:21px; }
.about-company-link:hover .about-company-link__icon { color:#fff; }

@media (max-width:900px) {
  .about-hero__copy { width:75%; }
  .about-hero__type { right:-90px; font-size:62px; }
  .about-croquette__panel { grid-template-columns:1fr; }
  .about-policy__grid { grid-template-columns:1fr; }
  .about-motto-list { display:grid; grid-template-columns:1fr 1fr; gap:0 22px; }
  .about-strength-grid { grid-template-columns:repeat(2,1fr); gap:24px 16px; }
}
@media (max-width:640px) {
  .about-container { width:min(100% - 30px,560px); }
  .about-section { padding:24px 0; }
  .about-hero { min-height:auto; }
  .about-hero::after { bottom:-54px; height:92px; }
  .about-hero__inner { min-height:auto; }
  .about-hero__copy { width:100%; padding:52px 0 78px; }
  .about-kicker { font-size:10px; }
  .about-hero h1 { font-size:36px; }
  .about-hero__catch { font-size:14px; }
  .about-hero__lead { font-size:13px; }
  .about-hero__type { display:none; }
  .about-croquette { padding-top:0; }
  .about-croquette__panel { gap:28px; padding:24px 20px; }
  .about-section-title { font-size:21px; }
  .about-photo--main { height:170px; }
  .about-photo { height:105px; }
  .about-policy-card { padding:24px 20px; }
  .about-motto-list { display:block; }
  .about-policy-mark { right:22px; top:20px; font-size:52px; }
  .about-strengths__title { font-size:23px; }
  .about-strength-grid { grid-template-columns:1fr; gap:22px; }
  .about-strength-card { max-width:430px; margin-inline:auto; }
  .about-strength-card img { height:205px; }
  .about-company-link { font-size:14px; }
}

/* =========================================================
   Business page — 2026-07 revised
   ========================================================= */
.business-v3 {
  --business-orange:#ef6800;
  --business-green:#5c9d32;
  --business-ink:#292c2a;
  --business-text:#555c58;
  --business-line:#eadfd6;
  --business-cream:#fff8f1;
  background:#fff;
}
.business-v3 main { overflow:hidden; color:var(--business-ink); }
.business-v3 .business-container { width:min(1080px, calc(100% - 48px)); margin-inline:auto; }
.business-v3 .business-section { padding:76px 0; }
.business-v3 .business-section-title {
  position:relative;
  margin:0 0 34px;
  font-size:clamp(24px, 3vw, 34px);
  line-height:1.5;
  letter-spacing:.025em;
}
.business-v3 .business-section-title::after {
  content:'';
  position:absolute;
  left:0;
  bottom:-14px;
  width:44px;
  height:3px;
  border-radius:99px;
  background:var(--business-orange);
}
.business-v3 .business-heading { max-width:900px; margin-bottom:44px; }
.business-v3 .business-heading p,
.business-v3 .business-intro,
.business-v3 .business-copy > p {
  margin:0;
  color:var(--business-text);
  font-size:14px;
  line-height:2.05;
}
.business-v3 .business-heading .business-section-title + p,
.business-v3 .business-section-title + .business-intro { margin-top:0; }
.business-v3 .business-subtitle { margin:32px 0 8px; font-size:16px; }
.business-v3 .business-note { margin:20px 0 0; color:#858a87; font-size:12px; }

.business-v3 .business-hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(110deg, #fffdf9 0%, #fff7ed 62%, #fffdf9 100%);
}
.business-v3 .business-hero::before {
  content:'';
  position:absolute;
  right:-120px;
  top:-125px;
  width:430px;
  height:430px;
  border:1px solid rgba(239,104,0,.16);
  border-radius:50%;
}
.business-v3 .business-hero::after {
  content:'';
  position:absolute;
  left:-5%;
  right:-5%;
  bottom:-72px;
  height:126px;
  border-radius:50% 50% 0 0 / 44% 44% 0 0;
  background:#fff;
}
.business-v3 .business-hero__inner { position:relative; z-index:1; padding:90px 0 116px; }
.business-v3 .business-hero h1 { margin:0; font-size:clamp(40px, 5vw, 62px); line-height:1.25; letter-spacing:.04em; }
.business-v3 .business-title-rule { width:62px; height:4px; margin:26px 0 26px; border-radius:99px; background:linear-gradient(90deg,var(--business-orange) 0 42%,#efb79d 42% 100%); }
.business-v3 .business-hero__lead { max-width:760px; margin:0; color:var(--business-text); font-size:15px; line-height:2.15; }

.business-v3 .business-two-column { display:grid; grid-template-columns:1fr 1fr; gap:76px; align-items:center; }
.business-v3 .business-two-column--wide { grid-template-columns:1.04fr .96fr; }
.business-v3 .business-copy .business-emphasis { margin:0 0 20px; color:var(--business-green); font-size:19px; font-weight:800; line-height:1.8; }
.business-v3 .business-main-photo,
.business-v3 .business-shop-photo { margin:0; overflow:hidden; border-radius:4px; }
.business-v3 .business-main-photo img { width:100%; height:390px; object-fit:cover; }
.business-v3 .business-keywords { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:24px 0 0; padding:0; list-style:none; }
.business-v3 .business-keywords li { padding:14px 8px; border:1px solid var(--business-line); border-radius:7px; color:var(--business-orange); background:#fffaf6; font-size:13px; font-weight:700; text-align:center; }
.business-v3 .business-keywords li + li { border-left:1px solid var(--business-line); }

.business-v3 .business-possibilities { background:#fbfaf8; }
.business-v3 .business-purpose-list { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:0; padding:0; list-style:none; }
.business-v3 .business-purpose-list li { display:grid; grid-template-columns:36px 1fr; gap:12px; padding:24px 22px 26px; border:1px solid var(--business-line); border-radius:8px; background:#fff; }
.business-v3 .business-purpose-list li + li { border-left:1px solid var(--business-line); }
.business-v3 .business-purpose-number { color:var(--business-orange); font-size:13px; font-weight:800; letter-spacing:.08em; }
.business-v3 .business-purpose-list h3 { margin:0 0 10px; font-size:15px; line-height:1.65; }
.business-v3 .business-purpose-list p { margin:0; color:var(--business-text); font-size:12.5px; line-height:1.9; }

.business-v3 .business-achievements { background:linear-gradient(115deg,#fff8f0,#f8fbf5); }
.business-v3 .business-photo-collage { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.business-v3 .business-photo-collage figure { height:170px; margin:0; overflow:hidden; }
.business-v3 .business-photo-collage__large { grid-column:1/-1; height:250px !important; }
.business-v3 .business-photo-collage img { width:100%; height:100%; object-fit:cover; }
.business-v3 .business-data-list { margin:0; }
.business-v3 .business-data-list div { display:grid; grid-template-columns:72px 1fr; gap:18px; padding:14px 0; border-bottom:1px solid rgba(207,193,180,.72); }
.business-v3 .business-data-list div:first-child { border-top:1px solid rgba(207,193,180,.72); }
.business-v3 .business-data-list dt { color:var(--business-orange); font-size:13px; font-weight:800; }
.business-v3 .business-data-list dd { color:var(--business-text); font-size:12px; line-height:1.9; }

.business-v3 .business-client-list { margin:38px 0 0; border-top:1px solid var(--business-line); }
.business-v3 .business-client-list div { display:grid; grid-template-columns:190px 1fr; gap:32px; padding:24px 0; border-bottom:1px solid var(--business-line); }
.business-v3 .business-client-list dt { color:var(--business-orange); font-size:14px; font-weight:800; }
.business-v3 .business-client-list dd { color:var(--business-text); font-size:14px; line-height:2; }

.business-v3 .business-specs { background:#fbfaf8; }
.business-v3 .business-spec-layout { display:grid; grid-template-columns:1.25fr .75fr; gap:62px; align-items:start; margin-top:38px; }
.business-v3 .business-spec-list { margin:0; border-top:1px solid var(--business-line); }
.business-v3 .business-spec-list div { display:grid; grid-template-columns:160px 1fr; gap:28px; padding:21px 0; border-bottom:1px solid var(--business-line); }
.business-v3 .business-spec-list dt { color:var(--business-orange); font-size:14px; font-weight:800; }
.business-v3 .business-spec-list dd { color:var(--business-text); font-size:14px; line-height:1.8; }
.business-v3 .business-spec-list small { display:block; margin-top:5px; color:#858a87; font-size:12px; line-height:1.7; }
.business-v3 .business-process-photos { display:grid; gap:10px; }
.business-v3 .business-process-photos figure { height:180px; margin:0; overflow:hidden; }
.business-v3 .business-process-photos img { width:100%; height:100%; object-fit:cover; }

.business-v3 .business-flow-list { position:relative; max-width:860px; display:grid; grid-template-columns:1fr; margin:38px 0 0; padding:0; list-style:none; }
.business-v3 .business-flow-list::before { content:''; position:absolute; left:22px; top:22px; bottom:22px; width:1px; background:var(--business-line); }
.business-v3 .business-flow-list li { position:relative; display:grid; grid-template-columns:46px 1fr; gap:18px; padding:0 0 32px; }
.business-v3 .business-flow-list li:nth-child(n+4)::before { content:none; }
.business-v3 .business-flow-list > li > span { position:relative; z-index:1; width:44px; height:44px; display:grid; place-items:center; border:2px solid var(--business-orange); border-radius:50%; color:var(--business-orange); background:#fff; font-size:14px; font-weight:800; }
.business-v3 .business-flow-list h3 { margin:4px 0 8px; font-size:17px; }
.business-v3 .business-flow-list p { margin:0; color:var(--business-text); font-size:13px; line-height:1.9; }

.business-v3 .business-products { background:linear-gradient(180deg,#fff,#fff9f3); }
.business-v3 .business-product-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:36px; }
.business-v3 .business-product-grid figure { margin:0; }
.business-v3 .business-product-grid img { width:100%; height:220px; object-fit:cover; }
.business-v3 .business-product-grid figcaption { padding:14px 0 0; font-size:14px; font-weight:700; }
.business-v3 .business-map-text { margin:34px 0 0; color:var(--business-text); font-size:14px; line-height:2; }
.business-v3 .business-map-text a { color:var(--business-orange); font-weight:800; border-bottom:1px solid var(--business-orange); }

.business-v3 .business-shop { padding-bottom:84px; }
.business-v3 .business-two-column--shop { grid-template-columns:.9fr 1.1fr; }
.business-v3 .business-shop-photo img { width:100%; height:430px; object-fit:cover; }
.business-v3 .business-shop-list { margin:26px 0 0; border-top:1px solid var(--business-line); }
.business-v3 .business-shop-list div { display:grid; grid-template-columns:90px 1fr; gap:20px; padding:12px 0; border-bottom:1px solid var(--business-line); }
.business-v3 .business-shop-list dt { color:var(--business-orange); font-size:12px; font-weight:800; }
.business-v3 .business-shop-list dd { color:var(--business-text); font-size:12px; line-height:1.7; }
.business-v3 .business-shop-list a { color:var(--business-orange); overflow-wrap:anywhere; }

@media (max-width:900px) {
  .business-v3 .business-two-column,
  .business-v3 .business-two-column--wide,
  .business-v3 .business-two-column--shop,
  .business-v3 .business-spec-layout { grid-template-columns:1fr; gap:38px; }
  .business-v3 .business-main-photo img { height:360px; }
  .business-v3 .business-purpose-list { grid-template-columns:1fr; }
  .business-v3 .business-purpose-list li + li { border-left:1px solid var(--business-line); border-top:1px solid var(--business-line); }
  .business-v3 .business-photo-collage { max-width:700px; }
  .business-v3 .business-process-photos { grid-template-columns:1fr 1fr; }
  .business-v3 .business-flow-list::before { bottom:54px; }
  .business-v3 .business-shop-photo { order:2; }
}

@media (max-width:720px) {
  .business-v3 .business-container { width:min(100% - 30px, 560px); }
  .business-v3 .business-section { padding:52px 0; }
  .business-v3 .business-section-title { margin-bottom:30px; font-size:23px; }
  .business-v3 .business-hero::before { right:-210px; top:-180px; }
  .business-v3 .business-hero::after { bottom:-54px; height:92px; }
  .business-v3 .business-hero__inner { padding:60px 0 88px; }
  .business-v3 .business-hero h1 { font-size:38px; }
  .business-v3 .business-hero__lead { font-size:13px; line-height:2; }
  .business-v3 .business-main-photo img { height:260px; }
  .business-v3 .business-copy .business-emphasis { font-size:17px; }
  .business-v3 .business-keywords { grid-template-columns:repeat(2,1fr); }
  .business-v3 .business-keywords li:nth-child(3) { border-left:1px solid var(--business-line); border-top:1px solid var(--business-line); }
  .business-v3 .business-keywords li:nth-child(4) { border-top:1px solid var(--business-line); }
  .business-v3 .business-purpose-list li { grid-template-columns:34px 1fr; padding:20px 17px 22px; }
  .business-v3 .business-photo-collage__large { height:190px !important; }
  .business-v3 .business-photo-collage figure { height:120px; }
  .business-v3 .business-data-list div,
  .business-v3 .business-client-list div,
  .business-v3 .business-spec-list div,
  .business-v3 .business-shop-list div { grid-template-columns:1fr; gap:5px; }
  .business-v3 .business-client-list { margin-top:28px; }
  .business-v3 .business-process-photos { grid-template-columns:1fr; }
  .business-v3 .business-process-photos figure { height:210px; }
  .business-v3 .business-product-grid { grid-template-columns:1fr; }
  .business-v3 .business-product-grid figure { max-width:430px; width:100%; margin-inline:auto; }
  .business-v3 .business-product-grid img { height:230px; }
  .business-v3 .business-shop-photo img { height:300px; }
}

/* business.html hierarchy refinement */
.business-v3 .business-oem-group {
  position: relative;
}
.business-v3 .business-group-heading {
  padding-top: 82px;
  padding-bottom: 18px;
}
.business-v3 .business-group-title {
  position: relative;
  margin: 0;
  padding-bottom: 18px;
  color: var(--business-ink);
  font-size: clamp(27px, 3vw, 35px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .03em;
}
.business-v3 .business-group-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg,var(--business-orange) 0 42%,#efb79d 42% 100%);
}
.business-v3 .business-subsection-title {
  margin: 0 0 24px;
  color: var(--business-ink);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: .02em;
}
.business-v3 .business-subsection-title--lead {
  color: var(--business-green);
  font-size: clamp(19px, 2vw, 23px);
}
.business-v3 .business-group-heading + .business-oem {
  padding-top: 42px;
}
.business-v3 .business-heading .business-subsection-title + p,
.business-v3 .business-subsection-title + .business-intro {
  margin-top: 0;
}
.business-v3 .business-group-title--shop {
  margin-bottom: 28px;
  font-size: clamp(26px, 2.8vw, 34px);
}

@media (max-width: 640px) {
  .business-v3 .business-group-heading {
    padding-top: 58px;
    padding-bottom: 8px;
  }
  .business-v3 .business-group-title {
    padding-bottom: 17px;
    font-size: 27px;
  }
  .business-v3 .business-subsection-title {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 1.55;
  }
  .business-v3 .business-subsection-title--lead {
    font-size: 20px;
  }
  .business-v3 .business-group-heading + .business-oem {
    padding-top: 34px;
  }
}
.business-v3 .business-nowrap { white-space: nowrap; }

/* business.html — restrained box and heading refinements */
@media (max-width:900px) {
  .business-v3 .business-purpose-list { gap:10px; }
}
@media (max-width:720px) {
  .business-v3 .business-keywords { gap:7px; }
  .business-v3 .business-keywords li { padding:12px 6px; font-size:12px; }
  .business-v3 .business-purpose-list { gap:9px; }
}


/* =========================================================
   TOP page footer / link grid refinement — 2026-07-22
   ========================================================= */
/* 採用情報はTOPページのフッター内に配置 */
.footer-recruit { display: none; }
.home-reference .footer-recruit {
  display: grid;
  min-width: 0;
}

/* 会社概要カードの写真位置 */
.ref-card--company .ref-card__photo img {
  object-position: center 25%;
}

/* フッター本体は内容幅、最下部のオレンジ帯だけ画面幅いっぱい */
.home-reference .site-footer {
  padding: 30px 0 0;
}
.home-reference .footer-inner {
  width: min(1250px, calc(100% - 48px));
  grid-template-columns: 255px minmax(0, 1fr) 320px;
  gap: 34px;
}
.home-reference .footer-bottom {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: max(28px, calc((100% - 1250px) / 2));
  padding-right: max(28px, calc((100% - 1250px) / 2));
}

@media (max-width: 1050px) {
  .home-reference .footer-inner {
    grid-template-columns: 1fr 1.5fr;
  }
  .home-reference .footer-recruit {
    grid-column: 1 / -1;
    width: min(100%, 360px);
  }
}

@media (max-width: 720px) {
  .home-reference .footer-inner {
    width: min(100% - 36px, 560px);
    grid-template-columns: 1fr;
  }
  .home-reference .footer-recruit {
    grid-column: auto;
    width: 100%;
    max-width: 420px;
  }
  .home-reference .footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =========================================================
   Inner pages visual system — aligned with index / business
   2026-07-22
   ========================================================= */
.subpage-v2 {
  --sub-orange: #ef6800;
  --sub-green: #5c9d32;
  --sub-ink: #292c2a;
  --sub-text: #555c58;
  --sub-line: #eadfd6;
  --sub-pale: #fbfaf8;
  --sub-cream: #fff8f1;
  background: #fff;
}
.subpage-v2 .subpage-main { overflow: hidden; color: var(--sub-ink); }
.subpage-v2 .subpage-container { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.subpage-v2 .subpage-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(112deg, #fffdf9 0%, #fff8f0 54%, #fffdfb 100%);
}
.subpage-v2 .subpage-hero::before {
  content: '';
  position: absolute;
  width: 330px;
  height: 330px;
  right: max(-95px, calc((100vw - 1440px) / 2 - 20px));
  top: -175px;
  border: 1px solid rgba(239, 104, 0, .12);
  border-radius: 50%;
}
.subpage-v2 .subpage-hero::after {
  content: '';
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -56px;
  height: 92px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #fff;
}
.subpage-v2 .subpage-hero__inner { position: relative; z-index: 1; padding: 70px 0 96px; }
.subpage-v2 .page-heading {
  max-width: 900px;
  margin: 0;
  color: var(--sub-ink);
  font-size: clamp(34px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: .025em;
}
.subpage-v2 .page-heading::after { display: none; }
.subpage-v2 .page-heading span { font-size: .48em !important; font-weight: 500 !important; }
.subpage-v2 .subpage-title-rule {
  width: 58px;
  height: 3px;
  margin: 24px 0 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sub-orange) 0 44%, #efb79d 44% 100%);
}
.subpage-v2 .page-lead,
.subpage-v2 .map-intro,
.subpage-v2 .subpage-hero__inner > p {
  max-width: 780px;
  margin: 0;
  color: var(--sub-text);
  font-size: 14px;
  line-height: 2.05;
}
.subpage-v2 .subpage-hero__inner > p + p { margin-top: 11px; }
.subpage-v2 .page-subheading { color: var(--sub-green) !important; font-size: 14px !important; font-weight: 700; }
.subpage-v2.page-smiles .subpage-hero__inner > p:nth-of-type(2) {
  color: var(--sub-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}
.subpage-v2.page-smiles .subpage-hero__inner > p:nth-of-type(3) {
  color: var(--sub-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 2.05;
}
.subpage-v2.page-smiles .subpage-hero__inner > p:last-child { margin-top: 18px; }

.subpage-v2 .subpage-content { padding: 68px 0 104px; }
.subpage-v2 .subpage-content > :first-child { margin-top: 0; }
.subpage-v2 .subpage-section-title {
  position: relative;
  margin: 74px 0 28px;
  padding: 0 0 15px;
  border-bottom: 1px solid var(--sub-line);
  color: var(--sub-ink);
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .02em;
}
.subpage-v2 .subpage-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 54px;
  height: 3px;
  border-radius: 99px;
  background: var(--sub-orange);
}
.subpage-v2 .subpage-content > p,
.subpage-v2 .president-text p,
.subpage-v2 .product-entry p,
.subpage-v2 .equipment-card p,
.subpage-v2 .process-content p {
  color: var(--sub-text);
  font-size: 14px;
  line-height: 2;
}
.subpage-v2 .subpage-emphasis {
  margin: 0 0 30px;
  color: var(--sub-green) !important;
  font-size: 18px !important;
  font-weight: 800;
  line-height: 1.7 !important;
}
.subpage-v2 .img-box {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 18px;
  border: 1px dashed #ddcabb;
  border-radius: 10px;
  color: #9b8a7c;
  background: #fffaf5;
  font-size: 12px;
  text-align: center;
}

/* Lists: limited use of understated boxes */
.subpage-v2 .num-list {
  display: grid;
  gap: 8px;
  margin: 0 0 34px;
  counter-reset: n;
}
.subpage-v2 .num-list li {
  position: relative;
  min-height: 58px;
  padding: 16px 18px 16px 58px;
  border: 1px solid #eee7e1;
  border-radius: 8px;
  color: var(--sub-text);
  background: #fcfbf9;
  font-size: 14px;
  line-height: 1.8;
}
.subpage-v2 .num-list li:first-child { border-top: 1px solid #eee7e1; }
.subpage-v2 .num-list li::before {
  left: 17px;
  top: 15px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--sub-orange);
  font-size: 11px;
  font-weight: 800;
}
.subpage-v2 .clean-list,
.subpage-v2 .achievement-list { margin: 0 0 38px; }
.subpage-v2 .clean-list li,
.subpage-v2 .achievement-list li {
  padding: 17px 4px;
  border-bottom: 1px solid var(--sub-line);
  color: var(--sub-text);
  font-size: 14px;
  line-height: 1.85;
}
.subpage-v2 .clean-list li:first-child,
.subpage-v2 .achievement-list li:first-child { border-top: 1px solid var(--sub-line); }
.subpage-v2 .clean-list strong,
.subpage-v2 .achievement-list .ach-head { color: var(--sub-green) !important; font-weight: 800; }

/* Tables */
.subpage-v2 .data-table {
  width: 100%;
  margin: 0 0 44px;
  border: 0;
  border-top: 1px solid var(--sub-line);
  border-radius: 0;
  border-collapse: collapse;
  font-size: 14px;
  overflow: visible;
}
.subpage-v2 .data-table th,
.subpage-v2 .data-table td {
  padding: 17px 18px;
  border: 0;
  border-bottom: 1px solid var(--sub-line);
  line-height: 1.85;
}
.subpage-v2 .data-table th {
  width: 190px;
  color: var(--sub-orange);
  background: #fbfaf8;
  font-weight: 800;
}
.subpage-v2 .data-table td { color: var(--sub-text); background: #fff; }

/* Company */
.subpage-v2 .president-wrap {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin: 0 0 54px;
}
.subpage-v2 .president-img { width: auto; }
.subpage-v2 .president-img .img-box { height: 270px !important; }
.subpage-v2 .president-text p { margin: 0 0 15px; }
.subpage-v2 .president-sign { margin-top: 22px !important; color: var(--sub-ink) !important; font-weight: 700; text-align: right; }
.subpage-v2 .timeline { position: relative; margin: 0 0 44px; }
.subpage-v2 .timeline::before {
  content: '';
  position: absolute;
  left: 119px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--sub-line);
}
.subpage-v2 .timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 46px;
  padding: 18px 0;
  border: 0;
  color: var(--sub-text);
  font-size: 14px;
  line-height: 1.85;
}
.subpage-v2 .timeline li:first-child { border: 0; }
.subpage-v2 .timeline li::before {
  content: '';
  position: absolute;
  left: 115px;
  top: 26px;
  width: 9px;
  height: 9px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--sub-orange);
  box-shadow: 0 0 0 1px var(--sub-orange);
}
.subpage-v2 .tl-year { color: var(--sub-orange); font-weight: 800; line-height: 1.5; }
.subpage-v2 .company-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--sub-line);
  border-bottom: 1px solid var(--sub-line);
}
.subpage-v2 .company-location p { margin: 0; padding: 20px 24px; color: var(--sub-text); }
.subpage-v2 .company-location p + p { border-left: 1px solid var(--sub-line); }
.subpage-v2 .company-location strong { color: var(--sub-orange); }
.subpage-v2 .company-map {
  width: 100%;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--sub-line);
  border-radius: 14px;
  background: #f7f4ef;
}
.subpage-v2 .company-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* Factory */
.subpage-v2 .factory-video {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 22px 0 26px;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 18px 45px rgba(30, 28, 24, .12);
}
.subpage-v2 .factory-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.subpage-v2 .factory-plan {
  height: auto !important;
  min-height: 0;
  margin: 26px 0 48px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.subpage-v2 .factory-plan img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.subpage-v2 .factory-plan + .equipment-grid {
  clear: both;
}
.subpage-v2 .equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 24px;
  margin: 0 0 56px;
}
.subpage-v2 .equipment-card { min-width: 0; }
.subpage-v2 .equipment-card img {
  width: 100%;
  height: 195px;
  margin-bottom: 15px;
  object-fit: cover;
  border-radius: 10px;
}
.subpage-v2 .equipment-card h4 {
  margin: 0 0 7px;
  color: var(--sub-orange);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.65;
}
.subpage-v2 .equipment-card p { margin: 0; font-size: 13px; line-height: 1.8; }
.subpage-v2 .process-list { margin: 0; }
.subpage-v2 .process-item {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--sub-line);
  border-bottom: 0;
}
.subpage-v2 .process-item:last-child { border-bottom: 1px solid var(--sub-line); }
.subpage-v2 .process-img { width: auto; order: 1; }
.subpage-v2 .process-video-inline {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}
.subpage-v2 .process-video-inline video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.subpage-v2 .process-video-expand {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.subpage-v2 .process-video-expand span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(224, 101, 14, .22);
  border-radius: 999px;
  color: var(--sub-orange);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .12);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.subpage-v2 .process-video-expand:hover span,
.subpage-v2 .process-video-expand:focus-visible span {
  transform: scale(1.06);
  color: #c45a08;
  background: rgba(255, 255, 255, .94);
}
.subpage-v2 .process-video-expand:focus-visible {
  outline: 3px solid rgba(224, 101, 14, .35);
  outline-offset: -3px;
  border-radius: 10px;
}

/* 製造工程動画 ライトボックス */
.process-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
}
.process-video-lightbox.is-open { display: flex; }
.process-video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, .82);
  backdrop-filter: blur(2px);
}
.process-video-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 92vw);
  max-height: 92vh;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}
.process-video-lightbox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.process-video-lightbox__header h3 {
  margin: 0;
  color: #2b2b2b;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}
.process-video-lightbox__close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #333;
  background: #f2f0ec;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}
.process-video-lightbox__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}
.process-video-lightbox__player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}
body.process-video-lightbox-open { overflow: hidden; }

.subpage-v2 .process-content { order: 2; }
.subpage-v2 .process-header { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.subpage-v2 .process-num {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--sub-orange);
  border-radius: 50%;
  color: var(--sub-orange);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}
.subpage-v2 .process-content h4 { margin: 0; color: var(--sub-ink); font-size: 17px; font-weight: 800; }
.subpage-v2 .process-content p { margin: 0; font-size: 13px; line-height: 1.9; }

/* Safety */
.subpage-v2 .safety-sub {
  margin: 30px 0 10px;
  color: var(--sub-green);
  font-size: 17px;
  font-weight: 800;
}
.subpage-v2 .safety-sub::before { content: ''; display: inline-block; width: 18px; height: 2px; margin: 0 9px 5px 0; background: var(--sub-orange); }
.subpage-v2 .safety-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 40px;
}
.subpage-v2 .safety-photo-grid > * { width: 100%; height: 205px !important; object-fit: cover; border-radius: 10px; }
.subpage-v2 .safety-message {
  margin-top: 64px;
  padding: 38px 42px;
  border-left: 4px solid var(--sub-orange);
  border-radius: 0 12px 12px 0;
  background: var(--sub-cream);
}
.subpage-v2 .safety-message > div { display: grid; grid-template-columns: 1fr 160px; gap: 36px; align-items: start; }
.subpage-v2 .safety-message h3 { margin: 0 0 12px; font-size: 19px; }
.subpage-v2 .safety-message p { margin: 0; color: var(--sub-text); font-size: 14px; line-height: 2; }
.subpage-v2 .safety-manager-photo { width: 160px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; display: block; }

/* Smiles */
.subpage-v2 .smiles-initiative-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 52px;
}
.subpage-v2 .smiles-initiative {
  padding: 23px 22px 25px;
  border: 1px solid var(--sub-line);
  border-radius: 9px;
  background: #fff;
}
.subpage-v2 .smiles-initiative__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
}
.subpage-v2 .smiles-initiative__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #dfe9d7;
  background: #f8fcf4;
  color: var(--sub-green);
  display: grid;
  place-items: center;
}
.subpage-v2 .smiles-initiative__icon svg {
  width: 34px;
  height: 34px;
}
.subpage-v2 .smiles-initiative__title {
  margin: 0;
  color: var(--sub-green) !important;
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1.5;
}
.subpage-v2 .smiles-initiative > p:last-child { margin: 0; color: var(--sub-text); font-size: 13px; line-height: 1.9; }
.subpage-v2.page-smiles .achievement-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.subpage-v2.page-smiles .achievement-list li:nth-child(2) { border-top: 1px solid var(--sub-line); }
.subpage-v2 .smiles-school-photo {
  margin: 22px 0 26px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sub-line);
}
.subpage-v2 .smiles-school-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.subpage-v2 .smiles-pride {
  margin: 54px 0;
  padding: 34px 38px;
  border-radius: 12px;
  background: linear-gradient(110deg, #fff7ed, #fffdf9);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
  align-items: center;
}
.subpage-v2 .smiles-pride__body p:first-child { margin: 0 0 10px; color: var(--sub-orange); font-size: 18px; font-weight: 800; }
.subpage-v2 .smiles-pride__body p:last-child { margin: 0; color: var(--sub-text); font-size: 14px; line-height: 2; }
.subpage-v2 .smiles-pride__illust {
  display: flex;
  justify-content: center;
  align-items: center;
}
.subpage-v2 .smiles-pride__illust svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}
.subpage-v2 .voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.subpage-v2 .voice-block {
  margin: 0;
  padding: 25px 26px;
  border: 1px solid var(--sub-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}
.subpage-v2 .voice-block:last-child:nth-child(odd) { grid-column: 1 / -1; }
.subpage-v2 .voice-title { margin: 0 0 12px; color: var(--sub-orange); font-size: 16px; font-weight: 800; }
.subpage-v2 .voice-block li { color: var(--sub-text); font-size: 13px; line-height: 1.85; }

/* Recruit */
.subpage-v2 .flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 0 50px;
  border-top: 1px solid var(--sub-line);
  border-bottom: 1px solid var(--sub-line);
}
.subpage-v2 .flow-list li {
  display: block;
  min-height: 190px;
  padding: 26px 22px;
  border: 0;
  border-left: 1px solid var(--sub-line);
}
.subpage-v2 .flow-list li:first-child { border-top: 0; border-left: 0; }
.subpage-v2 .flow-num {
  width: 34px;
  height: 34px;
  margin-bottom: 19px;
  display: grid;
  place-items: center;
  border: 2px solid var(--sub-orange);
  border-radius: 50%;
  color: var(--sub-orange);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}
.subpage-v2 .flow-text h4 { margin: 0 0 8px; color: var(--sub-ink); font-size: 16px; }
.subpage-v2 .flow-text p { margin: 0; color: var(--sub-text); font-size: 13px; line-height: 1.8; }

/* Forms / contact */
.subpage-v2 .contact-summary {
  margin: 0 0 25px;
  padding: 22px 26px;
  border-left: 3px solid var(--sub-orange);
  background: #fbfaf8;
}
.subpage-v2 .contact-summary p { margin: 0; color: var(--sub-text); font-size: 14px; line-height: 1.9; }
.subpage-v2 .contact-summary p + p { margin-top: 4px; }
.subpage-v2 .form-wrap {
  margin: 0 0 58px;
  padding: 34px 38px;
  border: 1px solid var(--sub-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}
.subpage-v2 .form-row { margin-bottom: 22px; }
.subpage-v2 .form-label { color: var(--sub-ink); font-size: 13px; font-weight: 700; }
.subpage-v2 .req { color: var(--sub-orange); }
.subpage-v2 .form-input,
.subpage-v2 .form-textarea {
  border: 1px solid #ddd7d1;
  border-radius: 6px;
  background: #fff;
}
.subpage-v2 .form-input:focus,
.subpage-v2 .form-textarea:focus { outline: 2px solid rgba(239,104,0,.15); border-color: var(--sub-orange); }
.subpage-v2 .btn-submit {
  min-width: 220px;
  border-radius: 999px;
  background: var(--sub-orange);
  box-shadow: 0 10px 24px rgba(239,104,0,.16);
}
.subpage-v2 .btn-submit:hover { background: #c85400; }

/* Map / products */
.subpage-v2 .japan-map { max-width: 900px; margin: 0 auto 52px; }
.subpage-v2 .prefecture-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 50px;
  border-top: 1px solid var(--sub-line);
  border-left: 0;
}
.subpage-v2 .prefecture-list li {
  padding: 13px 16px;
  border: 0;
  border-right: 1px solid var(--sub-line);
  border-bottom: 1px solid var(--sub-line);
  color: var(--sub-text);
  font-size: 13px;
}
.subpage-v2 .prefecture-list li:nth-child(even) { border-right: 0; }
.subpage-v2 .pref-name { color: var(--sub-orange); font-weight: 800; }
.subpage-v2 .products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px 32px;
  margin: 30px 0 0;
}
.subpage-v2 .product-entry { gap: 0; }
.subpage-v2 .product-entry img { width: 100%; height: 285px; object-fit: cover; border-radius: 10px; }
.subpage-v2 .product-entry h3,
.subpage-v2 .product-entry h4 { margin: 15px 0 8px; padding: 0 20px; color: var(--sub-ink); font-size: 16px; font-weight: 800; line-height: 1.65; }
.subpage-v2 .product-entry p { margin: 0; font-size: 13px; line-height: 1.85; }

/* About page: remove decorative English and bring its scale/spacing closer to business */
.site-inner-v2 .about-hero { min-height: auto; }
.site-inner-v2 .about-hero::before {
  content: '';
  position: absolute;
  width: 330px;
  height: 330px;
  right: -95px;
  top: -175px;
  border: 1px solid rgba(239,104,0,.12);
  border-radius: 50%;
}
.site-inner-v2 .about-hero__inner { min-height: auto; }
.site-inner-v2 .about-hero__copy { width: min(780px, 100%); padding: 70px 0 96px; }
.site-inner-v2 .about-hero h1 { font-size: clamp(34px, 4.2vw, 46px); }
.site-inner-v2 .about-title-rule { width: 58px; height: 3px; margin: 24px 0 20px; }
.site-inner-v2 .about-hero__catch { font-size: 16px; }
.site-inner-v2 .about-croquette { padding-top: 28px; }
.site-inner-v2 .about-croquette__panel {
  padding: 38px 0 58px;
  border: 0;
  border-bottom: 1px solid #eadfd6;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.site-inner-v2 .about-policy { padding-top: 54px; }
.site-inner-v2 .about-policy-card { border-radius: 9px; box-shadow: none; }
.site-inner-v2 .about-policy-mark { display: none; }
.site-inner-v2 .about-strengths { padding-top: 54px; }
.site-inner-v2 .about-strength-card { border: 1px solid #eadfd6; border-radius: 9px; box-shadow: none; }
.site-inner-v2 .about-strength-card img { border-radius: 9px 9px 0 0; }
.site-inner-v2 .about-company-link { border-radius: 999px; }

@media (max-width: 900px) {
  .subpage-v2 .equipment-grid { grid-template-columns: 1fr 1fr; }
  .subpage-v2 .process-item { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; }
  .subpage-v2 .smiles-initiative-grid { grid-template-columns: 1fr; }
  .subpage-v2.page-smiles .achievement-list { grid-template-columns: 1fr; }
  .subpage-v2.page-smiles .achievement-list li:nth-child(2) { border-top: 0; }
  .subpage-v2 .flow-list { grid-template-columns: 1fr 1fr; }
  .subpage-v2 .flow-list li:nth-child(3) { border-left: 0; border-top: 1px solid var(--sub-line); }
  .subpage-v2 .flow-list li:nth-child(4) { border-top: 1px solid var(--sub-line); }
}

@media (max-width: 720px) {
  .subpage-v2 .subpage-container { width: min(100% - 30px, 560px); }
  .subpage-v2 .subpage-hero::before { right: -210px; top: -190px; }
  .subpage-v2 .subpage-hero::after { bottom: -48px; height: 78px; }
  .subpage-v2 .subpage-hero__inner { padding: 52px 0 76px; }
  .subpage-v2 .page-heading { font-size: 33px; }
  .subpage-v2 .page-heading span { display: block; margin-top: 5px; font-size: 15px !important; }
  .subpage-v2 .subpage-title-rule { margin: 20px 0 17px; }
  .subpage-v2 .page-lead,
  .subpage-v2 .map-intro,
  .subpage-v2 .subpage-hero__inner > p { font-size: 13px; line-height: 1.95; }
  .subpage-v2.page-smiles .subpage-hero__inner > p:nth-of-type(2) { font-size: 14px; }
  .subpage-v2.page-smiles .subpage-hero__inner > p:nth-of-type(3) { font-size: 13px; }
  .subpage-v2 .subpage-content { padding: 46px 0 78px; }
  .subpage-v2 .subpage-section-title { margin-top: 56px; font-size: 21px; }
  .subpage-v2 .subpage-emphasis { font-size: 16px !important; }
  .subpage-v2 .data-table { display: table; overflow: visible; }
  .subpage-v2 .data-table tr { display: block; }
  .subpage-v2 .data-table th,
  .subpage-v2 .data-table td { display: block; width: 100%; padding: 13px 14px; }
  .subpage-v2 .data-table th { border-bottom: 0; }
  .subpage-v2 .president-wrap { grid-template-columns: 1fr; gap: 24px; }
  .subpage-v2 .president-img { max-width: 240px; }
  .subpage-v2 .timeline::before { left: 17px; }
  .subpage-v2 .timeline li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0 18px 43px; }
  .subpage-v2 .timeline li::before { left: 13px; top: 25px; }
  .subpage-v2 .company-location { grid-template-columns: 1fr; }
  .subpage-v2 .company-location p + p { border-left: 0; border-top: 1px solid var(--sub-line); }
  .subpage-v2 .company-map { margin-top: 18px; border-radius: 10px; }
  .subpage-v2 .company-map iframe { height: 340px; }
  .subpage-v2 .factory-video { height: auto; }
  .subpage-v2 .equipment-grid { grid-template-columns: 1fr; gap: 32px; }
  .subpage-v2 .equipment-card { max-width: 460px; width: 100%; margin-inline: auto; }
  .subpage-v2 .equipment-card img { height: 230px; }
  .subpage-v2 .process-item { grid-template-columns: 1fr; gap: 18px; }
  .subpage-v2 .safety-photo-grid { grid-template-columns: 1fr; }
  .subpage-v2 .safety-photo-grid > * { height: 220px !important; }
  .subpage-v2 .safety-message { padding: 28px 22px; }
  .subpage-v2 .safety-message > div { grid-template-columns: 1fr; }
  .subpage-v2 .safety-manager-photo { width: 170px; }
  .subpage-v2 .voice-grid { grid-template-columns: 1fr; }
  .subpage-v2 .smiles-pride { grid-template-columns: 1fr; padding: 26px 22px; }
  .subpage-v2 .smiles-pride__illust { order: -1; margin-bottom: 8px; }
  .subpage-v2 .smiles-pride__illust svg { max-width: 220px; }
  .subpage-v2 .smiles-initiative__header { align-items: flex-start; }
  .subpage-v2 .smiles-initiative__icon { flex-basis: 50px; width: 50px; height: 50px; }
  .subpage-v2 .voice-block:last-child:nth-child(odd) { grid-column: auto; }
  .subpage-v2 .flow-list { grid-template-columns: 1fr; }
  .subpage-v2 .flow-list li { min-height: auto; display: grid; grid-template-columns: 38px 1fr; gap: 14px; border-left: 0; border-top: 1px solid var(--sub-line); }
  .subpage-v2 .flow-list li:first-child { border-top: 0; }
  .subpage-v2 .flow-num { margin: 0; }
  .subpage-v2 .form-wrap { padding: 25px 18px; }
  .subpage-v2 .btn-submit { width: 100%; min-width: 0; }
  .subpage-v2 .prefecture-list { grid-template-columns: 1fr; }
  .subpage-v2 .prefecture-list li { border-right: 0; }
  .subpage-v2 .products-grid { grid-template-columns: 1fr; }
  .subpage-v2 .product-entry img { height: 240px; }
  .site-inner-v2 .about-hero__copy { padding: 52px 0 76px; }
  .site-inner-v2 .about-croquette__panel { padding-top: 20px; }
  .site-inner-v2 .about-policy { padding-top: 34px; }
}

/* =========================================================
   Shared footer on every page — 2026-07-22
   ========================================================= */
/* TOPページ限定だったフッター仕様を全ページ共通にする */
.ref-footer-cta {
  padding: 52px 24px 34px;
  background: #fff;
}
.ref-footer-cta .footer-cta__inner {
  max-width: 1130px;
  min-height: 190px;
  padding: 24px 42px;
  grid-template-columns: minmax(0, 1fr) 90px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fff9f1, #fffdf8);
}
.ref-footer-cta .footer-mascot {
  display: none;
}
.ref-footer-cta .footer-cta .sub,
.ref-footer-cta .sub {
  font-size: 12px;
}
.ref-footer-cta .footer-cta .main,
.ref-footer-cta .main {
  margin-bottom: 13px;
  font-size: 20px;
}
.ref-footer-cta .btn-cta {
  min-width: 460px;
  min-height: 50px;
  border-radius: 4px;
  font-size: 15px;
}
.ref-footer-cta .footer-tel {
  margin-top: 9px;
  color: #555;
  line-height: 1.6;
}
.ref-footer-cta .footer-tel b { font-size: 14px; }
.ref-footer-cta .footer-tel span { font-size: 9px; }

.site-footer {
  padding: 30px 0 0;
  background: #fff;
}
.footer-inner {
  width: min(1250px, calc(100% - 48px));
  max-width: 1250px;
  grid-template-columns: 255px minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
}
.footer-links { gap: 12px; }
.footer-links li { font-size: 10px; }
.footer-recruit {
  display: grid;
  min-width: 0;
}
.footer-bottom {
  width: 100%;
  margin: 25px 0 0;
  padding-left: max(28px, calc((100% - 1250px) / 2));
  padding-right: max(28px, calc((100% - 1250px) / 2));
}

@media (max-width: 1050px) {
  .footer-inner {
    grid-template-columns: 1fr 1.5fr;
  }
  .footer-recruit {
    grid-column: 1 / -1;
    width: min(100%, 360px);
  }
}

@media (max-width: 720px) {
  .ref-footer-cta {
    padding: 42px 18px 28px;
  }
  .ref-footer-cta .footer-cta__inner {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }
  .ref-footer-cta .footer-cta__leaves { display: none; }
  .ref-footer-cta .btn-cta {
    min-width: 0;
    width: 100%;
    padding: 0 12px;
    font-size: 12px;
  }
  .ref-footer-cta .footer-cta .main,
  .ref-footer-cta .main { font-size: 16px; }
  .footer-inner {
    width: min(100% - 36px, 560px);
    grid-template-columns: 1fr;
  }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-recruit {
    grid-column: auto;
    width: 100%;
    max-width: 420px;
  }
  .footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
}

/* =========================================================
   Shared footer final refinement — 2026-07-23
   ========================================================= */
.ref-footer-cta .footer-cta__inner {
  grid-template-columns: minmax(0, 1fr);
}
.ref-footer-cta .footer-cta__leaves {
  display: none !important;
}

/* 採用情報：添付イメージに合わせた横長バナー */
.footer-recruit {
  min-height: 112px;
  grid-template-columns: minmax(190px, 1fr) 38%;
  border: 1px solid #c8dba9;
  border-radius: 10px;
  background: linear-gradient(90deg, #f4f9e8 0%, #f7faed 48%, #ffffff 72%);
  overflow: hidden;
}
.footer-recruit div {
  position: relative;
  z-index: 2;
  padding: 18px 8px 16px 22px;
}
.footer-recruit strong {
  margin-bottom: 8px;
  color: #6c9d39;
  font-size: 20px;
  line-height: 1.2;
}
.footer-recruit span {
  color: #555;
  font-size: 11px;
  line-height: 1.3;
}
.footer-recruit img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}
.footer-recruit i {
  right: 10px;
  bottom: 10px;
  width: 27px;
  height: 27px;
  border: 2px solid #ef7a00;
  color: #ef7a00;
  background: #fff;
  font-size: 14px;
}

/* 最下部のオレンジ帯を全ページで必ず画面幅いっぱいに */
.site-footer .footer-bottom {
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 30px;
  padding: 14px max(28px, calc((100vw - 1250px) / 2));
  background: #ef7100;
  color: #fff;
}

@media (max-width: 720px) {
  .footer-recruit {
    grid-template-columns: minmax(0, 1fr) 42%;
    min-height: 100px;
  }
  .footer-recruit strong { font-size: 18px; }
  .footer-recruit span { font-size: 10px; }
  .footer-recruit img { height: 100px; }
  .site-footer .footer-bottom {
    padding: 13px 20px;
  }
}

/* Safety page restored layout */
.subpage-v2.page-safety .safety-policy-list {
  display: block;
  overflow: hidden;
  margin: 0 0 52px;
  border: 1px solid var(--sub-line);
  border-radius: 10px;
  background: #fff;
}
.subpage-v2.page-safety .safety-policy-list li {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 20px 28px 20px 78px;
  border: 0;
  border-bottom: 1px solid var(--sub-line);
  border-radius: 0;
  background: #fff;
  color: var(--sub-text);
  font-size: 16px;
  line-height: 1.75;
}
.subpage-v2.page-safety .safety-policy-list li:first-child { border-top: 0; }
.subpage-v2.page-safety .safety-policy-list li:last-child { border-bottom: 0; }
.subpage-v2.page-safety .safety-policy-list li::before {
  left: 28px;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  color: #fff;
  background: var(--sub-orange);
  font-size: 12px;
  font-weight: 800;
}
.subpage-v2 .hygiene-check-grid {
  margin: 0 0 34px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.subpage-v2 .hygiene-card {
  grid-column: span 2;
  min-height: 270px;
  padding: 13px 14px 14px;
  border-radius: 28px;
  background: #f5efe7;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.subpage-v2 .hygiene-card--4 { grid-column: 2 / span 2; }
.subpage-v2 .hygiene-card--5 { grid-column: 4 / span 2; }
.subpage-v2 .hygiene-card__head {
  width: calc(100% - 56px);
  min-height: 52px;
  padding: 7px 14px 7px 64px;
  background: transparent;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.subpage-v2 .hygiene-card__num {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--sub-orange);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.subpage-v2 .hygiene-card h3 {
  margin: 0;
  color: #666;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.subpage-v2 .hygiene-card__illust {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px 0;
}
.subpage-v2 .hygiene-card__illust img {
  width: auto;
  max-width: 64%;
  max-height: 165px;
  height: auto;
  display: block;
}
@media (max-width: 767px) {
  .subpage-v2.page-safety .safety-policy-list { margin-bottom: 40px; }
  .subpage-v2.page-safety .safety-policy-list li { min-height: 70px; padding: 17px 18px 17px 66px; font-size: 14px; }
  .subpage-v2.page-safety .safety-policy-list li::before { left: 18px; width: 34px; height: 34px; }
  .subpage-v2 .hygiene-check-grid { grid-template-columns: 1fr; gap: 18px; }
  .subpage-v2 .hygiene-card,
  .subpage-v2 .hygiene-card--4,
  .subpage-v2 .hygiene-card--5 { grid-column: auto; min-height: 0; border-radius: 22px; }
  .subpage-v2 .hygiene-card__head { width: 100%; padding: 10px 12px 10px 60px; min-height: 54px; }
  .subpage-v2 .hygiene-card__num { width: 40px; height: 40px; font-size: 16px; left: 8px; }
  .subpage-v2 .hygiene-card h3 { font-size: 15px; }
  .subpage-v2 .hygiene-card__illust { padding-top: 10px; }
  .subpage-v2 .hygiene-card__illust img { max-width: 72%; max-height: 190px; }
}

/* RESTORED MAP PAGE STYLES */
/* Map / products */
.subpage-v2 .map-visual-wrap {
  margin: 10px 0 56px;
}
.subpage-v2 .map-visual-combined {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.subpage-v2 .map-character {
  position: absolute;
  top: 16px;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: min(38%, 360px);
}
.subpage-v2 .map-character__image {
  width: 170px;
  height: auto;
  flex: 0 0 170px;
  display: block;
}
.subpage-v2 .map-character__bubble {
  position: relative;
  min-width: 0;
  margin-top: 12px;
  padding: 14px 18px;
  border: 1.5px dashed #c6b7aa;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  transform: rotate(-4deg);
}
.subpage-v2 .map-character__bubble::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -11px;
  width: 20px;
  height: 20px;
  border-left: 1.5px dashed #c6b7aa;
  border-bottom: 1.5px dashed #c6b7aa;
  background: rgba(255,255,255,.94);
  transform: skewX(-16deg) rotate(-36deg);
}
.subpage-v2 .map-character__bubble p {
  margin: 0;
  color: var(--sub-ink);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  white-space: nowrap;
}
.subpage-v2 .japan-map {
  width: 100%;
  max-width: none;
  margin: 0;
  display: block;
}
.subpage-v2 .ingredient-showcase {
  margin: 28px 0 58px;
}
.subpage-v2 .ingredient-showcase__lead {
  margin: 0 0 22px;
  color: var(--sub-text);
  font-size: 13px;
}
.subpage-v2 .ingredient-carousel {
  --ingredient-gap: 18px;
  overflow: hidden;
  width: 100%;
}
.subpage-v2 .ingredient-carousel__track {
  display: flex;
  gap: var(--ingredient-gap);
  width: max-content;
  will-change: transform;
  animation: ingredient-marquee var(--ingredient-duration, 36s) linear infinite;
}
@keyframes ingredient-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--ingredient-distance, 0px)), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .subpage-v2 .ingredient-carousel__track { animation-play-state: paused; }
}
.subpage-v2 .ingredient-item {
  flex: 0 0 calc((var(--ingredient-carousel-width, 1000px) - (var(--ingredient-gap) * 5)) / 6);
  min-width: 0;
  margin: 0;
  text-align: center;
}
.subpage-v2 .ingredient-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 1px solid var(--sub-line);
  box-shadow: 0 10px 24px rgba(32, 32, 32, .05);
}
.subpage-v2 .ingredient-item figcaption {
  margin-top: 10px;
  color: var(--sub-ink);
  font-size: 13px;
  font-weight: 700;
}
.subpage-v2 .prefecture-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 50px;
  border-top: 1px solid var(--sub-line);
  border-left: 0;
}
.subpage-v2 .prefecture-list li {
  padding: 13px 16px;
  border: 0;
  border-right: 1px solid var(--sub-line);
  border-bottom: 1px solid var(--sub-line);
  color: var(--sub-text);
  font-size: 13px;
}
.subpage-v2 .prefecture-list li:nth-child(even) { border-right: 0; }
.subpage-v2 .pref-name { color: var(--sub-orange); font-weight: 800; }
.subpage-v2 .map-products-section {
  margin: 64px 0 0;
  padding: 38px 36px 44px;
  border-radius: 16px;
  background: #fff8f1;
}
.subpage-v2 .map-products-section .subpage-section-title {
  margin-top: 0;
}
.subpage-v2 .products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 26px;
  margin: 30px 0 0;
}
.subpage-v2 .product-entry { gap: 0; }
.subpage-v2 .product-entry img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 10px;
}
.subpage-v2 .product-entry h3,
.subpage-v2 .product-entry h4 { margin: 15px 0 8px; padding: 0 20px; color: var(--sub-ink); font-size: 16px; font-weight: 800; line-height: 1.65; }
.subpage-v2 .product-entry .product-note { margin-left: .25em; font-size: .76em; font-weight: 600; color: var(--sub-text); }
.subpage-v2 .product-entry p { margin: 0; font-size: 13px; line-height: 1.85; }

@media (max-width: 720px) {
  .subpage-v2 .map-visual-wrap { margin-bottom: 42px; }
  .subpage-v2 .map-visual-combined { max-width: none; }
  .subpage-v2 .map-character {
    top: 8px;
    left: 6px;
    gap: 10px;
    width: min(58%, 250px);
  }
  .subpage-v2 .map-character__image { width: 103px; flex-basis: 103px; }
  .subpage-v2 .map-character__bubble {
    margin-top: 2px;
    padding: 9px 12px;
    transform: none;
    border-radius: 22px;
  }
  .subpage-v2 .map-character__bubble::after {
    left: 12px;
    bottom: -8px;
    width: 14px;
    height: 14px;
  }
  .subpage-v2 .map-character__bubble p {
    font-size: 10px;
    line-height: 1.45;
    white-space: normal;
  }
  .subpage-v2 .ingredient-carousel { --ingredient-gap: 8px; }
  .subpage-v2 .prefecture-list { grid-template-columns: 1fr; }
  .subpage-v2 .prefecture-list li { border-right: 0; }
  .subpage-v2 .map-products-section { margin-top: 48px; padding: 28px 20px 34px; border-radius: 12px; }
  .subpage-v2 .products-grid { grid-template-columns: 1fr; }
  .subpage-v2 .product-entry img { height: auto; }
}

/* smiles.html latest section overrides */
.subpage-v2.page-smiles .smiles-initiative-grid{gap:18px;margin:28px 0 58px}.subpage-v2.page-smiles .smiles-initiative{min-height:320px;padding:30px 28px;border-radius:14px}.subpage-v2.page-smiles .smiles-initiative__header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.subpage-v2.page-smiles .smiles-initiative__title{font-size:20px!important;line-height:1.55}.subpage-v2.page-smiles .smiles-initiative__icon-img{width:104px;height:104px;flex:0 0 104px;object-fit:contain}.subpage-v2.page-smiles .smiles-initiative>p:last-child{font-size:14px;line-height:2}.subpage-v2.page-smiles .smiles-school-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:44px;align-items:start;margin-bottom:50px}.subpage-v2.page-smiles .smiles-school-layout__text>p{margin:0 0 18px;font-size:15px}.subpage-v2.page-smiles .smiles-school-layout .clean-list{margin-bottom:0}.subpage-v2.page-smiles .smiles-school-layout .clean-list li{padding:18px 4px;font-size:14px;line-height:1.9}.subpage-v2.page-smiles .smiles-school-layout .clean-list strong{color:var(--sub-green);font-size:15px}.subpage-v2.page-smiles .smiles-school-photo{margin:0;border-radius:14px}.subpage-v2.page-smiles .smiles-school-photo img{aspect-ratio:4/3;object-fit:cover}.subpage-v2.page-smiles .smiles-pride{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:36px;padding:38px 42px}.subpage-v2.page-smiles .smiles-pride__illust img{width:100%;max-width:430px;height:auto;display:block}@media(max-width:900px){.subpage-v2.page-smiles .smiles-school-layout,.subpage-v2.page-smiles .smiles-pride{grid-template-columns:1fr}.subpage-v2.page-smiles .smiles-school-photo{max-width:560px}}@media(max-width:720px){.subpage-v2.page-smiles .smiles-initiative{min-height:0;padding:24px 20px}.subpage-v2.page-smiles .smiles-initiative__title{font-size:17px!important}.subpage-v2.page-smiles .smiles-initiative__icon-img{width:82px;height:82px;flex-basis:82px}.subpage-v2.page-smiles .smiles-school-layout{gap:24px}.subpage-v2.page-smiles .smiles-pride{padding:26px 22px}.subpage-v2.page-smiles .smiles-pride__illust{order:0}}

.subpage-v2.page-safety .safety-photo-grid > img {
  width: 100%;
  height: 194px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

/* company.html — 会社データ表の最下段にも罫線を表示 */
.subpage-v2.page-company .data-table tr:last-child th,
.subpage-v2.page-company .data-table tr:last-child td {
  border-bottom: 1px solid var(--sub-line);
}

/* =========================================================
   TOP page requested refinements — 2026-07-28
   ========================================================= */
.home-reference .ref-hero__text {
  font-size: 13px;
  line-height: 1.9;
}
.home-reference .ref-about__copy p {
  font-size: 13px;
  line-height: 1.9;
}
.home-reference .ref-about__grid {
  grid-template-columns: .82fr 1.18fr;
  gap: 64px;
}
.home-reference .ref-about__visual {
  padding-bottom: 54px;
}
.home-reference .ref-factory-photo {
  height: 345px;
}
.home-reference .ref-facts {
  left: 50%;
  right: auto;
  bottom: 0;
  width: max-content;
  display: flex;
  justify-content: center;
  gap: 16px;
  transform: translateX(-50%);
}
.home-reference .ref-fact {
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  aspect-ratio: auto;
  padding: 12px 6px;
}
.home-reference .ref-fact__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 5px;
}
.home-reference .ref-fact__icon img {
  max-width: 34px;
  max-height: 34px;
}
.home-reference .ref-japan-icon img {
  width: 34px;
  height: 34px;
}
.home-reference .ref-fact strong {
  font-size: 10px;
  line-height: 1.5;
}
.home-reference .ref-section-title {
  gap: 0;
}
.home-reference .ref-card__label {
  min-height: 66px;
  padding: 12px 46px 12px 20px;
}
.home-reference .ref-card__label strong {
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1050px) {
  .home-reference .ref-about__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

@media (max-width: 720px) {
  .home-reference .ref-hero__text,
  .home-reference .ref-about__copy p {
    font-size: 12px;
  }
  .home-reference .ref-factory-photo {
    height: 275px;
  }
  .home-reference .ref-about__visual {
    padding-bottom: 48px;
  }
  .home-reference .ref-facts {
    gap: 6px;
  }
  .home-reference .ref-fact {
    width: 100px;
    height: 100px;
    flex-basis: 100px;
    padding: 8px 3px;
  }
  .home-reference .ref-fact__icon,
  .home-reference .ref-fact__icon img,
  .home-reference .ref-japan-icon img {
    width: 29px;
    height: 29px;
  }
  .home-reference .ref-fact strong {
    font-size: 9px;
  }
  .home-reference .ref-card__label {
    padding-left: 18px;
  }
  .home-reference .ref-card__label strong {
    font-size: 14px;
  }
}
.home-reference .ref-japan-icon img {
  width: 42px;
  height: 34px;
  max-width: none;
  object-fit: contain;
}
@media (max-width: 720px) {
  .home-reference .ref-japan-icon img {
    width: 36px;
    height: 29px;
  }
}


/* =========================================================
   Shared footer address / recruit text refinement — 2026-07-28
   ========================================================= */
.footer-address {
  line-height: 1.65;
}
.footer-address strong {
  color: var(--ink);
  font-weight: 700;
}
.footer-address__gap {
  display: block;
  height: 8px;
}
.footer-recruit span {
  line-height: 1.3;
}

@media (max-width: 720px) {
  .process-video-lightbox { padding: 14px; }
  .process-video-lightbox__dialog { width: 96vw; padding: 12px; border-radius: 12px; }
  .process-video-lightbox__header { margin-bottom: 8px; }
  .process-video-lightbox__header h3 { font-size: 14px; }
  .process-video-lightbox__close { width: 38px; height: 38px; flex-basis: 38px; font-size: 27px; }
  .subpage-v2 .process-video-expand span { right: 8px; bottom: 8px; min-width: 44px; height: 28px; font-size: 10px; }
}

/* =========================================================
   Character replacement & business flow support — 2026-07-30
   ========================================================= */
.king-column__visual img {
  width: 196px;
  max-height: 255px;
}
@media (max-width: 720px) {
  .king-column__visual img {
    width: 146px;
    max-height: 194px;
  }
}

.subpage-v2 .map-character__image {
  width: 170px;
  height: auto;
  flex: 0 0 170px;
}
@media (max-width: 720px) {
  .subpage-v2 .map-character__image {
    width: 103px;
    flex-basis: 103px;
  }
}

.business-v3 .business-flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 40px;
  align-items: end;
}
.business-v3 .business-flow-main {
  min-width: 0;
}
.business-v3 .business-flow-support {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 0 0 26px;
}
.business-v3 .business-flow-support img {
  width: 168px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(89,60,34,.10));
}
.business-v3 .business-flow-support__bubble {
  position: relative;
  margin-top: 12px;
  padding: 16px 24px;
  border: 1.5px dashed #c6b7aa;
  border-radius: 28px;
  background: rgba(255,255,255,.95);
  color: var(--business-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
  white-space: nowrap;
  transform: rotate(-5deg);
}
.business-v3 .business-flow-support__bubble::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -10px;
  width: 18px;
  height: 18px;
  border-left: 1.5px dashed #c6b7aa;
  border-bottom: 1.5px dashed #c6b7aa;
  background: rgba(255,255,255,.95);
  transform: skewX(-16deg) rotate(-36deg);
}

@media (max-width: 900px) {
  .business-v3 .business-flow-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .business-v3 .business-flow-support {
    justify-content: flex-end;
    padding-bottom: 0;
  }
}

@media (max-width: 720px) {
  .business-v3 .business-flow-support {
    justify-content: center;
    gap: 10px;
    align-items: center;
  }
  .business-v3 .business-flow-support img {
    width: 112px;
  }
  .business-v3 .business-flow-support__bubble {
    margin-top: 0;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 1.55;
    white-space: normal;
  }
  .business-v3 .business-flow-support__bubble::after {
    left: 12px;
    bottom: -8px;
    width: 14px;
    height: 14px;
  }
}

/* =========================================================
   company.html My Maps header crop — 2026-07-30
   ========================================================= */
.subpage-v2.page-company .company-map {
  --company-map-crop-top: 78px;
  height: 420px;
  position: relative;
}
.subpage-v2.page-company .company-map iframe {
  height: calc(420px + var(--company-map-crop-top));
  transform: translateY(calc(-1 * var(--company-map-crop-top)));
}
@media (max-width: 720px) {
  .subpage-v2.page-company .company-map {
    height: 340px;
  }
  .subpage-v2.page-company .company-map iframe {
    height: calc(340px + var(--company-map-crop-top));
  }
}

/* =========================================================
   index.html header sizing unified with interior pages — 2026-07-30
   ========================================================= */
.home-reference .header-shell {
  max-width: 1440px;
  min-height: 78px;
  padding: 0 28px;
  gap: 24px;
}
.home-reference .site-logo img { width: 42px; }
.home-reference .site-logo span { font-size: 14px; }
.home-reference .site-nav a {
  min-height: 78px;
  padding: 0 10px;
  font-size: 11px;
}
.home-reference .header-contact {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(237,106,0,.2);
}

@media (max-width: 1180px) {
  .home-reference .header-shell { min-height: 70px; }
  .home-reference .site-nav a {
    min-height: 70px;
    padding: 0 7px;
    font-size: 10px;
  }
  .home-reference .header-contact { padding: 0 13px; }
}

@media (max-width: 720px) {
  .home-reference .header-shell {
    min-height: 64px;
    padding: 0 16px;
    gap: 12px;
  }
  .home-reference .site-logo img { width: 36px; }
  .home-reference .site-logo span { font-size: 12px; }
  .home-reference .site-nav a {
    min-height: 52px;
    padding: 0 12px;
    font-size: 12px;
  }
  .home-reference .header-contact {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 9px;
  }
}

/* =========================================================
   index.html typography unified with interior pages — 2026-07-30
   ========================================================= */
.home-reference .ref-hero__text,
.home-reference .ref-about__copy p {
  font-size: 14px;
  line-height: 1.9;
}
.home-reference .ref-button {
  font-size: 13px;
}
.home-reference .ref-fact strong {
  font-size: 11px;
}
.home-reference .ref-card__label strong {
  font-size: 14px;
}

@media (max-width: 720px) {
  .home-reference .ref-hero__text,
  .home-reference .ref-about__copy p {
    font-size: 13px;
    line-height: 1.9;
  }
  .home-reference .ref-button {
    font-size: 13px;
  }
  .home-reference .ref-fact strong {
    font-size: 10px;
  }
  .home-reference .ref-card__label strong {
    font-size: 14px;
  }
}


/* =========================================================
   about/business layout refinements — 2026-07-30
   ========================================================= */
.site-inner-v2 .about-company-link {
  margin-top: 68px;
}

.business-v3 .business-achievements .business-map-text {
  max-width: 760px;
  margin: 34px 0 0;
}

@media (max-width: 720px) {
  .site-inner-v2 .about-company-link {
    margin-top: 46px;
  }
  .business-v3 .business-achievements .business-map-text {
    margin-top: 28px;
  }
}

/* =========================================================
   business.html — preserve section color contrast after
   removing “コロッケ・メンチカツの一例” — 2026-07-30
   ========================================================= */
.business-v3 .business-flow {
  background: linear-gradient(180deg, #fff 0%, #fff9f3 100%);
}
.business-v3 .business-shop {
  background: #fff;
}

/* =========================================================
   business.html — tighten map link spacing in achievements
   2026-07-30
   ========================================================= */
.business-v3 .business-achievements .business-two-column--wide {
  column-gap: 76px;
  row-gap: 30px;
}
.business-v3 .business-achievements .business-map-text {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0;
}
@media (max-width: 900px) {
  .business-v3 .business-achievements .business-two-column--wide {
    row-gap: 26px;
  }
}
@media (max-width: 720px) {
  .business-v3 .business-achievements .business-two-column--wide {
    row-gap: 22px;
  }
  .business-v3 .business-achievements .business-map-text {
    margin-top: 0;
  }
}

/* =========================================================
   Privacy / Sitemap pages & recruit table refinement — 2026-07-31
   ========================================================= */
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.footer-bottom b {
  margin: 0 16px;
  font-weight: 400;
}

.subpage-v2.page-recruit .data-table tr:last-child th,
.subpage-v2.page-recruit .data-table tr:last-child td {
  border-bottom: 1px solid var(--sub-line);
}

.legal-page {
  max-width: 980px;
}
.legal-section {
  margin-bottom: 46px;
}
.legal-section .subpage-section-title {
  margin-bottom: 22px;
}
.legal-section p,
.privacy-list {
  color: var(--sub-text);
  font-size: 14px;
  line-height: 2;
}
.privacy-list {
  margin: 14px 0 0;
  padding-left: 1.6em;
}
.privacy-list li {
  margin: 6px 0;
}
.legal-contact {
  padding-bottom: 18px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 46px;
  border-top: 1px solid var(--sub-line);
}
.sitemap-grid a {
  display: block;
  position: relative;
  padding: 24px 34px 24px 2px;
  border-bottom: 1px solid var(--sub-line);
  color: var(--sub-ink);
  text-decoration: none;
}
.sitemap-grid a::after {
  content: '→';
  position: absolute;
  right: 4px;
  top: 24px;
  color: var(--sub-orange);
  font-weight: 700;
}
.sitemap-grid strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}
.sitemap-grid span {
  display: block;
  color: var(--sub-text);
  font-size: 13px;
  line-height: 1.7;
}
.sitemap-grid a:hover strong {
  color: var(--sub-orange);
}

@media (max-width: 720px) {
  .footer-bottom b { margin: 0 8px; }
  .legal-section { margin-bottom: 34px; }
  .legal-section p,
  .privacy-list { font-size: 13px; }
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sitemap-grid a {
    padding: 20px 32px 20px 0;
  }
  .sitemap-grid a::after { top: 20px; }
}


/* =========================================================
   Form mail test / Lolipop PHP — 2026-07-31
   ========================================================= */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-result {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: center;
}
.form-result h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 24px;
}
.form-result p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 2;
}
.form-result .button {
  margin-top: 28px;
}
@media (max-width: 720px) {
  .form-result {
    padding: 32px 20px;
  }
  .form-result h2 {
    font-size: 20px;
  }
}

/* =========================================================
   2026-07-31: smiles/company/mobile header refinements
   ========================================================= */
/* Company president signature: role/name should not be bold. */
.subpage-v2.page-company .president-sign {
  font-weight: 400 !important;
}

/* Reusable envelope SVG. Desktop remains the orange contact button. */
.header-contact__icon {
  width: 15px;
  height: 12px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-contact__label {
  display: inline;
}

@media (max-width: 980px) {
  /* Keep mail and hamburger together at the right edge. */
  .header-contact {
    margin-left: auto;
  }
  .menu-toggle {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  /* SP only: simple orange line-art mail icon, no orange button block. */
  .header-contact,
  .home-reference .header-contact {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    margin-left: auto;
    border-radius: 0;
    background: transparent;
    color: var(--orange);
    box-shadow: none;
    gap: 0;
  }
  .header-contact:hover,
  .home-reference .header-contact:hover {
    background: transparent;
    color: var(--orange-dark);
    transform: none;
  }
  .header-contact::before,
  .home-reference .header-contact::before {
    content: none !important;
    display: none !important;
  }
  .header-contact__label {
    display: none;
  }
  .header-contact__icon {
    width: 27px;
    height: 21px;
    stroke-width: 1.5;
  }
  .menu-toggle {
    margin-left: 2px;
  }

  /* Let the portrait define its natural height so copy begins below it. */
  .subpage-v2.page-company .president-img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 22px;
  }
  .subpage-v2.page-company .president-img .img-box {
    height: auto !important;
    overflow: visible;
  }
  .subpage-v2.page-company .president-img img {
    width: 100% !important;
    height: auto !important;
  }
  .subpage-v2.page-company .president-wrap {
    gap: 0;
  }
}

/* Form privacy agreement */
.form-privacy {
  margin: 24px 0 0 210px;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.8;
}
.form-privacy label { display: flex; align-items: flex-start; gap: 7px; cursor: pointer; }
.form-privacy input[type="checkbox"] { width: 16px; height: 16px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--orange); }
.form-privacy a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-privacy .req { flex: 0 0 auto; margin-left: 2px; }
@media (max-width: 720px) {
  .form-privacy { margin-left: 0; }
}


/* Recruit page job categories — 2026-08-02 */
.subpage-v2.page-recruit .recruit-job-title {
  margin: 42px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--sub-orange);
  color: var(--sub-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}
.subpage-v2.page-recruit .recruit-data-table {
  margin-bottom: 48px;
}
.subpage-v2.page-recruit .recruit-data-table td:empty::after {
  content: '\00a0';
}
@media (max-width: 720px) {
  .subpage-v2.page-recruit .recruit-job-title {
    margin-top: 34px;
    font-size: 18px;
  }
  .subpage-v2.page-recruit .recruit-data-table {
    margin-bottom: 38px;
  }
}


/* ---------- Home news ---------- */
.home-reference .ref-hero {
  padding-bottom: 54px;
}
.home-reference .ref-news--hero {
  position: relative;
  z-index: 5;
  margin-top: -10px;
}
.home-reference .ref-news__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  padding: 24px 34px;
  background: rgba(255,255,255,.95);
  border: 1px solid #ead7c8;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(64, 40, 18, 0.06);
}
.home-reference .ref-news__heading {
  display: block;
}
.home-reference .ref-news__title {
  margin: 0;
  color: var(--ref-ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
}
.home-reference .ref-news__list {
  min-width: 0;
}
.home-reference .ref-news__item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 46px;
}
.home-reference .ref-news__item + .ref-news__item {
  border-top: 1px solid #eadfd7;
  margin-top: 10px;
  padding-top: 10px;
}
.home-reference .ref-news__item time {
  color: var(--ref-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}
.home-reference .ref-news__item span {
  color: var(--ref-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
/* v132: recruitment news link only. */
.home-reference .ref-news__item a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity .2s ease;
}
.home-reference .ref-news__item a:hover { opacity:.72; }
.home-reference .ref-news__item a:focus-visible { outline:2px solid var(--ref-orange); outline-offset:3px; }

@media (max-width: 760px) {
  .home-reference .ref-hero {
    padding-bottom: 38px;
  }
  .home-reference .ref-news--hero {
    margin-top: -4px;
  }
  .home-reference .ref-news__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 18px 16px;
    border-radius: 16px;
  }
  .home-reference .ref-news__heading {
    display: block;
  }
  .home-reference .ref-news__title {
    font-size: 17px;
  }
  .home-reference .ref-news__item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
  }
  .home-reference .ref-news__item + .ref-news__item {
    margin-top: 8px;
    padding-top: 8px;
  }
  .home-reference .ref-news__item time {
    font-size: 11px;
  }
  .home-reference .ref-news__item span {
    font-size: 12px;
  }
}

/* v105 — Visual size compensation for Kororon on business/map pages (2026-10-09).
   The previous adjustment matched CSS width with the homepage mascot, but because
   these poses include fork/hand spread and different canvas balance, they still
   appeared smaller. The values below are tuned for perceived on-screen size. */
.business-v3 .business-flow-support img {
  width: 252px;
  max-width: none;
  height: auto;
  flex-shrink: 0;
}
.subpage-v2 .map-character {
  width: min(82%, 520px);
}
.subpage-v2 .map-character__image {
  width: 258px;
  flex: 0 0 258px;
  height: auto;
}
@media (max-width: 720px) {
  .business-v3 .business-flow-support {
    gap: 12px;
    align-items: flex-end;
  }
  .business-v3 .business-flow-support img {
    width: 182px;
  }
  .subpage-v2 .map-character {
    width: min(100%, 430px);
    gap: 12px;
  }
  .subpage-v2 .map-character__image {
    width: 186px;
    flex-basis: 186px;
  }
  .subpage-v2 .map-character__bubble p {
    white-space: normal;
  }
}

/* v106 — make room for mascot and text without horizontal overflow. */
@media (min-width: 901px) {
  .business-v3 .business-flow-layout { grid-template-columns: minmax(0, 1fr) 435px; gap: 24px; }
}
@media (max-width: 720px) {
  .business-v3 .business-flow-support img { width: clamp(130px, 38vw, 182px); }
  .subpage-v2 .map-character__image { width: clamp(120px, 37vw, 186px); flex-basis: clamp(120px, 37vw, 186px); }
}

/* v107 — three consistent Kororon variants and their small-name captions.
   These rules preserve v106 image sizes, including mobile and wide-view layout. */
.king-column__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.king-column__caption {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: var(--ref-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.business-note--mascot {
  margin-top: 10px;
  color: var(--business-ink);
  font-weight: 700;
}
.business-v3 .business-flow-support__figure {
  display: flex;
  flex: 0 0 252px;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.business-v3 .business-flow-support__figure img {
  width: 100%;
  max-width: none;
  flex-shrink: 0;
}
.business-v3 .business-flow-support__caption {
  margin: 10px 0 0;
  color: var(--business-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.subpage-v2 .map-character__figure {
  display: flex;
  flex: 0 0 258px;
  min-width: 0;
  flex-direction: column;
  align-items: center;
}
.subpage-v2 .map-character__figure .map-character__image {
  width: 100%;
  height: auto;
  flex: none;
}
.subpage-v2 .map-character__caption {
  margin: 10px 0 0;
  color: var(--sub-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
@media (max-width: 900px) and (min-width: 721px) {
  .business-v3 .business-flow-support__figure { flex-basis: 252px; }
}
@media (max-width: 720px) {
  .king-column__caption { margin-top: 8px; font-size: 12px; }
  .business-v3 .business-flow-support__figure { flex-basis: clamp(130px, 38vw, 182px); }
  .business-v3 .business-flow-support__caption { margin-top: 8px; font-size: 11px; }
  .subpage-v2 .map-character__figure { flex-basis: clamp(120px, 37vw, 186px); }
  .subpage-v2 .map-character__caption { margin-top: 6px; font-size: 10px; }
}


/* ==========================================================
   v108 — Responsive Kororon composition / 2026-10-15
   Enlarges the character slightly on desktop, scales it down
   on phones, and keeps the name label and speech bubble visually
   attached without altering the supplied illustration files.
   ========================================================== */
@media (min-width: 901px) {
  .business-v3 .business-flow-layout {
    grid-template-columns: minmax(0, 1fr) 505px;
    gap: 22px;
  }
}
.business-v3 .business-flow-support {
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-bottom: 20px;
}
.business-v3 .business-flow-support__figure {
  flex: 0 0 294px;
  width: 294px;
  align-items: center;
}
.business-v3 .business-flow-support__figure img {
  width: 100%;
  height: auto;
}
.business-v3 .business-flow-support__caption {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
}
.business-v3 .business-flow-support__bubble {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 0 18px;
  padding: 13px 12px;
  white-space: normal;
}
.subpage-v2 .map-character {
  top: 8px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(63%, 610px);
}
.subpage-v2 .map-character__figure {
  flex: 0 0 324px;
  width: 324px;
  align-items: center;
}
.subpage-v2 .map-character__figure .map-character__image {
  width: 100%;
  height: auto;
  flex: none;
}
.subpage-v2 .map-character__caption {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
}
.subpage-v2 .map-character__bubble {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 0 20px;
  padding: 13px 15px;
}
.subpage-v2 .map-character__bubble p {
  font-size: 12px;
  white-space: normal;
}
@media (min-width: 721px) and (max-width: 900px) {
  .business-v3 .business-flow-support {
    justify-content: center;
  }
  .business-v3 .business-flow-support__figure {
    flex-basis: 260px;
    width: 260px;
  }
  .business-v3 .business-flow-support__bubble {
    flex: 0 1 195px;
  }
  .subpage-v2 .map-character {
    width: min(75%, 545px);
  }
  .subpage-v2 .map-character__figure {
    flex-basis: 275px;
    width: 275px;
  }
}
@media (max-width: 720px) {
  .business-v3 .business-flow-support {
    width: min(100%, 350px);
    margin: 0 auto;
    padding: 0 0 12px;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .business-v3 .business-flow-support__figure {
    flex: 0 0 clamp(108px, 32vw, 138px);
    width: clamp(108px, 32vw, 138px);
  }
  .business-v3 .business-flow-support__figure img {
    width: 100%;
    height: auto;
  }
  .business-v3 .business-flow-support__caption {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.4;
  }
  .business-v3 .business-flow-support__bubble {
    flex: 0 1 172px;
    min-width: 0;
    margin: 0 0 16px;
    padding: 11px 10px;
    font-size: 11px;
    line-height: 1.5;
    transform: none;
  }
  .subpage-v2 .map-character {
    top: 2px;
    left: 0;
    width: min(100%, 355px);
    align-items: center;
    gap: 8px;
  }
  .subpage-v2 .map-character__figure {
    flex: 0 0 clamp(102px, 30vw, 130px);
    width: clamp(102px, 30vw, 130px);
  }
  .subpage-v2 .map-character__figure .map-character__image {
    width: 100%;
    height: auto;
  }
  .subpage-v2 .map-character__caption {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.35;
    white-space: nowrap;
  }
  .subpage-v2 .map-character__bubble {
    flex: 0 1 190px;
    min-width: 0;
    margin: 0 0 10px;
    padding: 9px 10px;
    transform: none;
    border-radius: 24px;
  }
  .subpage-v2 .map-character__bubble p {
    font-size: 10px;
    line-height: 1.5;
    white-space: normal;
  }
}


/* v109 — use integrated Kororon + speech-bubble images for business/map,
   and keep only the top-page caption. */
.king-column__caption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
}
.business-v3 .business-flow-support {
  display: block;
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 0 0 18px;
}
.business-v3 .business-flow-support__figure {
  display: block;
  width: min(100%, 420px);
  margin: 0 auto;
  flex: none;
}
.business-v3 .business-flow-support__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.business-v3 .business-flow-support__caption,
.business-v3 .business-flow-support__bubble,
.subpage-v2 .map-character__caption,
.subpage-v2 .map-character__bubble {
  display: none;
}
.subpage-v2 .map-character {
  top: 10px;
  left: 0;
  width: min(72%, 560px);
  display: block;
}
.subpage-v2 .map-character__figure {
  display: block;
  width: min(100%, 500px);
  margin: 0;
  flex: none;
}
.subpage-v2 .map-character__figure .map-character__image {
  display: block;
  width: 100%;
  height: auto;
  flex: none;
}
@media (max-width: 720px) {
  .king-column__caption {
    margin-top: 6px;
    font-size: 11px;
  }
  .business-v3 .business-flow-support {
    width: min(100%, 320px);
    padding: 0 0 10px;
  }
  .business-v3 .business-flow-support__figure {
    width: min(100%, 300px);
  }
  .subpage-v2 .map-character {
    top: 4px;
    left: 0;
    width: min(100%, 305px);
  }
  .subpage-v2 .map-character__figure {
    width: min(100%, 305px);
  }
}


/* v110 — reduce only the map-page Kororon illustration to about 60% on desktop. */
.subpage-v2 .map-character {
  width: min(44%, 340px);
}
.subpage-v2 .map-character__figure {
  width: min(100%, 300px);
}
@media (min-width: 721px) and (max-width: 900px) {
  .subpage-v2 .map-character {
    width: min(52%, 380px);
  }
  .subpage-v2 .map-character__figure {
    width: min(100%, 330px);
  }
}


/* v111 — reduce only the business-page Kororon integrated illustration to 80%. */
.business-v3 .business-flow-support {
  width: min(100%, 368px);
}
.business-v3 .business-flow-support__figure {
  width: min(100%, 336px);
}
@media (max-width: 720px) {
  .business-v3 .business-flow-support {
    width: min(100%, 256px);
  }
  .business-v3 .business-flow-support__figure {
    width: min(100%, 240px);
  }
}


/* v112 — on phones, make the business-page Kororon image match the top-page mascot's vertical height more closely. */
@media (max-width: 720px) {
  .business-v3 .business-flow-support {
    width: min(100%, 228px);
  }
  .business-v3 .business-flow-support__figure {
    width: min(100%, 212px);
  }
}


/* v113 — SP character visible height aligned to the top-page Kororon.
   Top image: 146px wide x 1600/1300 = approx 180px high.
   The integrated images include speech bubbles, so use their individual
   aspect ratios to make each mascot's visible height approximately 170px.
   Desktop settings from v110/v111 remain unchanged. */
@media (max-width: 720px) {
  .business-v3 .business-flow-support {
    width: 225px;
    max-width: 100%;
  }
  .business-v3 .business-flow-support__figure {
    width: 225px;
    max-width: 100%;
  }
  .business-v3 .business-flow-support__figure img {
    display: block;
    width: 100%;
    height: auto;
  }
  .subpage-v2 .map-character {
    width: 235px;
    max-width: 100%;
  }
  .subpage-v2 .map-character__figure {
    width: 235px;
    max-width: 100%;
  }
  .subpage-v2 .map-character__figure .map-character__image {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* v114 — コロロン表示サイズ調整 */

/* PC：mapをbusinessと同じ天地サイズに */
.subpage-v2 .map-character {
  width: min(100%, 368px);
}
.subpage-v2 .map-character__figure {
  width: min(100%, 336px);
}

/* タブレット */
@media (min-width: 721px) and (max-width: 900px) {
  .subpage-v2 .map-character {
    width: min(100%, 368px);
  }
  .subpage-v2 .map-character__figure {
    width: min(100%, 336px);
  }
}

/* SP：mapを現在の85%に */
@media (max-width: 720px) {
  .subpage-v2 .map-character {
    width: min(100%, 200px);
  }
  .subpage-v2 .map-character__figure {
    width: min(100%, 260px);
  }
}

/* v115 — 全国コロッケマップ 表の左枠線修正 */
.subpage-v2 .prefecture-list {
  border-left: 1px solid var(--sub-line);
}

/* v115 — SP版 mapイラストをさらに85%に */
@media (max-width: 720px) {
  .subpage-v2 .map-character {
    width: min(100%, 221px);
  }
  .subpage-v2 .map-character__figure {
    width: min(100%, 221px);
  }
}

/* v116 — SP版 mapイラストをさらに85%に */
@media (max-width: 720px) {
  .subpage-v2 .map-character {
    width: min(100%, 200px);
  }
  .subpage-v2 .map-character__figure {
    width: min(100%, 200px);
  }
}


/* v120 — businessページの注記がスマホ表示でキャラに重なって見えないよう余白を調整 */
.business-v3 .business-flow-main .business-note {
  margin: 20px 0 0;
}
@media (max-width: 900px) {
  .business-v3 .business-flow-main .business-note {
    margin-bottom: 18px;
  }
}
@media (max-width: 720px) {
  .business-v3 .business-flow-main .business-note {
    margin-bottom: 24px;
  }
}


/* v121 — businessページの注記をスマートフォンでは⑥の説明文に近づける。
   ⑥リスト最終項目の下余白32pxを維持し、注記の上余白を-12pxに調整
   （本文との実質間隔20px）。キャラクター周辺の余白は変更しない。 */
@media (max-width: 720px) {
  .business-v3 .business-flow-main .business-note {
    margin-top: -12px;
  }
}


/* v122 — ヘッダー／フッターのマントミロゴを添付版に差し替え、ひと回り大きく調整 */
.site-logo img { width: 50px; height: auto; }
.footer-brand img { width: 46px; height: auto; }
@media (max-width: 720px) {
  .site-logo img { width: 43px; }
  .footer-brand img { width: 42px; }
}


/* v123 — ヘッダーのブランド表示を強化（PCはロゴ＋社名、SPはロゴをさらに拡大） */
.header-shell {
  min-height: 84px;
  gap: 26px;
}
.site-logo {
  gap: 12px;
}
.site-logo img {
  width: 56px;
  height: auto;
}
.site-logo span {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
}
@media (max-width: 1200px) and (min-width: 981px) {
  .header-shell {
    padding: 0 22px;
    gap: 20px;
  }
  .site-logo img {
    width: 52px;
  }
  .site-logo span {
    font-size: 15px;
  }
}
@media (max-width: 980px) {
  .header-shell {
    min-height: 72px;
    padding: 0 18px;
    gap: 12px;
  }
  .site-logo img {
    width: 52px;
  }
  .site-logo span {
    font-size: 14px;
  }
}
@media (max-width: 720px) {
  .header-shell {
    min-height: 70px;
    padding: 0 16px;
    gap: 10px;
  }
  .site-logo img {
    width: 50px;
  }
  .site-logo span {
    font-size: 13px;
  }
  .site-nav {
    top: 70px;
  }
}
@media (max-width: 480px) {
  .site-logo img {
    width: 54px;
  }
}


/* v124 — TOPページ固有のヘッダーCSSの優先度を補正。
   PCはロゴ＋社名、SPはロゴ単体を内側ページと同じ表示サイズにする。 */
.home-reference .header-shell {
  min-height: 84px;
  gap: 26px;
}
.home-reference .site-logo img { width: 56px; }
.home-reference .site-logo span { font-size: 17px; }
@media (max-width: 1200px) and (min-width: 981px) {
  .home-reference .header-shell { padding: 0 22px; gap: 20px; }
  .home-reference .site-logo img { width: 52px; }
  .home-reference .site-logo span { font-size: 15px; }
}
@media (max-width: 980px) {
  .home-reference .header-shell { min-height: 72px; padding: 0 18px; gap: 12px; }
  .home-reference .site-logo img { width: 52px; }
  .home-reference .site-logo span { font-size: 14px; }
}
@media (max-width: 720px) {
  .home-reference .header-shell { min-height: 70px; padding: 0 16px; gap: 10px; }
  .home-reference .site-logo img { width: 50px; }
  .home-reference .site-logo span { font-size: 13px; }
}
@media (max-width: 480px) {
  .home-reference .site-logo img { width: 54px; }
}

/* v125: 大阪版食の安全安心認証制度（safety.htmlのみ）
   既存の共通レイアウト・見出しデザインは変更しない */
.subpage-v2.page-safety .safety-certification .subpage-section-title {
  margin-top: 0;
}
.subpage-v2.page-safety .safety-certification__layout {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr) minmax(0, 218px);
  align-items: center;
  column-gap: 34px;
}
.subpage-v2.page-safety .safety-certification__logo {
  min-width: 0;
}
.subpage-v2.page-safety .safety-certification__logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.subpage-v2.page-safety .safety-certification__description {
  min-width: 0;
  color: var(--sub-text);
  font-size: 14px;
  line-height: 1.95;
}
.subpage-v2.page-safety .safety-certification__description p {
  margin: 0 0 16px;
}
.subpage-v2.page-safety .safety-certification__facts {
  margin: 22px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--sub-line);
  font-size: 13px;
}
.subpage-v2.page-safety .safety-certification__facts > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 10px;
  margin-top: 8px;
}
.subpage-v2.page-safety .safety-certification__facts > div:first-child { margin-top: 0; }
.subpage-v2.page-safety .safety-certification__facts dt {
  color: var(--sub-ink);
  font-weight: 700;
}
.subpage-v2.page-safety .safety-certification__facts dd { margin: 0; }
.subpage-v2.page-safety .safety-certification__certificate {
  min-width: 0;
  margin: 0;
  text-align: center;
}
.subpage-v2.page-safety .safety-certification__certificate > a {
  display: block;
  outline-offset: 4px;
}
.subpage-v2.page-safety .safety-certification__certificate img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--sub-line);
  box-shadow: 0 4px 14px rgba(80, 63, 43, .08);
}
.subpage-v2.page-safety .safety-certification__certificate figcaption {
  margin-top: 12px;
  color: var(--sub-orange);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}
.subpage-v2.page-safety .safety-certification__certificate figcaption a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.subpage-v2.page-safety .safety-certification__certificate figcaption a:hover {
  opacity: .7;
}
@media (max-width: 860px) {
  .subpage-v2.page-safety .safety-certification__layout {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 20px 28px;
  }
  .subpage-v2.page-safety .safety-certification__certificate {
    grid-column: 2;
    width: 210px;
    max-width: 100%;
    justify-self: start;
  }
}
@media (max-width: 720px) {
  .subpage-v2.page-safety .safety-certification__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }
  .subpage-v2.page-safety .safety-certification__logo {
    width: min(100%, 250px);
    margin: 0 auto;
  }
  .subpage-v2.page-safety .safety-certification__description {
    font-size: 14px;
  }
  .subpage-v2.page-safety .safety-certification__facts {
    font-size: 12px;
    margin-top: 18px;
  }
  .subpage-v2.page-safety .safety-certification__certificate {
    width: min(100%, 200px);
    margin: 0 auto;
  }
}


/* v126 — 見出し罫線ルールの統一（確定デザインを維持）
   大見出し: 既存の短いオレンジ線(A)を維持
   セクション見出し: オレンジ54px/3px＋グレー長線1px(B)
   マントミ食品の強み（会社の特徴）: 中央揃え、線なし
   既存の文字・画像・幅・余白・配置には変更を加えない
*/
/* about.html 内のセクション見出し。擬似要素のみで装飾しレイアウトに影響させない。 */
.about-v2 .about-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 1px;
  background: #e8e6e1;
}
.about-v2 .about-section-title::after {
  width: 54px;
  bottom: -12px;
  background: var(--about-orange);
}
/* business.html 内の主要なセクション見出し。既存の余白はそのまま。 */
.business-v3 .business-group-title::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: #e8e6e1;
}
.business-v3 .business-group-title::after {
  width: 54px;
  background: var(--business-orange);
}
/* センター配置の「マントミ食品の強み」だけは装飾線なし。 */
.about-v2 .about-strengths__title::after {
  content: none;
}


/* v128 — 確認済みの見出し調整（事業紹介／社訓・経営理念・経営方針のみ） */
/* 事業紹介のページ大見出しを、他ページの大見出しに合わせる */
.business-v3 .business-hero h1 {
  font-size: clamp(34px, 4.2vw, 46px);
}
@media (max-width: 720px) {
  .business-v3 .business-hero h1 {
    font-size: 33px;
  }
}
/* aboutページの枠内3見出しだけ罫線を消し、見出し下の間隔を28px→12pxにする */
.about-v2 .about-policy-card .about-section-title::before,
.about-v2 .about-policy-card .about-section-title::after {
  content: none;
}
.about-v2 .about-policy-card .about-section-title {
  margin-bottom: 12px;
}
