/* =========================
   リセット
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html,
body {
  width: 100%;
  overflow-x: hidden;
  font-family: "Segoe UI", Meiryo, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8;
  color: #222;
  overscroll-behavior: none;
  scroll-behavior: smooth;
  overflow-y: auto;
  height: 100%;
}

/* index.html専用 */
body.index-page {
  overflow-y: visible;
  height: auto;
}

.text-black {
  color: #000 !important;
}


/* 初期状態 */
.slide-left,
.slide-right,
.slide-up {
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left {
  transform: translateX(-40px);
}

.slide-right {
  transform: translateX(40px);
}

.slide-up {
  transform: translateY(40px);
}

/* 表示トリガー時にフェードイン＋スライド解除 */
.slide-in {
  opacity: 1;
  transform: translate(0, 0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.font-b {
  color: #333 !important;
}

.m-left {
  margin-left: 24px !important;
}

@media screen and (max-width: 767px) {
  .m-left {
    margin-left: 0 !important;
  }
}

/* =========================
     セクション背景切り替え
  ========================= */
section:nth-of-type(even) {}


section:nth-of-type(odd) a {
  color: #e6a4a4;
  /* 黒背景でもリンク見えるように */
}

section:nth-of-type(odd) th,
section:nth-of-type(odd) td {
  color: #333;
}

/* =========================
     共通
  ========================= */
h1,
h2 {
  font-weight: bold;
}

h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

section {
  padding: 40px 20px;
}

/* =========================
詳細ボタン
========================= */

.btn-wrapper {
  text-align: center;
  margin-top: 24px;
}

.btn-detail {
  display: inline-block;
  padding: 12px 32px;
  background-color: #ffcc36;
  color: #222 !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(230, 164, 164, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  user-select: none;
}

.btn-detail:hover,
.btn-detail:focus {
  background-color: #cc8c8c;
  box-shadow: 0 6px 14px rgba(204, 140, 140, 0.6);
  transform: translateY(-2px);
  outline: none;
}

.btn-detail:active {
  background-color: #b37575;
  box-shadow: 0 2px 6px rgba(179, 117, 117, 0.7);
  transform: translateY(0);
}

/* =========================
     キービジュアル（動画背景）
  ========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 50vh;
}

.video-bg {
  position: fixed;
  /* 画面に固定 */
  top: 0;
  left: 0;
  width: 100vw;
  /* ビューポートの幅 */
  height: 100vh;
  /* ビューポートの高さ */
  overflow: hidden;
  z-index: 0;
  /* 背景として後ろに */
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画面にぴったりフィット */
  pointer-events: none;
  /* 背景のクリック透過 */
}


#trail-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}


.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* 透明度40%の黒 */
  z-index: 1;
}

.kv-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 20px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
}

.kv-content .tagline {
  font-size: 1.1rem;
  margin-top: 1em;
  letter-spacing: 0.05em;
}

.logo {
  font-weight: bold;
  font-size: 2rem;
  color: #6dd5ed;
  color: #fefefe;
  text-shadow: 0 0 2px #fff, 0 0 6px #fff, 0 0 12px #6dd5ed;
  position: relative;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 2px #fff, 0 0 4px #e6a4a4, 0 0 6px #e6a4a4;
  }

  100% {
    text-shadow: 0 0 4px #fff, 0 0 8px #e6a4a4, 0 0 12px #e6a4a4;
  }
}

.typing {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #fff;
  animation: typing 2s steps(20, end), blink 0.7s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* =========================
   ヘッダーナビゲーション
========================= */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  color: #fff;
  font-weight: 500;
  background: rgb(0 0 0 / 60%);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
  min-height: 64px;
}

.nav-logo {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.nav-logo a {
  color: #fff;
  text-decoration: none;
}

.nav-logo a:visited {
  color: #fff;
}

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

/* ハンバーガーボタン（スマホのみ表示） */
.menu-toggle {
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.header-nav.scrolled {
  background: rgba(0, 0, 0, 0.7);
}

/* スライドメニュー（スマホ用） */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}

.nav-menu a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-menu.active {
  opacity: 1;
  pointer-events: auto;
}

/* オーバーレイ背景 */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   PC表示（768px以上）
========================= */
@media screen and (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .header-nav {
    justify-content: center;
  }

  .nav-logo {
    position: absolute;
    left: 24px;
  }

  .header-contact {
    position: absolute;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 2em;
  }

  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .nav-menu a {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
  }

  .nav-overlay {
    display: none;
  }
}

/* =========================
   スマホ表示（767px以下）
========================= */
@media screen and (max-width: 767px) {
  .header-contact {
    display: none;
  }

  .header-nav {
    justify-content: space-between;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .nav-menu {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
}

/* =========================
   ヘッダー右の連絡先エリア（PCのみ）
========================= */
.tel-block {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.tel {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

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

.hours {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin-left: 1.5em;
}

.mail-btn {
  background: linear-gradient(to right, #b63636, #8e2929);
  color: #fff;
  padding: 0.45em 1em;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
}

.mail-btn i {
  font-size: 0.85rem;
}

.mail-btn:hover {
  background: linear-gradient(to right, #a12f2f, #742020);
}



/* =========================
  MISSON
========================= */

.section-mission {
  position: relative;
  padding: 120px 24px 140px;
  z-index: 5;
  margin-top: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: url('../img/star-bg.png') center center / cover no-repeat;
  background-attachment: fixed;
}

.section-mission::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, #0a0a0ae8 100%);
  z-index: 0;
  pointer-events: none;
}

.section-mission .inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  position: relative;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #e6a4a4;
  margin: 8px auto 40px;
  border-radius: 2px;
}

.mission-lead {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 56px;
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.mission-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .mission-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mission-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 20px;
  padding: 48px 32px;
  min-height: 280px;
  box-shadow:
    0 4px 15px rgba(255, 255, 255, 0.15),
    0 10px 30px rgba(200, 220, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  color: #fff;
  overflow: hidden;
}


.mission-card:hover {
  box-shadow:
    0 8px 25px rgba(255, 255, 255, 0.3),
    0 20px 55px rgba(200, 220, 255, 0.45);
  transform: translateY(-12px);
}


.mission-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
  border-radius: 20px;
}

.mission-card h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 14px;
  color: #f0e7e7;
}

.mission-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ddd;
  letter-spacing: 0.035em;
}

.mission-body {
  font-size: 1.05rem;
  color: #ccc;
  line-height: 2.2;
  letter-spacing: 0.025em;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  margin-top: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.btn-wrapper {
  text-align: center;
  margin-top: 40px;
}

.btn-detail {
  display: inline-block;
  padding: 16px 42px;
  background-color: #f5c74f;
  color: #222;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(245, 199, 79, 0.65);
  transition: background-color 0.3s ease, transform 0.25s ease;
  user-select: none;
}

.btn-detail:hover,
.btn-detail:focus {
  background-color: #ffdb70;
  transform: translateY(-4px);
  outline: none;
}

@media (max-width: 767px) {
  .mission-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mission-card {
    max-width: 100%;
    padding: 36px 24px;
  }
}

.section-service {
  padding: 80px 24px 120px;
  /* background: #0a0a0ae8; */
  color: #222;
  position: relative;
  text-align: center;
  z-index: 2;
}

.section-service .inner {
  max-width: 960px;
  margin: 0 auto;
}

.service-lead {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 56px;
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  /* カード間の横間隔 */
  flex-wrap: nowrap;
  /* スマホでは縦並びに切り替えるためにwrap */
}

.service-card {
  background-color: rgb(255 255 255 / 65%);
  /* 半透明の白 */
  backdrop-filter: blur(32px);
  /* 背景のぼかし効果 */
  -webkit-backdrop-filter: blur(10px);
  /* Safari対応 */
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 32%;
  box-sizing: border-box;
  text-align: left;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* 薄い枠線で質感アップ */
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}


.service-card .icon {
  width: 60px;
  height: 60px;
  background-color: #010c24;
  /* 好きなアクセントカラー */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card .icon i {
  color: #fff;
  /* 黒か白を選ぶ */
  font-size: 28px;
}

.service-card h3 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
  /* テキスト部分を伸ばして高さ調整に貢献 */
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  .service-cards {
    flex-direction: column;
    gap: 24px;
  }

  .service-card {
    width: 100%;
  }
}

/* =========================
   VISIONセクション
========================= */

.section-vision {
  background: linear-gradient(to bottom, #0a0a0a, #0f1a2b, #122c48);
  padding: 100px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

.section-vision .section-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 0.05em;
}

.vision-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.vision-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
  gap: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.vision-item.show {
  opacity: 1;
  transform: translateY(0);
}

.vision-item.reverse {
  flex-direction: column-reverse;
}

.vision-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.vision-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.0) 40%,
      rgba(0, 0, 0, 0.0) 60%,
      rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.vision-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vision-image:hover img {
  transform: scale(1.03);
}

.number-left {
  left: 14px;
}

.number-right {
  right: 14px;
}

.vision-text {
  text-align: left;
  width: 100%;
}

.vision-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.vision-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #ccc;
  letter-spacing: 0.01em;
}

.vision-label {
  position: absolute;
  left: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: rgb(0 0 0 / 33%);
  padding: 6px 18px;
  letter-spacing: 0.08em;
  z-index: 3;
  backdrop-filter: blur(5px);
}



/* PC以降は横並び交互 */
@media screen and (min-width: 768px) {
  .vision-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .vision-item.reverse {
    flex-direction: row-reverse;
  }

  .vision-image,
  .vision-text {
    width: 48%;
  }
}

/* =========================
   VISIONセクション：スマホ時に上下逆転
========================= */
@media screen and (max-width: 767px) {
  .vision-item.reverse {
    flex-direction: column;
  }
}

/* =========================
     事業内容セクション
========================= */
.section-services {
  background: #f5f5f5;
  padding: 80px 24px;
  color: #333;
  position: relative;
  z-index: 1;
}

.section-services .inner {
  max-width: 700px;
  margin: 0 auto;
}

.section-services .section-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #222;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-services .section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #e6a4a4;
  margin: 12px auto 0;
}

/* サービスリスト */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 48px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-direction: column;
}

.service-list strong {
  display: inline-block;
  position: relative;
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
  padding-left: 1.4em;
}

.service-list strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.6em;
  height: 0.6em;
  background-color: #e6a4a4;
  border-radius: 50%;
}

.service-list p {
  margin: 0 0 10px;
}

/* まとめ文スタイル */
.service-list .summary {
  background: #fff6f7;
  border-left: 4px solid #e6a4a4;
  padding: 10px 16px;
  margin-top: 12px;
  font-size: 0.92rem;
  color: #444;
  font-weight: 500;
  animation: fadeInSummary 0.8s ease-in-out both;
}

@keyframes fadeInSummary {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-list .summary i {
  color: #e6a4a4;
  margin-right: 8px;
  font-size: 1rem;
  vertical-align: middle;
}



/* =========================
   信頼と安心の姿勢
========================= */
.section-trust {
  background: #f4f8fb26;
  color: #fff;
  padding: 60px 16px;
  text-align: center;
  position: relative;
}

.trust-inner {
  max-width: 480px;
  margin: 0 auto;
}

.trust-lead {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 56px;
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.trust-title {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  position: relative;
}

.trust-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #fff;
  margin: 8px auto 0;
  opacity: 0.5;
}

.trust-text {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.85);
}

.btn-wrapper .btn-detail {
  display: inline-block;
  background: #ffd450;
  color: #222;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: 0.3s ease;
  width: 60%;
  max-width: 300px;
}

.btn-wrapper .btn-detail:hover {
  opacity: 0.8;
}


/* =========================
   case
========================= */

#cases {
  background-color: #f0f0f0;

  /* パスは調整してね */
  background-position: center;
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.section-title-ja {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #444;
}

.section-title-en {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: #a5a5a5;
}

.case-block {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 32px;
  margin-bottom: 48px;
  transition: box-shadow 0.3s ease;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 18px;
}

.case-block:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.case-text {
  flex: 1;
}

.case-header {
  margin-bottom: 24px;
}

.case-label {
  display: inline-block;
  background: #e6a4a4;
  color: #5a2f2f;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.case-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.case-sub {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 16px;
  display: inline-block;
  background: #fcecec;
  padding: 6px 12px;
  border-radius: 8px;
}

.case-sub i {
  margin-right: 8px;
  color: #c93030;
}

.case-body h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 700;
  color: #a95454;
  border-left: 4px solid #a95454;
  padding-left: 12px;
}

.case-body h4::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0eb";
  font-size: 1.1rem;
  color: #e6a4a4;
  margin-right: 8px;
}

.case-body ul {
  margin-bottom: 16px;
  padding-left: 1.4em;
  list-style-type: disc;
  color: #555;
}

.case-results {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.result-badge {
  background: #fcecec;
  color: #9f4444;
  font-weight: 700;
  border-radius: 12px;
  padding: 6px 16px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.result-badge i {
  font-size: 1rem;
}

.case-image {
  flex: 0 0 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(200, 150, 150, 0.3);
}

.case-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .case-image img {
    display: none;
  }
}

/* =========================
   レスポンシブ対応
========================= */

@media screen and (max-width: 768px) {
  .case-block {
    flex-direction: column;
  }

  .case-image {
    flex: unset;
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
  }
}

/* =========================
     about
  ========================= */

.contact-float-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #e6a4a4;
  color: #fff !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 24px;
  text-align: center;
  line-height: 56px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background 0.3s ease;
}

.contact-float-button:hover {
  background: #d48d8d;
}

/* =========================
     フッター
  ========================= */
.site-footer {
  background-color: #000000ad;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: #777;
  position: relative;
  z-index: 1;
}

/* =========================
   ページ別背景画像指定
========================= */
.mp-title-section.is-service::before {
  background-image: url('../img/service-header-bg.png');
}

.mp-title-section.is-company::before {
  background-image: url('../img/company-header-bg.png');
}

.mp-title-section.is-mission::before {
  background-image: url('../img/mission-header-bg.png');
}

/* ========================= MISSION PAGE ========================= */
.mp-section {
  position: relative;
  /* margin-top: 64px; */
  background: url('../img/star-bg.png') center center / cover no-repeat fixed;
  color: #fff;
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  overflow: visible;
  z-index: 2;
}

#mp-trail-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ========================= mp-inner ========================= */
.mp-inner {
  position: relative;
  z-index: 2;
}

/* =========================
   MISSIONページ専用タイトルセクション
========================= */
.mp-title-section {
  position: relative;
  overflow: hidden;
  padding: 160px 24px 140px;
}

.mp-title-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(3px);
  z-index: 0;
}



.mp-title-content {
  color: #fff;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px;
}

.mp-title-section .mp-title {
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.mp-title-section .mp-lead {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

@media screen and (max-width: 767px) {
  .mp-title-section {
    padding: 110px 16px 60px;
  }

  .mp-title-content {
    padding: 0 10px;
  }

  .mp-title-section .mp-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
  }

  .mp-title-section .mp-lead {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 100%;
  }
}

/* ========================= MISSION CARDS ========================= */
.mp-cards {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.mp-card {
  background: #fff;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.mp-card-inner {
  display: flex;
  align-items: center;
  flex-direction: row;
  padding: 28px 20px;
  /* ← 調整 */
}

.mp-card-text {
  flex: 1 1 60%;
  text-align: left;
}

.mp-card-title {
  font-size: 1.2rem;
  /* ← 少し抑える */
  font-weight: 700;
  color: #e68a9e;
  margin-bottom: 12px;
  line-height: 1.5;
}

.mp-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  /* ← やや詰める */
  color: #333;
  letter-spacing: 0.02em;
  white-space: normal;
  margin-bottom: 16px;
}

.mp-card-image {
  flex: 1 1 40%;
  max-width: 320px;
  overflow: hidden;
  flex-shrink: 0;
}

.mp-card-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========================= レスポンシブ ========================= */
@media screen and (max-width: 768px) {
  .mp-card-inner {
    flex-direction: column-reverse;
    text-align: center;
    padding: 20px 14px;
  }

  .mp-card-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .mp-card-desc {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .mp-card-image {
    margin-bottom: 16px;
  }

  .mp-body {
    font-size: 0.9rem;
    padding: 16px;
    margin: 0;
  }
}

.mp-cards h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 14px;
  color: #dd9595;
  text-align: left;
  width: 100%;
}

/* ========================= MISSION BODY + BUTTON ========================= */
.mp-body {
  background-color: #eef5f8;
  color: #444;
  padding: 16px 20px;
  border-radius: 0 0 8px 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.03);
  margin-top: 25px;
  text-align: left;
}

.mp-body-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  color: #3185a0;
  background-color: #d6ecf2;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.mp-btn-wrapper {
  text-align: center;
  margin-top: 40px;
}

.mp-btn-detail {
  display: inline-block;
  padding: 16px 42px;
  background-color: #f5c74f;
  color: #222 !important;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(245, 199, 79, 0.65);
  transition: background-color 0.3s ease, transform 0.25s ease;
  user-select: none;
}

.mp-btn-detail:hover,
.mp-btn-detail:focus {
  background-color: #ffdb70;
  transform: translateY(-4px);
  outline: none;
}

/* ========================= スマホ対応 ========================= */
@media (max-width: 767px) {
  .mp-card {
    flex-direction: column;
  }

  .mp-card-text,
  .mp-card-image {
    max-width: 100%;
    flex-basis: auto;
  }

  .mp-card-image {
    margin-bottom: 20px;
  }
}

/* PC（デフォルト）では順番そのまま */
.mp-card-image {
  order: 1;
}

.mp-card-text {
  order: 2;
}

.mp-card-body {
  order: 3;
}

/* スマホ時に順番を変更 */
@media screen and (max-width: 768px) {
  .mp-card-inner {
    flex-direction: column;
  }

  .mp-card-image {
    order: 2;
  }

  .mp-card-text {
    order: 1;
  }

  .mp-card-body {
    order: 3;
  }
}

/* =========================カンパニーページ ========================= */
.safety-company {
  padding: 80px 24px 120px;
  background-color: #f9f9f9;
  color: #222;
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto 80px auto;
  border-radius: 16px;
}

.safety-company .inner {
  max-width: 720px;
  margin: 0 auto;
}

.safety-company p {
  font-size: 1.1rem;
  line-height: 2;
  letter-spacing: 0.025em;
  color: #444;
  white-space: pre-line;
}

/* =========================
   会社概要セクション
========================= */
.section-about {
  padding: 80px 20px;
  background-color: #f8f8f8;
}

.section-about .inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

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

.about-table th {
  background-color: #f0f0f0;
  width: 30%;
  font-weight: 700;
  color: #333;
}

.about-table td {
  color: #444;
}

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

/* ========================= 信頼と安全性への取り組み ========================= */
.safety-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.safety-heading {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 40px;
}

.safety-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.safety-card {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 24px;
  width: 100%;
  max-width: 340px;
  text-align: left;
  position: relative;
}

.safety-number {
  font-size: 18px;
  font-weight: bold;
  color: #e60033;
  margin-bottom: 8px;
}

.safety-card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
}

.safety-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* =========================
   サービスカード背景画像指定
========================= */

.service02 {
  background-image: url('../img/service02-pc.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  overflow: hidden;
  /* オーバーレイがはみ出さないように */
}

.service02::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  /* 透明度40%の黒 */
  border-radius: 20px;
  /* カードの角丸に合わせる */
  z-index: -1;
}

/* テキストは前面に */
.service02>.mp-card-text {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .mp-card h3 {
    font-size: 1rem;
    /* 約16px相当：スマホではちょうどよく収まる */
    margin-bottom: 6px;
  }

  .mp-card p {
    font-size: 0.9rem;
    /* 本文もやや抑えめにすると読みやすい */
  }



  .mp-card-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
    padding: 24px;
  }
}


/* =========================
   相談エリア
========================= */
.contact-cta {
  text-align: center;
  padding: 40px 20px;
  background: url('../img/bg-contact.png') no-repeat center/cover;

}

.contact-lead {
  font-size: 1.05rem;
  font-weight: bold;
  margin-bottom: 24px;
  color: #333;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
  width: 100%;
  max-width: 320px;
}

.btn i {
  margin-right: 8px;
  font-size: 1rem;
}

/* フォームボタン */
.btn-form {
  background-color: #e76e7e !important;
  color: #fff !important;
}

/* 電話ボタン（枠あり） */
.btn-phone {
  border: 2px solid #e76e7e !important;
  color: #e76e7e !important;
  background: #fff !important;
}

/* 補足テキスト */
.cta-info {
  font-size: 0.85rem;
  color: #444;
}

.cta-info span {
  font-weight: 500;
}

/* ========================= お問い合わせセクション ========================= */
.contact-section {
  padding: 48px 20px;
  background: #f9f9f9;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  color: #333;
}

.contact-description {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 32px;
  line-height: 1.6;
}

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

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #999;
  outline: none;
}

.form-button {
  text-align: center;
  margin-top: 32px;
}

.submit-btn {
  background: linear-gradient(to right, #3185a0, #246d86);
  color: #fff;
  padding: 14px 48px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: linear-gradient(to right, #2a748d, #1f5e72);
  transform: translateY(-3px);
}

/* ========================= レスポンシブ ========================= */
@media screen and (min-width: 768px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-description {
    font-size: 1rem;
  }
}

.required {
  color: #d93025;
  font-size: 0.85em;
  margin-left: 4px;
}

/* ========================= サンクスセクション ========================= */
.thanks-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.thanks-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
}

.thanks-message {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 32px;
}

.thanks-link .submit-btn {
  padding: 12px 32px;
  font-size: 16px;
  background-color: #e60033;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

.btn-detail i {
  margin-left: 6px;
  font-size: 0.95em;
  vertical-align: middle;
}