@charset "UTF-8";

/* =========================================================
   TSヒューマンサービス 公式サイト  共通スタイル
   コンセプト: 明るく・かっこよく（メインカラー：オレンジ）
   白ベース / ビビッドオレンジ / ネイビー / シャープな角丸
   ========================================================= */

:root {
  /* --- カラーパレット --- */
  --color-bg: #ffffff;          /* 明るい白ベース */
  --color-bg-alt: #f4f6f9;      /* クールなライトグレー */
  --color-card: #ffffff;
  --color-primary: #f06000;     /* ブランドのオレンジ（公式ロゴ準拠） */
  --color-primary-dark: #cc4d00;
  --color-primary-soft: #ffeee0;
  --color-accent: #f06000;
  --color-accent-soft: #ffeee0;
  --color-green: #2f4763;       /* サブのネイビー（旧green系クラスを流用） */
  --color-green-soft: #e9eef5;
  --color-text: #1f2530;        /* 引き締まったチャコール */
  --color-text-light: #64708a;
  --color-line: #e7eaef;
  --color-white: #ffffff;

  /* --- 角丸（シャープに） --- */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* --- 影（クールなブルーグレー） --- */
  --shadow-sm: 0 4px 14px rgba(15, 30, 60, 0.07);
  --shadow: 0 10px 30px rgba(15, 30, 60, 0.11);
  --shadow-lg: 0 20px 50px rgba(15, 30, 60, 0.16);

  /* --- レイアウト --- */
  --maxw: 1080px;
  --gap: clamp(16px, 4vw, 40px);
}

/* --- リセット --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic UI", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Webフォント未読込時に、存在しない太さを疑似ボールド化して文字が潰れるのを防ぐ */
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  letter-spacing: 0.02em;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.78;
}

h1,
h2,
h3,
h4 {
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --- 汎用レイアウト --- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 32px);
}

.section {
  padding-block: clamp(56px, 9vw, 100px);
}

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

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

.center {
  text-align: center;
}

/* --- 見出しの飾り --- */
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom: 14px;
}

.section-lead {
  color: var(--color-text-light);
  max-width: 640px;
  margin-inline: auto;
  font-size: 1.02rem;
}

.section-head {
  margin-bottom: clamp(32px, 6vw, 56px);
}

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  line-height: 1.3;
}

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

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(240, 96, 0, 0.35);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 12px 26px rgba(240, 96, 0, 0.45);
}

.btn--green {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(47, 71, 99, 0.3);
}

.btn--green:hover {
  background: #24374d;
}

.btn--ghost {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-line);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.08rem;
}

.btn--block {
  width: 100%;
}

/* =========================================================
   ヘッダー / ナビ
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 239, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: clamp(0.98rem, 3vw, 1.15rem);
  color: var(--color-text);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.logo:hover {
  opacity: 1;
}

.logo__mark {
  height: 40px;
  width: auto;
  flex: none;
}

.logo small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 26px);
}

.nav__link {
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 8px 4px;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__link.is-active {
  color: var(--color-primary-dark);
}

.nav__cta {
  margin-left: 6px;
  padding: 11px 22px;
  font-size: 0.92rem;
}

/* ハンバーガー */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--color-bg);
    padding: 18px clamp(18px, 5vw, 32px) 28px;
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav__link {
    padding: 14px 6px;
    border-bottom: 1px dashed var(--color-line);
    font-size: 1.05rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin: 12px 0 0;
    padding: 15px;
    font-size: 1rem;
  }
}

/* =========================================================
   ヒーロー
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 231, 209, 0.9), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(232, 238, 246, 0.9), transparent 40%),
    var(--color-bg);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  padding-block: clamp(48px, 8vw, 88px);
}

.hero__copy h1 {
  font-size: clamp(1.9rem, 5.2vw, 3.1rem);
  letter-spacing: 0.04em;
}

.hero__copy h1 .accent {
  color: var(--color-primary);
}

.hero__copy h1 .marker {
  background: linear-gradient(transparent 62%, var(--color-primary-soft) 62%);
  padding-inline: 2px;
}

.hero__lead {
  margin-top: 22px;
  font-size: 1.08rem;
  color: var(--color-text-light);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-text);
}

.hero__points li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero__art {
  position: relative;
}

.hero__art svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(var(--shadow));
}

.hero__art-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

.hero__art::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 42%;
  height: 42%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f97b1f, #d94f00);
  z-index: -1;
}

@media (max-width: 820px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__lead,
  .hero__points {
    margin-inline: auto;
  }

  .hero__points {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__art {
    max-width: 420px;
    margin: 8px auto 0;
    order: -1;
  }
}

/* ページ下層用の小さなヒーロー */
.page-hero {
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 231, 209, 0.85), transparent 50%),
    radial-gradient(circle at 5% 95%, rgba(232, 238, 246, 0.85), transparent 45%),
    var(--color-bg);
  padding-block: clamp(40px, 7vw, 70px);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 4.6vw, 2.6rem);
}

.page-hero p {
  color: var(--color-text-light);
  margin-top: 12px;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb span {
  margin-inline: 8px;
  opacity: 0.6;
}

/* =========================================================
   カード / グリッド
   ========================================================= */
.grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 820px) {
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

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

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--color-primary-soft);
}

.card__icon svg {
  width: 34px;
  height: 34px;
}

.card__icon--green {
  background: var(--color-green-soft);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--color-text-light);
  font-size: 0.96rem;
}

.card__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-green);
  background: var(--color-green-soft);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-top: 16px;
}

/* 番号付きステップカード */
.step {
  position: relative;
  padding-top: 44px; /* 上に飛び出す番号バッジ(下端+28px)と見出しが重ならないよう確保 */
}

.step__num {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(240, 96, 0, 0.4);
}

/* =========================================================
   写真プレースホルダー（本番で差し替え）
   ========================================================= */
.photo {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(
      -45deg,
      var(--color-bg-alt),
      var(--color-bg-alt) 14px,
      #efe5d6 14px,
      #efe5d6 28px
    );
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-text-light);
  min-height: 220px;
  border: 2px dashed #d9cbb6;
  overflow: hidden;
}

.photo__label {
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.photo--round {
  border-radius: 50%;
  min-height: 0;
  aspect-ratio: 1;
}

/* 実写画像 */
.media-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 5px solid #fff;
}

.media-img--round {
  aspect-ratio: 1;
  border-radius: 50%;
}

/* =========================================================
   新着情報
   ========================================================= */
.news {
  display: grid;
  gap: 4px;
}

.news__item {
  display: grid;
  grid-template-columns: 120px 110px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 6px;
  border-bottom: 1px dashed var(--color-line);
}

.news__date {
  color: var(--color-text-light);
  font-size: 0.9rem;
  font-weight: 700;
}

.news__cat {
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  padding: 4px 0;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.news__cat--green {
  background: var(--color-green-soft);
  color: var(--color-green);
}

.news__title {
  font-weight: 600;
}

@media (max-width: 620px) {
  .news__item {
    grid-template-columns: auto 1fr;
    row-gap: 6px;
  }

  .news__title {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   最新求人バナー（外部求人サイトへ）
   ========================================================= */
.job-banner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
  background: linear-gradient(120deg, #22344a, #1b2534);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.job-banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  opacity: 1;
}

.job-banner__img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.job-banner__body {
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.job-banner__body .eyebrow {
  background: rgba(240, 96, 0, 0.18);
  color: #fdba74;
  margin-bottom: 0;
}

.job-banner__body h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
}

.job-banner__body p {
  color: #c3cddc;
  font-size: 0.98rem;
}

.job-banner__body .btn {
  margin-top: 6px;
}

@media (max-width: 720px) {
  .job-banner {
    grid-template-columns: 1fr;
  }

  .job-banner__img {
    min-height: 180px;
    aspect-ratio: 16 / 7;
  }
}

/* =========================================================
   2系統への入口（求職者 / 企業）
   ========================================================= */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 28px);
}

@media (max-width: 720px) {
  .audience {
    grid-template-columns: 1fr;
  }
}

.audience__card {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.audience__card--seeker {
  background: linear-gradient(135deg, #f97b1f, #d94f00);
}

.audience__card--client {
  background: linear-gradient(135deg, #33475f, #1e2c3d);
}

.audience__card h3 {
  font-size: 1.5rem;
}

.audience__card p {
  margin-top: 12px;
  opacity: 0.95;
}

.audience__card .btn {
  margin-top: 22px;
  background: #fff;
  color: var(--color-text);
}

.audience__card .btn:hover {
  background: #fff;
}

/* =========================================================
   想い（リスト/特徴）
   ========================================================= */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: clamp(40px, 6vw, 72px);
}

.feature-row--reverse .feature-row__media {
  order: 2;
}

@media (max-width: 760px) {
  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row--reverse .feature-row__media {
    order: 0;
  }
}

.feature-row h3 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 14px;
}

.feature-row h3 .num {
  color: var(--color-primary);
  margin-right: 10px;
}

.feature-row p {
  color: var(--color-text-light);
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--color-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f06000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* =========================================================
   会社概要テーブル
   ========================================================= */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
}

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

.info-table th {
  width: 200px;
  background: var(--color-bg-alt);
  font-weight: 700;
  color: var(--color-text);
}

@media (max-width: 620px) {
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 14px 18px;
  }

  .info-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }
}

/* =========================================================
   メッセージ（代表 / 責任者）
   ========================================================= */
.message-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
}

.message-card__photo {
  width: 100%;
}

.message-card__role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
}

.message-card__name {
  font-size: 1.4rem;
  margin: 4px 0 16px;
}

.message-card__name span {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-left: 10px;
  font-weight: 600;
}

.message-card__body {
  color: var(--color-text-light);
}

@media (max-width: 620px) {
  .message-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .message-card__photo {
    max-width: 160px;
    margin-inline: auto;
  }

  .message-card__body {
    text-align: left;
  }
}

/* =========================================================
   お問い合わせフォーム
   ========================================================= */
.contact-switch {
  display: flex;
  gap: 10px;
  background: var(--color-bg-alt);
  padding: 6px;
  border-radius: var(--radius-pill);
  max-width: 460px;
  margin: 0 auto clamp(28px, 5vw, 40px);
}

.contact-switch button {
  flex: 1;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 8px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-switch button.is-active {
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}

.form {
  max-width: 680px;
  margin-inline: auto;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 5vw, 44px);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-line);
}

.form__note {
  background: var(--color-green-soft);
  color: #2f4763;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 26px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.field .req {
  font-size: 0.72rem;
  color: #fff;
  background: var(--color-primary);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
}

.field .opt {
  font-size: 0.72rem;
  color: var(--color-text-light);
  background: var(--color-bg-alt);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  padding: 14px 16px;
  border: 2px solid var(--color-line);
  border-radius: var(--radius);
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(240, 96, 0, 0.15);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field--check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--color-text-light);
}

.field--check input {
  width: auto;
  margin-top: 5px;
  accent-color: var(--color-primary);
}

.form__submit {
  margin-top: 8px;
}

.form-tip {
  display: none;
}

.form-tip.is-active {
  display: block;
}

/* 迷惑メール対策のハニーポット（画面にもスクリーンリーダーにも出さない） */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 送信結果のメッセージ（見落とされないよう強めに主張させる） */
.form-result {
  position: relative;
  max-width: 680px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  padding: 24px 26px 24px 70px;
  border-radius: var(--radius);
  border: 2px solid #12855a;
  background: #dcf3e7;
  color: #0d5c3d;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.75;
  box-shadow: 0 12px 30px rgba(18, 133, 90, 0.2);
  /* 固定ヘッダーの下に隠れないようにする */
  scroll-margin-top: 96px;
  display: none;
}

/* 左側の丸アイコン（成功＝チェック） */
.form-result::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #12855a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.form-result.is-visible {
  display: block;
  animation: result-appear 0.45s ease both;
}

@keyframes result-appear {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* エラー時 */
.form-result--error {
  border-color: #c62828;
  background: #fdecea;
  color: #94201a;
  box-shadow: 0 12px 30px rgba(198, 40, 40, 0.18);
}

.form-result--error::before {
  background: #c62828 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center / 16px no-repeat;
}

@media (max-width: 520px) {
  .form-result {
    padding: 20px 20px 20px 60px;
    font-size: 1rem;
  }

  .form-result::before {
    left: 16px;
    top: 20px;
    width: 28px;
    height: 28px;
    background-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-result.is-visible {
    animation: none;
  }
}

/* 連絡先カード */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(32px, 5vw, 48px);
}

@media (max-width: 720px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

.contact-cards .card {
  text-align: center;
}

.contact-cards .card__icon {
  margin-inline: auto;
}

/* =========================================================
   CTA 帯
   ========================================================= */
.cta-band {
  background: linear-gradient(135deg, #f97b1f, #d94f00);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 60px);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.cta-band p {
  margin-top: 12px;
  opacity: 0.95;
}

.cta-band .hero__actions {
  justify-content: center;
}

.cta-band .btn--ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

/* =========================================================
   フッター
   ========================================================= */
.footer {
  background: #1b2534;
  color: #d9e0ea;
  padding-block: clamp(44px, 6vw, 64px) 24px;
}

.footer a {
  color: #d9e0ea;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

@media (max-width: 760px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer__brand .logo {
  color: #fff;
}

.footer .logo__mark {
  height: 34px;
  width: auto;
}

.footer__brand .logo small {
  color: #8b98ad;
}

.footer__desc {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #a7b2c4;
  max-width: 320px;
}

.footer__col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #fff;
}

.footer__col li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.footer__col address {
  font-style: normal;
  font-size: 0.92rem;
  color: #a7b2c4;
  line-height: 1.9;
}

.footer__bottom {
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #8b98ad;
}

/* =========================================================
   ふわっと表示アニメーション
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
