/* ==========================================================================
   材料リスト（変数設定）
   ========================================================================== */
:root {
  /* ブランドカラー */
  --main-color: #00c2b8; /* ティファニーブルー */
  --accent-color: #ff5a1f; /* オレンジ */
  --header-color: #1a3a6b; /* ネイビー */
  --bg-color-light-blue: #d1eefb;
  --bg-color-blue-gray: #eef2f9;
  --bg-color-light-green: #e8f7f0;
  --bg-color-light-beige: #f5eee7;

  --text-color: #333333;
  --text-color-light: #afafb0;
  --text-color-light-gray: #6d6e74;
  --text-color-gray: #555555;
  --text-color-green: #2db37b;

  /* フォント種類 */
  --font-family-jp-mincho: 'Noto Serif JP', serif;
  --font-family-jp-gothic:
    'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --font-family-display: 'Montserrat', sans-serif; /* 「300」などの特大数字用 */

  /* フォントサイズ */
  --font-size-xxs: 10px;
  --font-size-xs: 12px;
  --font-size-s: 13px;
  --font-size-m: 14px;
  --font-size-l: 20px;
  --font-size-xl: 24px;
  --font-size-xxl: 40px; /* 少し大きい見出し用 */
  --font-size-display: 64px; /* 「300」などの特大数字用 */

  --font-size-h1: 32px;
  --font-size-h2: 32px;
  --font-size-h3: 20px;
  --font-size-h4: 18px;
}

/* ==========================================================================
   基本リセット（お守り）
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth; /* ページ内リンクでふわっと動く */
}
/* ページ全体をふわっと浮かび上がらせる */
body {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px); /* 少し下から上に浮き上がる */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
body {
  font-family: var(--font-family-jp-gothic); /* 変数を使用 */
  line-height: 1.7;
  background-color: #fff;
  color: var(--text-color); /* 変数を使用 */
  font-size: var(--font-size-m);
  word-break: auto-phrase; /* 変数を使用 */
}
body.is-fixed {
  overflow: hidden;
}

/* リストの「・」を消す（メニューや表で便利） */
ul,
ol {
  list-style: none;
}

/* リンクの設定 */
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s; /* ホバー時の動きを滑らかにする */
}

/* 画像の設定 */
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ボタンの標準デザインをリセット */
button {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font: inherit; /* 親のフォントを引き継ぐ */
}

/* ==========================================================================
共通パーツ
   ========================================================================== */
.btn__inner {
  display: inline-block;
  border-radius: 50px;
  text-align: center;
  transition: 0.3s;
  padding: 10px 32px;
  box-shadow: 0 4px 15px var(--btn-shadow-color);
}
/* 影を少し深くし、位置を少し上にずらす */
.btn__inner:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
/* オレンジ色ボタン */
.btn__inner--accent {
  background-color: var(--accent-color);
  padding: 2px 10px;
  color: #fff;
  padding: 10px 32px;
  --btn-shadow-color: rgba(255, 90, 31, 0.3);
}
/* ティファニーブルーボタン */
.btn__inner--primary {
  background-color: var(--main-color);
  padding: 10px 32px;
  color: #fff;
  --btn-shadow-color: rgba(0, 194, 184, 0.3);
}
.btn__inner--secondary {
  border: 1px solid #333333;
}
.view-more__btn-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}
.common-section {
  width: 100%;
  padding: 120px 0;
}
.l-inner {
  width: 90%;
  margin: 0 auto;
}

.l-inner {
  max-width: 1200px;
  margin: 0 auto; /* 上下は0、左右はauto（中央寄せ）という意味 */
  padding: 0 4%;
}
.common-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
.common-section__label {
  font-size: var(--font-size-xs);
  color: var(--accent-color);
  letter-spacing: 0.1em;
}
.common-section__title {
  line-height: 1.3;
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 4px;
}
h2 {
  font-family: var(--font-family-jp-mincho);
  color: var(--header-color);
  font-size: clamp(var(--font-size-xl), 5vw, var(--font-size-h2));
}
h3 {
  font-size: var(--font-size-h3);
  color: var(--header-color);
  font-family: var(--font-family-jp-mincho);
}
.pc-only {
  display: block;
}
.sp-only {
  display: none !important;
}
.common-section__label,
.service-detail__number {
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: block !important;
  }
  .cta__title {
    font-size: 32px;
  }
  /* h2 {
    font-size: var(--font-size-xl);
  } */
}
