/* ===========================
   Skip Link（アクセシビリティ・SEO）
   キーボードユーザーがメインコンテンツへ直接移動できるリンク。
   通常は非表示で、Tab キーフォーカス時のみ画面上に現れる。
=========================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  background: var(--color-primary);
  color: #ffffff;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  transition: top 0.15s ease;
}
/* Tab キーで当リンクにフォーカスしたとき表示する */
.skip-link:focus {
  top: 0;
}

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

:root {
  --color-primary: #585858;
  --color-accent: #888888;
  --color-accent-light: #aaaaaa;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #ffffff;
  --color-bg-gray: #f5f5f5;
  --color-border: #e0e0e0;
  --color-white: #ffffff;
  --font-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --max-width: 1100px;
  --header-height: 70px;
  --transition: 0.3s ease;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.14);
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

ul {
  list-style: none;
}

/* ===========================
   Layout
=========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.section__subtitle {
  margin-top: 16px;
  color: var(--color-text-light);
  font-size: 1rem;
}

/* ===========================
   Header / Navigation
=========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-white);
  box-shadow: 0 1px 0 var(--color-border);
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo img {
  height: 40px;
  width: auto;
  display: block;
}

.header__logo span {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__item a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav__item a:hover,
.nav__item a.active {
  background: var(--color-bg-gray);
  color: var(--color-primary);
}

.nav__item--cta a {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 9px 20px;
}

.nav__item--cta a:hover {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* ===========================
   Page Wrapper
=========================== */
.page-wrapper {
  padding-top: var(--header-height);
}

/* ===========================
   Hero (index)
=========================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #444444 0%, #616161 50%, #808080 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 14px;
  border-radius: 20px;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero__title em {
  font-style: normal;
  color: #ffffff;
}

.hero__title-brand {
  color: #ffffff;
  font-size: 1.15em;
}

.hero__title-sub {
  color: #cccccc;
}

.hero__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--primary:hover {
  background: transparent;
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--accent:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ===========================
   Cards Grid
=========================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--color-border);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-primary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.card__text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===========================
   Stats Bar (index)
=========================== */
.stats {
  background: var(--color-primary);
  padding: 48px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__number span {
  color: #aaaaaa;
}

.stat__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ===========================
   Page Hero (inner pages)
=========================== */
.page-hero {
  background: linear-gradient(135deg, #444444, #767676);
  padding: 64px 0 56px;
  text-align: center;
}

.page-hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.page-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 12px;
}

.page-hero__text {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

/* ===========================
   Breadcrumb
=========================== */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '›';
  margin-right: 4px;
  color: var(--color-border);
}

.breadcrumb__item a {
  color: var(--color-accent);
}

.breadcrumb__item.current {
  color: var(--color-text);
}

/* ===========================
   About page
=========================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro__visual {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 16px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-intro__visual svg {
  width: 120px;
  height: 120px;
  fill: none;
  stroke: rgba(255,255,255,0.6);
  stroke-width: 1.5;
}

.about-intro__title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 20px;
}

.about-intro__text {
  color: var(--color-text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* Company Profile Table */
.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table th,
.profile-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  vertical-align: top;
}

.profile-table th {
  width: 180px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg-gray);
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: none;
}

/* Google Map */
.map-wrap {
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.map-wrap iframe {
  display: block;
}

/* History Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline__item {
  position: relative;
  margin-bottom: 32px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline__year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.timeline__text {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* ===========================
   Services page
=========================== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail--reverse {
  direction: rtl;
}

.service-detail--reverse > * {
  direction: ltr;
}

.service-detail__visual {
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.service-detail__visual svg {
  width: 100px;
  height: 100px;
  fill: none;
  stroke: rgba(255,255,255,0.6);
  stroke-width: 1.5;
}

.service-detail__num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: 8px;
}

.service-detail__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.service-detail__text {
  color: var(--color-text-light);
  line-height: 1.85;
  margin-bottom: 20px;
}

.service-detail__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-detail__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  background: var(--color-bg-gray);
  color: var(--color-primary);
  border-radius: 20px;
  border: 1px solid var(--color-border);
}

/* ===========================
   Careers page
=========================== */
.job-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}

.job-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.job-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.job-card__tag--full {
  background: #eeeeee;
  color: #222222;
}

.job-card__tag--part {
  background: #f3e5f5;
  color: #6a1b9a;
}

.job-card__tag--contract {
  background: #e8f5e9;
  color: #2e7d32;
}

.job-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.job-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.job-card__text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.welfare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.welfare-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.welfare-item__icon {
  width: 40px;
  height: 40px;
  background: var(--color-bg-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.welfare-item__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.welfare-item__text {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===========================
   Contact page
=========================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.contact-info__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-accent);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  background: var(--color-bg-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info__label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Privacy consent */
.privacy-consent {
  background: var(--color-bg-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.privacy-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.6;
}

.privacy-consent__label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  cursor: pointer;
  flex-shrink: 0;
}

.privacy-consent__label a {
  font-weight: 700;
  text-decoration: underline;
}

/* Google Form Embed */
.form-container {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.form-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
  z-index: 10;
  backdrop-filter: blur(2px);
  transition: opacity var(--transition);
}

.form-overlay__icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-overlay__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--color-text-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-overlay__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.form-overlay__text {
  font-size: 0.88rem;
  color: var(--color-text-light);
  max-width: 320px;
  line-height: 1.6;
}

.form-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.google-form-iframe {
  width: 100%;
  min-height: 740px;
  border: none;
  display: block;
}

/* ===========================
   Privacy Policy page
=========================== */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-bg-gray);
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  color: var(--color-text-light);
  line-height: 1.85;
  margin-bottom: 14px;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--color-text-light);
}

.privacy-content li {
  line-height: 1.8;
  margin-bottom: 4px;
}

.privacy-date {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-align: right;
  margin-bottom: 40px;
}

/* FAQ question heading */
.faq-item__question {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* ===========================
   CTA Section
=========================== */
.cta {
  background: linear-gradient(135deg, #444444, #767676);
  padding: 80px 0;
  text-align: center;
}

.cta__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta__text {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 36px;
}

/* ===========================
   Footer
=========================== */
.footer {
  background: #484848;
  color: rgba(255,255,255,0.7);
}

.footer__top {
  padding: 60px 0 40px;
}

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

.footer__brand {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer__brand span {
  color: #aaaaaa;
}

.footer__desc {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer__nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer__nav-list li {
  margin-bottom: 8px;
}

.footer__nav-list a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer__nav-list a:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.82rem;
}

.footer__bottom-links {
  display: flex;
  gap: 16px;
}

.footer__bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer__bottom-links a:hover {
  color: var(--color-white);
}

/* ===========================
   Responsive
=========================== */

/* --- タブレット (〜900px) --- */
@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-intro__visual {
    height: 240px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }

  .service-detail--reverse {
    direction: ltr;
  }

  .service-detail__visual {
    height: 220px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* --- スマートフォン (〜700px) --- */
@media (max-width: 700px) {
  :root {
    --header-height: 60px;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 52px 0;
  }

  .section__title {
    font-size: 1.6rem;
  }

  /* ナビゲーション */
  .nav__list {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__item {
    width: 100%;
  }

  .nav__item a {
    padding: 14px 24px;
    border-radius: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav__item--cta {
    padding: 8px 20px 4px;
  }

  .nav__item--cta a {
    border-radius: var(--radius);
    justify-content: center;
    min-height: 48px;
  }

  .hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }

  /* ヒーロー */
  .hero__inner {
    padding: 52px 20px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__text {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* ボタン */
  .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero__actions .btn {
    max-width: 100%;
  }

  /* 実績バー */
  .stats {
    padding: 36px 0;
  }

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

  .stat__number {
    font-size: 2rem;
  }

  /* カード */
  .card {
    padding: 24px 20px;
  }

  /* ページヒーロー */
  .page-hero {
    padding: 48px 0 40px;
  }

  /* 会社概要 */
  .about-intro__visual {
    height: 180px;
  }

  /* サービス詳細 */
  .service-detail__visual {
    height: 180px;
  }

  /* 採用カード */
  .job-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .job-card .btn {
    max-width: 100%;
  }

  .job-card__meta {
    gap: 10px;
  }

  /* お問い合わせ */
  .google-form-iframe {
    min-height: 600px;
  }

  /* フッター */
  .footer__top {
    padding: 40px 0 28px;
  }

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

  .footer__desc {
    max-width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* 会社概要テーブル */
  .profile-table th {
    width: 110px;
    font-size: 0.88rem;
    padding: 14px 12px;
  }

  .profile-table td {
    font-size: 0.9rem;
    padding: 14px 12px;
  }
}

/* --- 小型スマートフォン (〜480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  .section__title {
    font-size: 1.45rem;
  }

  .section__subtitle {
    font-size: 0.9rem;
  }

  .section__header {
    margin-bottom: 36px;
  }

  /* ヒーロー */
  .hero__label {
    font-size: 11px;
  }

  .hero__title {
    font-size: 1.55rem;
  }

  .hero__inner {
    padding: 44px 16px;
  }

  /* 実績バー */
  .stat__number {
    font-size: 1.75rem;
  }

  .stat__label {
    font-size: 0.8rem;
  }

  /* カード */
  .cards {
    grid-template-columns: 1fr;
  }

  /* ページヒーロー */
  .page-hero__title {
    font-size: 1.6rem;
  }

  /* 会社概要テーブル: 縦積みレイアウト */
  .profile-table,
  .profile-table tbody,
  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .profile-table tr {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
  }

  .profile-table tr:last-child {
    border-bottom: none;
  }

  .profile-table th {
    width: 100%;
    border-bottom: none;
    padding: 14px 14px 4px;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
  }

  .profile-table td {
    padding: 4px 14px 14px;
    border-bottom: none;
    font-size: 0.92rem;
  }

  /* タイムライン */
  .timeline {
    padding-left: 24px;
  }

  .timeline__item::before {
    left: -21px;
    width: 12px;
    height: 12px;
  }

  /* 採用ページ */
  .welfare-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta {
    padding: 56px 0;
  }

  .cta__title {
    font-size: 1.4rem;
  }

  /* フッター */
  .footer__bottom-links {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }

  /* プライバシーポリシー */
  .privacy-content h2 {
    font-size: 1.05rem;
    margin: 32px 0 10px;
  }

  .privacy-date {
    text-align: left;
  }
}

/* ===========================
   Animations
=========================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: fadeUp 0.6s ease both;
}

.animate-up:nth-child(2) { animation-delay: 0.1s; }
.animate-up:nth-child(3) { animation-delay: 0.2s; }
.animate-up:nth-child(4) { animation-delay: 0.3s; }

/* ===========================
   Timeline（一日の流れ）
=========================== */
.timeline {
  position: relative;
  padding-left: 0;
}


.timeline__item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
}

.timeline__item::before {
  display: block;
  left: 1px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: #2980b9;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #2980b9;
}

.timeline__item--last {
  margin-bottom: 0;
}


.timeline__time {
  min-width: 64px;
  text-align: right;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a3c5e;
  padding-top: 2px;
  position: relative;
  flex-shrink: 0;
}


.timeline__content {
  background: #f4f7fa;
  border-radius: 8px;
  padding: 14px 18px;
  flex: 1;
}

.timeline__title {
  font-weight: 700;
  font-size: 1rem;
  color: #1a3c5e;
  margin-bottom: 4px;
}

.timeline__text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

