@charset "utf-8";

/* ==================================================
   在宅介護の必要性（1カラム・縦並び専用）
================================================== */
.background-section {
  background-color: #fff9f9;
  padding: 24px 16px;
  border-radius: 16px;
  margin-bottom: 30px;
}

.background-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

/* グラフ画像の縦並びコンテナ */
.graph-container-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

/* グラフ画像カード（外枠の余白に合わせて100%幅に指定） */
.graph-card {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid #00bcd4; /* ★水色の枠線（細め） */
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.1); /* ★ほのかな水色の影 */
  box-sizing: border-box;
  overflow: hidden;
}

.graph-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================================================
   見出し・本文スタイル（エリアマップ等）
================================================== */
/* 見出し全体の横並びブロック */
.sec-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

/* 黄色ダイヤアイコン */
.diamond-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.diamond-icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストグループ（縦並び） */
.title-text-group {
  display: flex;
  flex-direction: column;
}

/* メイン見出し（ピンク文字） */
.sec-main-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #ff3377;
  line-height: 1.2;
  margin: 0;
}

/* サブ見出し（英語・グレー文字） */
.sec-sub-title {
  font-size: 0.85rem;
  color: #666666;
  font-family: sans-serif;
  margin-top: 4px;
}

/* 本文テキスト */
.sec-lead-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333333;
  margin: 0;
}

/* セクション全体の左右余白設定 */
.sec-area-map {
  padding-top: 32px; /* ★上部に程よい余白を追加 */
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* ==================================================
   企業理念（スローガン・動画・本文）
================================================== */
.sec-philosophy {
  padding: 0 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

/* スローガン部分 */
.slogan-container {
  text-align: center;
  margin: 24px 0 20px;
}

.slogan-badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  color: #333333;
  padding-bottom: 4px;
  border-bottom: 2px solid #00bcd4; /* 下線の水色アクセント */
  margin-bottom: 12px;
}

.slogan-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333333;
  letter-spacing: 0.05em;
  margin: 0;
}

/* レスポンシブ動画枠（16:9比率保持） */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 の縦横比 */
  border-radius: 8px;
  overflow: hidden;
  background-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==================================================
   セクション区切りのダイヤパーツ
================================================== */
.divider-diamond {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 64px 0; /* 上下の余白調整 */
}

.divider-diamond img {
  width: 60px;   /* ダイヤの大きさ（お好みで調整可） */
  height: 60px;
  display: block;
  opacity: 0.5;
}

/* 企業理念カード枠（ひとくくり） */
.philosophy-card {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid #c1f2f8; /* ★水色の枠線 */
  border-radius: 12px;
  padding: 20px 16px;          /* 内側の余白 */
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.1); /* ★水色のほのかな影 */
  box-sizing: border-box;
}

/* スローガンコンテナの余白調整 */
.slogan-container {
  text-align: center;
  margin: 0 0 16px 0;
}

/* 本文テキストの余白調整 */
.philosophy-text-body {
  margin-top: 16px;
}

.philosophy-text-body .sec-lead-text {
  margin: 0;
}

/* 蛍光ピンクのマーカー（文字の下半分に引く） */
.marker-pink {
  background: linear-gradient(transparent 60%, #ffcee0 60%);
  font-weight: bold;
}

/* 蛍光水色のマーカー（サイトのカラーに合わせる場合） */
.marker-cyan {
  background: linear-gradient(transparent 60%, #b3f0f8 60%);
  font-weight: bold;
}

/* 蛍光黄色のマーカー（文字の下半分に引く） */
.marker-yellow {
  background: linear-gradient(transparent 60%, #fff100 60%);
  font-weight: bold;
}

/* ミッション全体 */
.mission-container {
  text-align: center;
  margin-top: 32px;
}

/* ミッションのキャッチコピー */
.mission-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333333;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin: 16px 0 20px;
}

/* ミッションの本文 */
.mission-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #333333;
  text-align: justify; /* 両端揃えで綺麗に見せる */
  margin: 0;
}

/* カード同士を縦に並べるコンテナ */
.philosophy-cards-group {
  display: flex;
  flex-direction: column;
  gap: 24px; /* カード同士の間隔 */
  width: 100%;
}

/* 各カードの共通スタイル */
.philosophy-card {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid #00bcd4;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.1);
  box-sizing: border-box;
}

/* カード内部の余白共通調整 */
.mission-container {
  text-align: center;
  margin: 0;
  padding: 0;
  border: none;
}

/* ミッションのキャッチコピー（フォントサイズ調整版） */
.mission-title {
  font-size: 1.05rem; /* ★文字サイズを少し小さく調整 */
  font-weight: bold;
  color: #333333;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 16px 0 20px;
}

/* ==================================================
   代表メッセージセクション（中央カラム全幅ピンク背景）
================================================== */
.sec-top-message {
  width: 100%;
  background-color: #fff9f9; /* ★中央カラムの左右端まで全幅ピンク */
  padding: 32px 20px;        /* 上下32px、左右20pxで他セクションと文字端を揃える */
  margin-top: 40px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

/* カード要素側の余白や背景をリセット */
.top-message-card {
  width: 100%;
  background-color: transparent; /* 背景は親のsec-top-messageに任せる */
  border: none;
  padding: 0;
  box-shadow: none;
  box-sizing: border-box;
}

/* キャッチコピー部分（L字の線装飾） */
.message-catch-box {
  position: relative;
  padding: 24px 16px;
  margin-bottom: 24px;
}

/* 左上のL字線 */
.message-catch-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 35%;
  border-top: 1.5px solid #333333;
  border-left: 1.5px solid #333333;
}

/* 右下の逆L字線 */
.message-catch-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35%;
  height: 35%;
  border-bottom: 1.5px solid #333333;
  border-right: 1.5px solid #333333;
}

.message-catch-text {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333333;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

/* 本文エリア */
.top-message-content {
  color: #333333;
}

.message-paragraph {
  font-size: 0.85rem;
  line-height: 1.85;
  margin-bottom: 16px;
  text-align: justify;
}

.message-sub-title {
  font-size: 0.95rem;
  font-weight: bold;
  color: #ff3377;
  margin: 24px 0 10px;
  padding-left: 8px;
  border-left: 3px solid #ff3377;
}

.message-point-list {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 12px 16px 12px 32px;
  margin: 12px 0 16px;
  border: 1px solid #ffe0e9;
}

.message-point-list li {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 6px;
}

.message-point-list li:last-child {
  margin-bottom: 0;
}

/* 最下部：代表写真（長方形）と署名エリア */
.message-bottom-profile {
  margin-top: 32px;
  text-align: center;
}

/* 写真表示枠（バストアップ用に縦横比と高さを指定） */
.message-photo-rect {
  width: 180px;
  aspect-ratio: 1 / 1; /* 横長〜スクエアに近い縦横比に変更 */
  margin: 0 auto 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 画像のトリミング位置（上部基準） */
.message-photo-rect img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 枠に合わせてトリミング */
  object-position: top;  /* ★画像の上側（お顔〜胸元）を優先して表示 */
  display: block;
}

/* 署名テキスト */
.message-signature-text .company-name {
  font-size: 0.85rem;
  font-weight: bold;
  color: #333333;
  margin: 0 0 4px;
}

.message-signature-text .officer-title {
  font-size: 0.9rem;
  font-weight: bold;
  color: #333333;
  margin: 0;
}

/* ==================================================
   数字で見るグッドライフケア
================================================== */
.sec-numbers {
  padding: 0 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.numbers-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

/* カード共通スタイル */
.number-card {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid #00bcd4;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.1);
  box-sizing: border-box;
}

.number-badge {
  display: inline-block;
  background-color: #ff3377;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* 数字強調エリア */
.number-val-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.number-sub-label {
  font-size: 0.85rem;
  font-weight: bold;
  color: #ff3377;
  margin-right: 8px;
}

.number-val {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ff3377;
  line-height: 1;
  font-family: Arial, sans-serif;
}

.number-unit {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333333;
  margin-left: 4px;
}

.number-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #555555;
  margin: 8px 0 0 0;
}

/* ② 年代別ミニグラフ */
.age-bar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}

.age-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: bold;
}

.age-label {
  width: 32px;
  color: #333;
}

.bar-outer {
  flex-grow: 1;
  background-color: #f0f0f0;
  border-radius: 10px;
  height: 16px;
  overflow: hidden;
}

.bar-inner {
  background-color: #00bcd4;
  height: 100%;
  color: #fff;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  border-radius: 10px;
}

.bar-inner.highlight {
  background-color: #ff3377;
}

/* ③ 男女比 */
.gender-ratio-wrap {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
}

.gender-item {
  text-align: center;
}

.gender-label {
  display: block;
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 2px;
}

.gender-item.male .gender-label,
.gender-item.male .gender-val {
  color: #00bcd4;
}

.gender-item.female .gender-label,
.gender-item.female .gender-val {
  color: #ff3377;
}

.gender-val {
  font-size: 1.6rem;
  font-weight: 900;
}

.gender-unit {
  font-size: 0.8rem;
  font-weight: bold;
}

.gender-colon {
  font-size: 1.4rem;
  font-weight: bold;
  color: #888;
}

/* ④ 育休ボックス */
.育休-wrap {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.ikukyu-box {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
}

.male-box {
  background-color: #e0f7fa;
  color: #00bcd4;
}

.female-box {
  background-color: #ffe6ee;
  color: #ff3377;
}

.ikukyu-label {
  display: block;
  font-size: 0.75rem;
  font-weight: bold;
}

.ikukyu-val {
  font-size: 1.6rem;
  font-weight: 900;
}

.ikukyu-unit {
  font-size: 0.8rem;
  font-weight: bold;
}

/* ==================================================
   会社概要セクション
================================================== */
.sec-overview {
  padding: 0 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

/* 上部 組織ツリーカード */
.company-structure-card {
  background-color: #fff9f9;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  margin-bottom: 32px;
}

.struct-parent strong {
  display: block;
  font-size: 0.9rem;
  color: #333333;
}

.struct-parent span {
  display: block;
  font-size: 0.65rem;
  color: #777777;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.struct-line {
  width: 2px;
  height: 16px;
  background-color: #bbbbbb;
  margin: 8px auto;
}

.struct-child {
  background-color: #006097;
  color: #ffffff;
  border-radius: 6px;
  padding: 10px;
  font-size: 0.9rem;
}

/* 会社概要ブロック */
.overview-block {
  margin-bottom: 36px;
}

.overview-company-title {
  font-size: 1.15rem;
  font-weight: bold;
  color: #006097;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #006097;
}

/* 概要テーブル */
.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.overview-table th,
.overview-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
  line-height: 1.6;
}

.overview-table th {
  width: 28%;
  background-color: #f5f5f5;
  color: #333333;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
}

.overview-table td {
  color: #333333;
}

/* Google Mapボタン */
.btn-gmap {
  display: inline-block;
  background-color: #b3f0f8;
  color: #006097;
  font-size: 0.72rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 12px;
  text-decoration: none;
  margin-top: 6px;
  transition: background-color 0.2s ease;
}

.btn-gmap:hover {
  background-color: #80deea;
}

/* 外観写真枠（縦横比と高さを統一） */
.office-photo-single {
  width: 100%;
  aspect-ratio: 16 / 10; /* ★縦横比を固定（16:9 や 4:3 などでお好みの高さに調整可能） */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.office-photo-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* ★枠に合わせてトリミングし、歪みを防止 */
  object-position: center; /* 画像の中央を中心に表示 */
  display: block;
}

.dash {
  display: inline-block;
  transform: scaleX(2);      /* 横幅を200%（2倍）に伸ばす */
  transform-origin: left;    /* 左端を基準に伸ばす */
  margin-right: 0.5em;       /* 伸ばした分、右側に余白を調整 */
}