@charset "utf-8";
/* ================================
   ヒーローセクション (.p-hero)
================================ */
.p-hero {
  /* 背景の基準を「右上(top right)」に変更し、サイズをcoverに設定 */
  background: #ffffff url('../img/img_hero-bg.jpg') top right / cover no-repeat;
  padding: 20px 0;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.p-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  width: 100%;
}
.p-hero__content {
  width: auto;
}
/* メインタイトル */
.p-hero__title {
  font-size: 58px;
  color: #404089;
  line-height: 1.2;
  letter-spacing: 0.1em;
  margin-bottom: 35px;
  /* 下の文字との間隔 */
  font-weight: 500;
  text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 5px rgba(255, 255, 255, 0.8);
}
/* --- 下2行をまとめるグループ --- */
.p-hero__product-group {
  width: fit-content;
  margin-top: 5px;
  display: block;
}
/* ～SOAP指導文自動生成機能～ */
.p-hero__sub-copy {
  font-size: 18px;
  color: #2b508d;
  font-weight: bold;
  margin: 0;
  margin-bottom: 4px;
  line-height: 1.2;
  text-shadow: 2px 2px 10px #fff, -2px -2px 10px #fff, 2px -2px 10px #fff, -2px 2px 10px #fff;
}
/* 製品名 */
.p-hero__product-name {
  font-size: 30px;
  color: #1e5a96;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
  text-shadow: 2px 2px 10px #fff, -2px -2px 10px #fff, 2px -2px 10px #fff, -2px 2px 10px #fff;
}
/* バッジとボタンのエリア */
.p-hero__visual {
  width: auto;
  text-align: center;
  margin-top: 100px;
}
.p-hero__badge {
  /* バッジと下のボタンの間隔も少し詰めました */
  margin-bottom: 20px;
}
.p-hero__badge img {
  max-width: 350px;
  width: 100%;
}
/* ================================
   AI薬歴について (.p-about)
================================ */
/* 下のp-challengesと背景色を合わせてシームレスに繋ぐ */
.p-about {
  background-color: #F8FBFF;
  padding: 30px 0 0;
}
.p-about__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}
.p-about__lead {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: left;
}
.p-about__box {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 10px 30px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.p-about__desc {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0;
  text-align: left;
}
.p-about__note {
  font-size: 12px;
  color: #666;
  text-align: right;
  line-height: 1.4;
  margin: 0;
}
/* ================================
   Project: 課題 Section (.p-challenges)
================================ */
.p-challenges {
  background-color: #F8FBFF;
  padding: 30px 0 50px 0;
}
.p-challenges__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}
/* --- 上部：導入エリア --- */
.p-challenges-intro {
  max-width: 1000px;
  margin: 0 auto 60px;
  text-align: center;
}
.p-challenges__title {
  display: inline-block;
  font-size: 30px;
  color: #0069B9;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 20px;
}
.p-challenges-intro__list-wrap {
  display: inline-block;
  text-align: left;
  background-color: #ffffff;
  border: 2px solid #0069B9;
  border-radius: 12px;
  padding: 40px 60px;
  box-shadow: 0 10px 25px rgba(0, 105, 185, 0.1);
  position: relative;
  margin-bottom: 20px; /* 矢印のためのスペース */
}
/* ストーリーを繋ぐ下向き矢印 */
.p-challenges-intro__list-wrap::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  margin-left: -15px;
  transform: none;
  border-width: 20px 15px 0 15px;
  border-style: solid;
  border-color: #0069B9 transparent transparent transparent;
}
.p-challenges-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-challenges-list__item {
  position: relative;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
  padding-left: 40px;
  margin-bottom: 25px;
}
.p-challenges-list__item:last-child {
  margin-bottom: 0;
}
.p-challenges-list__item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 9px;
  height: 18px;
  border-right: 4px solid #D50000;
  border-bottom: 4px solid #D50000;
  transform: rotate(45deg);
}
/* --- 下部：エビデンス（左右カードレイアウト） --- */
.p-challenges-evidence {
  max-width: 1120px; /* 左右に並べるために幅を確保 */
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: stretch; /* 左右のカード高さを揃える */
}
/* 個別のカードスタイル */
.p-challenges-evidence__block {
  flex: 1; /* 左右均等幅 */
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 105, 185, 0.08);
  border: 1px solid #EBEBEB;
  padding: 40px 30px;
}
/* ---エビデンス（左右カードレイアウト）内のタイトル --- */
.p-challenges-evidence__card-title {
  font-size: 20px;
  color: #0069B9;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #EBEBEB; /* タイトルの下にうすい線を引いて区切る */
  line-height: 1.4;
}
/* 既存のリード文の余白を少し調整 */
.p-challenges-evidence__lead {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
}
.p-challenges-evidence__lead strong {
  color: #000;
  background: linear-gradient(transparent 70%, rgba(255, 242, 0, 0.5) 70%);
}
.p-challenges-evidence__title {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
}
/* --- 左側カード：表とテキスト（縦積みへ変更） --- */
.p-challenges-evidence__row {
  display: flex;
  flex-direction: column; /* 幅が狭くなるため縦積みに */
  gap: 20px;
  margin-bottom: 0px;
  flex-grow: 1; /* 高さを埋める */
}
.p-challenges-evidence__row-table, .p-challenges-evidence__row-text {
  flex: auto;
}
.p-challenges-evidence__table {
  width: 100%;
  border-collapse: collapse;
}
.p-challenges-evidence__table th, .p-challenges-evidence__table td {
  border: 1px solid #DCDCDC;
  padding: 12px 15px;
  font-size: 14px;
  text-align: center;
}
.p-challenges-evidence__table th {
  background-color: #43B1CC;
  color: #FFFFFF;
  font-weight: bold;
}
.p-challenges-evidence__table td {
  background-color: #F8F8F8;
  color: #333;
}
.p-challenges-evidence__table tr.is-highlight td {
  color: #DE0059;
  font-weight: bold;
  background-color: #FFF0F5;
}
.p-challenges-evidence__desc {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}
/* --- 右側カード：グラフ --- */
.p-challenges-evidence__graph {
  max-width: 100%;
  margin: 0 auto 20px auto;
  text-align: center;
  flex-grow: 1; /* 画像エリアを広げてソースを最下部に押しやる */
}
.p-challenges-evidence__graph img {
  max-width: 100%;
  height: auto;
  border: 1px solid #EBEBEB;
}
/* --- 出典 --- */
.p-challenges-evidence__source {
  font-size: 12px;
  color: #666;
  text-align: right;
  line-height: 1.4;
  margin-top: auto; /* カードの最下部に配置 */
  margin-bottom: 0;
}
.p-challenges-evidence__source a {
  color: #0069B9;
  text-decoration: underline;
}
.p-challenges-evidence__source a:hover {
  text-decoration: none;
}
/* ================================
   中間CTA (.p-cta)
================================ */
.p-cta {
  /* 背景画像を設定 */
  background: #F8FBFF url('../img/img_cta-triangle.png') center / cover no-repeat;
  padding: 20px 0 30px 0;
  text-align: center;
}
.p-cta__triangle {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 50px;
  display: block;
}
.p-cta__triangle img {
  width: 100%;
  height: auto;
  vertical-align: top;
}
.p-cta__title {
  font-size: 22px;
  color: #2E75B6;
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.4;
}
.p-cta__title span {
  font-size: 32px;
}
.p-cta__message {
  color: #CC0000;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.6;
  margin: 0;
}
.p-cta__lead {
  color: #FF8F00;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
/* ================================
   特長・運用イメージセクション (.p-features)
================================ */
.p-features {
  background-color: #F5F5F5;
  padding: 80px 0;
}
.p-features__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.p-features__card {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(164, 164, 164, 0.2);
  padding: 70px 50px 50px;
  margin-top: 40px;
}
.p-features__title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -80%);
  background-color: #0069B9;
  color: #FFFFFF;
  font-size: 26px;
  font-weight: bold;
  padding: 18px 50px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}
.p-features__desc {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  text-align: left;
  margin: 0 auto 20px auto;
}
/* 横並びレイアウト */
.p-features__grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.p-features__col {
  flex: 1; /* 左右50%ずつ */
  display: flex;
  flex-direction: column;
}
.p-features__subtitle {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  text-decoration: underline;
  text-align: center;
  margin-bottom: 25px;
}
.p-features__workflow, .p-features__screen {
  text-align: center;
  margin: 0 0 20px 0;
}
.p-features__workflow img, .p-features__screen img {
  max-width: 100%;
  height: auto;
  border: 1px solid #EBEBEB; /* 白背景に溶け込まないように枠線 */
}
/* 画面イメージの高さに合わせるため、左側の運用イメージだけ横幅を絞る */
.p-features__workflow img {
  max-width: 85%; 
  margin: 0 auto; /* 中央寄せ */
}
.p-features__screen-text {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-top: 20px;
}
/* ================================
   お客さまの声セクション (.p-voices)
================================ */
.p-voices {
  background-color: #F8FBFF;
  padding: 80px 0;
}
.p-voices__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.p-voices__card {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(164, 164, 164, 0.2);
  padding: 70px 50px 50px;
  margin-top: 40px;
}
.p-voices__title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -80%);
  background-color: #0069B9;
  color: #FFFFFF;
  font-size: 26px;
  font-weight: bold;
  padding: 18px 50px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}
.p-voices__lead {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 30px 0;
}
.p-voices__list-wrap {
  background-color: #EAF4FF;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 15px;
}
.p-voices-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-voices-list__item {
  background-color: #FFFFFF;
  border: 1px solid #B0C4DE; /* 少し柔らかい境界線に修正 */
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.p-voices-list__text {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  flex-grow: 1; /* 店舗情報＋アイコンを最下部に押しやる */
}

/* マーカー背景（蛍光ペン風） */
.p-voices-list__text mark {
  background: linear-gradient(transparent 70%, rgba(255, 242, 0, 0.5) 70%);
  color: inherit;
  font-weight: bold;
}

/* カード下部（店舗情報 ＋ 右下アイコン） */
.p-voices-list__bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

.p-voices-list__info {
  flex: 1;
}
.p-voices-list__name {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: #444;
  margin-bottom: 3px;
}
.p-voices-list__note {
  display: block;
  font-size: 11px;
  color: #888;
}

/* 右下アイコン */
.p-voices-list__icon {
  width: 95px; /* アイコンの横幅（必要に応じて微調整） */
  height: 95px;
  flex-shrink: 0;
  margin: 0;
}
.p-voices-list__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-voices__source {
  font-size: 12px;
  color: #666;
  text-align: right;
  margin: 0;
}
/* ================================
   ご利用料金セクション (.p-pricing)
================================ */
.p-pricing {
  background-color: #FFFFFF;
  padding: 10px 0;
  text-align: center;
}
.p-pricing__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.p-pricing__title {
  display: inline-block;
  font-size: 30px;
  color: #0069B9;
  font-weight: bold;
  margin-bottom: 0px;
  position: relative;
  padding-bottom: 15px;
}
/* プランカード風の装飾 */
.p-pricing__card {
  max-width: 700px;
  margin: 0 auto 15px auto;
  background-color: #F8FBFF;
  border: 2px solid #0069B9;
  border-radius: 12px;
  padding: 20px 40px;
  box-shadow: 0 8px 20px rgba(0, 105, 185, 0.1);
}
.p-pricing__highlight {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 15px;
  color: #D50000; /* 赤色で0円を強調 */
}
.p-pricing__badge {
  background-color: #D50000;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 4px;
}
.p-pricing__price {
  font-size: 54px;
  font-weight: bold;
  line-height: 1;
}
.p-pricing__price span {
  font-size: 24px;
  margin-left: 5px;
}
.p-pricing__lead {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}
.p-pricing__lead strong {
  color: #0069B9;
  font-size: 23px;
}
.p-pricing__note {
  font-size: 13px;
  color: #666;
  text-align: right;
  max-width: 700px;
  margin: 0 auto 20px auto;
}
/* スマホ対応 (768px以下) のボタン調整 */
@media screen and (max-width: 768px) {
  /* ================================
   キャッチコピーSection (スマホ版)
================================ */
  .p-hero {
    padding: 40px 0;
    min-height: auto;
    /* 最小高さを解除して中身に合わせる */
  }
  .p-hero__inner {
    flex-direction: column;
    /* 2. 赤枠箇所上の余白を狭める（40px → 15px） */
    gap: 20px;
    padding: 0 20px;
  }
  /* 製品名 */
  .p-hero__product-name {
    font-size: 20px;
  }
  /* タイトルの文字サイズを少し調整して縦幅を稼ぐ */
  .p-hero__title {
    font-size: 28px;
    /* 32pxから少し小さく */
    margin-bottom: 10px;
  }
  /* 製品名グループの調整 */
  .p-hero__product-group {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  /* 右側（バッジ・ボタン）ブロックの余白リセット */
  .p-hero__visual {
    width: 100%;
    margin-top: 0;
    /* PC版で設定したmargin-topを解除 */
  }
  .p-hero__badge {
    margin-top: 10px;
    margin-bottom: 10px;
    /* バッジとボタンの隙間も調整 */
  }
  .p-hero__badge img {
    max-width: 240px;
    /* バッジ自体も少し小さくして縦幅を抑える */
  }
.p-hero__btn-area .c-btn {
    font-size: 14px;
    padding: 15px 10px;
    width: 80%;
    box-sizing: border-box;
  }
  /* ================================
   AI薬歴について (.p-about) (スマホ版)
================================ */
  .p-about {
    padding: 30px 0 0;
  }
  .p-about__inner {
    padding: 0 20px;
  }
  .p-about__lead {
    font-size: 16px;
  }
  .p-about__box {
    padding: 10px;
  }
  .p-about__desc {
    font-size: 15px;
  }
  /* ================================
   Project: 課題 Section (スマホ版)
================================ */
  .p-challenges {
    padding: 30px 0;
  }
  .p-challenges__inner {
    padding: 0 20px;
  }
  .p-challenges__title {
    font-size: 20px;
    padding-bottom: 15px;
  }
  .p-challenges-intro {
    margin-bottom: 20px;
  }
  .p-challenges-intro__list-wrap {
    padding: 30px 20px;
    margin-bottom: 15px;
  }
  /* スマホ版の矢印サイズ調整 */
  .p-challenges-intro__list-wrap::after {
    bottom: -25px;
    border-width: 15px 10px 0 10px;
  }
  .p-challenges-list__item {
    font-size: 15px;
    padding-left: 28px;
    margin-bottom: 20px;
  }
  .p-challenges-list__item::before {
    top: 2px;
    width: 7px;
    height: 14px;
  }
  /* スマホ時はカードを縦積みに戻す */
  .p-challenges-evidence {
    flex-direction: column;
    gap: 25px;
  }
  .p-challenges-evidence__block {
    padding: 25px 20px;
  }
  /* スマホ版のエビデンスタイトル */
  .p-challenges-evidence__card-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }
  .p-challenges-evidence__lead {
    font-size: 15px;
  }
  .p-challenges-evidence__title {
    font-size: 15px;
    margin-bottom: 15px;
  }
  .p-challenges-evidence__table th, .p-challenges-evidence__table td {
    font-size: 13px;
    padding: 10px;
  }
  .p-challenges-evidence__desc {
    font-size: 14px;
  }
  /* ================================
     中間CTAセクション (スマホ版)
  ================================ */
  .p-cta {
    padding: 20px 0 40px 0;
  }
  .p-cta__triangle {
    margin-bottom: 30px;
  }
  .p-cta__title {
    font-size: 16px;
  }
  .p-cta__title span {
    font-size: 22px;
    display: block;
    margin-bottom: 5px;
  }
  .p-cta__message {
    padding: 0px 25px;
    border-radius: 20px;
    width: 90%;
  }
  .p-cta__message p {
    font-size: 16px;
  }
  .p-cta__lead {
    font-size: 15px;
  }
  /* ================================
     特長セクション (スマホ版)
  ================================ */
  .p-features {
    padding: 50px 0;
  }
  .p-features__inner {
    padding: 0 20px;
  }
  .p-features__card {
    padding: 50px 20px 30px;
    margin-top: 30px;
  }
  .p-features__title {
    font-size: 16px;
    padding: 12px 20px;
    width: 90%;
    text-align: center;
    white-space: normal; /* スマホでは折り返しを許可 */
  }
  .p-features__desc {
    font-size: 14px;
    margin-bottom: 30px;
  }
  /* スマホ時は縦積みに戻す */
  .p-features__grid {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }
  .p-features__subtitle {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .p-features__screen-text {
    font-size: 14px;
  }
  .p-features__workflow img {
    max-width: 200px;
    margin: 0 auto;
  }
  /* ================================
     お客さまの声セクション (スマホ版)
  ================================ */
  .p-voices {
    padding: 50px 0;
  }
  .p-voices__inner {
    padding: 0 20px;
  }
  .p-voices__card {
    padding: 50px 20px 30px;
    margin-top: 30px;
  }
  .p-voices__title {
    font-size: 16px;
    padding: 12px 20px;
    width: 90%;
    text-align: center;
    white-space: normal;
  }
  .p-voices__lead {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .p-voices__list-wrap {
    padding: 15px;
  }
  .p-voices-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .p-voices-list__item {
    padding: 15px;
  }
  .p-voices-list__text {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .p-voices-list__icon {
    width: 75px;
    height: 75px;
  }
  /* ================================
     ご利用料金セクション (スマホ版)
  ================================ */
  .p-pricing {
    padding: 10px 0;
  }
  .p-pricing__inner {
    padding: 0 20px;
  }
  .p-pricing__title {
    font-size: 24px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .p-pricing__card {
    padding: 30px 20px;
  }
  .p-pricing__highlight {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .p-pricing__badge {
    font-size: 15px;
    padding: 4px 12px;
  }
  .p-pricing__price {
    font-size: 48px;
  }
  .p-pricing__price span {
    font-size: 18px;
  }
  .p-pricing__lead {
    font-size: 16px;
  }
  .p-pricing__lead strong {
    font-size: 18px;
  }
  .p-pricing__note {
    margin-bottom: 30px;
  }
}