/* ===== Hero (image-only, responsive) ===== */
.teams-hero{ background:#0e1e2f; margin-bottom: 0; padding-bottom: 0; }
.teams-hero .hero-picture{ 
  display:block; 
  max-width: 1920px; 
  width: 100%; 
  margin-inline:auto;
  aspect-ratio: 1920 / 700;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* PC・iPad版: heading_OurTeams.png */
  background-image: url('./public/heading_OurTeams.png');
  /* スマホでは最小高さを確保 */
  min-height: 500px;
}

/* PC・iPad版でヒーローのテキスト全体を非表示（背景画像にテキストが含まれているため） */
@media (min-width: 769px) {
  .teams-hero .hero-content {
    display: none;
  }
}

/* 画像とテキストを同じグリッドに重ねる */
.teams-hero{ position: relative; }
.teams-hero .hero-wrap{
  display: grid;
  position: relative;
}
.teams-hero .hero-picture{ grid-area: 1 / 1; }
.teams-hero .hero-content{ 
  grid-area: 1 / 1; 
  align-self: stretch;
  position: relative;
  z-index: 1;
}

/* 1920x1080キャンバス基準のレスポンシブ計算 */
.teams-hero .hero-inner{
  --canvas-w: min(1920px, 100vw);
  --scale: calc(var(--canvas-w) / 1920);
  /* 各要素の位置とサイズ（1920x1080基準） */
  --kicker-x: 460;
  --kicker-y: 181;
  --kicker-w: 72;
  --kicker-h: 23;
  --title-x: 460;
  --title-y: 217;
  --title-w: 360;
  --title-h: 288;
  --copy-x: 870;
  --copy-y: 238;
  --copy-w: 520;
  --copy-h: 310;
  
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--canvas-w);
  height: calc(var(--scale) * 700);
  color: #0e1e2f;
}

/* [ Teams ] ラベル */
.hero-kicker{ 
  position: absolute;
  left: calc(var(--scale) * var(--kicker-x));
  top: calc(var(--scale) * var(--kicker-y));
  width: calc(var(--scale) * var(--kicker-w));
  height: calc(var(--scale) * var(--kicker-h));
  font-size: calc(var(--scale) * 14px);
  margin: 0;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
}

/* タイトル */
.hero-title{ 
  position: absolute;
  left: calc(var(--scale) * var(--title-x));
  top: calc(var(--scale) * var(--title-y));
  width: calc(var(--scale) * var(--title-w));
  height: calc(var(--scale) * var(--title-h));
  font-family:'Roboto Condensed','Noto Sans JP',sans-serif; 
  font-weight:400; 
  line-height:1.05; 
  margin:0; 
  font-size: calc(var(--scale) * 80px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* 右側のコピーテキスト（PC・iPad版で右側配置） */
.hero-right{ 
  position: absolute;
  left: calc(var(--scale) * var(--copy-x));
  top: calc(var(--scale) * var(--copy-y)); /* 元の位置（Y=238）に戻す */
  width: calc(var(--scale) * var(--copy-w));
  height: calc(var(--scale) * var(--copy-h));
  font-size: calc(var(--scale) * 13px);
  line-height: 1.9;
  overflow: hidden;
}

.hero-copy p{ 
  margin: 0 0 calc(var(--scale) * 12px); 
  line-height: 1.9;
}

/* PC・iPad版（1025px以上）で右側配置を適用 */
@media (min-width: 1025px){
  .teams-hero .hero-inner{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--canvas-w);
    height: calc(var(--scale) * 700);
    color: #0e1e2f;
    display: block;
    
    /* PC版では要素の配置を調整 - Figmaの360x288に合わせる */
    --title-w: 360;
    --title-h: 288;
    --copy-x: 870;
    --copy-w: 520;
  }
  
  .hero-title{
    position: absolute;
    left: calc(var(--scale) * var(--title-x));
    top: calc(var(--scale) * var(--title-y));
    width: calc(var(--scale) * var(--title-w));
    height: calc(var(--scale) * var(--title-h));
    font-size: calc(var(--scale) * 80px);
    line-height: 1.05;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .hero-right{
    position: absolute;
    left: calc(var(--scale) * var(--copy-x));
    top: calc(var(--scale) * var(--copy-y));
    width: calc(var(--scale) * var(--copy-w));
    height: calc(var(--scale) * var(--copy-h));
    font-size: calc(var(--scale) * 13px);
    line-height: 1.9;
    overflow: hidden;
  }
}

/* 大型PC画面（1600px以上）では更に余裕を持った配置 */
@media (min-width: 1600px){
  .teams-hero .hero-inner{
    --copy-x: 920;
    --copy-w: 500;
  }
}

/* レスポンシブ対応：タブレット以下のサイズで縦配置に変更 */
@media (max-width: 1024px){
  /* タブレットサイズでも画像の最小高さを確保 */
  .teams-hero .hero-img {
    min-height: clamp(400px, 60vh, 600px);
  }
  
  .teams-hero .hero-inner{
    /* 小さな画面では絶対配置をやめて通常のフローに */
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    min-height: clamp(400px, 60vh, 600px); /* 画像と同じ最小高さ */
    padding: clamp(24px, 4vw, 40px) clamp(16px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 0; /* gapを0にしてmarginで制御 */
  }
  
  .hero-kicker,
  .hero-title {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    transform: none;
  }
  
  /* hero-rightは別途個別に指定 */
  .hero-right {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    transform: none;
  }
  
  .hero-kicker {
    font-size: clamp(12px, 1.5vw, 14px);
    order: 1;
    margin-bottom: clamp(12px, 2vw, 16px);
  }
  
  .hero-title {
    font-size: clamp(32px, 8vw, 64px);
    order: 2;
    max-width: none;
    margin-bottom: clamp(20px, 4vw, 32px);
  }
  
  .hero-right {
    /* タブレット版でも静的配置に変更 */
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    font-size: clamp(13px, 1.8vw, 15px);
    order: 3;
    max-width: 600px;
  }
  
  .hero-copy p {
    margin: 0 0 clamp(16px, 3vw, 20px);
  }
  
  .hero-copy p:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px){
  /* スマホ版では元の画像を使用し、高さを調整 */
  .teams-hero .hero-picture {
    background-image: url('./public/teams-hero-1920x700.png');
    min-height: clamp(600px, 100vh, 800px);
    aspect-ratio: auto;
  }
  
  .teams-hero .hero-inner{
    padding: clamp(20px, 5vw, 32px) clamp(20px, 6vw, 32px);
    gap: 0; /* gapを0にして、marginで細かく調整 */
    height: clamp(600px, 100vh, 800px); /* 画像と同じ高さに */
    /* スマホでのテキスト配置をより安全に */
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .hero-kicker {
    font-size: 12px;
    margin-bottom: clamp(12px, 3vw, 16px);
  }
  
  .hero-title {
    font-size: clamp(42px, 15vw, 72px); /* スマホ版で英語タイトル文字サイズを1.5倍に拡大 */
    line-height: 1.1;
    margin-bottom: clamp(128px, 32vw, 192px); /* スマホ版で日本語説明部分を4倍下に移動 */
  }
  
  .hero-right {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 0;
    max-width: calc(100% - clamp(32px, 8vw, 48px));
    padding-right: clamp(16px, 4vw, 24px);
  }
  
  .hero-copy p {
    margin: 0 0 clamp(16px, 4vw, 20px);
    /* テキストの右端に追加の余白 */
    padding-right: clamp(8px, 2vw, 12px);
  }
  
  .hero-copy p:last-child {
    margin-bottom: 0;
  }
}

/* ===== Core Members Hero Image (PC・iPad版のみ) ===== */
.core-members-hero {
  background: #0e1e2f; /* 背景色を統一 */
  padding: clamp(40px, 5vw, 80px) 0 0 0; /* マージンをパディングに変更 */
  display: none; /* デフォルトで非表示（スマホ版） */
}

.core-members-hero-image-pc {
  display: none; /* デフォルトで非表示 */
}

@media (min-width: 769px) {
  .core-members-hero {
    display: block !important; /* PC版では表示 */
  }
  
  .core-members-hero-image-pc {
    display: block !important;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: clamp(20px, 3vw, 40px) 0; /* パディングを調整 */
    /* 1920×1080キャンバス基準のレスポンシブ計算 */
    --canvas-w: min(1920px, 100vw);
    --scale: calc(var(--canvas-w) / 1920);
  }
  
  .core-members-hero-img {
    width: 50%; /* 「Connected Health Business」と左揃えになるようさらに縮小 */
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
    max-width: 800px; /* 最大幅をさらに縮小 */
  }
}

/* スマホ版では非表示 */
@media (max-width: 768px) {
  .core-members-hero {
    display: none !important;
  }
}

/* ===== Core Members (text-first, responsive) ===== */
.core-members{
  background:#0e1e2f; color:#fff; padding: clamp(48px,6vw,88px) 0;
  /* 1920x1080 キャンバス基準のオフセット計算 */
  --canvas-w: min(1920px, 100vw);
  --x-460: calc((100vw - var(--canvas-w)) / 2 + var(--canvas-w) * (460/1920));
  --scale: calc(var(--canvas-w) / 1920);
  /* 初期値（後で上書き可能） */
  --cm-title-y1080: 905;         /* Core Members 見出しのY */
  --cm-subl-y1080: 991;          /* サブラベルのY（任意） */
  --cm-lead-x1080: 800;          /* 右側リードのX（大幅に左に寄せる） */
  --cm-lead-y1080: 912;          /* 右側リードのY */
  --cm-lead-w1080: 450;          /* 右側リードの幅（適切なサイズに調整） */
  --hero-h: calc(var(--scale) * 700);
  /* ヒーローの直下から見出しのYに合わせるための上余白 */
  padding-top: calc( max(0px, var(--scale) * var(--cm-title-y1080) - var(--hero-h)) );
}

/* PC・iPad版用のCore Members画像（769px以上で表示） */
.core-members-image-pc {
  display: none; /* デフォルトで非表示（スマホ版） */
}

/* スマホ版（デフォルト）では画像を非表示、テキストを表示 */
.core-members .cm-container {
  display: block; /* デフォルトで表示（スマホ版） */
}

@media (min-width: 769px) {
  .core-members {
    padding: clamp(60px, 6vw, 100px) 0; /* デザイン見本に合わせてパディング調整 */
  }
  
  .core-members-image-pc {
    display: block;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative; /* リンクエリアの基準とする */
    /* 1920×1080キャンバス基準のレスポンシブ計算 */
    --canvas-w: min(1920px, 100vw);
    --scale: calc(var(--canvas-w) / 1920);
  }
  
  .core-members-img {
    width: 50%; /* 他のセクションと統一 */
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto; /* 中央配置 */
    max-width: 800px; /* 他のセクションと統一 */
  }
  
  /* PC・iPad版ではテキストコンテンツを非表示 */
  .core-members .cm-container {
    display: none !important;
  }
}

/* スマホ版（768px以下）ではテキストコンテンツを表示し、画像を非表示 */
@media (max-width: 768px) {
  .core-members-image-pc {
    display: none !important;
  }
  
  .core-members .cm-container {
    display: block !important;
  }
}

/* PC版専用のcm-container設定 */
@media (min-width: 769px) {
  .cm-container{ width:100%; margin:0; padding-left: var(--x-460); padding-right: clamp(16px,4vw,40px); box-sizing: border-box; }
}

.cm-heading{ display:block; margin-bottom: clamp(24px,4vw,40px); position: relative; }
.cm-title{ font-family:'Roboto Condensed','Noto Sans JP',sans-serif; font-weight:400; font-size: clamp(32px,6vw,64px); line-height:1.1; margin:0; }
.cm-sub{ margin: 8px 0 0; opacity:.8; }
.cm-lead{ margin: 12px 0 0; color:#d9dde2; line-height:1.9; max-width: min(60ch, calc(var(--scale) * var(--cm-lead-w1080))); }
/* 右側リードのX/Yをキャンバスから相対計算（左基準はX=460） */
.cm-heading .cm-lead{
  margin-left: calc(var(--scale) * (var(--cm-lead-x1080) - 460));
  /* 見出し上端を基準にしたY補正（見出しの実高さ分を軽減するため微小補正） */
  margin-top: calc(var(--scale) * (var(--cm-lead-y1080) - var(--cm-title-y1080)));
}

.cm-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: stretch; padding-right: 0; }
.cm-card{ position:relative; padding: clamp(14px,2vw,18px) clamp(16px,2.5vw,20px) clamp(16px,2.5vw,22px); border-right: 1px solid rgba(255, 255, 255, 0.2); }
.cm-card:last-child{ border-right: none; }
.cm-badge{ position:absolute; top:-10px; left: clamp(12px,2vw,16px); background:#0e1e2f; color:#ffff74; border:1px solid #ffff74; border-radius:9999px; padding:4px 12px; font-size:13px; letter-spacing:.02em; }
.cm-name{ margin: 16px 0 6px; font-weight:700; font-size: clamp(18px,2.5vw,24px); line-height: 1.3; }
.cm-role{ display:inline-block; font-size: 12px; font-weight: 500; opacity:.9; white-space: nowrap; }
.cm-body{ margin: clamp(18px, 3vw, 24px) 0 0; line-height:1.5; letter-spacing:.02em; font-size: clamp(11px,1.2vw,13px); font-family: 'Inter', 'Noto Sans JP', sans-serif; font-weight: 400; overflow-wrap: break-word; word-break: normal; }

/* PC画面での横並びレイアウト（1025px以上） */
@media (min-width: 1025px){
  .core-members {
    padding: clamp(60px, 8vw, 100px) 0;
    --x-460: calc((100vw - var(--canvas-w)) / 2 + var(--canvas-w) * (360/1920));
  }
  
  .cm-container {
    max-width: 1920px;
    margin: 0 auto;
  }
  
  .cm-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: clamp(40px, 6vw, 60px);
  }
  
  .cm-title-section {
    flex: 0 0 auto;
  }
  
  .cm-title {
    font-size: clamp(48px, 8vw, 72px);
    margin-bottom: clamp(8px, 1vw, 12px);
  }
  
  .cm-sub {
    font-size: clamp(14px, 1.5vw, 16px);
    margin: 0;
  }
  
  .cm-lead {
    flex: 0 0 clamp(320px, 28vw, 420px);
    margin: 0;
    margin-left: clamp(10px, 2vw, 30px);
    font-size: clamp(12px, 1.3vw, 14px);
    line-height: 1.7;
    max-width: 420px; /* はみ出し防止 */
  }
  
  .cm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* gapを0にして区切り線で分離 */
    margin-top: clamp(40px, 6vw, 60px);
  }
  
  .cm-card {
    padding: clamp(18px, 2.5vw, 24px);
    background: none; /* カード背景を廃止 */
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* 右側に白い区切り線 */
    position: relative;
  }
  
  .cm-card:last-child {
    border-right: none; /* 最後のカードは右線なし */
  }
  
  .cm-badge {
    position: absolute;
    top: clamp(-8px, -1vw, -6px);
    left: clamp(16px, 2.5vw, 20px);
    padding: clamp(4px, 0.5vw, 6px) clamp(10px, 1.5vw, 14px);
    font-size: clamp(11px, 1.2vw, 13px);
    background: #0e1e2f;
    color: #ffff74;
    border: 1px solid #ffff74;
    border-radius: 9999px;
  }
  
  .cm-name {
    margin: clamp(16px, 2.5vw, 20px) 0 clamp(6px, 0.8vw, 8px);
    font-size: clamp(16px, 2.2vw, 20px); /* 少し小さく */
    line-height: 1.3;
    font-weight: 700;
  }
  
  .cm-role {
    font-size: clamp(10px, 1.1vw, 12px); /* さらに小さく */
    font-weight: 500;
    opacity: 0.9;
    display: inline-block;
    white-space: nowrap; /* 折り返しを防ぐ */
  }
  
  .cm-body {
    font-size: clamp(11px, 1.2vw, 13px); /* Figmaに合わせて13pxに */
    line-height: 1.6; /* 読みやすさのため行間を調整 */
    margin-top: clamp(18px, 2.2vw, 24px); /* 余白を1.5倍に */
    letter-spacing: 0.02em;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    /* テキストをより幅広く表示 */
    width: 100%;
    overflow-wrap: break-word;
    word-break: normal; /* 自然な改行に変更 */
  }
}

/* iPad版（769px〜1024px）- 縦並びレイアウト */
@media (max-width: 1024px) and (min-width: 769px){
  .core-members {
    padding: clamp(50px, 7vw, 80px) 0;
  }
  
  .cm-container {
    max-width: 1024px;
    margin: 0 auto;
    padding-left: clamp(20px, 3vw, 32px); /* 左パディングを少し減らして左寄せ */
    padding-right: clamp(24px, 4vw, 40px);
  }
  
  /* iPad版では縦並びレイアウト */
  .cm-heading {
    display: block;
    margin-bottom: clamp(32px, 5vw, 48px);
  }
  
  .cm-title {
    font-size: clamp(40px, 6vw, 56px);
    margin-bottom: clamp(8px, 1.5vw, 12px);
  }
  
  .cm-sub {
    font-size: clamp(13px, 2vw, 16px);
    margin-bottom: clamp(16px, 3vw, 24px);
  }
  
  .cm-lead {
    margin: 0;
    max-width: 100%;
    font-size: clamp(13px, 2vw, 15px);
    line-height: 1.7;
  }
  
  .cm-grid{ 
    grid-template-columns: repeat(2, 1fr); 
    margin-top: clamp(32px, 5vw, 48px);
  }
  
  .cm-role {
    font-size: clamp(10px, 1.2vw, 12px);
    white-space: nowrap; /* 折り返しを防ぐ */
  }
  
  .cm-body {
    margin-top: clamp(18px, 3vw, 24px); /* 余白を1.5倍に */
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.6;
    word-break: normal; /* 自然な改行 */
  }
}

@media (max-width: 768px){
  /* スマホ版でのCore Membersセクション調整 */
  .core-members {
    padding-top: clamp(32px, 8vw, 60px);
  }
  
  .cm-container {
    padding-left: clamp(16px, 5vw, 24px);
    padding-right: clamp(16px, 5vw, 24px);
  }
  
  .cm-heading {
    display: block;
    margin-bottom: clamp(20px, 5vw, 32px);
  }
  
  .cm-mobile-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: clamp(20px, 5vw, 32px) 0;
  }
  
  .cm-title {
    font-size: clamp(24px, 8vw, 40px);
    margin-bottom: clamp(8px, 2vw, 12px);
  }
  
  .cm-sub {
    font-size: clamp(12px, 3vw, 14px);
    margin-bottom: clamp(12px, 3vw, 16px);
  }
  
  .cm-lead {
    margin-left: 0;
    margin-top: 0;
    max-width: none;
    font-size: clamp(13px, 3.5vw, 15px);
    line-height: 1.7;
    margin-bottom: 1.5em;
    text-align: left;
  }
  
  .cm-heading .cm-lead {
    margin-left: 0 !important;
    margin-top: 0 !important;
    text-align: left !important;
  }
  
  .cm-grid { 
    grid-template-columns: 1fr; 
    gap: clamp(20px, 5vw, 32px);
    margin-top: clamp(24px, 6vw, 40px);
  }
  
  .cm-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: clamp(20px, 5vw, 32px);
  }
  
  .cm-card:last-child {
    border-bottom: none;
  }
  
  .cm-badge { 
    top: -12px; 
    font-size: 11px;
    padding: 3px 10px;
  }
  
  .cm-name { 
    margin-top: 16px; 
    font-size: clamp(18px, 5vw, 24px);
  }
  
  .cm-role {
    font-size: 11px;
    white-space: nowrap;
  }
  
  .cm-body {
    font-size: clamp(12px, 3.2vw, 14px);
    line-height: 1.6;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    word-break: normal;
    margin-top: clamp(21px, 6vw, 27px);
  }
}

/* 小さなスマホ画面での追加調整 */
@media (max-width: 600px){
  .hero-copy p {
    padding-right: clamp(12px, 3vw, 16px);
    font-size: 13px;
    line-height: 1.8;
  }
  
  .cm-badge{ 
    top: -10px; 
  }
}

/* ===== Section divider line ===== */
.section-divider {
  background: #0e1e2f;
  padding: clamp(24px, 4vw, 40px) 0;
  border: none;
}

.section-divider::after {
  content: '';
  display: block;
  width: calc(100% - clamp(32px, 8vw, 80px));
  height: 1px;
  background: transparent;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
  margin: 0 auto;
}

/* PC・iPad版では区切り線のパディングを調整 */
@media (min-width: 769px) {
  .section-divider {
    padding: clamp(15px, 2vw, 25px) 0; /* より狭いスペーシング */
  }
  
  .section-divider::after {
    width: calc(100% - clamp(80px, 10vw, 160px)); /* より短い線 */
    border-top: 1px dashed rgba(255, 255, 255, 0.2); /* より薄い線 */
  }
}

/* ===== PC版専用表示制御 ===== */
/* PC版で非表示 */
@media (min-width: 769px) {
  .hide-on-pc {
    display: none !important;
  }
}

/* PC版でのみ表示 */
.show-on-pc {
  display: none; /* デフォルトで非表示（スマホ版） */
}

@media (min-width: 769px) {
  .show-on-pc {
    display: block !important; /* PC版で表示 */
  }
}

/* ===== 実線divider ===== */
.solid-divider {
  background: #0e1e2f;
  padding: clamp(15px, 2vw, 25px) 0;
  border: none;
}

.solid-divider::after {
  content: '';
  display: block;
  width: calc(100% - clamp(80px, 10vw, 160px));
  height: 1px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.3); /* 実線 */
  margin: 0 auto;
}

/* ===== Co-operation section ===== */
.co-operation {
  background: #0e1e2f;
  color: #fff;
  padding: clamp(48px, 6vw, 88px) 0;
  --canvas-w: min(1920px, 100vw);
  --scale: calc(var(--canvas-w) / 1920);
}

/* PC・iPad版用のCo-operation画像（769px以上で表示） */
.co-operation-image-pc {
  display: none; /* デフォルトで非表示（スマホ版） */
}

/* スマホ版（デフォルト）では画像を非表示、テキストを表示 */
.co-operation .co-container {
  display: block; /* デフォルトで表示（スマホ版） */
}

@media (min-width: 769px) {
  .co-operation {
    padding: clamp(60px, 6vw, 100px) 0; /* デザイン見本に合わせてパディング調整 */
  }
  
  .co-operation-image-pc {
    display: block;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    /* 1920×1080キャンバス基準のレスポンシブ計算 */
    --canvas-w: min(1920px, 100vw);
    --scale: calc(var(--canvas-w) / 1920);
  }
  
  .co-operation-img {
    width: 70%; /* サイズを縮小 */
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto; /* 中央配置 */
    max-width: 1344px; /* 最大幅を70%に対応 */
  }
  
  /* PC・iPad版ではテキストコンテンツを非表示 */
  .co-operation .co-container {
    display: none !important;
  }
}

/* スマホ版（768px以下）ではテキストコンテンツを表示し、画像を非表示 */
@media (max-width: 768px) {
  .co-operation-image-pc {
    display: none !important;
  }
  
  .co-operation .co-container {
    display: block !important;
  }
}

.co-container {
  width: 100%;
  max-width: 1200px;
  margin: 0;
  padding-left: calc((100vw - var(--canvas-w)) / 2 + var(--canvas-w) * (360/1920));
  padding-right: clamp(16px, 4vw, 40px);
  box-sizing: border-box;
}

.co-heading {
  margin-bottom: clamp(32px, 5vw, 60px);
}

.co-title {
  font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.1;
  margin: 0;
}

.co-sub {
  margin: 8px 0 0;
  opacity: 0.8;
  font-size: clamp(14px, 1.5vw, 16px);
}

.co-item {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 60px);
}

.co-main-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.co-number {
  font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(100px, 9.3vw, 178px);
  line-height: 1.18;
  color: #ffff74;
  margin: 0;
  letter-spacing: -0.02em;
}

.co-category-section {
  margin-top: clamp(24px, 4vw, 40px);
}

/* Partner companies grid */
.co-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px); /* gapを少し大きくしてバランスを改善 */
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 1000px; /* 最大幅を設定してデザインに合わせる */
}

.co-partner-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8vw, 14px);
  transition: all 0.3s ease;
  min-height: clamp(280px, 35vw, 320px);
}

.co-partner-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.co-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(70px, 9vw, 90px);
  margin-bottom: clamp(12px, 2vw, 16px);
}

.partner-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-logo-placeholder {
  width: clamp(40px, 6vw, 60px);
  height: clamp(40px, 6vw, 60px);
  background: #fff;
  color: #0e1e2f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 24px);
  border-radius: 4px;
}

.partner-logo-text {
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 32px);
  letter-spacing: 0.1em;
}

.partner-logo-star {
  color: #fff;
  font-size: clamp(32px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.co-partner-company {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 500;
  margin: 0 0 clamp(6px, 1vw, 8px) 0;
  color: #fff;
  line-height: 1.4;
}

.co-partner-badge {
  background: transparent;
  border: 1px solid #ffff74;
  color: #ffff74;
  padding: clamp(4px, 0.8vw, 6px) clamp(8px, 1.5vw, 12px);
  border-radius: 20px;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  align-self: flex-start;
}

.co-partner-service {
  font-size: clamp(18px, 2.3vw, 22px);
  font-weight: 600;
  margin: 0 0 clamp(8px, 1.2vw, 10px) 0;
  color: #fff;
  line-height: 1.3;
}

.co-partner-desc {
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.6;
  margin: 0 0 clamp(12px, 2vw, 16px) 0;
  color: rgba(255, 255, 255, 0.8);
  flex-grow: 1;
  min-height: clamp(54px, 6vw, 72px);
}

.co-partner-more {
  color: #ffff74;
  text-decoration: none;
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: clamp(8px, 1.2vw, 12px) clamp(16px, 2vw, 20px);
  border: 1px solid #ffff74;
  border-radius: 20px;
  transition: all 0.3s ease;
  align-self: flex-end;
  margin-left: auto;
}

.co-partner-more:hover {
  background-color: #ffff74;
  color: #0e1e2f;
  transform: translateY(-2px);
}

.more-arrow {
  transition: transform 0.2s ease;
}

.co-partner-more:hover .more-arrow {
  transform: translate(3px, -3px);
}

/* Media section specific styles */
.co-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 900px; /* 600px → 900pxに拡大してカードの横幅を確保 */
  margin-top: clamp(20px, 3vw, 32px);
}

/* Horizontal card layout for media */
.co-partner-card-horizontal {
  display: grid !important;
  grid-template-columns: 350px 1fr; /* 350pxに拡大してロゴ部分をより広く、デザイン見本に合わせる */
  gap: clamp(60px, 8vw, 100px); /* gapをさらに大きくして右側説明部分をより右に */
  align-items: stretch; /* stretchにしてコンテンツセクション内で中央配置を制御 */
  padding: clamp(20px, 3vw, 24px) clamp(12px, 2vw, 16px) !important; /* 上下paddingを拡大して均等に */
  min-height: clamp(120px, 15vw, 160px) !important; /* 最小高さを設定してjustify-contentを確実に効かせる */
}

.co-partner-logo-section {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: clamp(200px, 15vw, 300px); /* ロゴ部分をさらに大きく */
  height: 100% !important; /* 親の高さに合わせる */
  min-height: 100% !important; /* 最小高さも100%に設定 */
}

.co-partner-content-section {
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(6px, 1vw, 8px); /* gapを少し拡大して読みやすさを向上 */
  align-items: flex-start !important;
  justify-content: center !important; /* 上下中央配置で余白を均等に */
  height: 100% !important; /* 親の高さに合わせてjustify-contentを確実に効かせる */
  min-height: 100% !important; /* 最小高さも100%に設定 */
  margin-left: clamp(40px, 5vw, 60px); /* 左マージンを大きくして右側により寄せる */
}

.co-partner-card-horizontal .co-partner-company {
  margin: 0;
}

.co-partner-card-horizontal .co-partner-badge {
  margin: 0; /* マージンを完全に削除 */
  font-size: clamp(11px, 1.2vw, 13px); /* バッジのフォントサイズを少し小さく */
}

/* ヘルスビジネスメディアカード専用の調整 */
.co-partner-card-horizontal .co-partner-service {
  font-size: clamp(16px, 2vw, 20px); /* サービス名のフォントサイズを調整 */
  font-weight: 600;
  margin: 0; /* マージンを完全に削除 */
}

.co-partner-card-horizontal .co-partner-desc {
  margin: 0;
}

.co-partner-card-horizontal .co-partner-more {
  margin-top: clamp(2px, 0.5vw, 4px); /* マージンを小さくしてコンパクトに */
}

.co-partner-card-horizontal .co-partner-company {
  font-size: clamp(12px, 1.4vw, 14px); /* 会社名をさらに小さく */
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 0; /* 下マージンを削除 */
}

.co-subtitle {
  font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.3;
  margin: 0 0 clamp(8px, 1.5vw, 12px) 0;
  color: #ffff74;
}

.co-main-text {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}

.co-category {
  font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.4;
  margin: 0;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .co-container {
    padding-left: clamp(16px, 5vw, 24px); /* スマホ版では左右中央配置のため左paddingを統一 */
    padding-right: clamp(16px, 5vw, 24px); /* 右paddingも同じ値に統一 */
  }
  
  .co-item {
    gap: clamp(20px, 4vw, 32px);
  }
  
  .co-number {
    font-size: clamp(80px, 15vw, 120px);
    margin-bottom: clamp(8px, 1.5vw, 12px);
  }
  
  .co-category-section {
    margin-top: clamp(16px, 3vw, 24px);
  }
  
  .co-partners-grid {
    grid-template-columns: 1fr;
    gap: clamp(12px, 2vw, 16px);
  }
  
  /* モバイル版でもMoreボタンを右寄せに */
  .co-partner-more {
    align-self: flex-end !important; /* モバイルでも右寄せを維持（重要度を上げる） */
    margin-left: auto !important; /* 追加で右寄せを強制 */
  }
  
  /* モバイル版での説明文最小高さ調整 */
  .co-partner-desc {
    min-height: clamp(48px, 8vw, 64px); /* モバイル版では少し高めに設定 */
  }
  
  .co-media-grid {
    max-width: 100%;
  }
  
  .co-partner-card-horizontal {
    grid-template-columns: 1fr;
    gap: clamp(12px, 2vw, 16px); /* gapも小さく */
    text-align: center;
    padding: clamp(16px, 3vw, 20px) clamp(12px, 2.5vw, 18px) !important; /* モバイルでも上下余白を均等に */
  }
  
  .co-partner-content-section {
    margin-left: 0 !important; /* モバイルでは左マージンを削除 */
    align-items: flex-start !important; /* 左寄せに変更 */
    text-align: left !important; /* テキストも左寄せに変更 */
    justify-content: center !important; /* モバイルでも上下中央配置 */
    height: 100% !important; /* モバイルでも親の高さに合わせる */
  }
  
  .co-partner-logo-section {
    justify-self: center;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .co-partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2.5vw, 20px); /* タブレット版でのgap調整 */
    max-width: 800px; /* タブレット版での最大幅 */
  }
  
  .co-partner-card {
    min-height: clamp(260px, 32vw, 300px); /* タブレット版での高さ調整 */
  }
}

/* PC版でのCo-operationセクション調整 */
@media (min-width: 1025px) {
  .co-container {
    max-width: 1920px;
    margin: 0 auto;
  }
}

/* ===== Co-operation section bottom divider ===== */
.co-operation-divider {
  background: #0e1e2f;
  padding: clamp(24px, 4vw, 40px) 0;
}

.co-operation-divider::after {
  content: '';
  display: block;
  width: calc(100% - clamp(32px, 8vw, 80px));
  height: 1px;
  background: transparent;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
  margin: 0 auto;
}

/* ===== Section 02: Sales Promotion ===== */
.sales-promotion {
  background: #0e1e2f;
  color: #fff;
  padding: clamp(48px, 6vw, 88px) 0;
  /* 1920x1080 キャンバス基準のレスポンシブ計算 */
  --canvas-w: min(1920px, 100vw);
  --scale: calc(var(--canvas-w) / 1920);
  /* キャンバスの中央揃えオフセット */
  --x-offset: calc((100vw - var(--canvas-w)) / 2);
}

/* PC・iPad版（769px以上）では販売促進セクションを非表示 */
@media (min-width: 769px) {
  .sales-promotion {
    display: none;
  }
}

/* スマホ版（768px以下）では販売促進セクションを表示 */
@media (max-width: 768px) {
  .sales-promotion {
    display: block;
  }
}

.sp-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 32px);
  box-sizing: border-box;
}

.sp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  min-height: 60vh;
}

/* Left side: Image */
.sp-image-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-main-image {
  width: 100%;
  max-width: clamp(260px, 26vw, 500px); /* 02セクションを大幅に小さく調整 */
  height: auto;
  aspect-ratio: 865/800;
  object-fit: cover;
  border-radius: 0;
}

/* Right side: Content */
.sp-content-section {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 32px);
  padding-left: clamp(16px, 3vw, 48px);
}

.sp-number {
  font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(100px, 9.3vw, 178px);
  line-height: 1.18;
  color: #ffff74;
  margin: 0;
  letter-spacing: -0.02em;
}

.sp-tagline {
  font-size: clamp(14px, 1.8vw, 18px);
  color: #ffff74;
  margin: 0;
  letter-spacing: 0.02em;
  margin-top: -10px;
}

.sp-title {
  font-size: clamp(20px, 2.3vw, 44px);
  font-weight: 700;
  line-height: 1;
  margin: 0;
  color: #fff;
}

.sp-description {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.8vw, 8px);
  margin: clamp(16px, 2vw, 24px) 0;
}

.sp-desc-text {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
  margin: 0;
  color: #d9dde2;
}

.sp-feature-boxes {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 40px);
  margin-top: clamp(8px, 1vw, 16px);
}

.sp-feature-box {
  position: relative;
  padding: clamp(16px, 2vw, 20px) 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-feature-box:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-feature-box:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-feature-text {
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1;
  margin: 0;
  color: #fff;
  letter-spacing: 0.01em;
  font-weight: 700;
}

/* PC版専用（1025px以上）での02セクション画像サイズ強制設定 */
@media (min-width: 1025px) {
  .sp-main-image {
    max-width: clamp(260px, 26vw, 500px) !important; /* 02セクションを確実に小さく */
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .sp-grid {
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 60px);
    text-align: center;
  }
  
  .sp-content-section {
    padding-left: 0;
    align-items: center;
    text-align: center;
  }
  
  .sp-feature-boxes {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .sp-number {
    font-size: clamp(100px, 20vw, 140px);
  }
  
  .sp-main-image {
    max-width: clamp(300px, 70vw, 400px);
  }
  
  .sp-feature-boxes {
    gap: clamp(10px, 2vw, 16px);
  }
  
  /* 02セクションを01と同じ形で左寄せに */
  .sp-content-section {
    text-align: left;
    align-items: flex-start;
    order: 1;
  }
  
  .sp-grid {
    text-align: left;
    display: flex;
    flex-direction: column;
  }
  
  /* 画像をコンテンツの下に移動し、横幅いっぱいに */
  .sp-image-section {
    order: 2; /* 画像を下に */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: clamp(20px, 4vw, 32px);
  }
  
  .sp-main-image {
    width: 100%;
    max-width: none;
    height: auto;
  }
}

/* ===== Section 03: Healthcare Leaders ===== */
.healthcare-leaders {
  background: #0e1e2f;
  color: #fff;
  padding: clamp(48px, 6vw, 88px) 0;
  /* 1920x1080 キャンバス基準のレスポンシブ計算 */
  --canvas-w: min(1920px, 100vw);
  --scale: calc(var(--canvas-w) / 1920);
  /* キャンバスの中央揃えオフセット */
  --x-offset: calc((100vw - var(--canvas-w)) / 2);
}

/* PC・iPad版用のHealthcare Leaders画像（769px以上で表示） */
.healthcare-leaders-image-pc {
  display: none; /* デフォルトで非表示（スマホ版） */
}

/* スマホ版（デフォルト）では画像を非表示、テキストを表示 */
.healthcare-leaders .hl-container {
  display: block; /* デフォルトで表示（スマホ版） */
}

@media (min-width: 769px) {
  .healthcare-leaders {
    padding: clamp(60px, 6vw, 100px) 0; /* デザイン見本に合わせてパディング調整 */
  }
  
  .healthcare-leaders-image-pc {
    display: block;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    /* 1920×1080キャンバス基準のレスポンシブ計算 */
    --canvas-w: min(1920px, 100vw);
    --scale: calc(var(--canvas-w) / 1920);
  }
  
  .healthcare-leaders-img {
    width: 70%; /* サイズを縮小して統一 */
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto; /* 中央配置 */
    max-width: 1344px; /* 最大幅を70%に対応 */
  }
  
  /* PC・iPad版ではテキストコンテンツを非表示 */
  .healthcare-leaders .hl-container {
    display: none !important;
  }
}

/* スマホ版（768px以下）ではテキストコンテンツを表示し、画像を非表示 */
@media (max-width: 768px) {
  .healthcare-leaders-image-pc {
    display: none !important;
  }
  
  .healthcare-leaders .hl-container {
    display: block !important;
  }
}

.hl-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 32px);
  box-sizing: border-box;
}

.hl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  min-height: 70vh;
}

/* Left side: Content */
.hl-content-section {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 32px);
  padding-right: clamp(16px, 3vw, 48px);
}

.hl-number {
  font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(100px, 9.3vw, 178px);
  line-height: 1.18;
  color: #ffff74;
  margin: 0;
  letter-spacing: -0.02em;
}

.hl-tagline {
  font-size: clamp(14px, 1.8vw, 18px);
  color: #ffff74;
  margin: 0;
  letter-spacing: 0.02em;
  margin-top: -10px;
}

.hl-title {
  font-size: clamp(24px, 2.4vw, 45px);
  font-weight: 700;
  line-height: 1;
  margin: 0;
  color: #fff;
}

/* Connection Categories */
.hl-categories {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 20px);
  margin: clamp(20px, 3vw, 32px) 0;
}

.hl-category-row {
  display: flex;
  gap: clamp(12px, 1.5vw, 20px);
}

.hl-category-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  padding: clamp(10px, 1.5vw, 16px) clamp(16px, 2.5vw, 24px);
  font-size: clamp(13px, 1.4vw, 15px);
  font-family: 'Noto Sans JP', sans-serif;
  flex: 1;
  min-width: 0;
  text-align: center;
}

/* Services List */
.hl-services {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(24px, 3vw, 40px);
}

.hl-service-item {
  position: relative;
  padding: clamp(16px, 2vw, 24px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hl-service-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hl-service-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hl-service-text {
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.6;
  margin: 0;
  color: #fff;
  font-weight: 500;
}

/* Right side: Image */
.hl-image-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hl-main-image {
  width: 100%;
  max-width: clamp(240px, 22vw, 450px); /* 03セクションを大幅に小さく調整 */
  height: auto;
  aspect-ratio: 865 / 800;
  object-fit: cover;
  border-radius: 0;
}

/* PC/iPad版での03セクション画像位置調整 */
@media (min-width: 1025px) {
  .hl-grid {
    align-items: flex-start;
  }
  
  .hl-image-section {
    align-items: flex-start;
    padding-top: 0;
  }
  
  .hl-main-image {
    max-width: clamp(240px, 22vw, 450px) !important; /* 03セクションを確実に小さく */
  }
}

/* ===== Footer Section ===== */
.footer-container-wrapper {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 clamp(16px, 2vw, 20px);
  box-sizing: border-box;
  max-width: 100%;
  text-align: left;
  font-size: 68px;
  color: var(--color-gray-200);
  font-family: var(--font-roboto-condensed);
  background: #0e1e2f;
}

.footer-container {
  width: 100%;
  max-width: 1020px;
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 8vw, 114px);
}

.footer-top {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: #ffff74;
  padding: clamp(20px, 4vw, 36px) 0;
  border-bottom: 2px solid var(--color-gray-200);
  text-decoration: none;
  color: var(--color-gray-200);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
}

.contact-top-parent {
  width: min(1120px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 56px);
}

.viewing-the-era-of-100-year-li-parent {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.first-conect {
  color: var(--color-gray-200);
  font-family: var(--font-roboto-condensed);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  position: relative;
  z-index: 4;
}

.div53 {
  color: var(--color-gray-200);
  font-size: clamp(14px, 1.6vw, 16px);
  position: relative;
  z-index: 4;
}

.contact-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16.5px 0 0;
}

.icon15 {
  width: clamp(45px, 4.5vw, 65px);
  height: clamp(45px, 4.5vw, 65px);
  position: relative;
  z-index: 4;
}

/* スマホ版でのFirst Connect最適化 */
@media (max-width: 768px) {
  .contact-top-parent {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: clamp(12px, 3vw, 20px);
  }
  
  .viewing-the-era-of-100-year-li-parent {
    flex: 1;
    gap: clamp(4px, 1vw, 6px);
  }
  
  .first-conect {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.0;
  }
  
  .div53 {
    font-size: clamp(13px, 3.2vw, 15px);
  }
  
  .contact-button {
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  
  .icon15 {
    width: clamp(35px, 8vw, 45px);
    height: clamp(35px, 8vw, 45px);
  }
  
  .footer-top {
    padding: clamp(16px, 3vw, 24px) 0;
  }
}

.footer-middle {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 4vw, 60px);
  max-width: 100%;
  font-size: 15px;
  color: #fff;
}

.footer-main-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: clamp(40px, 5vw, 80px);
}

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

.footer-columns {
  display: flex;
  gap: clamp(40px, 5vw, 80px);
  flex: 1;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 12px);
}

.footer-column-title {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.footer-column-content {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: clamp(20px, 2vw, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-left {
  display: flex;
  gap: clamp(20px, 2vw, 30px);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom-right .copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== スマホ版フッター対応 (768px以下) ===== */
@media (max-width: 768px) {
  .footer-main-content {
    flex-direction: column;
    gap: clamp(24px, 4vw, 32px);
    align-items: flex-start;
  }
  
  .footer-logo {
    align-self: flex-start;
  }
  
  .footer-columns {
    flex-direction: column;
    gap: clamp(20px, 3vw, 24px);
    width: 100%;
  }
  
  .footer-column {
    gap: clamp(6px, 1vw, 8px);
  }
  
  .footer-column-title {
    font-size: 15px;
  }
  
  .footer-column-content {
    font-size: 13px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(12px, 2vw, 16px);
    padding-top: clamp(16px, 2vw, 20px);
  }
  
  .footer-bottom-left {
    gap: clamp(16px, 2vw, 20px);
  }
  
  .footer-link {
    font-size: 13px;
  }
  
  .footer-bottom-right .copyright {
    font-size: 13px;
  }
}

.contact-column {
  width: 100%;
  max-width: 918px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 16px;
  box-sizing: border-box;
}

.contact-row {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  max-width: 100%;
  font-size: 16px;
}

.contact-about {
  width: 100%;
  max-width: 717px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;
}

.company-logo {
  display: flex;
  align-items: flex-start;
}

.logo-wc-icon2 {
  width: auto;
  height: clamp(24px, 3vw, 32px);
  position: relative;
}

.about-contact,
.about-contact2 {
  display: flex;
  align-items: flex-start;
}

.office-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.team-title {
  display: flex;
  align-items: flex-start;
}

.address-detail {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  box-sizing: border-box;
  margin-top: 8px;
}

.address-location {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.and-more {
  position: relative;
  line-height: 1.6;
}

.icon16 {
  width: 100%;
  max-width: 918px;
  height: auto;
  position: relative;
  object-fit: cover;
}

.footer-bottom {
  width: 100%;
  max-width: 918px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.privacy-policy-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.privacy-policy-link:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.wealthy-connect-wrapper {
  display: flex;
  align-items: flex-start;
}

/* Responsive adjustments for footer */
@media (max-width: 1024px) {
  .contact-about {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .office-info {
    display: block;
    width: 100%;
  }
  
  .address-detail {
    padding: 0;
    margin-top: 12px;
  }
  
  .contact-top-parent {
    flex-direction: column;
    gap: clamp(16px, 4vw, 24px);
    text-align: center;
  }
}

@media (max-width: 440px) {
  .footer-container {
    width: 100%;
  }
  
  .footer-middle {
    align-items: stretch;
  }
  
  .contact-column {
    width: 100%;
    align-items: flex-start;
  }
  
  .office-info {
    display: block;
    width: 100%;
    order: 2;
    margin-top: 8px;
  }
  
  .contact-row {
    order: 1;
    width: 100%;
  }
  
  .address-detail {
    order: 3;
    margin-top: 8px;
    width: 100%;
    justify-content: flex-start;
    padding: 0;
  }
  
  .contact-about {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 10px;
    width: 100%;
    justify-items: start;
    align-items: start;
  }
  
  .company-logo {
    order: -1;
    padding: 0;
  }
  
  .logo-wc-icon2 {
    height: 28px;
    width: auto;
  }
  
  .contact-about > .about-contact,
  .contact-about > .about-contact2,
  .contact-about > .and-more {
    display: none;
  }
  
  .contact-about .and-more {
    font-weight: 600;
    color: #fff;
  }
  
  .office-info .and-more {
    color: #fff;
    line-height: 1.9;
  }
  
  .office-info > .and-more:first-of-type {
    font-size: 18px;
    font-weight: 500;
  }
  
  .team-title {
    display: none;
  }
  
  .office-info > .and-more:nth-of-type(2) {
    margin-top: 4px;
    margin-bottom: 2px;
    line-height: 1.7;
  }
  
  .address-location {
    text-align: left;
  }
  
  .address-detail .address-location .and-more {
    color: #fff;
    line-height: 1.7;
    text-align: left;
    margin: 2px 0;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hl-grid {
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 60px);
  }
  
  .hl-content-section {
    padding-right: 0;
    order: 2;
  }
  
  .hl-image-section {
    order: 1;
  }
  
  .hl-categories {
    width: 100%;
    max-width: 500px;
  }
  
  .hl-services {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .healthcare-leaders .hl-container {
    padding-left: clamp(16px, 2vw, 24px);
    padding-right: clamp(16px, 2vw, 24px);
  }
  
  .hl-number {
    font-size: clamp(100px, 20vw, 140px);
  }
  
  .hl-main-image {
    max-width: clamp(300px, 80vw, 400px);
  }
  
  .fc-content {
    flex-direction: column;
    gap: clamp(16px, 3vw, 24px);
  }
  
  /* 03セクションをスマホ版で左寄せに統一 */
  .hl-content-section {
    text-align: left;
    align-items: flex-start;
    order: 1;
    padding-right: 0;
    padding-left: 0;
  }
  
  .hl-grid {
    text-align: left;
    display: flex;
    flex-direction: column;
  }
  
  .hl-categories {
    margin: clamp(20px, 3vw, 32px) 0 0 0;
    width: 100%;
    align-items: flex-start;
  }
  
  .hl-category-row {
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column !important;
    gap: clamp(12px, 1.5vw, 20px) !important;
  }
  
  .hl-category-item {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: clamp(12px, 1.5vw, 20px) !important;
    flex: none !important;
    width: auto !important;
  }
  
  /* 画像をコンテンツの下に移動し、横幅いっぱいに */
  .hl-image-section {
    order: 2; /* 画像を下に */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: clamp(20px, 4vw, 32px);
  }
  
  .hl-main-image {
    width: 100%;
    max-width: none;
    height: auto;
  }
}



/* PC/iPad版のCore Members画像上のリンクエリア */
.core-members-links {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* デフォルトで非表示（スマホ版） */
}

@media (min-width: 769px) {
  .core-members-links {
    display: block;
  }
  
  .core-members-link {
    position: absolute;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }
  
  .core-members-link:hover {
    opacity: 0.7;
  }
  
  /* MIKATA のMoreボタンエリア（左のカード） */
  .mikata-link {
    /* 画像内でのMIKATAのMoreボタンの位置とサイズ（パーセンテージで指定） */
    left: 34%;
    top: 73%;
    width: 6%;
    height: 4%;
  }
  
  /* パビリオン のMoreボタンエリア（中央のカード） */
  .pavilion-link {
    /* 画像内でのパビリオンのMoreボタンの位置とサイズ（パーセンテージで指定） */
    left: 50%;
    top: 72%;
    width: 6%;
    height: 4%;
  }
  
  /* K&C のMoreボタンエリア（右のカード） */
  .kandc-link {
    /* 画像内でのK&CのMoreボタンの位置とサイズ（パーセンテージで指定） */
    left: 68%;
    top: 74%;
    width: 6%;
    height: 4%;
  }
}

/* PC・iPad版では白線を非表示 */
@media (min-width: 769px) {
  .cm-mobile-divider {
    display: none;
  }
}

/* シンプルなページ余白ユーティリティ（必要に応じて拡張可） */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }



