/* ==============================
   RESET & VARIABLES
============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sidebar-w: 240px;
  --navy:  #1a3347;
  --navy2: #25506a;
  --navy3: #336080;
  --mint:  #4ecbb8;
  --mint2: #32b8a4;
  --bg:    #edf8f6;
  --card:  #ffffff;
  --text:  #1a2e38;
  --muted: #537070;
  --border: #b8ddd8;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.85;
}

/* ==============================
   SIDEBAR
============================== */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  z-index: 200;
  overflow-y: auto;
}

.logo {
  text-decoration: none;
  display: block;
  margin-bottom: 2.5rem;
}
.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(145deg, var(--navy2), var(--mint));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
}
.logo-mark svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.logo-text-en {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1;
}
.logo-text-jp {
  display: block;
  font-size: .52rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  letter-spacing: .07em;
  margin-top: .3rem;
}

nav { flex: 1; }
nav ul { list-style: none; }
nav li { margin-bottom: .4rem; }
nav a {
  display: block;
  padding: .5rem 0 .5rem .8rem;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-left: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
nav a:hover { color: var(--mint); border-left-color: rgba(94,207,187,.35); }
nav a.current { color: var(--mint); border-left-color: var(--mint); }

.sidebar-cta {
  display: block;
  margin-top: 2rem;
  padding: .7rem 1rem;
  border: 1px solid rgba(94,207,187,.5);
  color: var(--mint);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-align: center;
  transition: background .2s, color .2s;
}
.sidebar-cta:hover { background: var(--mint); color: var(--navy); border-color: var(--mint); }

/* ==============================
   MAIN CONTENT
============================== */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==============================
   HERO (index)
============================== */
.hero-section {
  min-height: 100vh;
  overflow: hidden;
}

.hero-manifesto {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.manifesto-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(26,46,74,.5);
  position: relative;
}
.manifesto-brand::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--mint2);
  display: inline-block;
  flex-shrink: 0;
}
.manifesto-brand-en {
  color: var(--mint2);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  position: relative;
}

.hero-label {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.hero-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--muted);
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.75rem;
  min-height: 1.1em;
}
.hero-tagline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }


/* ==============================
   TYPEWRITER
============================== */
.tw::after { content: '_'; font-weight: 900; }
.hero-title.tw::after,
.section-title.tw::after,
.not-found-code.tw::after { color: var(--mint); }
.manifesto-headline.tw::after { color: var(--mint2); }
.tw.tw-typing::after { animation: blink .5s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ==============================
   SUB-NAV
============================== */
.sub-nav {
  display: flex;
  gap: 2rem;
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 100;
}
.sub-nav a {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.sub-nav a:hover { color: var(--navy); }
.sub-nav a.active {
  color: var(--navy2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==============================
   CONTENT WRAPPER
============================== */
.content {
  padding: 4rem 3.5rem 6rem;
  max-width: 1000px;
  flex: 1;
  background: var(--card);
}

/* ==============================
   PAGE HEADINGS
============================== */
.page-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 2.5rem;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.25rem;
  margin-top: 4rem;
  min-height: 1.2em;
}
.section-title:first-of-type { margin-top: 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint2);
  margin-bottom: .5rem;
}
.section-label::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--mint);
  display: inline-block;
}

/* ==============================
   TYPOGRAPHY
============================== */
.lead {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 2rem;
}
.body-text {
  font-size: .97rem;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 680px;
}
hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3.5rem 0;
}

/* ==============================
   ANIMATIONS
============================== */
.fade-up    { opacity: 0; transform: translateY(36px);  transition: opacity .7s ease, transform .7s ease; }
.fade-left  { opacity: 0; transform: translateX(-40px); transition: opacity .7s ease, transform .7s ease; }
.fade-right { opacity: 0; transform: translateX(40px);  transition: opacity .7s ease, transform .7s ease; }
.fade-in    { opacity: 0; transition: opacity .65s ease; }
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.delay-3 { transition-delay: .45s; }
.delay-4 { transition-delay: .6s; }
.visible { opacity: 1 !important; transform: translate(0,0) !important; }

/* ==============================
   PHILOSOPHY CARDS
============================== */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.mv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy2);
  padding: 2rem 1.75rem;
}
.mv-card .card-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--mint2);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .6rem;
}
.mv-card .card-label::before {
  content: '';
  width: 14px; height: 2px;
  background: var(--mint);
  display: inline-block;
}
.mv-card p {
  font-size: .97rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.75;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.75rem;
}
.value-card .num {
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(78,203,184,.25);
  line-height: 1;
  margin-bottom: .5rem;
}
.value-card h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.4;
}
.value-card ul { list-style: none; }
.value-card li { font-size: .83rem; color: var(--muted); padding: .15rem 0; }
.value-card li::before { content: "· "; color: var(--mint2); font-weight: 900; }

/* ==============================
   SERVICE LIST
============================== */
.service-list { list-style: none; margin-top: 1.5rem; }
.service-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.service-item:last-child { border-bottom: 1px solid var(--border); }
.service-name-en {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--mint2);
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.service-name {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .5rem;
}
.service-desc {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 620px;
}
.circle-btn {
  width: 52px; height: 52px;
  background: var(--mint2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
a.circle-btn { text-decoration: none; }
.circle-btn:hover { background: var(--navy2); transform: scale(1.1); }
.circle-btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ==============================
   STRENGTH GRID
============================== */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.strength-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: box-shadow .25s, transform .25s;
}
.strength-card:hover { box-shadow: 0 6px 24px rgba(45,74,122,.1); transform: translateY(-2px); }
.strength-icon { font-size: 1.6rem; display: block; margin-bottom: .75rem; }
.strength-card h3 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.strength-card p { font-size: .83rem; color: var(--muted); line-height: 1.7; }

.strength-icon-wrap {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.strength-icon-wrap svg {
  width: 22px; height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==============================
   COMPANY TABLE
============================== */
.company-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:first-child { border-top: 1px solid var(--border); }
.company-table th {
  text-align: left;
  width: 180px;
  padding: 1.1rem 1.5rem 1.1rem 0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: top;
  white-space: nowrap;
}
.company-table td { padding: 1.1rem 0; font-size: .92rem; color: var(--text); line-height: 1.75; }
.company-table a { color: var(--navy2); text-decoration: none; }
.company-table a:hover { text-decoration: underline; }

/* ==============================
   CONTACT LAYOUT
============================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
  margin-top: 1.5rem;
}
.contact-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.contact-info > p { font-size: .88rem; color: var(--muted); line-height: 1.9; margin-bottom: 2rem; }
.contact-detail { margin-bottom: 1.25rem; }
.contact-detail strong {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint2);
  margin-bottom: .25rem;
}
.contact-detail a,
.contact-detail span { font-size: .88rem; color: var(--text); text-decoration: none; }
.contact-detail a:hover { color: var(--navy2); }

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

/* ==============================
   FORM
============================== */
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .03em;
  margin-bottom: .45rem;
}
.form-group label .req { color: #e53e3e; margin-left: .25rem; font-size: .72rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  background: #f0faf8;
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy2);
  box-shadow: 0 0 0 3px rgba(45,74,122,.1);
  background: var(--card);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);
  pointer-events: none;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp-field { display: none !important; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--navy2);
}

/* ==============================
   BUTTONS
============================== */
.btn-primary {
  display: inline-block;
  background: var(--mint2);
  color: #fff;
  padding: .9rem 2.4rem;
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .05em;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--mint); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--mint2);
  color: var(--mint2);
  padding: .85rem 2.4rem;
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .05em;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--mint2); color: #fff; }

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, transform .15s;
  position: relative;
}
.btn-submit:hover:not(:disabled) { background: var(--navy2); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; }
.btn-submit .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 0 auto;
}
.btn-submit.loading .btn-label { display: none; }
.btn-submit.loading .spinner   { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-result {
  display: none;
  padding: 1rem 1.25rem;
  font-size: .88rem;
  font-weight: 600;
  margin-top: 1rem;
  border-left: 3px solid;
}
.form-result.success { background: #f0fff4; border-color: #38a169; color: #276749; }
.form-result.error   { background: #fff5f5; border-color: #e53e3e; color: #c53030; }

/* ==============================
   FOOTER
============================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.3);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: .75rem;
  letter-spacing: .04em;
  margin-top: auto;
}
.site-footer a { color: inherit; opacity: .65; text-decoration: none; }
.site-footer a:hover { opacity: 1; }

/* ==============================
   MANIFESTO (index)
============================== */

.manifesto-headline {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 0;
  min-height: 1.1em;
}

/* 2カラム時（900px以上）は "ばらまけ" 前で改行、1カラム時は非表示 */
.headline-br { display: none; }
@media (min-width: 1041px) {
  .headline-br { display: block; }
}
.manifesto-sub {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 2rem;
  letter-spacing: .06em;
  padding-top: .25rem;
}
.manifesto-body p {
  font-size: .92rem;
  line-height: 2.1;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.manifesto-em {
  display: block;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--mint2);
  letter-spacing: -.02em;
  line-height: 1.4;
  margin: 2.5rem 0 1.5rem;
}
.manifesto-pivot {
  font-size: .92rem;
  line-height: 2.1;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.manifesto-close {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.9;
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  margin-top: .5rem;
}


/* ==============================
   PRIVACY POLICY
============================== */
.privacy-body h2 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 2.5rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.privacy-body h2:first-child { margin-top: 0; }
.privacy-body p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: .5rem;
}
.privacy-body ul {
  margin: .5rem 0 1rem 1.5rem;
}
.privacy-body li {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: .2rem;
}
.privacy-contact {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.privacy-body a { color: var(--navy2); text-decoration: none; }
.privacy-body a:hover { text-decoration: underline; }

.form-check a { color: var(--navy2); text-decoration: underline; }

/* ==============================
   404
============================== */
.not-found-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
}
.not-found-code {
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 900;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 1.5rem;
  min-height: 1em;
  letter-spacing: -.04em;
}
.not-found-title {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.not-found-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 2;
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.not-found-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ==============================
   MOBILE
============================== */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1rem; right: 1rem;
  z-index: 300;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: .55rem .9rem;
  font-family: inherit;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
}
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 190;
}
.overlay.show { display: block; }

/* ---- 大型画面: コンテンツ幅を抑えて横長防止 ---- */
@media (min-width: 1440px) {
  .hero-manifesto {
    padding-left:  max(6rem, calc((100% - 1100px) / 2));
    padding-right: max(6rem, calc((100% - 1100px) / 2));
  }
}

@media (max-width: 1200px) {
  .hero-manifesto { padding: 4.5rem 4rem; }
  .manifesto-grid { gap: 4rem; }
}

@media (max-width: 1040px) {
  .hero-manifesto { padding: 4rem 3rem; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .hero-manifesto { padding: 4rem 2.5rem; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .manifesto-brand { margin-bottom: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .sub-nav { padding: .85rem 1.5rem; gap: 1.5rem; }
  .content { padding: 2.5rem 1.5rem 5rem; }
  .mv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }

  .sidebar {
    width: 260px;
    transform: translateX(-100%);
    transition: transform .3s ease;
    box-shadow: 4px 0 20px rgba(0,0,0,.2);
  }
  .sidebar.open { transform: translateX(0); }

  .main-content { margin-left: 0; }
  .menu-toggle  { display: block; }

  .form-row { grid-template-columns: 1fr; }
  .company-table th { width: 110px; font-size: .72rem; }
  .contact-form-card { padding: 1.75rem 1.25rem; }
}

@media (max-width: 600px) {
  .strength-grid { grid-template-columns: 1fr; }
  .value-grid    { grid-template-columns: 1fr; }
  .hero-btns     { flex-direction: column; }
  .not-found-btns { flex-direction: column; align-items: center; }
}

/* ---- スマートフォン小型: ヒーロー余白・文字を最適化 ---- */
@media (max-width: 480px) {
  .hero-manifesto { padding: 3rem 1.5rem; }
  .manifesto-brand { font-size: .78rem; gap: 1rem; margin-bottom: 2rem; }
  .manifesto-grid { gap: 2rem; }
}
