@charset "UTF-8";

/* ===================================================================
   共通スタイル（青基調）
   =================================================================== */

/* --- カラー変数 ---------------------------------------------------- */
:root {
  --navy:        #0b2545;  /* 見出し・フッター */
  --blue-dark:   #10467f;
  --blue:        #1668c4;  /* メインカラー */
  --blue-light:  #4a90d9;
  --blue-pale:   #e8f1fb;  /* 背景の淡い青 */
  --blue-bg:     #f5f9fd;  /* セクション背景 */
  --border:      #d3e2f2;
  --text:        #2b3a4a;
  --text-sub:    #64748b;
  --white:       #ffffff;
}

/* --- リセット ------------------------------------------------------ */
* {
  box-sizing: border-box;
}

body,
h1, h2, h3, p, ul, ol, li, figure, dl, dd {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* --- ベース -------------------------------------------------------- */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3 {
  color: var(--navy);
}

.container {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}

/* --- ヘッダー ------------------------------------------------------ */
.site-header {
  border-bottom: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  padding: 16px 0;
  background: var(--white);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: bold;
}

.site-logo a {
  text-decoration: none;
  color: var(--navy);
}

.site-logo a:hover {
  color: var(--blue);
}

.global-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.global-nav a {
  text-decoration: none;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.global-nav a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue-light);
}

/* 現在地表示 */
.global-nav .is-current {
  font-weight: bold;
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* --- ページ見出し -------------------------------------------------- */
.page-header {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
}

.page-header h1 {
  font-size: 1.75rem;
  color: var(--white);
}

.page-header .lead {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
}

/* --- ヒーロー（ホーム用） ------------------------------------------ */
.hero {
  padding: 96px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--blue-light) 100%);
  color: var(--white);
}

.hero h1 {
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.04em;
}

.hero p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.9);
}

/* ヒーロー内のボタンは白抜き */
.hero .btn {
  margin-top: 24px;
  background: var(--white);
  border-color: var(--white);
  color: var(--blue);
}

.hero .btn:hover {
  background: transparent;
  color: var(--white);
}

/* --- セクション ---------------------------------------------------- */
.section {
  padding: 64px 0;
}

/* 偶数番目のセクションは淡い青背景で区切る */
main section:nth-of-type(even) {
  background: var(--blue-bg);
}

/* 見出しの左に青いアクセントバー */
.section h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 5px solid var(--blue);
  line-height: 1.5;
}

.section h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.section p + p,
.section p + ul {
  margin-top: 16px;
}

/* 本文中のリスト（サービス内容など）に青いドット */
.section > .container > ul li,
.section > .container > ol li,
.table td ul li {
  position: relative;
  padding-left: 20px;
}

.section > .container > ul li::before,
.section > .container > ol li::before,
.table td ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
}

/* お知らせの日付 */
time {
  color: var(--blue);
  font-weight: bold;
}

/* --- カードレイアウト ---------------------------------------------- */
.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 4px;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(22, 104, 196, 0.15);
  transform: translateY(-3px);
}

.card p {
  margin-top: 8px;
}

/* カード内の人物写真 */
.card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* --- 代表プロフィール ---------------------------------------------- */
.profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.profile-photo {
  margin: 0;
}

.profile-photo img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.12);
}

.profile-photo figcaption {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 3px solid var(--blue);
  text-align: center;
}

.profile-role {
  display: block;
  font-size: 0.875rem;
  color: var(--text-sub);
}

.profile-name {
  display: block;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--navy);
}

.profile-message .message-lead {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--blue-dark);
  margin-bottom: 24px;
}

.profile-message p + p {
  margin-top: 16px;
}

.profile-message .signature {
  margin-top: 32px;
  text-align: right;
  font-weight: bold;
  color: var(--navy);
}

/* --- 画像プレースホルダー ------------------------------------------ */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin-bottom: 16px;
  background: var(--blue-pale);
  border: 1px dashed var(--blue-light);
  border-radius: 4px;
  color: var(--blue-dark);
  font-size: 0.875rem;
}

/* --- テーブル（会社概要・沿革用） ---------------------------------- */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.table th,
.table td {
  border: 1px solid var(--border);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.table th {
  width: 200px;
  background: var(--blue-pale);
  color: var(--navy);
  font-weight: bold;
  white-space: nowrap;
}

/* --- ボタン -------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 40px;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 4px;
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

/* --- フッター ------------------------------------------------------ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 0;
  font-size: 0.875rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer .footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer .copyright {
  color: rgba(255, 255, 255, 0.6);
}

/* --- レスポンシブ（暫定） ------------------------------------------ */
@media (max-width: 768px) {
  /* 代表プロフィールは縦積みに切り替え */
  .profile {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profile-photo {
    max-width: 320px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .section {
    padding: 48px 0;
  }

  .table th,
  .table td {
    display: block;
    width: auto;
  }

  .table th {
    border-bottom: none;
  }

  .table td {
    border-top: none;
  }
}
