* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  /* 日本語を綺麗に見せるためのフォント指定 */
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-weight: 500;
  /* 少しだけ太めにして可読性アップ */
  line-height: 2;
  /* 行間を広くしてゆとりを出す */
  letter-spacing: 0.06em;
  /* 文字の間隔を広げてモダンに */
  color: #333;
  /* 真っ黒より少しグレーの方が高級感が出るハム */
  background: #FFFBED;
  padding-top: 80px;

}
/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  /* 少しゆとりを持たせたハム */
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 251, 237, 0.95);
  /* 背景色に合わせた透過 */
  backdrop-filter: blur(10px);
  /* 背景を少しぼかすとおしゃれ */
  z-index: 1000;
}

.logo {
  width: 50px;
  height: 50px;
  background: url("../img/YUlogo.svg") no-repeat center/contain;
}


.nav ul {
  list-style: none;
  display: flex;
  gap: 2vw;
}

.nav a {
  text-decoration: none;
  color: #1B1B1F;
  font-weight: bold;
  transition: 0.3s;
}

.nav a:hover {
  color: #2556CB;
}

/* Hero Image */
.hero-image {
  width: 100%;
  overflow: hidden;
}

.slide-wrapper {
  display: flex;
  width: 600%;
  /* 6枚分（img1,img2,img3 × 2）の幅 */
  animation: slide 30s infinite linear;
}

.slide-wrapper img {
  width: calc(100% / 6);
  /* 100% ÷ 6枚 */
  object-fit: cover;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }

  /* 3枚分進んだところで、ちょうど複製の1枚目に戻るハム */
  100% {
    transform: translateX(-50%);
  }
}

/* Hero */
.hero {
  padding: 120px 10%;
  /* 上下の余白をたっぷり取るハム */
  display: flex;
  justify-content: flex-end;
}

.hero-inner {
  max-width: 700px;
  text-align: right;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 40px;
  color: #1b1b1f;
  min-height: 2.8em;
  /* アニメーション中のガタツキ防止だはむ */
}

.typing-text {
  display: inline;
}

.hero p {
  /* 最小16px、推奨サイズ2vw（画面の2%）、最大24px にアップさせるハム！ */
  font-size: clamp(16px, 2vw, 24px);

  line-height: 2;
  /* 行間をさらに広げて読みやすく */
  font-weight: 500;
  /* 少しだけ厚みを持たせて存在感を出すハム */
  opacity: 0.9;
  /* 薄すぎないように調整 */
  margin-top: 24px;
  /* 見出しとの間隔を少し広げてゆとりを出すハム */
  word-break: keep-all;
  /* 日本語が変なところで改行されないようにするおまじないハム */
  overflow-wrap: break-word;
}


/* Services */
.services {
  padding: 100px 10%;
}

.service {
  margin-bottom: 150px;
  /* セクションごとの間隔を広げたハム */
}

.service h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.sub {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #2556CB;
  /* アクセントカラーに */
  margin-bottom: 20px;
}

.service-img {
  width: 100%;
  height: auto;
  /* 高さを自動に */
  border-radius: 4px;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  /* 画像を角丸に合わせる */
}

.service-img img {
  width: 100%;
  height: auto;
  display: block;
  /* 下の隙間を消す */
}

/* --- Event Title (Above Image) --- */
.event-title-area {
  margin-top: 40px;
  display: flex;
  align-items: flex-end;
  gap: 15px;
  border-bottom: 1.5px solid rgba(37, 86, 203, 0.2);
  /* 控えめな青い下線 */
  padding-bottom: 8px;
}

.event-title {
  font-size: clamp(20px, 2.8vw, 24px);
  font-weight: 700;
  color: #1b1b1f;
  line-height: 1.2;
}

.event-tag {
  font-size: 13px;
  font-weight: 700;
  color: #2556CB;
  letter-spacing: 0.1em;
  padding-bottom: 2px;
}

/* 画像を横に2枚並べるためのボックス */
.service-img-pair {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  width: 100%;
}

/* 1枚目（横長想定：img5）を広めにとるはむ */
.service-img-pair .service-img:nth-child(1) {
  flex: 1.5;
  height: 350px;
  margin: 0;
}

/* 2枚目（縦長想定：rina3）を少し狭めにとるはむ */
.service-img-pair .service-img:nth-child(2) {
  flex: 1;
  height: 350px;
  margin: 0;
}

.service-img-pair .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 比率を保ちつつ枠を埋めるはむ */
}


/* --- Comparison Slider --- */
.comparison-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  /* PCサイズで大きすぎないように制限だはむ！ */
  margin: 40px auto 0;
  /* 中央に配置してスッキリさせるはむ */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  user-select: none;
  line-height: 0;
}

.image-after {
  display: block;
}

.image-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* clip-path で切り替え（初期値50%） */
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.image-before img,
.image-after img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  /* テキスト選択禁止 */
  -webkit-user-drag: none;
  /* 画像ドラッグ禁止 */
}

/* つまみの棒 */
.comparison-slider-bar {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  /* 1.5px くらいに細くするとはむ！ */
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  /* 白を40%の濃さにするはむ */
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  /* 影も薄くするはむ */
}

/* つまみの丸ボタン（ボタンと同じガラスデザイン） */
.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 11;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;

  /* ガラス質感のグラデーション（ボタン準拠） */
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.1) 45%,
      rgba(0, 0, 0, 0.1) 55%,
      rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 下層の黒いぼかし影（ボタン準拠） */
.slider-handle::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background-color: #000;
  border-radius: 50%;
  z-index: -1;
  filter: blur(4px);
  opacity: 0.85;
}

/* 矢印アイコンのパーツ */
.slider-handle::after {
  content: "";
  display: none;
  /* 元の after は消して個別に矢印を作るはむ */
}

/* 左右の矢印を新しく定義 */
.slider-handle .arrow-left,
.slider-handle .arrow-right {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  z-index: 2;
}

.slider-handle .arrow-left {
  border-right: 8px solid #fff;
  margin-right: 4px;
}

.slider-handle .arrow-right {
  border-left: 8px solid #fff;
  margin-left: 4px;
}

/* 不透明な入力範囲スライダー */
.slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  margin: 0;
  z-index: 10;
  cursor: ew-resize;
}

/* ビフォーアフターのラベルとオーバーレイ（追加） */
.comparison-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  /* 少し暗くするはむ */
  z-index: 8;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.comparison-label {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  /* 上下中央・左右も起点調整だはむ */
  font-size: clamp(12px, 2.5vw, 18px);
  /* さらに文字サイズを控えめに調整したはむ */
  letter-spacing: 0.25em;
  /* 文字の間隔をしっかり空けたはむ */
  font-weight: 700;
  /* 少しだけウェイトを落として細めに見せるはむ */
  color: #fff;
  /* ちゃんと白塗りの文字にするはむ */
  z-index: 12;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  white-space: nowrap;
  font-family: "Yu Gothic", sans-serif;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  /* 線をくっきりさせるための影だはむ */
}

.label-before {
  left: 25%;
}

.label-after {
  left: 75%;
}

/* 触ったら消えるアニメーション */
.comparison-container.is-interacting .comparison-overlay,
.comparison-container.is-interacting .comparison-label,
.comparison-container.is-interacting .comparison-guide {
  opacity: 0;
  pointer-events: none;
}

.comparison-guide {
  position: absolute;
  bottom: 85px;
  /* 少しだけ上に移動したはむ */
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  /* 小さめの文字だはむ */
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 12;
  transition: opacity 0.5s ease;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.4);
  /* 背後にうっすら影を置いて見やすくするはむ */
  padding: 6px 16px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.comparison-container.is-interacting .label-before {
  transform: translate(-50%, calc(-50% - 10px));
}

.comparison-container.is-interacting .label-after {
  transform: translate(-50%, calc(-50% - 10px));
}

/* 標準の入力スライダーのつまみは見えなくする */
.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
  background: transparent;
}


/* --- Buttons --- */
.view-more-area {
  text-align: left;
  /* 親要素の配置に合わせる */
}

.btn {
  display: inline-block;
  padding: 18px 55px;
  /* 元のゆったりしたサイズに戻す */
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 18px;
  /* 文字サイズを少し小さく調整 */
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 100px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;

  /* 【上層】半透明グラデーションのガラス */
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.1) 45%,
      rgba(0, 0, 0, 0.1) 55%,
      rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  /* 細いボーダー */
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.2);

  overflow: visible;
  /* 中の黒カプセルを制御するためにvisible */
}

/* 【下層】黒い角丸（ガラスよりさらに一回り小さく） */
.btn::before {
  content: "";
  position: absolute;
  top: 12px;
  /* さらに一回り小さくして、はみ出さないように */
  left: 12px;
  right: 12px;
  bottom: 12px;
  background-color: #000;
  border-radius: 100px;
  z-index: -1;

  /* ボカしを調整（ご指定の4px） */
  filter: blur(4px);
  opacity: 0.85;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ホバーで「黒い角丸」を少しはっきりさせる（ご指定の2px） */
.btn:hover::before {
  filter: blur(2px);
  opacity: 1;
}

/* ホバー時のテキストカラー（さらに白を強調） */
.btn:hover {
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);

}

/* 文字の「ボムん」としたアニメーション（控えめに） */
.text-inner {
  display: inline-block;
  transition: all 0.3s ease-out;
}

.btn:hover .text-inner {
  animation: boing-subtle 0.6s ease-out forwards;
}

@keyframes boing-subtle {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(0.92);
  }

  /* わずかに小さくなる */
  60% {
    transform: scale(1.05);
  }

  /* わずかに大きくなる */
  100% {
    transform: scale(1);
  }

  /* 戻る */
}

/* Contact */
.contact-section {
  text-align: center;
  padding: 6vw 5vw;
}

.contact-btn {
  margin-top: 20px;
}

.contact-btn::before {
  background-color: #2556CB;
  /* 明るめの青色に変更するはむ！ */
}

/* Footer */
.footer {
  background: #FFFBED;
  padding: 40px 5vw;
}

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

.footer-nav {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.footer-nav a {
  color: #333;
  /* 元の色に合わせてね */
  text-decoration: none;
  margin: 0 15px;
  display: inline-block;
  transition: color 0.3s ease;

  /* --- ここを追加だはむ！ --- */
  font-weight: 700;
  /* 700がしっかりした太字だはむ */
  letter-spacing: 0.03em;
  /* ほんの少し文字の間をあけると読みやすいはむ */
}

/* ホバーした時に青くなる（さっきの設定と合わせるはむ） */
.footer-nav a:hover {
  color: #2556CB;
}

/* 画面幅が768px以下のスマホ向け設定だはむ！ */

.copy {
  font-size: 12px;
  margin-top: 20px;
}


/* ===== ハンバーガーボタン ===== */
/* ハンバーガーアイコン */
/* ハンバーガー */

/* ヘッダー */
/* ================================
   ハンバーガー（2本線・rightdesign風）
================================ */

/* ボタン本体 */
.hamburger {
  position: relative;
  width: 42px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

/* 共通線 */
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  /* 細い線 */
  background: #111;
  transition: 0.4s ease;
}

/* 上線 */
.hamburger span:nth-child(1) {
  top: 6px;
}

/* 下線 */
.hamburger span:nth-child(2) {
  bottom: 6px;
}

/* ===== OPEN時（中央で交差する×） ===== */

.hamburger.open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}


/* ================================
   背景暗転
================================ */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 998;
}

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


/* ================================
   スライドメニュー本体
================================ */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;

  /* --- ここを差し替えはむ！ --- */
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.884) 0%,
      /* 真ん中は濃い白 */
      rgba(255, 255, 255, 0.132) 100%
      /* 端は少し透ける */
    );
  backdrop-filter: blur(25px);
  /* すりガラスのボケ */
  -webkit-backdrop-filter: blur(25px);
  /* -------------------------- */

  padding: 100px 40px;
  transition: right 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 999;

  /* オプション：左側に薄い光のラインを入れるとさらに高級感が出るはむ */

}


.nav-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  /* ラインの太さ */
  height: 100%;

  /* 上下は透明で、真ん中あたりだけ虹色に見えるグラデーション */
  background: linear-gradient(to bottom,
      transparent 10%,
      #ffffff 18%,
      /* 赤 */
      #ffb2b2 20%,
      /* 赤 */
      #ffc489 21%,
      /* 橙 */
      #ffff00 22%,
      /* 黄 */
      #c1ffc1 23%,
      /* 緑 */
      #d0d0ff 24%,
      /* 青 */
      #e0b4ff 25%,
      /* 藍 */
      #eedaff 26%,
      /* 紫 */
      #ffffff 28%,
      /* 赤 */
      transparent 90%);
  opacity: 0.8;
  /* 派手すぎないように少し透かすとはむ！ */
}





.nav-menu.open {
  right: 0;
}

@media (min-width: 768px) {
  .nav-menu {
    width: 60%;
    right: -60%;
  }
}

@media (min-width: 1200px) {
  .nav-menu {
    width: 500px;
    right: -500px;
  }
}


/* ================================
   メニューリスト
================================ */

.nav-menu ul {
  list-style: none;
  padding: 0;
}

.nav-menu li {
  margin-bottom: 28px;
}

.nav-menu a {
  text-decoration: none;
  font-size: 20px;
  /* 少し小さめ */
  font-weight: 600;
  color: #222;
  letter-spacing: 1px;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #2556CB;
}


/* 現在ページを青くする */

.page-home .nav-home,
.page-company .nav-company,
.page-service .nav-service,
.page-business .nav-business,
.page-contact .nav-contact,
.page-privacy .nav-privacy,
.page-security .nav-security {
  color: #2556CB;
}



/* ================================
   メニュー用オーバーレイ
================================ */

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* 暗さ調整ここ */
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 900;
  /* メニューより下 */
}

/* メニューが開いたとき */
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ================================
   Form Styles (Contact Page)
================================ */
form {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 20px;
  font-weight: 700;
}

label span {
  color: #2556CB;
  /* 赤から青に変更するはむ！ */
  margin-left: 5px;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
}


/* 本物のブラウザ標準パーツは隠す */
.custom-control input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 1px;
  width: 1px;
  z-index: -1;
}

.form-wrapper {
  margin-bottom: 50px;
}

.subject-label {
  font-weight: 700;
  margin-bottom: 15px;
}

.subject-label span {
  color: #2556CB;
  /* 米印（※）も青にするはむ！ */
}

.usage-label {
  margin-top: 20px;
}

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


/* 1. 入力欄を下線だけにする設定 */
.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper textarea {
  width: 100%;
  padding: 10px 0;
  /* 左右の余白をなくしてスッキリさせるはむ */
  margin-top: 8px;
  border: none;
  /* 全部の枠を消す */
  border-bottom: 2px solid #ddd;
  /* 下線だけつけるはむ */
  border-radius: 0;
  /* 角の丸みもなしにする */
  background-color: transparent;
  /* 背景を透明にする */
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

/* 入力中の下線の色（青く光らせるはむ！） */
.form-wrapper input:focus,
.form-wrapper textarea:focus {
  outline: none;
  border-bottom: 2px solid #2556CB;
}

/* 2. 送信ボタンに合わせた新デザイン（ガラス + 青い影） */
.custom-control {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  margin-bottom: 20px;
  user-select: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  transition: color 0.3s;
}

/* ガラスの器（上層） */
.control-indicator {
  position: relative;
  display: inline-block;
  height: 30px;
  width: 30px;
  margin-right: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  /* ラジオボタンは丸 */

  /* ガラス質感のグラデーション */
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.1) 45%,
      rgba(0, 0, 0, 0.05) 55%,
      rgba(0, 0, 0, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4);
  z-index: 1;
  transition: all 0.4s ease;
}

/* チェックボックスの場合は四角くする */
.control-indicator.checkbox {
  border-radius: 6px;
}

/* 下層のぼかし影（送信ボタンの黒カプセルと同じ構造） */
.control-indicator::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  background-color: #2556CB;
  /* 青色 */
  border-radius: inherit;
  z-index: -1;
  filter: blur(3px);
  /* 最初はぼんやり */
  opacity: 0.1;
  /* 最初は薄く */
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 白いチェックマーク/点（☑） */
.control-indicator::after {
  content: "";
  position: absolute;
  display: none;
  /* 最初は隠す */

  /* チェックマークの形（30pxのサイズに合わせて位置を調整） */
  left: 11px;
  top: 7px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
}

/* チェックされた時の状態 */
.custom-control input:checked~.control-indicator {
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
  /* わずかに大きく */
}

/* 青い影をくっきりさせる（鮮やかな青） */
.control-indicator:has(input:checked)::before,
.custom-control input:checked~.control-indicator::before {
  filter: blur(0.5px);
  /* ほんの少しだけぼかして柔らかい光に */
  opacity: 1;
  /* 鮮やかに */
  top: 5px;
  /* チェック時も青の形を維持しつつ、少しだけ存在感を出す */
  left: 5px;
  right: 5px;
  bottom: 5px;
}

/* チェックマークを表示 */
.custom-control input:checked~.control-indicator::after {
  display: block;
  animation: check-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes check-pop {
  0% {
    transform: rotate(45deg) scale(0);
    opacity: 0;
  }

  100% {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }
}

/* 選択時の文字色 */
.custom-control input:checked~.control-text {
  color: #2556CB;
  font-weight: 700;
}

/* ホバー時の微弱な変化 */
.custom-control:hover .control-indicator::before {
  filter: blur(1.5px);
  /* ホバー時のぼかしを控えめに */
  opacity: 0.4;
}












/* ================================
   Privacy Policy Styles
================================ */
.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.privacy-item {
  margin-bottom: 40px;
}

.privacy-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1b1b1f;
  border-left: 4px solid #2556CB;
  padding-left: 15px;
}

.privacy-item p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* ================================
   Company Info Styles
================================ */
.overview-grid {
  margin-top: 30px;
}

.overview-grid h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.overview-grid p {
  margin-bottom: 20px;
}

/* ================================
   Service Specific Styles (Images)
================================ */


/* ================================
   スマホ・タブレット対応 (768px以下)
   最後に定義して確実に上書きするはむ！
   ================================ */
@media (max-width: 768px) {

  /* ヒーロー */
  .hero {
    padding: 60px 15px;
    justify-content: center;
  }

  .hero-inner {
    width: 100%;
    text-align: center;
  }

  .hero p {
    word-break: normal;
    overflow-wrap: break-word;
    display: inline-block;
    text-align: center;
    /* パラグラフ全体を中央寄せにするはむ */
  }

  /* サービス */
  .services {
    padding: 60px 5%;
    /* パディングを少し狭めて画面を広く使うはむ */
  }

  .view-more-area {
    text-align: center !important;
    /* 確実に中央に寄せるはむ！ */
  }

  /* サービス画像の修正 (スマホで縦並びにするはむ！) */
  .service-img-pair {
    flex-direction: column;
    gap: 15px;
    /* 間隔を少し調整 */
  }

  .service-img-pair .service-img:nth-child(1),
  .service-img-pair .service-img:nth-child(2) {
    flex: none;
    height: auto;
    width: 100%;
    margin: 0;
  }

  .service-img-pair .service-img img {
    height: auto;
    object-fit: contain;
    /* 比率を維持して表示 */
  }

  /* フッター */
  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }

  .footer-nav a {
    margin: 0;
    font-size: 16px;
    padding: 5px 0;
    width: 100%;
    text-align: center;
  }
}