@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

body {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  background-color: #f7f7f7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #6daf4c;
}

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

i {
  color: #6daf4c;
}

/* コンテナ */
.l-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 6rem;
}

.hero__background {
  position: absolute;
  inset: 0;
  background-image: url('../images/top/header.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__background::before {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: ' ';
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: white;
  font-size: 0.875rem;
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  color: white;
  letter-spacing: -0.02em;
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
}

.hero__title--emphasis {
  background: linear-gradient(to right, #68a9ea, #0d3c6c);
  -webkit-background-clip: text; /* テキストにクリップ */
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero__description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.hero__price {
  font-weight: 600;
  color: white;
}

/* Styling for the new button look */
.cta-button-style-a {
  /* Base Container Style - Replaces .btn */
  display: flex;
  flex-direction: column; /* Stack the label and the main content */
  align-items: center;
  text-decoration: none;
  padding: 10px 62px; /* Adjust padding to make it wider/taller as needed */
  border-radius: 10px; /* High radius for the capsule shape */
  background-color: white; /* White background for the main body */
  color: #333; /* Default text color */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); /* Soft shadow */
  transition: all 0.3s ease-in-out;
  max-width: fit-content; /* Make the button only as wide as its content */
  cursor: pointer;
}

.cta-button-style-a:hover {
  transform: scale(1.03); /* Subtle hover effect */
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.cta-button-style-b {
  display: flex;
  flex-direction: column; /* Stack the label and the main content */
  align-items: center;
  text-decoration: none;
  padding: 10px 40px; /* Adjust padding to make it wider/taller as needed */
  border-radius: 10px; /* High radius for the capsule shape */
  background-color: #68a9ea; /* White background for the main body */
  color: #333; /* Default text color */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); /* Soft shadow */
  transition: all 0.3s ease-in-out;
  max-width: fit-content; /* Make the button only as wide as its content */
  cursor: pointer;
}

.cta-button-style-b:hover {
  transform: scale(1.03); /* Subtle hover effect */
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* The yellow label on top */
.cta-label {
  background-color: #6daf4c; /* Bright yellow/mustard color */
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 15px;
  border-radius: 10px; /* Rounded pill shape for the label */
  position: relative;
  top: -25px; /* Move it up to overlap the main button body */
  margin-bottom: -15px; /* Adjust margin to fix overlap space */
  white-space: nowrap; /* Prevent text wrap */
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between text and arrow */
  justify-content: center;
}

/* Main text style */
.cta-main-text {
  font-size: 1.3rem; /* Large font size for main CTA */
  font-weight: 700;
  color: #333; /* Dark color for high contrast */
  white-space: nowrap;
}

.cta-main-text-b {
  font-size: 1.3rem; /* Large font size for main CTA */
  font-weight: 700;
  color: white; /* Dark color for high contrast */
  white-space: nowrap;
}

/* The arrow circle */
.cta-arrow {
  width: 40px; /* Size of the circle */
  height: 40px;
  border-radius: 50%; /* Perfect circle */
  background-color: #0d3c6c; /* Light teal/blue color */
  color: white;
  font-size: 1.5rem; /* Size of the arrow */
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

/* You might want to remove the original button styles if they conflict */
.btn--primary {
  /* You can comment out or remove this block if you're only using the new button style */
  /* background: white; */
  /* color: #0066cc; */
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); */
}

.hero__company {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero__right {
  gap: 3.5rem;
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero__support-text {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  align-items: center;
}

.support-icon {
  flex-shrink: 0;
  color: white;
}

.hero__support-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: white;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .hero {
    padding: 6rem 3rem;
  }
  .hero__content {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    justify-content: center;
    align-items: center;
    margin: 0 1.5rem;
  }
  .hero__right {
    margin-top: 5rem;
  }
  .hero__left {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .hero__badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .hero__title {
    font-size: 2.5rem;
    text-align: center;
  }
  .hero__subtitle {
    text-align: center;
  }
  .hero__description {
    text-align: center;
  }
  .cta-main-text {
    font-size: 1rem;
  }
  .cta-main-text-b {
    font-size: 1rem;
  }
  .cta-button-style-a {
    padding: 10px 32px;
  }
  .cta-button-style-b {
    padding: 10px 20px;
  }
}

@media screen and (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }
}

/* --- 無料トライアルCTAセクション --- */

.trial-cta-section {
  padding: 80px 20px;
  background-color: #f7f9fa; /* やや明るい背景色 */
  text-align: center;
}

.trial-cta-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* 小さなキャッチフレーズ */
.trial-sub-headline {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.trial-main-headline {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 0;
  line-height: 1;
  display: inline-block; /* 背景や影を適用しやすく */
  border: solid 2px #0d3c6c;
  padding: 20px 60px;
  border-radius: 6px;
}

.trial-main-headline:hover {
  border: solid 2px #68a9ea;
  color: #68a9ea;
}

.trial-widget-container {
  margin: 0 auto;
  max-width: 1000px;
}

@media screen and (max-width: 767px) {
  .trial-cta-section {
    padding: 50px 15px;
  }

  .trial-sub-headline {
    font-size: 16px;
  }

  .trial-main-headline {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }

  .trial-widget-container {
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  }

  .widget-placeholder {
    min-height: 300px; /* スマホでは高さを調整 */
  }
}

/* 悩みセクション */
.pain-points {
  padding: 80px 0;
  background-color: #f7f9fb;
}

.pain-points__title {
  text-align: center;
  font-size: 2.7rem;
  margin-bottom: 60px;
  font-weight: 700;
  color: #333;
  position: relative;
  display: inline-block;
  padding: 0 20px 10px;
}

.pain-points__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 10px;
  background-color: #e0f7fa;
  border-radius: 5px;
  z-index: 1;
}

.pain-points__list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.pain-points__item {
  flex: 1 1 calc(50% - 15px);
  background-color: #ffffff;
  padding: 30px 40px;
  border-radius: 15px;
  text-align: left;
  border: 1px solid #e0f7fa;
  transition: all 0.3s ease;
  position: relative;
  padding-top: 80px;
}

.pain-points__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pain-points__icon-circle {
  position: absolute;
  top: 30px;
  left: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e0f7fa;
  color: #0d47a1;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pain-points__item-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #005f83;
  padding-left: 65px;
  display: block;
}

/* アイテムテキスト */
.pain-points__item-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  font-weight: bold;
}

/* --- レスポンシブ対応 (Mobile / Tablet) --- */
@media screen and (max-width: 768px) {
  /* セクション全体のパディング */
  .pain-points {
    padding: 60px 0;
  }

  .pain-points__title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .pain-points__title::after {
    width: 180px; /* モバイルでのラインの幅を短く */
    height: 8px;
  }

  /* アイテムリスト (縦並び) */
  .pain-points__list {
    gap: 25px; /* 隙間を調整 */
    padding: 0 15px; /* 左右のパディング */
  }

  .pain-points__item {
    flex: 1 1 100%; /* 1カラムで表示 */
    padding: 25px 30px; /* パディングを調整 */
    padding-top: 70px; /* アイコン分のスペースを調整 */
  }

  /* アイコンの位置調整 */
  .pain-points__icon-circle {
    top: 25px;
    left: 30px;
    width: 45px;
    height: 45px;
    font-size: 22px;
  }

  /* アイテムタイトル */
  .pain-points__item-title {
    font-size: 1.1rem;
    padding-left: 55px;
  }

  .pain-points__item-text {
    font-size: 0.9rem;
  }
}

/* 解決策セクション */
.solution-intro {
  background-color: #ffffff;
  padding: 80px 0;
  color: #333;
}

.solution-intro__catch {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.custom-cross {
  /* クロス文字を太く、大きく */
  font-size: 1.1em;
  font-weight: 100;

  /* アクセントカラーの青色を適用 */
  color: black;

  /* 文字を浮かび上がらせるため、ドロップシャドウを適用 */
  text-shadow: 0 0 5px rgba(125, 207, 247, 0.8);

  /* 前後の文字から少しスペースを開ける */
  margin: 0 0.2em;

  /* モバイルでフォントサイズを相対的に調整 */
  line-height: 1;
  display: inline-block;
}

.solution-intro__content {
  background-color: #f7f9fb;
  border-radius: 15px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1250px;
  margin: 0 auto;
}

.solution-intro__text-area {
  order: 2;
}

.solution-intro__title {
  font-size: 1.8rem !important;
  font-weight: 800;
  line-height: 1.4;
  color: #005f83;
  margin-bottom: 15px;
}

.solution-intro__body {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  font-weight: bold;
}

/* 画像エリア */
.solution-intro__image-area {
  order: 1; /* モバイルでは画像を上に */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.solution-intro__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* よりはっきりとした影 */
  border: 1px solid #e0e0e0; /* UI画像であることを示す薄い枠線 */
}

/* --- レスポンシブ対応 (Tablet & PC) --- */
@media screen and (min-width: 768px) {
  .solution-intro {
    padding: 120px 0;
  }

  .solution-intro__catch {
    font-size: 3rem;
    margin-bottom: 80px;
  }

  .solution-intro__content {
    flex-direction: row;
    align-items: center;
    padding: 60px;
    gap: 60px;
  }

  .solution-intro__text-area {
    flex: 1;
    order: 1; /* PCではテキストを左に */
    padding-right: 20px;
  }

  .solution-intro__image-area {
    flex: 1.5; /* 画像エリアの比重を大きくする */
    order: 2; /* PCでは画像を右に */
    padding: 0;
  }

  .solution-intro__title {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 480px) {
  .solution-intro__catch {
    font-size: 1.8rem;
  }

  .solution-intro__content {
    padding: 30px 15px;
  }

  .solution-intro__title {
    font-size: 1.5rem;
    text-align: center;
  }

  .solution-intro__body {
    font-size: 0.9rem;
  }
}

/* --- 実績セクション --- */

.achievement-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
  color: #333;
}

.achievement-section .container {
  max-width: 1350px;
  margin: 0 auto;
  /* margin-bottom: 1.5rem; */
}

.achievement-title {
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
}

/* 💻 PCサイズ (デフォルト: 左右分割レイアウト) */
.achievement-content-wrapper {
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
  gap: 50px;
  padding: 100px;
  border-radius: 12px;
  padding-top: 4rem;
  overflow: hidden;
}

/* 左側エリア (文章) */
.achievement-text-area {
  flex: 1 1 50%; /* 均等な幅を確保 */
  padding: 0 20px;
  text-align: left;
}

.achievement-message {
  font-size: 35px;
  line-height: 1.6;
  font-weight: bold;
  margin: 0;
}

.achievement__title--emphasis {
  background: linear-gradient(to right, #68a9ea, #0d3c6c);
  -webkit-background-clip: text; /* テキストにクリップ */
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
  font-size: 40px;
}

/* 右側エリア (画像) */
.achievement-image-area {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  transform: scale(1.5);
  height: max-content;
}

.achievement-image {
  width: 100%;
  max-width: 500px; /* 画像の最大幅を制限 */
  height: auto;
  display: block;
  border-radius: 8px; /* 画像にも角丸を適用 */
}

.pc-only {
  display: inline; /* PCでは改行を有効に */
}

/* 📱 スマホ・タブレット向けレスポンシブ対応 (767px以下) */
@media screen and (max-width: 767px) {
  .achievement-section {
    padding: 50px 15px;
  }

  .achievement-title {
    font-size: 30px;
    margin-bottom: 30px;
  }
  .achievement__title--emphasis {
    font-size: 28px;
  }

  /* 縦積みレイアウトに変更 */
  .achievement-content-wrapper {
    flex-direction: column; /* 縦並びに変更 */
    gap: 20px;
    padding: 30px 20px;
  }

  /* スマホでは画像が上、文章が下になるように順序を変更 */
  .achievement-image-area {
    order: 1;
    padding: 0;
    transform: scale(1.1);
  }

  .achievement-text-area {
    order: 2;
    padding: 0;
    text-align: center; /* 中央揃えに */
  }

  .achievement-message {
    font-size: 20px; /* フォントサイズを縮小 */
  }

  .pc-only {
    display: none; /* スマホでは改行を無効に */
  }

  .achievement-image {
    max-width: 100%;
  }
}

/* ステップセクション */
.usage-guide-section {
  background-color: #ffffff;
  padding: 60px 80px;
  margin: 0 auto;
  overflow: hidden;
}

.steps-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 50px;
}

.steps-container {
  display: flex; /* 横並び */
  gap: 30px;
  padding: 0 10px;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column; /* 縦方向: 番号→内容 */
  align-items: center; /* 中央揃え */
  text-align: center;
  flex: 1; /* 均等な幅 */
  min-width: 280px;
  background-color: #ffffff;
  /* border-radius: 8px; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 25px;
  padding-top: 40px;
  overflow: hidden;
  border: 1.5px solid #005f83;
}

.step-number-wrapper {
  flex-shrink: 0;
  position: absolute; /* 親要素の.step-cardを基準に絶対配置 */
  top: 0;
  left: 0;
}

.step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(to right, #68a9ea, #0d3c6c);
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  /* border-radius: 50%; */
}

.step-content {
  flex-grow: 1;
  padding-top: 30px;
}

.step-title {
  font-size: 20px; /* PCサイズ */
  font-weight: bold;
  color: #005f83;
  margin-top: 0;
  margin-bottom: 8px;
}

.step-description {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: left;
  font-weight: bold;
}

/* ミニコピー (PCと共通) */
.mini-copy-wrapper {
  text-align: center;
  margin-top: 50px;
}

.mini-copy {
  font-size: 20px;
  font-weight: bold;
  color: #005f83;
  padding: 15px 30px;
  border: 2px solid #005f83;
  display: inline-block;
  border-radius: 50px;
}

.step-cta-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 110px;
}

@media screen and (max-width: 767px) {
  .usage-guide-section {
    background-color: #ffffff;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
  }
  .steps-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .steps-container {
    flex-direction: column;
  }

  .step-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
  }

  .step-number-wrapper {
    margin-right: 15px;
    margin-bottom: 0;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .step-title {
    font-size: 18px;
  }

  .step-description {
    text-align: left; /* 強制的に左揃え */
  }

  .mini-copy {
    font-size: 18px;
  }

  .step-cta-container {
    flex-direction: column;
    align-items: center;
  }
}

/* 特徴セクション */
.features-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
}

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

/* セクションタイトル */
.features-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 50px;
}

/* 💻 PCサイズ (デフォルト: 2列レイアウト) */
.features-list {
  display: grid;
  /* PCでは2列のレイアウト */
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-bottom: 40px;
}

/* カードの基本デザイン (横長レイアウト) */
.feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  border: solid 1px #555;
  display: flex;
  align-items: center; /* 中央揃え */
  padding: 20px;
  min-height: 230px; /* カードの最小高さを設定 */
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* カードの左側：テキストコンテンツ */
.card-text-content {
  flex: 3; /* テキストエリアに多めの幅を割り当て */
  padding-right: 20px;
}

/* カードの右側：画像エリア */
.feature-image-area {
  flex: 2; /* 画像エリアに幅を割り当て */
  display: flex;
  justify-content: center;
  align-items: center;
  /* 画像エリアの高さ調整（アスペクト比を維持したい場合に有効） */
  height: 100%;
}

/* プレースホルダー（SVG画像挿入後は削除/置き換え） */
.placeholder-svg {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #007bff;
  font-weight: bold;
  font-size: 14px;
  transform: scale(1.2);
}

/* タイトルとテキスト */
.feature-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #005f83;
  margin-top: 0;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  font-weight: bold;
}

/* 注釈テキスト */
.compliance-note {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  margin-top: 32px;
  line-height: 1.5;
  font-weight: bold;
}

/* 📱 スマホ・タブレット向けレスポンシブ対応 (767px以下) */
@media screen and (max-width: 767px) {
  .features-section {
    padding: 50px 15px;
  }

  .features-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  /* スマホでは1列レイアウト */
  .features-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* カードを縦長レイアウト（画像が下）に変更 */
  .feature-card {
    flex-direction: column; /* 上下並び */
    padding: 20px;
    min-height: initial;
  }

  /* テキストエリアは上部に配置 */
  .card-text-content {
    padding-right: 0;
    margin-bottom: 15px;
  }

  /* 画像エリアは下部に配置し、幅いっぱいに */
  .feature-image-area {
    width: 100%;
    margin-top: 10px;
  }

  /* プレースホルダーの調整 */
  .placeholder-svg {
    max-width: 100%; /* スマホでフル幅 */
    /* height: 140px; */
    transform: scale(0.9);
  }
}

/* --- 価格セクション --- */

.pricing-section {
  padding: 80px 20px;
  background-color: #ffffff; /* 背景は白または薄いトーン */
}

.pricing-container {
  max-width: 800px; /* 価格セクションは少し狭めに */
  margin: 0 auto;
  text-align: center;
}

.pricing-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 50px;
}

/* 価格カード全体 */
.pricing-card {
  background-color: #f7f9fa;
  padding: 50px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: solid 1px #005f83;
}

/* 月額料金の表示 */
.price-monthly {
  font-size: 25px;
  color: #555;
  margin-bottom: 10px;
  font-weight: bold;
}

.price-value {
  font-size: 48px;
  font-weight: 800;
  color: #005f83;
  display: inline-block;
  margin: 0 5px;
}

.price-detail {
  font-size: 25px;
  color: #555;
}

.zero-yen {
  font-weight: bold;
  color: #5c9a3d;
}

.price-note {
  font-size: 16px;
  color: #555;
  margin-top: 20px;
  margin-bottom: 30px;
  line-height: 1.6;
  font-weight: bold;
}

/* CTA ボタンのラッパー */
.cta-wrapper {
  margin-top: 30px;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .pricing-section {
    padding: 50px 15px;
  }

  .pricing-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .pricing-card {
    padding: 40px 20px;
  }

  .price-monthly {
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .price-value {
    font-size: 40px;
    margin: 5px 0;
  }

  .price-detail {
    font-size: 16px;
  }

  .price-note {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .cta-button {
    font-size: 16px;
    padding: 12px 30px;
    width: 100%;
    max-width: 300px;
  }
}

/* --- 他社との違いセクション --- */

.comparison-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.comparison-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.comparison-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 50px;
}

/* コンテンツ全体 */
.comparison-content {
  max-width: 800px; /* テキストの読みやすさを考慮し、幅を制限 */
  margin: 0 auto;
}

/* 強調見出し */
.comparison-headline {
  font-size: 30px;
  font-weight: 800;
  color: #0d3c6c;
  margin-bottom: 20px;
  line-height: 1.5;
}

.comparison-text {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: bold;
}

.comparison-graph-area {
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.graph-placeholder {
  width: 100%;
  max-width: 700px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px #555;
}

.comparison-image {
  display: block;
  width: 100%;
  height: auto;

  max-width: 700px;
}

@media screen and (max-width: 767px) {
  .comparison-section {
    padding: 50px 15px;
  }

  .comparison-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .comparison-headline {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .comparison-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  /* グラフエリアはスマホでも幅いっぱいに */
  .comparison-graph-area {
    margin-top: 20px;
  }

  .graph-placeholder {
    padding: 15px; /* スマホではパディングを少し減らす */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); /* 影も少し控えめに */
  }

  /* グラフ画像本体は100%の幅で表示され、自動で縮小される */
  .comparison-image {
    max-width: 100%;
  }
}

/* --- 違反リスクセクション --- */

.risk-section {
  padding: 80px 20px;
  background-color: #ffffff; /* セクションの背景色 */
  color: #333;
}

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

/* セクションの強調見出し */
.risk-headline {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.5;
}

/* 💻 PCサイズ (デフォルト: 3列レイアウト) */
.risk-cards-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 30px;
  margin-bottom: 40px;
}

/* リスクカードの基本デザイン */
.risk-card {
  background-color: #ffffff;
  border: 1px solid #d0d0d0; /* 添付画像にあるような薄い枠線 */
  border-radius: 8px;
  overflow: hidden; /* 画像エリアが角丸の外にはみ出さないように */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); /* 控えめな影 */
  transition: box-shadow 0.3s;
  height: 100%;
}

.risk-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.risk-image-area {
  width: 100%;
  padding-top: 60%;
  position: relative;
  background-color: #f7f9fa;
}

.risk-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #007bff;
  font-size: 14px;
}

/* カード下部のテキストコンテンツ */
.risk-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.risk-title {
  font-size: 18px;
  font-weight: bold;
  color: #0d3c6c; /* リスク名をアクセントカラーに */
  margin-top: 0;
  margin-bottom: 10px;
}

.risk-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
  font-weight: bold;
}

/* 注釈 */
.risk-note {
  font-size: 20px;
  color: #555;
  text-align: center;
  margin-top: 30px;
  font-weight: bold;
}

/* 📱 スマホ・タブレット向けレスポンシブ対応 (767px以下) */
@media screen and (max-width: 767px) {
  .risk-section {
    padding: 50px 15px;
  }

  .risk-headline {
    font-size: 26px;
    margin-bottom: 30px;
  }

  /* スマホでは1列レイアウト */
  .risk-cards-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* カードの画像エリアの高さを調整 */
  .risk-image-area {
    padding-top: 50%; /* スマホでは比率を少し変更 */
  }

  .risk-content {
    padding: 20px;
  }

  .risk-title {
    font-size: 16px;
  }

  .risk-text {
    font-size: 13px;
  }
  .risk-note {
    font-size: 13px;
  }
}

/* --- 導入までの流れセクション --- */

.flow-section {
  padding: 80px 20px;
  background-color: #f7f9fa; /* やや薄い青系の背景（SmartHR風） */
  color: #333;
  text-align: center;
}

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

.flow-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.flow-catchphrase {
  font-size: 20px;
  color: #555;
  margin-bottom: 50px;
  font-weight: bold;
}

/* 💻 PCサイズ (デフォルト: 横並び + 矢印) */
.flow-steps-container {
  display: flex;
  justify-content: center;
  align-items: center; /* 矢印とカードの高さを揃える */
  gap: 0;
  margin-bottom: 50px;
}

/* 4つのステップカード */
.flow-step-card {
  flex: 1 1 22%; /* 均等な幅を確保し、少し間隔を作る */
  max-width: 250px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column; /* 上にテキスト、下に画像 */
  text-align: left;
  height: 100%; /* Flexアイテムの高さを揃えるために重要 */
  border: solid 1px #d0d0d0;
}

/* カード内のテキストエリア */
.flow-step-text-content {
  padding: 20px;
  padding-bottom: 10px;
  flex-grow: 1;
  text-align: center;
}

.flow-step-title {
  font-size: 20px;
  font-weight: bold;
  color: #0d3c6c;
  margin-top: 0;
  margin-bottom: 8px;
}

.flow-step-description {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* カード内の画像エリア */
.flow-step-image-area {
  width: 100%;
  /* 画像を下に配置し、ある程度の高さを確保 */
  padding-top: 90%; /* 幅に対する比率で高さを確保 */
  position: relative;
  background-color: #f7f9fa;
}

.flow-step-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #0d3c6c;
}

/* --- カード間の矢印 --- */
.flow-step-arrow {
  width: 40px; /* 矢印の幅 */
  height: 10px;
  margin: 0 10px;
  position: relative;
}

.flow-step-arrow::before {
  content: '';
  display: block;
  width: 100%;
  height: 4px; /* 線の太さ */
  background-color: #0d3c6c; /* 線の色 */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.flow-step-arrow::after {
  /* 矢印の頭の部分（三角形） */
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent; /* 矢印の高さの半分 */
  border-bottom: 8px solid transparent; /* 矢印の高さの半分 */
  border-left: 8px solid #0d3c6c; /* 矢印の幅と色 */
}

/* 最後の矢印は不要 */
.flow-step-card:last-child + .flow-step-arrow {
  display: none;
}

/* CTAボタンの再利用 */
.flow-cta-wrapper {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 📱 スマホ・タブレット向けレスポンシブ対応 (767px以下) */
@media screen and (max-width: 767px) {
  .flow-section {
    padding: 50px 15px;
  }

  .flow-title {
    font-size: 26px;
  }

  .flow-catchphrase {
    font-size: 15px;
    margin-bottom: 30px;
  }

  /* 縦並びに変更 */
  .flow-steps-container {
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  .flow-step-card {
    width: 100%;
    max-width: 400px; /* カードの最大幅を制限 */
    margin-bottom: 20px; /* 縦並びのステップ間のスペース */
  }

  /* --- スマホでの矢印（縦向き） --- */
  .flow-step-arrow {
    display: none;
  }

  .flow-step-arrow::before {
    display: none;
  }

  .flow-step-arrow::after {
    display: none;
  }

  /* スマホでのCTAボタンの幅調整 */
  .flow-cta-wrapper .cta-button {
    width: 100%;
    max-width: 300px;
  }
}

/* --- 開発体制・信頼の裏付けセクション --- */

.development-team-section {
  padding: 80px 20px;
  background-color: #ffffff;
  color: #333;
}

.development-team-section .container {
  max-width: 900px; /* テキストが読みやすい幅に設定 */
  margin: 0 auto;
  text-align: center;
}

.development-team-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 50px;
}

.content-block {
  max-width: 900px; /* テキストブロックの最大幅をさらに絞る */
  margin: 0 auto;
  padding: 20px;
  background-color: #f7f9fa; /* やや背景色を付けて強調 */
  border-radius: 20px;
  border: solid 1px #d0d0d0;
}

/* 強調見出し */
.team-headline {
  font-size: 32px;
  font-weight: 800; /* 非常に太く強調 */
  color: #333;
  line-height: 1.5;
}

/* 本文 */
.team-text {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0;
}

/* 本文中の強調箇所 */
.team-text strong {
  font-weight: bold;
  color: #007bff; /* 青色でアクセント */
}

.doctor-profile-card {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  display: flex;
  gap: 40px;
  text-align: left;
  margin-top: 4rem;
}

/* 左側エリア (画像と氏名) */
.profile-left-area {
  flex-shrink: 0; /* 縮まないようにする */
  width: 200px;
  padding-right: 20px;
  border-right: 1px solid #eee; /* 添付画像にあるような縦の仕切り線 */
}

.profile-image-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px; /* 中央配置と下部のスペース */
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* 画像を丸くする */
}

.doctor-name {
  font-size: 22px;
  font-weight: 800;
  color: #333;
  margin-top: 15px;
  margin-bottom: 5px;
  text-align: center;
}

.doctor-title {
  font-size: 14px;
  color: #555;
  margin: 3px 0;
  text-align: center;
  font-weight: bold;
}

/* 右側エリア (経歴と資格) */
.profile-right-area {
  flex-grow: 1;
}

.section-detail-area {
  margin-bottom: 30px;
}

.detail-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 5px;
  /* アンダーラインの装飾 */
  border-bottom: 2px solid #5c9a3d;
  display: inline-block;
}

/* 経歴リスト */
.career-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  color: #555;
  font-weight: bold;
}

.career-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* 保有資格タグ */
.qualifications-tags {
  display: flex;
  flex-wrap: wrap; /* 折り返し */
  gap: 10px;
}

.tag {
  display: inline-block;
  background-color: #f4faf1; /* タグの背景色 */
  color: #5c9a3d; /* タグの文字色 */
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid #5c9a3d;
}

/* 📱 スマホ・タブレット向けレスポンシブ対応 (767px以下) */
@media screen and (max-width: 767px) {
  .development-team-section {
    padding: 50px 15px;
  }

  .development-team-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .content-block {
    padding: 30px 20px;
  }

  .team-headline {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .team-text {
    font-size: 15px;
    line-height: 1.7;
  }

  .doctor-profile-card {
    flex-direction: column; /* 上から下に要素を並べる */
    padding: 20px;
    gap: 0; /* ギャップをリセット */
  }

  /* 2. 左側エリア (画像と氏名) - 上部に配置 */
  .profile-left-area {
    width: 100%; /* 全幅を使用 */
    padding-right: 0;
    padding-bottom: 20px;
    border-right: none;
    border-bottom: 1px solid #eee; /* 下部に仕切り線 */
    text-align: center; /* 要素を中央に寄せるための土台 */
  }

  /* 3. 画像エリアを中央寄せ */
  .profile-image-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px; /* 上下にスペース、左右は auto で中央寄せ */
  }

  /* 4. 氏名・肩書きの中央寄せを維持 */
  .doctor-name,
  .doctor-title {
    text-align: center;
    margin: 5px 0;
  }

  /* 5. 右側エリア (経歴と資格) - 下部に配置 */
  .profile-right-area {
    padding-top: 20px; /* 上部にスペース */
    text-align: left; /* テキストは左寄せに戻す */
  }

  .section-detail-area {
    margin-bottom: 25px;
  }

  .detail-title {
    /* スマホではアンダーラインを全幅に広げない */
    display: block;
  }

  .qualifications-tags {
    justify-content: center; /* タグを中央寄せにする */
  }
}

/* --- 導入企業ロゴセクション --- */
.client-logos-section {
  margin-top: 80px;
  text-align: center;
}

.client-logos-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-slider-track {
  display: flex;
  /* ロゴの数と幅に応じて動的に設定するのが理想ですが、多めに設定しておきます */
  /* 例: 15個のロゴ x 200px x 2回ループ = 6000px */
  width: calc(200px * 30);
  animation: scroll 60s linear infinite;
}

.logo-slide {
  flex-shrink: 0;
  width: 300px; /* ロゴの幅 */
  height: 150px; /* ロゴの高さ */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  background-color: white;
}

.logo-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* アスペクト比を維持 */
  transition: filter 0.3s, opacity 0.3s;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* (ロゴの幅 * ロゴの数) だけ移動させる */
    transform: translateX(calc(-200px * 15)); /* ロゴ15個分を想定 */
  }
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .client-logos-title {
    font-size: 25px;
    margin-bottom: 5px;
  }
}

/* --- よくある質問セクション --- */

.faq-section {
  padding: 80px 20px;
  background-color: #f7f9fa; /* セクション全体の背景色 */
}

.faq-section .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.faq-section .section-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 50px;
}

/* FAQリスト全体 (白いカードコンテナ) */
.faq-list {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 0 30px; /* 左右のパディング */
}

/* 個別のFAQアイテム */
.faq-item {
  border-bottom: 1px solid #eee; /* SmartHR風の薄い罫線 */
}

.faq-item:last-child {
  border-bottom: none; /* 最後の項目は罫線を削除 */
}

/* 質問ボタン (Q&Aを開くトリガー) */
.faq-question-button {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 17px;
  color: #333;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: bold; /* 質問文を太字に */
}

/* Qアイコン */
.q-icon {
  font-size: 20px;
  font-weight: bold;
  color: #0d3c6c; /* メインカラー */
  margin-right: 15px;
  flex-shrink: 0;
}

/* 開閉トグルアイコン (SmartHRのデザインを参考に + / - または矢印) */
.toggle-icon {
  position: absolute;
  right: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease; /* 開閉アニメーション */
}

/* トグルアイコンの + マーク（デフォルト：閉じた状態） */
.toggle-icon::before,
.toggle-icon::after {
  content: '';
  position: absolute;
  background-color: #0d3c6c;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.toggle-icon::before {
  width: 100%;
  height: 2px; /* 横線 */
}

.toggle-icon::after {
  width: 2px;
  height: 100%; /* 縦線 */
}

/* 開いた状態のトグルアイコン (縦線を消して横線のみにする) */
.faq-question-button[aria-expanded='true'] .toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0); /* 縦線を縮小して非表示に */
}

/* 回答コンテンツ */
.faq-answer-content {
  /* JavaScriptで制御するスムーズなアニメーション用の設定 */
  transition: height 0.3s ease-out, padding 0.3s ease-out;
  overflow: hidden;
  height: 0;
}

.faq-answer-content[aria-expanded='true'] {
  /* JavaScriptでheightが計算され、アニメーションが実行される */
}

.answer-inner {
  padding: 10px 0 25px 0;
  display: flex;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  align-items: center;
  text-align: left;
  font-weight: bold;
}

/* Aアイコン */
.a-icon {
  font-size: 20px;
  font-weight: bold;
  color: #f4904e;
  margin-right: 15px;
  flex-shrink: 0;
}

/* 📱 スマホ・タブレット向けレスポンシブ対応 (767px以下) */
@media screen and (max-width: 767px) {
  .faq-section {
    padding: 40px 0;
  }

  .faq-section .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .faq-list {
    padding: 0 15px; /* スマホではパディングを狭く */
  }

  .faq-question-button {
    padding: 15px 0;
    font-size: 15px;
  }

  .q-icon {
    font-size: 18px;
  }

  .answer-inner {
    padding: 5px 0 20px 0;
    font-size: 14px;
  }
}

/* チームセクション */
.team {
  padding: 80px 0;
  background-color: #f2f5f7;
}

.team__title {
  font-size: 2.8rem;
  margin-bottom: 50px;
  font-weight: 600;
  text-align: center;
}

.team__members {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.team__member {
  flex: 1 1 calc(45% - 20px);
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team__member-image {
  max-width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
}

.team__member-name {
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.team__member-role {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 15px;
}

.team__member-bio {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

.team__member-bio_link {
  color: #6daf4c;
  text-decoration: underline;
}

.team__member-social a {
  color: #00007b;
  font-size: 1.8rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.team__member-social a:hover {
  color: #6daf4c;
}

@media screen and (max-width: 767px) {
  .team__title {
    font-size: 2.2rem;
  }
}

/* CTAセクション */
.cta {
  padding: 100px 0;
  text-align: center;
  background-color: #00007b;
  color: #fff;
}

.cta__title {
  font-size: 3rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.cta__description {
  font-size: 1.5rem;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ============================
   CTA FORM (Contact Form 7)
============================ */

/* ============================
   CTA FORM (Contact Form 7)
   White Card Design
============================ */

/* フォームカード全体 */
.cta__form {
  max-width: 640px;
  margin: 0 auto;
  padding: 42px 40px 46px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  text-align: left;
  margin-bottom: 30px;
}

/* フォーム全体 */
.cta__form .wpcf7-form {
  font-size: 1.3rem;
  color: #222;
}

/* 各フォーム行 */
.cta__form .wpcf7-form p {
  margin-bottom: 5px;
}

/* ラベル */
.cta__form label {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

/* 必須マーク */
.cta__form .required {
  color: #e34c4c;
  margin-left: 4px;
}

/* 入力欄 共通 */
.cta__form input[type='text'],
.cta__form input[type='email'],
.cta__form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  background: #efefef;
  color: #222;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* テキストエリア */
.cta__form textarea {
  min-height: 130px;
  resize: vertical;
}

/* フォーカス */
.cta__form input:focus,
.cta__form textarea:focus {
  outline: none;
  border-color: #6daf4c;
  box-shadow: 0 0 0 3px rgba(109, 175, 76, 0.2);
  background: #ffffff;
}

/* チェックボックス */
.cta__form .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.cta__form .wpcf7-checkbox label {
  font-size: 1.15rem;
  font-weight: 400;
  color: #444;
  cursor: pointer;
}

/* 送信ボタン */
.cta__form input[type='submit'] {
  display: block;
  margin: 5px auto 0;
  padding: 10px 40px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #6daf4c, #4f8e3a);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.05em;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* hover */
.cta__form input[type='submit']:hover {
  background: linear-gradient(135deg, #5c9a3d, #3f7a2e);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ローディング */
.wpcf7-spinner {
  margin: 12px auto 0;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
  color: #d64545;
  font-size: 1.1rem;
  margin-top: 4px;
}

/* 成功・失敗メッセージ */
.wpcf7-response-output {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 1.25rem;
  border: none;
}

.wpcf7-mail-sent-ok {
  background: #edf7e8;
  color: #3f7a2e;
}

.wpcf7-validation-errors {
  background: #fdecec;
  color: #b83232;
}

/* ============================
   RESPONSIVE
============================ */
@media screen and (max-width: 768px) {
  .cta__form {
    padding: 30px 22px 34px;
  }

  .cta__form .wpcf7-form {
    font-size: 1.25rem;
  }
}

/* お問い合わせページ専用フォーム外枠 */
.cta__form__contact {
  max-width: 1000px;
  margin: 10px auto;
  padding: 0 20px;
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

/* フォームの各行 */
.cta__form__contact .wpcf7-form p {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0;
}

/* ラベル部分（左側） */
.cta__form__contact label {
  font-size: 1rem;
  font-weight: 700;
  color: #6daf4c;
  margin-top: 10px;
}

.cta__form__contact .wpcf7-list-item-label {
  color: black;
}

/* 必須マーク（赤い*に変更） */
.cta__form__contact .required {
  color: #ff0000;
  font-size: 1rem;
  margin-left: 4px;
  font-weight: normal;
}

/* 入力欄のラップ（右側・幅広） */
.cta__form__contact .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* チェックボックスを横並びにする（強力に上書き） */
.cta__form__contact .wpcf7-checkbox,
.cta__form__contact .wpcf7-radio {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  flex-direction: row !important;
}

.cta__form__contact .wpcf7-list-item {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.cta__form__contact .wpcf7-list-item label {
  font-weight: normal !important;
  margin: 0 !important;
  margin-left: 6px !important;
  font-size: 1rem !important;
}

.cta__form__contact .wpcf7-list-item-label {
  margin-left: 6px;
}

/* 入力フィールドの装飾 */
.cta__form__contact input[type='text'],
.cta__form__contact input[type='email'],
.cta__form__contact select,
.cta__form__contact textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #f9f9f9;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

/* フォーカス時の色を元の緑に */
.cta__form__contact input:focus,
.cta__form__contact textarea:focus {
  outline: none;
  border-color: #6daf4c;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 175, 76, 0.15);
}

/* テキストエリア */
.cta__form__contact textarea {
  min-height: 200px;
}

/* 同意チェックボックス部分（中央寄せ・ボーダーなし） */
.cta__form__contact .wpcf7-acceptance {
  display: block;
  text-align: center;
  padding: 40px 0 20px;
  border-bottom: none !important;
  grid-column: 1 / -1;
}

.cta__form__contact .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

/* 送信ボタンの親要素（ボーダーなし） */
.cta__form__contact .wpcf7-form p:has(input[type='submit']) {
  border-bottom: none;
  grid-template-columns: 1fr;
  justify-items: center;
}

/* 送信ボタン（元の緑のグラデーションを継承） */
.cta__form__contact input[type='submit'] {
  display: block;
  margin: 20px auto 60px;
  padding: 18px 100px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6daf4c, #4f8e3a);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(79, 142, 58, 0.2);
  transition: all 0.3s ease;
}

.cta__form__contact input[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(79, 142, 58, 0.3);
  opacity: 0.9;
}

/* ============================
   RESPONSIVE（スマホ対応）
============================ */
@media screen and (max-width: 768px) {
  .cta__form__contact .wpcf7-form p {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .cta__form__contact label {
    margin-top: 0;
  }

  .cta__form__contact .wpcf7-checkbox,
  .cta__form__contact .wpcf7-radio {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .cta__form__contact input[type='submit'] {
    width: 100%;
    padding: 16px 0;
    text-align: center;
  }
}

/* --- 日程調整セクション (Timerex埋め込み用) --- */

.schedule-section {
  padding: 80px 20px;
  background-color: #ffffff; /* 背景色 */
  color: #333;
  text-align: center;
}

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

.schedule-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.section-lead-text {
  font-size: 17px;
  color: #555;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Timerexの埋め込みエリアのコンテナ */
.timerex-embed-container {
  margin: 0 auto;
  padding: 20px;
  background-color: #f7f9fa; /* 埋め込みコンテンツを際立たせる背景色 */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

  /* 埋め込みコンテンツの最大幅をここで制御 */
  max-width: 1100px;
}

/* プレースホルダー（埋め込みコード挿入後に削除） */
.timerex-placeholder {
  min-height: 500px; /* 埋め込みカレンダーの最低限の高さを確保 */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #007bff;
  font-weight: bold;
  font-size: 16px;
  border: 1px dashed #cce0ff;
  border-radius: 4px;
  background-color: #ffffff;
}

/* 📱 スマホ・タブレット向けレスポンシブ対応 (767px以下) */
@media screen and (max-width: 767px) {
  .schedule-section {
    padding: 50px 15px;
  }

  .schedule-title {
    font-size: 26px;
  }

  .section-lead-text {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .timerex-embed-container {
    padding: 5px;
  }

  .timerex-placeholder {
    min-height: 470px; /* スマホでは高さを少し抑える */
  }

  /* Timerexウィジェット自体は、通常、埋め込みコード側でレスポンシブ対応がなされています */
}

/* フッター */
footer {
  background-color: #00007b;
  color: #fff;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* レスポンシブスタイル */
@media screen and (max-width: 768px) {
  .pain-points__item,
  .features__item,
  .team__member {
    flex: 1 1 100%;
  }

  .risks__item {
    flex: 1 1 100%;
  }

  .cta__title {
    font-size: 2.5rem;
  }

  .cta__description,
  .solution__text {
    font-size: 1.2rem;
  }

  .faq__question {
    font-size: 1.3rem;
  }

  .pain-points__item-title,
  .features__item-title,
  .risks__item-title {
    font-size: 1.5rem;
  }
}
