html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* ========== Noto Sans JPの指定 ========== */
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333; /* 基本の色は黒系 */
}

/* ========== 共通: スタイリッシュHeader用 ========== */
.header.is-stylish-header {
  width: 100%;
  left: 0;
  z-index: 998;
  padding: 0;
  position: fixed;
}

.header-container {
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  height: 80px; /* 少し高めに */
}

.header-logo-image {
  width: 180px;
  height: auto;
  transition: opacity 0.3s ease;
  margin-left: 2.5rem;
  margin-top: 1.2rem;
}

.header-logo-link:hover .header-logo-image {
  opacity: 0.8;
}

.header-nav {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  padding: 10px 10px 10px 30px; /* パディング調整 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-top: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
  .header-logo-image {
    margin-left: 0rem;
    margin-top: 0;
  }
}

/* ========== 通常メニュー（PC） ========== */
.header-menu-list {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin-right: 2.5rem;
  margin-left: 0.8rem;
}

.header-menu-list li a {
  color: #000;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 8px 0;
  white-space: nowrap; /* メニューが改行しないように */
}

.header-menu-list li a:hover {
  color: #25aff9;
}

/* ========== お問い合わせ/資料請求ボタン ========== */
.header-contact-buttons {
  display: flex;
  align-items: center;
  margin-right: 0.8rem;
}

/* お問い合わせボタン（強調デザイン） */
.button-contact {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
  background-color: #25aff9; /* 指定の青色 */
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(37, 175, 249, 0.4);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.button-contact:hover {
  background-color: #1a8fcc; /* 濃いめの青に */
  box-shadow: 0 6px 15px rgba(37, 175, 249, 0.6);
  transform: translateY(-1px);
}

/* ========== ハンバーガーメニュー（スマホ用） ========== */
.hamburger-menu {
  display: none;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  cursor: pointer;
  z-index: 1000;
  position: relative;
  gap: 5px;
  border-radius: 50%;
  margin-top: 0;
}

.hamburger-menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: #25aff9;
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* active時のスタイルはそのまま流用 */
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== モバイルメニュー本体: 全画面オーバーレイ ========== */
.mobile-menu.is-full-screen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh; /* 全画面 */
  width: 100vw; /* 全画面 */
  background: rgba(255, 255, 255, 0.65); /* 薄く白い背景 */
  backdrop-filter: blur(5px);
  color: #000;
  padding: 40px 20px;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  opacity: 1; /* 不透明度を1に戻す */
  overflow-y: auto; /* 内容が多ければスクロール可能に */
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-inner {
  max-width: 400px; /* メニューの幅を調整 */
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* モバイルメニュー ロゴ */
.mobile-menu-logo {
  margin-bottom: 30px;
  text-align: center;
}

.mobile-logo-image {
  width: 180px;
  height: auto;
}

/* モバイルメニュー ヘッダー */
.mobile-menu-header {
  margin-bottom: 25px;
  padding-top: 0;
}

.mobile-menu-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #000;
  margin: 0;
  letter-spacing: 3px;
  text-align: center;
}

/* モバイルメニューリスト */
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu-list li {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-list li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-list a {
  color: #333; /* 文字色を黒系に */
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu-list a::after {
  content: '\203A';
  color: #333;
  font-size: 1.5rem;
  font-weight: normal;
  transition: transform 0.3s ease;
  margin-right: 0px;
  margin-left: 10px;
}

.mobile-menu-list a:hover {
  padding-left: 5px;
  color: #25aff9;
}

/* お問い合わせボタン (モバイル) */
.mobile-menu-contact {
  text-align: center;
}

.button-contact-mobile {
  display: block;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.button-contact-mobile::after {
  content: '\203A';
  color: #333;
  font-size: 1.5rem;
  font-weight: normal;
  transition: transform 0.3s ease;
  margin-right: 0px;
  margin-left: 10px;
}

/* 戻るボタン */
.mobile-menu-close-button {
  background: #959494; /* 黒の背景 */
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 50px;
  margin-top: 40px;
  transition: opacity 0.3s;
  width: fit-content;
  align-self: center; /* 中央に配置 */
}

.mobile-menu-close-button:hover {
  opacity: 0.8;
}

/* ========== レスポンシブ対応 ========== */
@media (max-width: 900px) {
  .hamburger-menu {
    display: flex !important; /* 強制的に表示 */
  }
  .header-menu-list,
  .header-contact-buttons {
    display: none !important;
    margin: 0;
  }

  .header-nav {
    background-color: transparent;
    backdrop-filter: none;
    padding: 0;
    box-shadow: none;
    margin: 0;
  }
}

@media (min-width: 901px) {
  .hamburger-menu {
    display: none !important;
  }

  .header-menu-list,
  .header-contact-buttons {
    display: flex !important;
  }
}

.hero {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.first-view {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* message-section-new */
.message-new {
  width: 100vw;
  height: auto;
  background-color: #ffffff;
  padding: 6rem 0;
  overflow: hidden;
  position: relative; /* **重要:** ネットワーク背景をセクション内に固定 */
}

.message-container-new {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2; /* ネットワーク背景(z-index: 1)よりも上に配置 */
}

/* ---------------------------------- */
/* ヘッダー/タイトルエリア */
/* ---------------------------------- */
.message-header {
  position: relative;
  margin-bottom: 2rem;
}

.message-caption {
  display: flex;
  align-items: center;
  position: absolute;
  top: -20px;
  left: 0;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #25aff9;
  border-radius: 50%;
  margin-right: 8px;
}

.caption-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: #000000;
  font-weight: 400;
}

.message-title-en {
  font-family: 'Lato', sans-serif;
  font-size: 3.5rem;
  font-weight: 500;
  color: #25aff9;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-align: left;
}

/* ---------------------------------- */
/* メインコンテンツ（上部） */
/* ---------------------------------- */
.message-content-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.left-content {
  flex-basis: 55%;
  padding-right: 30px;
}

.right-content-top {
  flex-basis: 45%;
  padding-left: 30px;
  margin-top: 7rem;
}

.message-main-text-new {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #000000;
  line-height: 1.5;
  margin-top: 2rem;
  margin-bottom: 2.2rem;
  text-align: left;
  margin-left: 20px;
}

.message-problem-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: left;
  margin-top: 8rem;
}

.message-problem-list li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  color: #616161;
  line-height: 1.8;
  position: relative;
  margin-bottom: 0.5rem;
}

/* 上部の画像とフェード */
.image-top-container {
  position: relative;
  width: 100%;
  margin-left: -20px;
  padding-right: 20px;
}

.message-image-top {
  width: 90%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.image-fade-overlay-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 10%;
  height: 100%;
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 5;
}

/* ---------------------------------- */
/* フッターコンテンツ（下部） */
/* ---------------------------------- */
.message-footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.left-content-bottom {
  flex-basis: 52%;
  padding-right: 30px;
  padding-bottom: 4rem;
  text-align: left;
}

.right-content-bottom {
  flex-basis: 48%;
  padding-left: 30px;
}

.message-sub-text-new {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #000000;
  line-height: 2;
  margin-left: 20px;
  margin-top: 20px;
}

/* 下部の画像とフェード */
.image-bottom-container {
  position: relative;
  width: 100%;
  margin-right: -20px;
  padding-left: 20px;
}

.message-image-bottom {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.image-fade-overlay-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 10%;
  height: 100%;
  background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 5;
}

/* ---------------------------------- */
/* ネットワーク背景デザイン */
/* ---------------------------------- */
.network-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 1; /* メッセージの背後に配置 */
  pointer-events: none;
  background-color: transparent;
  /* JavaScriptでパララックス効果を適用するため、transformの初期設定は不要 */
  transform: translateY(0px); /* JSで制御 */
  transition: transform 0.1s linear;
}

/* 右上に配置 */
.network-top-right {
  top: 0;
  right: 0;
  transform: translate(30%, -30%) rotate(45deg);
}

/* 左下に配置 */
.network-bottom-left {
  bottom: 0;
  left: 0;
  transform: translate(-30%, 30%) rotate(-45deg);
}

/* ---------------------------------- */
/* レスポンシブ対応 (912px以下) */
/* ---------------------------------- */
@media (max-width: 912px) {
  .message-new {
    padding: 4rem 0;
  }

  .message-container-new {
    padding: 0 15px;
  }

  /* ヘッダーエリア */
  .message-header {
    margin-bottom: 1rem;
  }

  .message-caption {
    top: -15px;
  }

  .message-title-en {
    font-size: 2.5rem;
    margin-top: 5px;
  }

  /* メインコンテンツ（スタック） */
  .message-content-wrapper {
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .message-footer-wrapper {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .left-content,
  .right-content-top,
  .left-content-bottom,
  .right-content-bottom {
    flex-basis: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  /* 上部の画像とリストの調整 */
  .right-content-top {
    margin-top: 2rem;
  }

  .message-main-text-new {
    font-size: 1.5rem;
    margin-top: 1rem;
  }

  .message-problem-list {
    margin-top: 0;
  }

  .message-problem-list li {
    font-size: 0.9rem;
  }

  /* 画像の幅とフェードの調整 */
  .image-top-container {
    margin-left: -15px;
    padding-right: 15px;
    margin-bottom: 2rem;
  }

  .image-bottom-container {
    margin-right: -15px;
    padding-left: 15px;
  }

  .image-fade-overlay-left,
  .image-fade-overlay-right {
    width: 20%;
  }

  /* サブメッセージの調整 */
  .left-content-bottom {
    padding-bottom: 0;
    margin-top: 2rem;
  }

  .message-sub-text-new {
    font-size: 0.9rem;
    line-height: 1.8;
  }
}

/* ========================================== */
/* サービスセクション (.service-new-section) */
/* ========================================== */

.service-new-section {
  width: 100%;
  background-color: #ffffff; /* 背景を白に */
  padding: 6rem 0 6rem;
  box-sizing: border-box;
  position: relative;
}

/* 上部の仕切り線 */
.service-top-divider {
  width: 100%;
  height: 2px;
  background-color: #e0e0e0;
  margin: 0 auto;
}

.service-header-wrapper {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

/* ヘッダー/タイトルエリアの配置調整 */
.service-header-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-main-text {
  font-size: 1.6rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 4rem;
  margin-left: 1.2rem;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ---------------------------------- */
/* カードリストと横長カード (2列レイアウト) */
/* ---------------------------------- */
.service-card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* 左寄せ */
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.service-card-item {
  width: calc(50% - 15px); /* 2列表示のための幅計算 */
  box-sizing: border-box;
}

.service-card-link {
  display: block;
  text-decoration: none;
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-content-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
  background-color: #ecf4f9; /* カード全体を水色に統一 */
  min-height: 250px; /* 高さの統一感を出すための最小高さを設定 */
  padding: 20px;
}

/* カードの左側（テキストエリア） */
.service-text-content {
  flex-basis: 60%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-title {
  font-size: 1.6rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #25aff9;
  margin-top: 0;
  margin-bottom: 10px;
}

.service-card-description {
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* カードの右側（画像エリア） */
.service-image-content {
  flex-basis: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 15px;
}

.service-card-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.8;
  display: block;
  transform: scale(1.7);
}

/* ---------------------------------- */
/* サービス詳細を見るボタン (添付画像デザインの再現) */
/* ---------------------------------- */
.service-button-wrapper {
  margin-top: auto;
  border-top: 1px solid #c0c0c0; /* 横一直線の仕切り */
  padding-top: 15px;
  display: flex;
  align-items: center;
}

.service-detail-button {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
  padding: 0;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.service-button-wrapper:hover .service-detail-button {
  transform: translateX(2px);
}

/* 丸い矢印のコンテナ */
.service-arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #25aff9;
  border-radius: 50%;
  margin-left: 15px;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

/* 矢印（CSSで描画） */
.service-arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.service-button-wrapper:hover .service-arrow {
  transform: rotate(45deg) translateX(2px) translateY(-2px);
}

/* ---------------------------------- */
/* レスポンシブ対応 */
/* ---------------------------------- */

/* タブレット (601px - 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  /* サービスセクション */
  .service-card-item {
    width: calc(50% - 15px); /* 2列維持 */
  }

  .service-title-en {
    font-size: 3rem;
  }

  .service-main-text {
    font-size: 1.2rem;
  }
}

/* スマホ (600px以下) */
@media (max-width: 600px) {
  /* サービスセクション */
  .service-new-section {
    padding: 2rem 0 4rem;
  }

  .service-header-wrapper {
    margin: 2rem auto 0;
  }

  .service-title-en {
    font-size: 2.2rem;
  }

  .service-main-text {
    font-size: 1rem;
  }

  .service-card-image {
    transform: scale(1.3);
  }

  .service-card-list {
    gap: 20px;
  }

  .service-card-item {
    width: 100%; /* 1列に変更 */
  }

  .service-content-inner {
    flex-direction: column; /* 縦積みに変更 */
    min-height: auto;
  }

  .service-text-content {
    order: 2; /* テキストを下へ */
    padding: 20px;
  }

  .service-card-description {
    margin-bottom: 15px;
  }

  .service-image-content {
    order: 1; /* 画像を上へ */
    height: 150px;
    padding: 10px;
  }
}

/* clinics-section */
.section {
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  font-size: 30px;
  color: #333;
}

.section-title .section-title-text {
  display: inline-block;
  padding: 0 20px;
  background: #fff;
  /* 背景を白にして直線を重ねない */
  position: relative;
  z-index: 1;
  color: #25aff9;
}

.section-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #25aff9;
  /* 直線の色 */
  z-index: 0;
}

.clinic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.clinic-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.clinic-image {
  width: 100%;
  max-width: 300px;
  height: 100px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.clinic-image:hover {
  transform: scale(1.1);
}

.clinic-item1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.clinic-item2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.clinic-item3 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.clinic-item4 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.clinic-item5 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.partner-companies .clinic-list {
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 70px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .clinic-list {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .clinic-item {
    grid-column: 1 / 2;
    grid-row: auto;
    height: 50px;
  }

  .clinic-image {
    max-width: 200px;
  }

  .partner-companies .clinic-list {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }
}

/* ======================================
   Member Section
   ====================================== */
.member {
  width: 100%;
  background: #ffffff;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

.member-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem 8rem;
  position: relative;
  z-index: 1;
}

.member-text {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #000000;
  font-weight: 300;
  text-align: center;
  margin: 0 0 1.5rem;
  font-family: 'Google Sans Text', 'Roboto', Arial, Helvetica, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.member-subtext {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #333333;
  text-align: center;
  margin: 0 auto 5rem;
  max-width: 800px;
  font-family: 'Google Sans Text', 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.8;
}

.member-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.member-card {
  background: #f8f9fa;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  position: relative;
}

.member-card-inner {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.member-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.member-image-wrapper {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
  position: relative;
  padding: 3px;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.member-title-section {
  flex: 1;
  min-width: 0;
}

.member-name {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  color: #000000;
  font-weight: 600;
  margin: 0 0 0.3rem;
  font-family: 'Google Sans Text', 'Roboto', Arial, Helvetica, sans-serif;
}

.member-name-en {
  font-size: 0.9rem;
  color: #666666;
  margin: 0 0 0.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.member-role {
  font-size: 0.95rem;
  color: #007bff;
  margin: 0;
  font-weight: 500;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(0, 123, 255, 0.2);
}

.member-x-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #333333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.05);
}

.member-x-link:hover {
  color: #1da1f2;
  background: rgba(29, 161, 242, 0.1);
}

.member-role-link-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.member-x-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.member-x-link:hover .member-x-icon {
  opacity: 1;
}

.member-content {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
}

.member-bio {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #333333;
  line-height: 1.9;
  margin: 0 0 2rem;
  font-family: 'Google Sans Text', 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 18rem;
  flex-grow: 0;
}

.inline-link {
  color: #007bff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.inline-link:hover {
  color: #0056b3;
  border-bottom-color: #0056b3;
}

.member-tweet {
  background: transparent;
  border-radius: 12px;
  padding: 0;
  border: none;
  min-height: 200px;
  margin-top: 0;
}

.member-tweet .twitter-tweet {
  margin: 0 auto !important;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .member-container {
    padding: 5rem 2rem 6rem;
  }

  .member-cards {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .member-container {
    padding: 4rem 1.5rem 5rem;
  }

  .member-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .member-image-wrapper {
    width: 100px;
    height: 100px;
  }

  .member-title-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .member-role-link-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .member-card-inner {
    padding: 2rem 1.5rem;
  }

  .member-cards {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .member-container {
    padding: 3rem 1rem 4rem;
  }

  .member-card-inner {
    padding: 1.5rem 1rem;
  }

  .member-image-wrapper {
    width: 80px;
    height: 80px;
  }

  .member-tweet {
    padding: 1rem;
  }
}

/* ========================================== */
/* メディアセクション */
/* ========================================== */
.media-section {
  width: 100%;
  background-color: #f0f4f9;
  padding: 6rem 0 8rem;
  box-sizing: border-box;
}

.media-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

.media-note-accounts {
  max-width: 450px;
  padding: 25px;
  background: linear-gradient(135deg, rgba(37, 175, 249, 0.05) 0%, rgba(28, 140, 200, 0.08) 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 175, 249, 0.2);
}

.media-note-accounts::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(37, 175, 249, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.media-note-accounts::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(37, 175, 249, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.media-content-heading {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgb(37, 175, 249);
  text-align: left;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  text-transform: lowercase;
  letter-spacing: 1px;
  display: inline-block;
  padding-left: 12px;
  border-left: 3px solid rgb(37, 175, 249);
}

.media-note-accounts-list {
  display: flex;
  gap: 50px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.media-note-link-card {
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.media-note-link-card:hover .media-link-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 175, 249, 0.4);
}

.media-note-link-card:hover .media-link-title {
  color: rgb(37, 175, 249);
}

.media-link-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.media-link-icon {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(37, 175, 249, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(37, 175, 249, 0.2);
  background: white;
}

.media-link-title {
  font-size: 0.75rem;
  color: #5a6c7d;
  font-weight: 600;
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.media-note-accounts {
  background-image: linear-gradient(135deg, rgba(37, 175, 249, 0.05) 0%, rgba(28, 140, 200, 0.08) 100%),
    linear-gradient(90deg, rgba(37, 175, 249, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(37, 175, 249, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
}

@media (max-width: 768px) {
  .media-note-accounts {
    max-width: 100%;
    padding: 25px 20px 25px 20px;
  }

  .media-note-accounts {
    padding-top: 0;
  }

  .media-content-heading {
    margin-top: 25px;
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .media-note-accounts-list {
    gap: 20px;
    justify-content: center;
  }

  .media-link-icon {
    width: 72px;
    height: 72px;
  }

  .media-link-title {
    font-size: 0.4rem;
    max-width: 120px;
    white-space: nowrap;
    margin-bottom: 10px;
  }

  .media-note-link-card {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .media-note-accounts {
    padding: 0 16px;
    padding-top: 0;
  }

  .media-content-heading {
    margin-top: 18px;
    font-size: 1.2rem;
  }

  .media-link-icon {
    width: 60px;
    height: 60px;
  }

  .media-note-accounts-list {
    gap: 15px;
  }
}

/* ---------------------------------- */
/* 最新記事カード（latest posts）       */
/* ---------------------------------- */
.media-latest-posts {
  margin-bottom: 3rem;
}

.media-latest-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 18px;
}

.media-post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(37, 175, 249, 0.2);
  box-shadow: 0 4px 14px rgba(37, 175, 249, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.media-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(37, 175, 249, 0.18);
  border-color: rgba(37, 175, 249, 0.45);
}

.media-post-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background: #f0f4f9;
}

.media-post-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-post-card:hover .media-post-thumb {
  transform: scale(1.05);
}

.media-post-thumb--placeholder {
  background: linear-gradient(135deg, rgba(37, 175, 249, 0.15) 0%, rgba(28, 140, 200, 0.25) 100%);
}

.media-post-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(37, 175, 249, 0.95);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  z-index: 1;
}

.media-post-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.media-post-date {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: rgb(37, 175, 249);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.media-post-title {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.55;
  color: #1f2937;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-view-all-wrap {
  text-align: center;
  margin-top: 28px;
}

.media-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: #fff;
  color: rgb(37, 175, 249);
  border: 2px solid rgb(37, 175, 249);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}

.media-view-all-btn:hover {
  background: rgb(37, 175, 249);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 175, 249, 0.3);
}

.media-view-all-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.media-view-all-btn:hover .media-view-all-arrow {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .media-latest-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .media-latest-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .media-post-body {
    padding: 14px 16px 18px;
  }
  .media-post-title {
    font-size: 0.95rem;
  }
  .media-view-all-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}

/* ---------------------------------- */
/* YouTubeチャンネル (横二列レイアウト) */
/* ---------------------------------- */
.media-youtube-channel {
  max-width: 1250px;
  padding: 25px;
  background: linear-gradient(135deg, rgba(37, 175, 249, 0.05) 0%, rgba(28, 140, 200, 0.08) 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 175, 249, 0.2);
  margin-top: 3rem;
  background-image: linear-gradient(135deg, rgba(37, 175, 249, 0.05) 0%, rgba(28, 140, 200, 0.08) 100%),
    linear-gradient(90deg, rgba(37, 175, 249, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(37, 175, 249, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
}

.media-youtube-channel::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(37, 175, 249, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.media-youtube-channel::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(37, 175, 249, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.media-youtube-video-list {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: 30px;
}

.media-youtube-video-item {
  width: calc(50% - 15px);
  box-sizing: border-box;
  flex-shrink: 0;
}

.media-youtube-video-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  background: #000;
}

.media-youtube-video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.media-youtube-video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

/* ========================================== */
/* レスポンシブ対応 */
/* ========================================== */

/* タブレット (601px - 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .media-title-en {
    font-size: 3.5rem;
  }

  /* Noteカードは2列で幅いっぱい */
  .media-note-link-card {
    max-width: calc(50% - 10px);
  }

  /* YouTube横並び保証: 601px以上で横二列を維持 */
  .media-youtube-video-list {
    gap: 20px;
  }

  .media-youtube-video-item {
    width: calc(50% - 10px);
  }
}

/* スマホ (600px以下) */
@media (max-width: 600px) {
  .media-section {
    padding: 3rem 0;
  }

  .media-header-wrapper {
    margin-bottom: 1.5rem;
  }

  .media-title-en {
    font-size: 2.5rem;
  }

  .media-main-text {
    font-size: 1rem;
  }

  .media-link-title {
    font-size: 1rem;
  }

  /* YouTube 縦積み (スマホでは1列) */
  .media-youtube-channel {
    margin-top: 2rem;
    padding-top: 0;
    padding: 0 1rem;
  }

  .media-youtube-video-list {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin: 0 auto;
  }

  .media-youtube-video-item {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .media-video-caption {
    font-size: 0.9rem;
    text-align: center;
  }

  /* 詳細ボタン */
  .media-detail-button-section {
    margin-top: 4rem;
  }

  .media-detail-text {
    font-size: 1.1rem;
    margin-right: 15px;
  }

  .media-detail-arrow-circle {
    width: 45px;
    height: 45px;
  }

  .media-detail-link-wrapper::after {
    width: calc(100% - 60px);
  }
}

/* ========================================== */
/* 書籍紹介セクション (.book-section) */
/* ========================================== */
.book-section {
  width: 100%;
  background-color: #ffffff;
  padding: 8rem 0;
  box-sizing: border-box;
}

.book-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------------------------- */
/* セクションヘッダー */
/* ---------------------------------- */
.book-header-wrapper {
  margin-bottom: 5rem;
  text-align: center;
}

.book-title-en {
  font-family: 'Lato', sans-serif;
  font-size: 3.5rem;
  font-weight: 500;
  color: #25aff9;
  line-height: 1;
  margin-bottom: 1rem;
}

.book-main-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  color: #333;
  font-weight: 400;
}

/* ---------------------------------- */
/* 書籍コンテンツレイアウト */
/* ---------------------------------- */
.book-content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  background-color: #f8f8f8;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

/* 1. 書籍画像エリア */
.book-image-area {
  flex-shrink: 0;
  width: 200px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.book-image-area:hover {
  transform: translateY(-5px);
}

.book-cover-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* 2. 書籍情報エリア */
.book-info-area {
  flex-grow: 1;
  padding: 20px 0;
}

.book-main-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 30px; /* 著者名を削除したため余白を調整 */
}

.book-description-group {
  border-left: 4px solid #25aff9;
  padding-left: 20px;
  margin-bottom: 30px;
}

.book-description {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ========================================== */
/* レスポンシブ対応 */
/* ========================================== */

/* タブレット (601px - 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .book-header-wrapper {
    margin-bottom: 4rem;
  }

  .book-content-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .book-image-area {
    width: 160px;
    margin-bottom: 30px;
  }

  .book-info-area {
    padding: 0;
    text-align: left;
  }

  .book-main-title {
    font-size: 1.8rem;
    text-align: left;
  }

  .book-description-group {
    text-align: left;
  }

  .book-amazon-button {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
}

/* スマホ (600px以下) */
@media (max-width: 600px) {
  .book-section {
    padding: 4rem 0;
  }

  .book-header-wrapper {
    margin-bottom: 3rem;
  }

  .book-title-en {
    font-size: 2.5rem;
  }

  .book-main-text {
    font-size: 1.1rem;
  }

  .book-content-wrapper {
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    gap: 20px;
  }

  .book-image-area {
    width: 180px;
    margin: 0 auto 15px;
  }

  .book-main-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
  }

  .book-description-group {
    padding-left: 15px;
  }

  .book-description {
    font-size: 0.9rem;
  }

  .book-key-points li {
    font-size: 0.85rem;
  }

  .book-amazon-button {
    width: 100%;
    font-size: 1rem;
    padding: 12px 20px;
    box-sizing: border-box;
  }

  .book-button-icon {
    font-size: 1.2rem;
  }
}

/* footer */
.footer {
  width: 100vw;
  background-color: #ffffff;
  /* Mediaセクションと同じ背景 */
  padding: 4rem 2rem 2rem;
  color: #9aa0a6;
  font-family: 'Google Sans Text', 'Roboto', Arial, Helvetica, sans-serif;
}

.footer-container {
  max-width: 1320px;
  /* Mediaセクションと横幅を揃える */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-logo {
  flex: 0 0 auto;
}

.footer-logo-link {
  display: block;
  text-decoration: none;
}

.footer-logo-image {
  width: 150px;
  /* ロゴサイズ（調整OK） */
  height: auto;
  transition: transform 0.3s ease;
}

.footer-logo-link:hover .footer-logo-image {
  transform: scale(1.1);
  /* Mediaセクションと統一の拡大効果 */
}

/* リンク欄 */
.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column {
  flex: 0 0 auto;
}

.footer-column-title {
  font-size: 1.25rem;
  color: white;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  /* 洗練された印象 */
}

.footer-link {
  display: block;
  font-size: 1rem;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
  color: #8ab4f8;
}

/* コピーライト */
.footer-bottom {
  max-width: 1320px;
  margin: 2rem auto 0;
  padding: 0 20px;
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #9aa0a6;
}

/* アニメーション対象の初期状態（既存） */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 表示状態（既存） */
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ対応（既存を置き換え＋拡張） */
@media (max-width: 700px) {
  .footer {
    padding: 3rem 0 1rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .footer-column-title {
    display: none;
  }

  .footer-logo-image {
    width: 160px;
  }

  .footer-bottom {
    margin-top: 1.5rem;
  }
}
