/* ============================= */
/* 基本設定・変数 */
/* ============================= */
:root {
  /* Color palette */
  --color-primary: #3d5a80;
  --color-accent: #98c1d9;
  --color-bg-light: #e0fbfc;
  --color-cta: #ee6c4d;
  --color-dark: #293241;
  --color-text-main: #293241;
  --color-text-light: #e0fbfc;
  --color-border-light: rgba(224, 251, 252, 0.4);

  /* Layout */
  --container-width: 1100px;
  --header-height: 72px;

  /* Font */
  --font-base: Inter, Inter-fallback, Helvetica, Apple Color Emoji,
    Segoe UI Emoji, NotoColorEmoji, Noto Color Emoji, Segoe UI Symbol,
    Android Emoji, EmojiSymbols, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Noto Sans, sans-serif;
}

/* ============================= */
/* ベーススタイル */
/* ============================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  color: var(--color-text-main);
  background-color: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* セクションタイトル共通 */
.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 32px;
  color: var(--color-primary);
}

/* ============================= */
/* プレースホルダー画像 */
/* ============================= */
.placeholder-img {
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.9rem;
}

/* ============================= */
/* HEADER */
/* ============================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-accent)
  );
  color: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.logo img {
  height: 48px;
  width: auto;
}

.pc-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.pc-nav a:hover {
  text-decoration: none;
}

.pc-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--color-bg-light);
  transition: width 0.2s ease;
}

.pc-nav a:hover::after {
  width: 100%;
}

/* SPメニューボタン */
.sp-menu-btn {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.sp-menu-btn span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  left: 0;
  transition: all 0.3s ease;
}

.sp-menu-btn span:nth-child(1) {
  top: 0;
}

.sp-menu-btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.sp-menu-btn span:nth-child(3) {
  bottom: 0;
}

/* メニューボタン開いた状態 */
.sp-menu-btn.is-open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.sp-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.sp-menu-btn.is-open span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* SPナビゲーション */
.sp-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  right: -280px;
  width: 280px;
  height: calc(100vh - var(--header-height));
  background-color: var(--color-dark);
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.sp-nav.is-open {
  right: 0;
}

.sp-nav ul {
  list-style: none;
  margin: 0;
  padding: 20px 0;
}

.sp-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-nav a {
  display: block;
  padding: 16px 24px;
  color: #ffffff;
  font-size: 1rem;
}

.sp-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

/* SPナビオーバーレイ */
.sp-nav-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sp-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================= */
/* HERO */
/* ============================= */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

/* 背景画像 */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg_pc.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

/* 背景オーバーレイ（テキスト読みやすくするため） */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 90, 128, 0.6),
    rgba(41, 50, 65, 0.7)
  );
  z-index: -1;
}

.hero-inner {
  padding: 64px 16px 72px;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.9;
}

/* ============================= */
/* 事業内容（TOP：3カテゴリ） */
/* ============================= */
.business-top {
  padding: 72px 0 64px;
  background-color: #ffffff;
}

.business-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 48px;
  transition: transform 0.3s ease;
}

.business-row:hover {
  transform: translateY(-6px);
}

.business-row:hover .business-img-inner {
  transform: scale(1.05);
}

.business-row:hover .business-text {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* 画像カード - 平行四辺形（右15°カット） */
.business-img {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  margin-right: -40px;
  z-index: 2;
}

.business-img-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

/* 実画像背景 */
.business-img-1 .business-img-inner {
  background-image: url('../img/business-img-1.webp');
}
.business-img-2 .business-img-inner {
  background-image: url('../img/business-img-2.webp');
}
.business-img-3 .business-img-inner {
  background-image: url('../img/business-img-3.webp');
}

/* 画像オーバーレイ */
.business-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 90, 128, 0.15),
    rgba(41, 50, 65, 0.25)
  );
  z-index: 1;
}

/* テキストカード - 平行四辺形（左15°カット） */
.business-text {
  position: relative;
  padding: 32px 40px 32px 60px;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  margin-left: -20px;
  z-index: 1;
  transition: box-shadow 0.3s ease;
}

/* テキストカード背景グラデーション */
.business-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(152, 193, 217, 0.2) 0%,
    rgba(224, 251, 252, 0.5) 50%,
    rgba(255, 255, 255, 0.8) 100%
  );
  z-index: -1;
}

.business-text h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--color-dark);
}

.business-text p {
  margin: 0;
  font-size: 0.95rem;
}

/* 「もっと見る」リンク */
.more-link {
  text-align: right;
  margin-top: 16px;
}

.more-link a {
  display: inline-block;
  padding: 10px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.more-link a:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
  transform: translateX(4px);
}

/* 中央寄せバージョン */
.more-link.center {
  text-align: center;
}

/* ============================= */
/* お知らせ */
/* ============================= */
.news-top {
  padding: 64px 0;
  background-color: var(--color-bg-light);
}

.news-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.news-list li {
  margin-bottom: 8px;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 6px;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
  border-radius: 4px;
  padding: 5px;
}

.news-list li:hover {
  background-color: rgba(255, 255, 255, 0.6);
  padding-left: 8px;
}

.news-list a {
  display: inline-block;
  transition: color 0.2s ease;
}

.news-list a:hover {
  color: var(--color-cta);
  text-decoration: none;
}

.news-list .news-date {
  margin-right: 1em;
  color: #666;
}

.news-list .news-title {
  color: var(--color-text-main);
}

/* ============================= */
/* お問い合わせ CTA */
/* ============================= */
.contact-cta {
  position: relative;
  padding: 72px 0;
  text-align: center;
  background-image: url('../img/contact-cta-bg_pc.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 90, 128, 0.85),
    rgba(41, 50, 65, 0.9)
  );
  z-index: 0;
}

.contact-cta .container {
  position: relative;
  z-index: 1;
}

.cta-text {
  margin: 0 0 20px;
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 500;
}

.cta-button {
  display: inline-block;
  padding: 12px 40px;
  background-color: var(--color-cta);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(238, 108, 77, 0.35);
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(238, 108, 77, 0.45);
  opacity: 0.95;
  text-decoration: none;
}

/* ============================= */
/* FOOTER */
/* ============================= */
.site-footer {
  background-color: var(--color-dark);
  color: var(--color-text-light);
  padding: 32px 0 24px;
  font-size: 0.9rem;
}

.footer-inner {
  text-align: center;
}

.footer-nav {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-nav a {
  color: var(--color-text-light);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
  opacity: 1;
}

.footer-logo {
  margin: 24px 0;
}

.footer-logo a {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.footer-logo a:hover {
  opacity: 0.8;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-copy {
  margin: 0;
  opacity: 0.8;
}

/* ============================= */
/* 下層ページ共通 */
/* ============================= */
.page-header {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-dark)
  );
  color: #ffffff;
  padding: 48px 0;
  text-align: center;
}

.page-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.page-content {
  padding: 64px 0;
  background-color: #ffffff;
  min-height: calc(100vh - var(--header-height) - 200px);
}

/* ============================= */
/* 事業一覧ページ */
/* ============================= */
.business-category {
  margin-bottom: 48px;
  padding: 24px;
  border-radius: 8px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.business-category:hover {
  background-color: var(--color-bg-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.business-category:last-child {
  margin-bottom: 0;
}

.business-category h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
  transition: border-color 0.3s ease;
}

.business-category:hover h2 {
  border-color: var(--color-cta);
}

.business-category p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.8;
}

.business-category p:last-child {
  margin-bottom: 0;
}

/* サービスリスト（タグ形式） */
.business-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.business-service-list li {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 20px;
  border: 1px solid var(--color-accent);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.business-service-list li:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ============================= */
/* 私たちの想い（TOP） */
/* ============================= */
.vision {
  padding: 64px 0;
  background-color: #ffffff;
  text-align: center;
}

.vision-text {
  font-size: 1.1rem;
  line-height: 2;
  margin: 0 0 24px;
  color: var(--color-text-main);
}

.sp-hide {
  display: inline;
}

/* ============================= */
/* 私たちの想い（会社情報ページ） */
/* ============================= */
.vision-box {
  background-color: var(--color-bg-light);
  padding: 32px;
  border-radius: 8px;
  margin-bottom: 48px;
  text-align: center;
}

.vision-box h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 12px;
}

.vision-box p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.8;
}

.vision-box p:last-child {
  margin-bottom: 0;
}

/* 代表メッセージ */
.message-box {
  margin-top: 48px;
  padding: 40px;
  background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-light) 100%);
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.message-box h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 24px;
}

.message-content {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.message-text {
  flex: 1;
}

.message-text p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.9;
}

.message-text p:last-of-type {
  margin-bottom: 0;
}

.message-sign {
  margin-top: 24px !important;
  text-align: right;
  font-weight: 600;
  color: var(--color-primary);
}

/* ============================= */
/* 会社情報ページ */
/* ============================= */
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.company-table th {
  width: 30%;
  background-color: var(--color-bg-light);
  font-weight: 500;
  color: var(--color-primary);
  transition: background-color 0.2s ease;
}

.company-table td {
  width: 70%;
  transition: background-color 0.2s ease;
}

.company-table tr:hover th {
  background-color: var(--color-accent);
  color: #ffffff;
}

.company-table tr:hover td {
  background-color: rgba(152, 193, 217, 0.15);
}

/* 事業内容詳細リスト */
.business-detail {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.business-list {
  margin: 0;
  padding: 0;
}

.business-list dt {
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 12px;
  padding-left: 8px;
  border-left: 3px solid var(--color-accent);
}

.business-list dt:first-child {
  margin-top: 0;
}

.business-list dd {
  margin: 6px 0 0 0;
  padding-left: 11px;
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.6;
}

/* ============================= */
/* お知らせ一覧ページ */
/* ============================= */
.news-archive {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-archive li {
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
  border-radius: 4px;
}

.news-archive li:hover {
  background-color: var(--color-bg-light);
  padding-left: 12px;
}

.news-archive .news-date {
  display: inline-block;
  width: 120px;
  color: #666;
  font-size: 0.9rem;
}

.news-archive .news-title {
  font-size: 1rem;
}

/* 戻るリンク */
.back-link {
  margin-top: 48px;
  text-align: center;
}

.back-link a {
  display: inline-block;
  padding: 12px 32px;
  color: var(--color-primary);
  font-weight: 500;
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.back-link a:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
  transform: translateX(-4px);
}

/* ============================= */
/* プライバシーポリシーページ */
/* ============================= */
.privacy-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 32px 0 12px;
}

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

.privacy-content p {
  margin: 0 0 16px;
  line-height: 1.8;
}

.privacy-content ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.privacy-content li {
  margin-bottom: 8px;
}

/* ============================= */
/* スクロールアニメーション */
/* ============================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 遅延アニメーション */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ============================= */
/* レスポンシブ（SP想定） */
/* ============================= */
/* ============================= */
/* お問い合わせフォーム */
/* ============================= */
.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-lead {
  text-align: center;
  margin: 0 0 32px;
  font-size: 1rem;
  line-height: 1.8;
}

.required-note {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #666;
}

.required {
  display: inline-block;
  background-color: var(--color-cta);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-error-box {
  background-color: #fff0f0;
  border: 1px solid #e74c3c;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: center;
}

.form-error-box p {
  margin: 0;
  color: #c0392b;
  font-weight: 500;
}

/* ハニーポット（非表示） */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.contact-form {
  position: relative;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}

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

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e74c3c;
}

.error-message {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #c0392b;
}

/* チェックボックス */
.form-group-checkbox {
  margin-top: 32px;
  margin-bottom: 32px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.checkbox-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.checkbox-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.checkbox-text a:hover {
  color: var(--color-cta);
}

/* 送信ボタン */
.form-submit {
  text-align: center;
  margin-top: 40px;
}

.btn-submit {
  display: inline-block;
  padding: 16px 64px;
  background-color: var(--color-cta);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(238, 108, 77, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(238, 108, 77, 0.45);
  opacity: 0.95;
}

.btn-submit:active {
  transform: translateY(0);
}

/* ============================= */
/* 確認画面 */
/* ============================= */
.confirm-table-wrapper {
  margin-bottom: 40px;
}

.confirm-table {
  width: 100%;
  border-collapse: collapse;
}

.confirm-table th,
.confirm-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.confirm-table th {
  width: 35%;
  background-color: var(--color-bg-light);
  font-weight: 500;
  color: var(--color-primary);
  vertical-align: top;
}

.confirm-table td {
  width: 65%;
}

.confirm-message {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.confirm-form {
  margin-top: 32px;
}

.confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-back {
  display: inline-block;
  padding: 16px 48px;
  background-color: #ffffff;
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid #ccc;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-back:hover {
  border-color: var(--color-primary);
  background-color: var(--color-bg-light);
  text-decoration: none;
}

/* ============================= */
/* 完了画面 */
/* ============================= */
.contact-complete-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}

.complete-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: var(--color-primary);
}

.complete-icon svg {
  width: 100%;
  height: 100%;
}

.complete-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 24px;
}

.complete-text {
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 0 0 24px;
}

.complete-note {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.8;
  margin: 0 0 40px;
}

.complete-back {
  margin-top: 40px;
}

.btn-back-home {
  display: inline-block;
  padding: 14px 40px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-back-home:hover {
  background-color: var(--color-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .site-header {
    height: var(--header-height);
  }

  .logo img {
    height: 36px;
  }

  .pc-nav {
    display: none;
  }

  .sp-menu-btn {
    display: block;
  }

  .sp-nav {
    display: block;
  }

  .sp-nav-overlay {
    display: block;
  }

  /* ヒーロー - スマホ版背景画像 */
  .hero {
    min-height: 60vh;
  }

  .hero-bg {
    background-image: url('../img/hero-bg_sp.webp');
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* 事業カード - スマホ版は通常の角丸カード */
  .business-top {
    padding: 56px 0 48px;
  }

  .business-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 32px;
  }

  .business-row:hover {
    transform: none;
  }

  .business-img {
    min-height: 200px;
    clip-path: none;
    margin-right: 0;
    border-radius: 12px 12px 0 0;
  }

  .business-text {
    clip-path: none;
    margin-left: 0;
    padding: 24px 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .vision {
    padding: 48px 0;
  }

  .vision-text {
    font-size: 1rem;
  }

  .sp-hide {
    display: none;
  }

  .vision-box {
    padding: 24px 16px;
  }

  /* CTA - スマホ版 */
  .contact-cta {
    padding: 56px 0;
    background-image: url('../img/contact-cta-bg_sp.webp');
  }

  .message-box {
    padding: 24px 20px;
  }

  /* お知らせ - スマホ版 */
  .news-list .news-date,
  .news-list .news-title {
    display: block;
  }

  .news-list .news-date {
    margin-right: 0;
    margin-bottom: 4px;
    font-size: 0.85rem;
  }

  .page-header {
    padding: 32px 0;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .page-content {
    padding: 48px 0;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 8px;
  }

  .company-table td {
    padding-top: 0;
    padding-bottom: 16px;
  }

  .news-archive .news-date {
    display: block;
    width: 100%;
    margin-bottom: 4px;
  }

  /* お問い合わせフォーム SP */
  .contact-lead {
    text-align: left;
    font-size: 0.95rem;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px; /* iOS zoom防止 */
  }

  .btn-submit {
    width: 100%;
    padding: 16px 32px;
  }

  .confirm-table th,
  .confirm-table td {
    display: block;
    width: 100%;
  }

  .confirm-table th {
    padding-bottom: 8px;
  }

  .confirm-table td {
    padding-top: 0;
    padding-bottom: 20px;
  }

  .confirm-buttons {
    flex-direction: column-reverse;
    gap: 16px;
  }

  .btn-back,
  .confirm-buttons .btn-submit {
    width: 100%;
    text-align: center;
  }

  .complete-icon {
    width: 64px;
    height: 64px;
  }

  .complete-title {
    font-size: 1.3rem;
  }

  .complete-text {
    font-size: 1rem;
  }
}
