/* ============================================================
   style.css - ドン報運送
   ============================================================ */

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

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --color-red:       #CC0000;
  --color-red-dark:  #AA0000;
  --color-gold:      #D4AF37;
  --color-black:     #1A1A1A;
  --color-sub:       #555555;
  --color-white:     #FFFFFF;
  --color-gray:      #F7F7F7;
  --color-border:    #E8E8E8;
  --color-footer-bg: #111111;

  --font-family: 'Noto Sans JP', sans-serif;

  --header-height: 88px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: 0.25s ease;

  --container-width: 1080px;
  --container-padding: 24px;
}

/* ============================================================
   Base
   ============================================================ */
body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-black);
  background-color: var(--color-white);
  padding-top: var(--header-height);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* 日本語の改行制御
   tools/linebreak.js が文節の切れ目に <wbr> を入れ、keep-all でそこだけで改行させる */
body {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

h1, h2, h3,
.hero__title,
.section-title,
.page-hero__title,
.cta-banner__title {
  text-wrap: balance;
}

.info-table td { overflow-wrap: anywhere; }

p, li, dd, td, figcaption {
  text-wrap: pretty;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.header__logo img {
  height: 76px;
  width: auto;
}

.header__logo-text {
  display: none;
}

.header__logo-text .don { color: var(--color-red); }
.header__logo-text .po  { color: var(--color-gold); }
.header__logo-text .unso{ color: var(--color-black); }

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__nav-item a {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-black);
  transition: color var(--transition);
  white-space: nowrap;
}

.header__nav-item a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.header__nav-item a:hover {
  color: var(--color-red);
}

.header__nav-item a:hover::after {
  transform: scaleX(1);
}

.header__nav-item a.active {
  color: var(--color-red);
}

.header__nav-item a.active::after {
  transform: scaleX(1);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.header__cta:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204,0,0,0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  gap: 7px;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--color-black);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  z-index: 999;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav__list {
  padding: 16px 0;
}

.mobile-nav__item a {
  display: block;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), color var(--transition);
}

.mobile-nav__item a:hover {
  background: var(--color-gray);
  color: var(--color-red);
}

.mobile-nav__cta {
  padding: 16px 24px;
}

.mobile-nav__cta a {
  display: block;
  text-align: center;
  padding: 18px;
  font-size: 18px;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 700;
  border-radius: var(--radius-sm);
}

/* ============================================================
   Section Common
   ============================================================ */
.section {
  padding: 80px 0;
}

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

.section-label {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 16px;
  color: var(--color-sub);
  line-height: 1.9;
  margin-bottom: 48px;
}

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

.section-header .section-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.gold-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-gold);
  margin: 16px auto 0;
}

.gold-line--left {
  margin-left: 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn--red:hover {
  background: var(--color-red-dark);
  box-shadow: 0 6px 20px rgba(204,0,0,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-red);
  box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

.btn--outline-red {
  background: transparent;
  color: var(--color-red);
  border: 2px solid var(--color-red);
}

.btn--outline-red:hover {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(204,0,0,0.25);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 16px;
}

.btn--lg {
  padding: 20px 56px;
  font-size: 18px;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

/* ============================================================
   Split（2カラム段組み・スマホで1列）
   ============================================================ */
.split { display: grid; }
.split--half    { grid-template-columns: 1fr 1fr; }
.split--side360 { grid-template-columns: 1fr 360px; }
.split--side280 { grid-template-columns: 1fr 280px; }
.split--auto    { grid-template-columns: auto 1fr; }

/* ============================================================
   Scene（働く様子・index.html）
   ============================================================ */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scene-card {
  margin: 0;
}

.scene-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-bottom: 3px solid var(--color-gold);
}

.scene-card__body {
  padding: 20px 20px 24px;
}

.scene-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.scene-card__text {
  font-size: 16px;
  color: var(--color-sub);
  line-height: 1.8;
}

/* ============================================================
   Hero (index.html)
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px var(--container-padding);
  width: 100%;
}

.hero__label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-gold);
  color: var(--color-black);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
}

.hero__title {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero__title em {
  color: var(--color-gold);
  font-style: normal;
}

.hero__title .red {
  color: #FF4444;
}

.hero__lead {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.88);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 560px;
}

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

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 0.1em;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   Numbers / Stats
   ============================================================ */
.stats {
  background: var(--color-red);
  padding: 56px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.2);
}

.stats__item {
  background: var(--color-red);
  text-align: center;
  padding: 40px 24px;
}

.stats__num {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats__num span {
  font-size: 0.5em;
  color: var(--color-gold);
  font-weight: 700;
}

.stats__label {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
  font-weight: 700;
}

/* ============================================================
   Features (4強み)
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 40px 32px;
  border-left: 4px solid var(--color-red);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-card__num {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.feature-card__title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.4;
}

.feature-card__body {
  font-size: 16px;
  color: var(--color-sub);
  line-height: 1.9;
}

/* ============================================================
   Works
   ============================================================ */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  padding: 32px 24px;
  border-top: 3px solid var(--color-gold);
}

.work-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.work-card__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-white);
}

.work-card__badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.work-card__title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 12px;
}

.work-card__body {
  font-size: 16px;
  color: var(--color-sub);
  line-height: 1.9;
}

/* ============================================================
   Salary
   ============================================================ */
.salary-highlight {
  background: var(--color-black);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 48px;
}

.salary-highlight__sub {
  font-size: 16px;
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.salary-highlight__num {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.salary-highlight__num em {
  font-size: 0.45em;
  font-style: normal;
  color: var(--color-gold);
}

.salary-highlight__note {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-top: 16px;
}

.salary-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.salary-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.salary-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.salary-item__label {
  font-size: 16px;
  color: var(--color-sub);
  font-weight: 700;
  margin-bottom: 8px;
}

.salary-item__val {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-red);
  line-height: 1.2;
}

.salary-item__val small {
  font-size: 16px;
  color: var(--color-sub);
  font-weight: 400;
}

/* ============================================================
   Interview
   ============================================================ */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.interview-card {
  padding: 32px;
}

.interview-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.interview-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-gray);
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--color-gold);
}

.interview-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interview-card__meta h3 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 4px;
}

.interview-card__meta span {
  font-size: 15px;
  color: var(--color-sub);
}

.interview-card__q {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 8px;
}

.interview-card__a {
  font-size: 16px;
  color: var(--color-sub);
  line-height: 1.9;
}

/* ============================================================
   Flow (採用フロー)
   ============================================================ */
.flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  counter-reset: flow-counter;
}

.flow-step {
  flex: 1;
  position: relative;
  text-align: center;
  padding: 32px 12px;
}

/* 丸の中心どうしを金色の線でつなぐ（丸の右端〜次の丸の左端） */
.flow-step::after {
  content: '';
  position: absolute;
  top: calc(32px + 28px - 1px);
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  height: 2px;
  background: var(--color-gold);
  z-index: 1;
}

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

.flow-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.flow-step__title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
}

.flow-step__body {
  font-size: 16px;
  color: var(--color-sub);
  line-height: 1.7;
}

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  background: var(--color-red);
  padding: 80px 0;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-banner__lead {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.9;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-banner__tel {
  color: var(--color-white);
  text-align: center;
}

.cta-banner__tel a {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.cta-banner__tel span {
  display: block;
  font-size: 15px;
  opacity: 0.7;
  margin-bottom: 4px;
}

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  background: var(--color-black);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-hero__title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 16px;
}

.page-hero__lead {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
}

/* Breadcrumb */
.breadcrumb {
  padding: 12px 0;
  font-size: 15px;
  color: var(--color-sub);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.breadcrumb li + li::before {
  content: '>';
  margin-right: 4px;
  color: var(--color-border);
}

.breadcrumb a:hover {
  color: var(--color-red);
}

/* ============================================================
   Table
   ============================================================ */
.info-table {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

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

.info-table th {
  width: 180px;
  padding: 20px 24px;
  background: var(--color-gray);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.info-table td {
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.9;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  background: var(--color-white);
  transition: background var(--transition);
  user-select: none;
}

.faq-item__q:hover {
  background: var(--color-gray);
}

.faq-item__q-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item__q-text {
  flex: 1;
  line-height: 1.6;
  padding-top: 4px;
}

.faq-item__q-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  margin-top: 6px;
  transition: transform var(--transition);
}

.faq-item__q-icon::before,
.faq-item__q-icon::after {
  content: '';
  position: absolute;
  background: var(--color-sub);
  border-radius: 1px;
}

.faq-item__q-icon::before {
  width: 14px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__q-icon::after {
  width: 2px; height: 14px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition);
}

.faq-item.open .faq-item__q-icon::after {
  opacity: 0;
}

.faq-item__a {
  display: none;
  padding: 20px 24px 24px 68px;
  font-size: 16px;
  color: var(--color-sub);
  line-height: 1.9;
  background: var(--color-gray);
  border-top: 1px solid var(--color-border);
}

.faq-item.open .faq-item__a {
  display: block;
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-required {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
}

.form-optional {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-border);
  color: var(--color-sub);
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font-family);
  color: var(--color-black);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit .btn {
  min-width: 280px;
}

.form-privacy {
  text-align: center;
  font-size: 15px;
  color: var(--color-sub);
  margin-top: 16px;
}

.form-privacy a {
  color: var(--color-red);
  text-decoration: underline;
}

/* ============================================================
   Column
   ============================================================ */
.column-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.column-card {
  text-decoration: none;
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-left-color var(--transition);
}

.column-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-red);
}

.column-card__body {
  padding: 0;
}

.column-card__cat {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.column-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--color-black);
  transition: color var(--transition);
}

.column-card:hover .column-card__title {
  color: var(--color-red);
}

/* Article */
.article {
  max-width: 800px;
  margin: 0 auto;
}

.article__title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-border);
}

.article h2 {
  font-size: 22px;
  font-weight: 900;
  margin: 56px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--color-red);
}

.article h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--color-black);
}

.article p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-sub);
  margin-bottom: 20px;
}

.article ul,
.article ol {
  margin: 20px 0 24px 24px;
}

.article ul { list-style: disc; }
.article ol { list-style: decimal; }

.article li {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-sub);
  margin-bottom: 8px;
}

.article strong {
  font-weight: 700;
  color: var(--color-black);
}

.article-cta {
  background: var(--color-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  margin-top: 64px;
}

.article-cta__title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}

.article-cta__lead {
  font-size: 16px;
  color: var(--color-sub);
  margin-bottom: 24px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-footer-bg);
  color: rgba(255,255,255,0.75);
}

.footer__top-line {
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold), var(--color-red));
}

.footer__main {
  padding: 64px 0 48px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer__brand-logo img {
  height: 80px;
  width: auto;
  background: var(--color-white);
  padding: 4px 10px;
  border-radius: var(--radius-md);
}

.footer__brand-logo-text {
  display: none;
}

.footer__brand-logo-text .don { color: var(--color-red); }
.footer__brand-logo-text .po  { color: var(--color-gold); }
.footer__brand-logo-text .unso{ color: var(--color-white); }

.footer__tagline {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.6);
}

.footer__col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__info-list {
  font-size: 16px;
  line-height: 1.9;
}

.footer__info-list li {
  margin-bottom: 6px;
}

.footer__info-list strong {
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

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

.footer__nav-list a {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.footer__badge {
  text-align: center;
  padding: 24px 0 12px;
}
.footer__badge img {
  max-width: 440px;
  width: 100%;
  height: auto;
  display: inline-block;
  opacity: 1;
  background: var(--color-white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  transition: opacity var(--transition);
}
.footer__badge a:hover img {
  opacity: 1;
}

.footer__bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   Utilities
   ============================================================ */
.text-center { text-align: center; }
.text-red    { color: var(--color-red); }
.text-gold   { color: var(--color-gold); }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

/* ============================================================
   Work Detail（仕事内容 写真＋テキスト）
   ============================================================ */
.work-detail-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.work-detail-item__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.work-detail-item__img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-gray);
  display: block;
}

.work-detail-item__body {
  padding: 32px 40px;
}
/* ============================================================
   スパム対策の隠し入力欄 / スマホ下部の固定ボタン
   ============================================================ */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fixed-cta { display: none; }

@media (max-width: 768px) {
  .fixed-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  }
  .fixed-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 52px;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
  }
  .fixed-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
  .fixed-cta__tel { background: var(--color-white); color: var(--color-red); border: 2px solid var(--color-red); }
  .fixed-cta__consult { background: var(--color-red); color: var(--color-white); }
  body.has-fixed-cta { padding-bottom: 76px; }
}

/* ============================================================
   Hero 注記 / フォーム結果 / ポリシー
   ============================================================ */
.hero__note {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

.salary-highlight__caution {
  margin-top: 8px;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
}

.form-type {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-type label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
}

.form-type label:has(input:checked) {
  border-color: var(--color-red);
  background: #FFF5F5;
}

.form-type input { accent-color: var(--color-red); }

.form-status {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  line-height: 1.8;
}

.form-status strong { display: block; font-size: 17px; margin-bottom: 4px; }
.form-status--ok    { background: #F4FAF4; border: 1px solid #9CCB9C; }
.form-status--error { background: #FFF5F5; border: 1px solid var(--color-red); }

.footer__legal { margin-bottom: 8px; }
.footer__legal a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer__legal a:hover { color: var(--color-gold); }

.policy { max-width: 800px; margin: 0 auto; }
.policy h2 {
  font-size: 19px;
  font-weight: 900;
  margin: 48px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--color-gold);
  line-height: 1.5;
}
.policy p, .policy li { color: var(--color-sub); line-height: 1.9; }
.policy ul { list-style: disc; margin: 12px 0 0 1.4em; }
.policy__date { margin-top: 48px; text-align: right; font-size: 15px; }


@media (min-width: 769px) {
  .work-detail-item {
    grid-template-columns: 3fr 2fr;
  }
  .work-detail-item--reverse {
    grid-template-columns: 2fr 3fr;
  }
  .work-detail-item--reverse .work-detail-item__img {
    order: 2;
  }
  .work-detail-item--reverse .work-detail-item__body {
    order: 1;
  }
  .work-detail-item__img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
  }
}

/* ============================================================
   About: 代表メッセージ
   ============================================================ */
.president-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.president-split__img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center 20%;
}
@media (min-width: 769px) {
  .president-split {
    grid-template-columns: 5fr 6fr;
    gap: 56px;
  }
  .president-split__img {
    max-width: 100%;
    aspect-ratio: 9 / 16;
  }
}

/* ============================================================
   About: ギャラリー
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.gallery-grid__img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   Responsive
   ============================================================ */
/* ナビ8項目が1行に収まらない幅はハンバーガーメニュー */
@media (max-width: 1079px) {
  .header__nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
}

@media (max-width: 1024px) {
  :root { --container-padding: 20px; }

  .features__grid { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: 1fr; }
  .scene-grid { gap: 16px; }
  .salary-items { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .column-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --container-padding: 16px; }

  body { font-size: 16px; }

  .section { padding: 56px 0; }

  /* Hero */
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; max-width: 320px; }

  /* Stats */
  .stats__grid { grid-template-columns: 1fr; }

  /* Features */
  .features__grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 28px 20px; }

  /* Works */
  .works__grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  /* Salary */
  .salary-highlight { padding: 40px 24px; }
  .salary-items { grid-template-columns: 1fr; }

  /* Interview */
  .interview-grid { grid-template-columns: 1fr; }

  /* Flow */
  /* 採用の流れ：左に番号と縦線、右に説明のタイムライン */
  .flow { flex-direction: column; gap: 0; max-width: 480px; margin: 0 auto; }
  .flow-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 20px;
    text-align: left;
    padding: 0 0 28px;
  }
  .flow-step:last-child { padding-bottom: 0; }
  .flow-step__num { grid-row: 1 / span 2; margin: 0; position: relative; z-index: 2; }
  .flow-step__title { align-self: end; margin: 0 0 4px; font-size: 18px; line-height: 1.5; }
  .flow-step__body { grid-column: 2; }
  .flow-step::after {
    top: 60px;
    bottom: 4px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
  }

  /* CTA */
  .cta-banner__actions { flex-direction: column; }
  .cta-banner__actions .btn { max-width: 100%; white-space: normal; text-align: center; }

  /* Table */
  .info-table th { width: 100px; font-size: 15px; padding: 14px 16px; }
  .info-table td { padding: 14px 16px; font-size: 16px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__main { padding: 48px 0 32px; }

  /* Column */
  .column-grid { grid-template-columns: 1fr; }

  /* Header（スマホ） */
  :root { --header-height: 76px; }
  .header__logo img { height: 64px; }

  /* PC用の手動改行はスマホでは使わない */
  .hero__lead br,
  .section-lead br,
  .cta-banner__lead br,
  .page-hero__lead br,
  .flow-step__body br { display: none; }

  /* Split */
  .split { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* Contact */
  .form-submit .btn { width: 100%; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 28px; }
  .stats__num { font-size: 36px; }
}
