@charset "utf-8";
/* =========================================
   1. 変数定義 & 基本設定
   ========================================= */ :root {
  /* テーマカラー */
  --primary: #009944; /* メイン：緑 */
  --primary-light: #e8f5ed; /* ベース：薄い緑 */
  --accent: #ffA800; /* コンバージョン：オレンジ */
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --bg-gray: #f8f9fa;
  --border: #dde2e6;
}
/*画面移動時のスクロール設定*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  margin: 0;
  line-height: 1.8;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  transition: 0.3s;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  margin-left: 0px;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: 60px 0;
}
/* =========================================
   2. 共通コンポーネント
   ========================================= */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 30px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto 0;
}
.section-lead {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-weight: bold;
}
/* ボタン類 */
.btn-conversion, .btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 168, 0, 0.4);
}
.btn-conversion {
  padding: 15px 40px;
  font-size: 1.1rem;
}
.btn-primary {
  padding: 18px 40px;
}
.btn-conversion:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 168, 0, 0.5);
}
.btn-red {
  background: #ff5a4e;
  color: #fff;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}
.btn-red::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 12px;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22white%22%3E%3Cpath%20d%3D%22M20%202H4c-1.1%200-2%20.9-2%202v12c0%201.1.9%202%202%202h14l4%204V4c0-1.1-.9-2-2-2zm-2%2012H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  margin-right: 8px;
}
.btn-red:hover {
  background: #e04a3f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(211, 47, 47, 0.4);
}
.btn-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  padding: 15px 50px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(74, 128, 192, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-inquiry:hover {
  background: var(--primary);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 9px 10px rgba(0, 153, 68, 0.4);
}
.btn-icon {
  margin-right: 10px;
  font-size: 1.4rem;
}
/* アニメーション用クラス */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s;
}
.active {
  opacity: 1;
  transform: translateY(0);
}
/* =========================================
   3. ヘッダー
   ========================================= */
#header {
  background: #fff;
  width: 100%;
}
.header-main {
  padding: 20px 0;
}
.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-main .logo {
  width: 320px;
}
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.global-nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-item .category {
  color: #333;
  font-size: 17px;
  padding: 10px 0;
  display: block;
  cursor: pointer;
}
/* ドロップダウン */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 100;
  border-top: 3px solid #004ea2;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  top: 120%;
}
.dropdown li a {
  padding: 10px 20px;
  display: block;
  color: #333;
  font-size: 14px;
}
.dropdown li a:hover {
  background: #f5f5f5;
  color: #004ea2;
}
#header-p-cuben {
  border-top: 3px solid #5fb6ff;
  border-bottom: 1px solid #eee;
  background: #fff;
  padding: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: all 0.3s;
}
.product-logo img {
  height: 35px;
  width: auto;
  vertical-align: middle;
}
.product-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  align-items: center;
}
.product-nav li {
  border-right: 1px solid #ddd;
  padding: 0 15px;
}
.product-nav li:first-child {
  border-left: 1px solid #ddd;
}
.product-nav a {
  color: #333;
  font-size: 15px;
  display: block;
}
.product-nav a:hover {
  color: #004ea2;
}
/* 固定ヘッダー用クラス */
.js-header-fixed {
  width: 100%;
  transition: top 0.3s;
  z-index: 999;
}
.js-header-fixed.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-top: none;
  animation: slideDown 0.3s forwards;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
/* ハンバーガーメニュー */
.hamburger-btn {
  display: none;
  width: 50px;
  height: 50px;
  background-color: #004ea2;
  border: none;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 13px;
  transition: 0.3s;
}
.hamburger-btn span:nth-child(1) {
  top: 15px;
}
.hamburger-btn span:nth-child(2) {
  top: 24px;
}
.hamburger-btn span:nth-child(3) {
  top: 33px;
}
.hamburger-btn.is-active span:nth-child(1) {
  top: 24px;
  transform: rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
  top: 24px;
  transform: rotate(-45deg);
}
.pc-only {
  display: flex !important;
}
/* =========================================
   4. パンくずリスト
   ========================================= */
.breadcrumb-nav {
  background-color: #f9f9f9;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb-list li {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
}
.breadcrumb-list li a, .breadcrumb-list li span {
  color: #004ea2;
}
.breadcrumb-list li a:hover {
  text-decoration: underline;
  opacity: 0.8;
}
.breadcrumb-list li::after {
  content: ">";
  margin: 0 12px;
  color: #666;
  font-family: Arial, sans-serif;
}
.breadcrumb-list li:last-child::after {
  content: none;
}
.breadcrumb-list li:last-child span {
  color: #333;
}
/* =================================================
   ファーストビュー（ヒーローセクション）
   ================================================== */
.custom-hero-section {
  padding: 20px 20px;
  position: relative;
  overflow: hidden;
}
/* CSS Gridを用いた3カラムレイアウト */
.custom-hero-inner {
  display: grid;
  grid-template-columns: minmax(200px, 480px) auto minmax(200px, 480px);
  gap: 20px;
  align-items: center;
  margin: 0 20px;
  margin-bottom: 20px;
}
/* --- 中央コンテンツ --- */
.hero-content-center {
  grid-column: 2;
  grid-row: 1;
  text-align: center;
  z-index: 10;
  padding: 0 20px;
}
/* キャッチコピーの装飾 */
.hero-catchcopy {
  margin-bottom: 30px;
  line-height: 1.2;
  color: #333;
}
/* オンライン服薬指導・フォローを、 */
.catch-top {
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
}
/* 「もっと簡単に。もっと便利に。」 */
.catch-main {
  display: inline-block;
  font-size: 28px;
  font-weight: 900;
  color: #228B22;
  margin: 0;
  background: linear-gradient(transparent 60%, rgba(6, 199, 85, 0.2) 60%);
  white-space: nowrap;
}
/* 薬剤師と患者さんとのコミュニケーションがLINEで完結します。*/
.catch-sub {
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
}
/* LINEで完結 */
.text-line-green {
  color: #06C755;
  font-size: 110%;
}
/* ロゴ */
.hero-logo-img {
  max-width: 800px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 40px auto !important;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
}
/* --- スマホ専用メイン画像（PC時は非表示） --- */
.hero-mobile-img {
  display: none;
}
/* --- 左右の画像エリア --- */
.hero-visual-left {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  text-align: right; /* 薬剤師は右寄せで中央に近づける */
}
.hero-visual-right {
  grid-column: 3;
  grid-row: 1;
  position: relative;
  text-align: left; /* 患者は左寄せで中央に近づける */
}
.hero-person-img {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: inline-block;
  position: relative;
  z-index: 1;
}
/* --- CTAボタン --- */
.hero-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #98fb98 !important;
  color: #2F4F4F !important;
  font-size: 20px !important;
  font-weight: bold;
  padding: 20px 40px !important;
  border-radius: 50px !important;
  text-decoration: none;
  box-shadow: 0 6px 10px rgba(34, 139, 34, 0.3);
  transition: color 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
/* ホバー時 */
.hero-btn:hover {
  color: #ffffff !important;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 10px rgba(6, 199, 85, 0.4);
  opacity: 0.95;
}
/* 流れ出るグリーン背景の疑似要素 */
.hero-btn::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #06C755 !important;
  border-radius: 50px !important;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
  z-index: -1;
}
/* ホバー時の疑似要素アニメーション */
.hero-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
/* アイコン（>） */
.hero-btn i {
  margin-left: 10px;
  font-size: 24px;
}
/* PC時の不要な改行を隠す */
.sp-br {
  display: none;
}
/* =================================================
   2026年度改定セクション（新設）
   ================================================== */
.revision-section {
  background-color:  var(--primary-light); 
  padding: 50px 20px 40px;
}
/* 「2026年度調剤報酬改定」の赤バッジ */
.revision-badge {
  display: inline-block;
  background-color: #e60012;
  color: var(--white);
  font-weight: bold;
  font-size: 1rem;
  padding: 8px 24px;
  border-radius: 30px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
/* 見出し */
.revision-title {
  font-size: 1.6rem;
  color: #333;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 30px;
}
/* 本文を囲む白枠ボックス */
.revision-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text);
  text-align: left;
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 2px solid var(--primary);;
}
/* 経営層に刺さる言葉を赤字で強調 */
.revision-text strong {
  color: #e60012;
}
/* 黄色の蛍光ペンマーカー効果 */
.text-highlight {
  background: linear-gradient(transparent 60%, #fff59d 60%);
  font-weight: bold;
}
/* =================================================
   オンライン服薬指導とは ＆ 課題セクション（統合版）
   ================================================== */
.narrow-container {
  max-width: 800px;
  margin: 0 auto;
}
/* セクション全体（背景色をグレーで統一し、下部をV字に切り取る） */
.about-pain-section {
  background-color: var(--bg-gray);
  padding: 10px 20px 120px; /* ★変更：V字に切り取る分、下部の余白を多め(120px)に取る */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 50% 100%, 0 calc(100% - 60px)); /* ★追加：V字切り込み */
}
/* オンライン服薬指導とは(内容) */
.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.transition-text {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #00008b;
  margin-top: 20px;
}
/* 課題セクションのリード文 */
.pain-lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 40px;
}
/* 2枚の画像を並べるレイアウト */
.pain-image-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.pain-img {
  width: 100%;
  max-width: 48%; /* PCでは約半分ずつのサイズで並べる */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
/* V字の下に配置する解決へのメッセージ（赤字） */
.solution-message {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.8;
  color: #ff5a4e;
  margin: 40px 20px;
  margin-bottom: 0px;
  letter-spacing: 0.05em;
}
/* =================================================
   Followcare セクション
   ================================================== */
.followcare-about-section {
  background-color: var(--white);
  padding: 20px 20px;
}
/* 薬歴連携、LINE連携でアプリ不要、必要な機能だけ選択可 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3等分 */
  gap: 30px;
  max-width: 900px;
  margin-top: 50px;
  margin: 40px auto 0;
}
/* 各特徴カード(薬歴連携、LINE連携でアプリ不要、必要な機能だけ選択可) */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
/* タイトル(薬歴連携、LINE連携でアプリ不要、必要な機能だけ選択可)*/
.feature-title {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: bold;
}
/* アイコン */
.feature-icon {
  font-size: 7rem;
  color: #d8d8d8;
  margin-bottom: 10px;
}
/* 内容(薬歴連携、LINE連携でアプリ不要、必要な機能だけ選択可)*/
.feature-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  text-align: left; /* テキスト部分は読みやすいように左揃え */
}
/* =================================================
   Followcare Videocall セクション
   ================================================== */
.screen-image-section {
  background-color: var(--white);
  padding: 40px 20px;
}
.text-center {
  text-align: center;
}
/* 「独自機能」の吹き出しデザイン */
.badge-unique {
  display: inline-block;
  position: relative;
  top: -18px;
  margin-left: 15px;
  background-color: #ff5a4e;
  color: var(--white);
  font-size: 1.2rem;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: bold;
  letter-spacing: 2px;
}
/* 吹き出しの尻尾（左下に向かって尖らせる） */
.badge-unique::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 20px;
  border-width: 10px 10px 0 0;
  border-style: solid;
  border-color: #ff5a4e transparent transparent transparent;
}
/* Videocallの説明文 */
.videocall-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 800px; /* 画像の幅に合わせる */
  margin: 0 auto 40px auto; /* 画像との間に余白を作る */
  text-align: left; /* PCでは読みやすいように左揃えの中央配置 */
  display: inline-block;
}
/* 画像を囲む白枠と影のデザイン */
.image-wrapper {
  max-width: 800px; /* ★変更：画像を少し小さくする（1000px → 800px） */
  margin: 0 auto;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.screen-img {
  width: 100%;
  height: auto;
  display: block;
}
/* =================================================
   Followcareの主な機能 セクション
   ================================================== */
.functions-section {
  background-color: var(--bg-gray);
  padding: 40px 20px;
}
/* Followcareの主な機能(6つを３等分) */
.functions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0;
}
/* 各機能のカード */
.function-card {
  background-color: var(--primary-light);
  padding: 25px;
  border-radius: 8px;
}
/* アイコンとタイトルの横並び設定 */
.function-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
/* チェックマークのアイコン */
.function-card-header i {
  font-size: 1.6rem;
  color: var(--primary);
}
/* 各機能のタイトル */
.function-card-header h3 {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text);
  margin: 0;
}
/* 各機能の説明文 */
.function-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
/* CTA（コンバージョン） */
.cta-lead {
  margin-top: 50px;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary); /* テーマカラーの緑 */
  margin-bottom: 30px;
  line-height: 1.6;
}
/* =================================================
   ご利用イメージ セクション
   ================================================== */
.use-image-section {
  background-color: var(--white);
  padding: 40px 20px;
}
/* ご利用イメージ（STEP1～さらに ）*/
.step-flow {
  max-width: 900px; /* カードの幅を制限 */
  margin: 0 auto;
}
/* 各利用イメージ */
.step-item {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  position: relative; /* 矢印配置用 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px; /* 矢印が表示される隙間を作る */
}
/* STEP間の矢印（▼）*/
.step-item:nth-of-type(1)::after, .step-item:nth-of-type(2)::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 25px solid var(--primary); /* 下向きの緑三角 */
  position: absolute;
  bottom: -35px; /* カードの下の隙間に配置 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
/* STEP数と丸い画像 */
.step-number-visual-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0; /* PC時、要素が潰れないように */
}
/* STEP数 */
.step-number {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-light);
  line-height: 1.2;
  text-align: center;
  width: 70px; /* PC時、幅を固定 */
}
/* 丸い画像 */
.step-visual {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
}
.step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* タイトルと説明文 */
.step-body {
  margin-left: 40px;
}
/* タイトル */
.step-body h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 10px;
}
/* 説明文 */
.step-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
}
/* --- "さらに" のSTEP用 --- */
.step-item.step-extra {
  border-style: dashed;
  box-shadow: none;
  margin-top: 30px;
  margin-bottom: 0;
}
.step-item.step-extra:not(:last-of-type)::after {
  display: none;
}
/* さらに */
.step-label {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-light);
  width: 70px;
  text-align: center;
}
/* =================================================
   よくある質問・関連情報 セクション
   ================================================== */
.faq-section {
  background-color: var(--white);
  padding: 40px 20px;
}
/* --- アコーディオンのブロック (FAQ) --- */
.faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}
/* --- 各アコーディオン --- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
/* 質問部分 */
.faq-question {
  position: relative;
  padding: 20px 40px 20px 10px; /* 右側にアイコン用の余白 */
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary);
  cursor: pointer;
  transition: background-color 0.3s;
}
.faq-question:hover {
  background-color: var(--bg-gray);
}
/* 三角アイコン (▶) */
.faq-question::before {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--primary); /* 右向きの緑三角 */
  transition: transform 0.3s ease;
}
/* 開いたときのアイコン (▼) */
.faq-question.is-open::before {
  transform: translateY(-50%) rotate(90deg); /* 下を向く */
}
/* 回答部分(隠す) */
.faq-answer {
  display: none;
  padding: 0 10px 30px 10px;
}
/* 回答部分 */
.faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
/* --- 関連情報 エリア --- */
.related-info {
  background-color: var(--bg-gray);
  padding: 40px;
}
.related-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 30px;
  margin-top: 0px;
  font-weight: normal;
  color: var(--text);
}
.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.related-list li {
  margin-bottom: 15px;
}
.related-list li:last-child {
  margin-bottom: 0;
}
.related-list a {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 1rem;
}
.related-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}
/* リンクの先頭につく「＞」アイコン */
.related-list a::before {
  content: "＞";
  color: var(--primary);
  margin-right: 10px;
  font-weight: bold;
}
/* =========================================
   10. お問い合わせ
   ========================================= */
.inquiry-section {
  padding: 60px 0;
  background: var(--white);
}
.inquiry-card {
  max-width: 800px;
  margin: 0 auto;
  border: 4px solid var(--primary);
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.inquiry-header {
  background: var(--primary);
  padding: 15px;
  text-align: center;
  color: #fff;
}
.inquiry-header h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: normal;
}
.inquiry-body {
  padding: 40px 20px;
  text-align: center;
}
.inquiry-lead {
  font-size: 1rem;
  margin-bottom: 30px;
  font-weight: bold;
}
.phone-lead {
  font-size: 1rem;
  margin-bottom: 10px;
}
.phone-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.phone-link {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-link:hover {
  opacity: 0.7;
}
.phone-icon {
  font-size: 1.5rem;
}
.phone-number {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
  font-family: Arial, sans-serif;
}
.phone-hours {
  font-size: 0.8rem;
  color: #666;
}
/* =========================================
   11. フッター（統合・シンプル版）
   ========================================= */
#footer {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1;
  background-color: var(--white); /* 白背景で統一 */
  padding: 40px 0 30px; /* 上下の余白 */
  border-top: 1px solid #eee; /* 上部にうっすらと境界線 */
}
/* ロゴとリンクエリアを横並びにする親要素 */
.footer-inner {
  display: flex;
  justify-content: center; /* 全体を中央寄りに */
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 30px;
}
.footer-logo-area {
  padding-top: 5px; /* タイトルと高さを合わせる微調整 */
}
.footer-logo-area img {
    width: 350px;
    height: auto;
  }
/* 2つのリンク列を横並びにする */
.footer-nav-area {
  display: flex;
  gap: 50px; /* リスト間の余白 */
}
.footer-title {
  font-weight: normal; /* 画像に合わせて太字を解除 */
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 25px;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: 15px; /* リスト間の縦の隙間を少し広めに */
}
/* リンク文字のスタイル */
.footer-list a {
  color: #555; /* 画像の落ち着いたグレーに寄せる */
  font-size: 0.95rem;
  transition: color 0.3s;
}
.footer-list a:hover {
  color: #004ea2;
  text-decoration: underline;
}
/* コピーライトエリア（右寄せ） */
.copyright-area {
  text-align: right;
  padding-right: 10px;
}
.copyright {
  font-size: 0.75rem;
  color: #333;
}
/* ページトップボタン */
.pagetop-link {
  position: fixed;
  right: 20px;
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.pagetop-link.is-visible {
  opacity: 1;
  visibility: visible;
}
.pagetop-link a {
  display: block;
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border: 1px solid var(--primary);
  position: relative;
}
.pagetop-link a::after {
  content: "";
  position: absolute;
  top: 55%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.icon {
  display: flex;
}
/* =================================================
   スマホ用レスポンシブ対応（画面幅900px以下）
   ================================================== */
@media screen and (max-width: 900px) {
  /* キャッチコピー */
  /* ★左右の画像と吹き出しを非表示にする */
  .hero-visual-left, .hero-visual-right {
    display: none;
  }
  /* ★グリッドレイアウトを解除して1カラムのシンプルな配置にする */
  .custom-hero-inner {
    display: block;
  }
  .hero-content-center {
    padding: 0 10px;
    margin-bottom: 20px;
  }
  /* オンライン服薬指導・フォローを、 */
  .catch-top {
    font-size: 18px;
  }
  /* 「もっと簡単に。もっと便利に。」 */
  .catch-main {
    font-size: 22px;
    margin: 5px 0;
  }
  /* 薬剤師と患者さんとのコミュニケーションがlineで完結します。 */
  .catch-sub {
    font-size: 18px;
  }
  /* ロゴ */
  .hero-logo-img {
    max-width: 300px;
    margin-bottom: 20px;
  }
  /* メイン画像 */
  .hero-mobile-img {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px auto;
  }
  /* 資料請求・デモ・その他お問い合わせ */
  .hero-btn {
    font-size: 15px !important;
    padding: 15px 20px !important;
    width: 50%;
  }
}
/* =========================================
   12. レスポンシブ対応 (スマホ: 768px以下)
   ========================================= */
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  .header-main {
    padding: 10px 0;
  }
  .header-main .flex-container {
    flex-direction: row;
    justify-content: space-between;
  }
  .header-main .logo {
    width: 200px;
    margin: 0;
    height: auto;
  }
  .hamburger-btn {
    display: block;
  }
  .nav-area {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    transition: 0.4s;
    z-index: 1000;
    padding-top: 70px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }
  .nav-area.is-open {
    right: 0;
  }
  .global-nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-item {
    border-bottom: 1px solid #eee;
    width: 100%;
  }
  .nav-item .category {
    padding: 15px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-item .category::after {
    content: "+";
    font-weight: bold;
    color: #ccc;
  }
  .nav-item .category.is-open::after {
    content: "-";
  }
  .dropdown {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border-top: none;
    opacity: 1;
    visibility: visible;
    display: none;
    background: #f9f9f9;
  }
  .dropdown li a {
    padding: 12px 30px;
    font-size: 14px;
  }
  .breadcrumb-nav {
    padding: 10px 0;
  }
  .lower-flex {
    text-align: center;
    flex-direction: column;
    gap: 15px;
  }
  .phone-number {
    font-size: 1.8rem;
  }
  .footer-logo img {
    margin: 0 auto 10px;
  }
  .btn-inquiry {
    width: 100%;
    box-sizing: border-box;
  }
  /* キャッチコピー */
  /* ★左右の画像と吹き出しを非表示にする */
  .hero-visual-left, .hero-visual-right {
    display: none;
  }
  /* ★グリッドレイアウトを解除して1カラムのシンプルな配置にする */
  .custom-hero-inner {
    display: block;
  }
  .hero-content-center {
    padding: 0 10px;
    margin-bottom: 20px;
  }
  /* オンライン服薬指導・フォローを、 */
  .catch-top {
    font-size: 17px;
  }
  /* 「もっと簡単に。もっと便利に。」 */
  .catch-main {
    font-size: 21px;
    margin: 5px 0;
  }
  /* 薬剤師と患者さんとのコミュニケーションがlineで完結します。 */
  .catch-sub {
    font-size: 16px;
  }
  /* ロゴ */
  .hero-logo-img {
    max-width: 250px;
    margin-bottom: 20px;
  }
  /* メイン画像 */
  .hero-mobile-img {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px auto;
  }
  /* 資料請求・デモ・その他お問い合わせ */
  .hero-btn {
    font-size: 13px !important;
    padding: 15px 20px !important;
    width: 100%;
  }
  /* 2026年度改定セクション */
  .revision-section {
    padding: 50px 20px 30px;
  }
  .revision-badge {
    font-size: 0.95rem;
    padding: 6px 16px;
  }
  .revision-title {
    font-size: 1.4rem;
  }
  .revision-text {
    font-size: 0.95rem;
    padding: 20px;
  }
  /* オンライン服薬指導とは(タイトル) */
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  /* オンライン服薬指導とは(内容) */
  .about-text {
    font-size: 0.95rem;
  }
  .pain-section {
    padding: 60px 20px 40px;
  }
  .pain-lead {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .pain-image-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .pain-img {
    max-width: 90%;
  }
  /* V字切り込みと赤字メッセージ */
  .about-pain-section {
    padding: 10px 20px 80px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 50% 100%, 0 calc(100% - 40px));
  }
  .solution-message {
    font-size: 1.1rem;
    margin-top: 10px;
  }
  /* 薬歴連携、LINE連携でアプリ不要、必要な機能だけ選択可 */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  /* 各特徴カード(薬歴連携、LINE連携でアプリ不要、必要な機能だけ選択可) */
  .feature-card {
    padding: 25px 15px;
  }
  /* タイトル(薬歴連携、LINE連携でアプリ不要、必要な機能だけ選択可)*/
  .feature-title {
    font-size: 1.2rem;
  }
  /* 主な機能 セクション */
  .functions-grid {
    grid-template-columns: 1fr; /* 縦1列にする */
    gap: 15px;
  }
  /* 各機能 */
  .function-card {
    padding: 20px 15px;
  }
  /* 各機能のタイトル */
  .function-card-header h3 {
    font-size: 1.1rem;
  }
  /* 画面イメージ セクション */
  .screen-image-section {
    padding: 60px 0;
  }
  /* 独自機能 */
  .badge-unique {
    top: -8px;
    font-size: 1rem;
    padding: 6px 15px;
    margin-left: 5px;
  }
  .videocall-desc {
    font-size: 0.95rem;
    text-align: left; /* スマホでも左揃えの方か読みやすいです */
    margin: 0 15px 30px 15px;
  }
  .image-wrapper {
    padding: 10px;
    border-radius: 8px;
    margin: 0 15px; /* スマホ画面で端にくっつかないように余白を確保 */
  }
  /* --- ご利用イメージ セクション --- */
  .use-image-section {
    padding: 60px 0;
  }
  /* 各利用イメージ */
  .step-item {
    flex-direction: column; /* 縦並び */
    text-align: center;
    padding: 20px;
    margin-bottom: 40px; /* 矢印が表示される隙間を作る */
  }
  /* STEP間の矢印（▼）*/
  .step-item:nth-of-type(1)::after, .step-item:nth-of-type(2)::after {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--primary); /* 緑三角を少し小さく */
    bottom: -30px; /* カードの下の隙間に配置 */
  }
  /* STEP数と丸い画像 */
  .step-number-visual-wrapper {
    flex-direction: column; /* 縦並び */
    gap: 10px;
    margin-bottom: 20px;
  }
  .step-number, .step-label {
    width: auto; /* PC時の固定幅を解除 */
    display: flex;
    justify-content: center;
    gap: 5px; /* STEPと数字の隙間 */
  }
  /* STEP数 */
  .step-number {
    flex-direction: row; /* 横並び */
    font-size: 1rem;
  }
  /* 丸い画像 */
  .step-visual {
    width: 100px; /* スマホ時の画像サイズ */
    height: 100px;
  }
  /* タイトルと説明文 */
  .step-body {
    margin-left: 0; /* 左余白を解除 */
  }
  /* タイトル */
  .step-body h3 {
    font-size: 1.2rem;
  }
  /* 説明文 */
  .step-body p {
    font-size: 0.95rem;
  }
  /* "さらに" のSTEP用 */
  .step-item.step-extra {
    margin-top: 20px; /* 少し上に配置 */
  }
  /* CTA（コンバージョン）セクション */
  .cta-section {
    padding: 40px 20px;
  }
  .cta-lead {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
  /* フッター（スマホ用調整） */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start; /* ★変更：中央揃えから「左寄せ」に */
    gap: 30px;
    padding: 0 10px; /* 左右に少し余白を持たせる */
  }
  .footer-logo-area img {
    width: 250px;
    height: auto;
  }
  .footer-nav-area {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    text-align: left; 
  }
  .footer-group {
    width: 50%; /* 画面幅を半分（50%）ずつ分け合う */
  }
  .footer-title {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  .footer-list li {
    margin-bottom: 12px;
  }
  .footer-list a {
    font-size: 0.85rem; /* スマホ画面で改行されないように少し小さく */
  }
  .copyright-area {
    text-align: center; /* コピーライトは中央のまま */
    padding-right: 0;
    margin-top: 40px;
  }
  .copyright {
    font-size: 0.75rem; /* コピーライトもスマホ用に調整 */
  }
}
/* =========================================
   12. レスポンシブ対応 (スマホ: 450px以下)
   ========================================= */
@media (max-width: 450px) {
  /* PCで隠している改行を、スマホ画面では有効（表示）にする */
  .sp-br {
    display: block;
  }
  .solution-message {
    font-size: 13px;
  }
/* オンライン服薬指導・フォローを、 */
  .catch-top {
    font-size: 16px;
  }
  /* 「もっと簡単に。もっと便利に。」 */
  .catch-main {
    font-size: 20px;
    margin: 5px 0;
  }
  /* 薬剤師と患者さんとのコミュニケーションがlineで完結します。 */
  .catch-sub {
    font-size: 14px;
  }
}