/* ========== Base ========== */
:root{
  --brand:#0047AB;
  --text:#111;
  --muted:#666;
  --line:#e7e9ee;
  --bg:#ffffff;

  --container:1200px;
  --header-h:64px;

  /* ヒーローのキャッチ位置（固定指定） */
  --catch-bottom: clamp(2px, 4vh, 12px);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color:var(--text); background:var(--bg); line-height:1.7;
}

/* 共通コンテナ */
.container{max-width:var(--container); margin:0 auto; padding:0 20px}

/* ========== Header ========== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:#fff; border-bottom:1px solid var(--line);
  height:var(--header-h);
}
.header-inner{
  display:grid;
  grid-template-columns: 1fr auto 1fr; /* 左ロゴ／中央ナビ／右言語 */
  align-items:center;
  height: var(--header-h);
}
.logo img{height:36px; display:block}

.gnav{
  justify-self:center;
  display:flex;
  gap:28px;
  margin-left:0; /* 既存の自動余白指定を無効化 */
}
.gnav a{
  text-decoration:none;
  color: var(--brand);          /* #0047AB */
  font-weight:700;
  font-size:15px;
}
.gnav a:hover,
.gnav a:focus{ color:#003b8e; }

.langs{
  justify-self:end;
  display:flex;
  gap:10px;
}
.langs a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:48px;          /* 3つとも同じ幅 */
  height:30px;         /* 高さも統一 */
  padding:0;           /* テキスト幅の影響を無くす */
  border:1.5px solid var(--brand);
  color:var(--brand);
  border-radius:999px;
  font-weight:700;
  font-size:12px;
  line-height:1;
  text-decoration:none;
}
.langs a[aria-current="true"]{
  background:var(--brand);
  color:#fff;
}

.langs a:hover{ background:#e9f1ff; }


/* （任意）狭い画面で少しだけ小さく */
@media (max-width: 480px){
  .langs a{ width:44px; height:28px; }
}

/* ========== Hero ========== */
.hero{position:relative; min-height:64vh; overflow:hidden}
.hero-bg{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; filter:saturate(1.02)
}
.hero-catch{
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:var(--catch-bottom);
  width:min(92vw, 980px);
  margin:0; text-align:center; color:#fff; font-weight:800;
  font-size:clamp(28px, 5.5vw, 56px); line-height:1.15; letter-spacing:.02em;
  text-shadow:0 2px 16px rgba(0,0,0,.6); white-space:pre-line;
}

/* ========== Sections ========== */
.section{padding:72px 0}
.section-alt{background:#f7f9fe}
.section-title{
  font-size:clamp(22px, 2.5vw, 30px);
  border-left:6px solid var(--brand);
  padding-left:12px; margin:0 0 26px; font-weight:800; color:#0047AB
}
/* セクションのリード文（青・大きめ・太字） */
.sublead,
.business-lead,
.members-lead{
  color:#0047AB;
  margin:0 0 26px;
  line-height:1.5;
  font-weight:800;                    /* 太字 */
}

/* 役割に応じて少しだけ階調を変える（必要なければ1本化可） */
.sublead{
  font-size:clamp(18px, 2.0vw, 24px); /* 中くらい */
  text-align:center;
}
.business-lead,
.members-lead{
  font-size:clamp(20px, 2.4vw, 28px); /* さらに大きく */
  text-align:center;                  /* 既存のセンター揃えを維持 */
}

/* 事業概要の2カラム */
.business-columns{
  display:grid; grid-template-columns:1fr auto 1fr; gap:24px; align-items:start
}
/* ===== 事業概要：円レイアウト（PCのみ） ===== */
@media (min-width: 1024px){
  #business .business-col{
    display: flex;
    flex-direction: column; 
    align-items: center;  
    justify-content: center;
    padding: clamp(20px, 2.4vw, 36px);
  }
  /* 円のベース：既存カードを円に置き換え */
  #business .business-col{
    background: transparent;      /* 既存の白背景を無効化 */
    border: 0;
    padding: 0;
    width: min(44vw, 560px);
    aspect-ratio: 1 / 1;          /* 正円にする */
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: none;
    color: #fff;                  /* デフォルトを白字に */
  }
  /* 円の色（左＝緑 / 右＝紫） */
  #business .business-col::before{
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    z-index: -1;
    background: var(--circle-color);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
  }
  #business .business-col:first-of-type{ --circle-color: #006441; } /* 深い緑 */
  #business .business-col:last-of-type { --circle-color: #7030A0; } /* 濃い紫 */

  /* タイトル・本文のサイズ/色（円用に上書き） */
  #business .col-title{
    color:#fff;
    font-size: clamp(20px, 3.6vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 .6em;
  }
  #business .business-col p{
    color:#fff;
    font-size: clamp(14px, 1.6vw, 18px);
    margin: 0;
  }

  /* テキストが円からはみ出さないよう幅を抑える */
  #business .business-col .col-title,
  #business .business-col p{
    max-width: 84%;
  }

  /* 中央の「×」を大きく */
  #business .col-x{
    align-self: center;
    font-size: clamp(48px, 5vw, 80px);
    color:#222;
    opacity: .9;
    font-weight: 800;
  }
}

/* 3×4グリッド（中央配置） */
.grid12{
  display:grid;
  gap:18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tile{
  background:#DAE3F3;           /* ご指定色 */
  border-radius:10px;
  padding:24px 16px;
  text-align:center;
  min-height:110px;
  display:flex; flex-direction:column; justify-content:center;
  border:none; box-shadow:none;
}
.tile h3{margin:0 0 6px;
  font-size:clamp(18px, 2.0vw, 24px);
  font-weight:800; color:#000;}
.tile p{margin:0; color:#111;
  font-size:clamp(13px, 1.4vw, 16px);}

@media (max-width:900px){ .grid12{grid-template-columns:repeat(2, minmax(0,1fr))} }
@media (max-width:560px){ .grid12{grid-template-columns:1fr} }

/* 会社概要 表 */
.profile-table{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
}
.profile-table .row{
  display:grid;
  grid-template-columns:200px 1fr; /* ラベル列を少し広げる */
  border-top:1px solid var(--line);
}
.profile-table .row:first-child{ border-top:none; }

.profile-table .th{
  background:#fbfcff;
  padding:16px 18px;             /* 余白増 */
  font-weight:800;
  color:#0e2a55;
  font-size:clamp(16px, 2.4vw, 24px);
  line-height:1.8;
}
.profile-table .td{
  padding:16px 18px;             /* 余白増 */
  font-size:clamp(16px, 2.0vw, 20px);
  line-height:1.9;               /* 行間拡大で可読性UP */
}
.profile-table .mark{ font-weight:800; color:#0047AB; }

/* =======================
   メンバー（Members）
   ======================= */

.members-lead{
  text-align:center;
}

/* 行間の外側余白（セクション内での感覚調整） */
.members-table{
  display:grid;
  gap: var(--sp-8, 32px);
}

.member-row{
  display:grid;
  grid-template-columns:
    clamp(160px, 12.5vw, 200px)   /* ①氏名・役職（最小160px→最大200px） */
    clamp(220px, 25vw, 280px)     /* ②写真 */
    1fr;                          /* ③経歴 */
  align-items:start;
  column-gap: var(--sp-5, 20px);
  padding: var(--sp-6, 24px) 0;
  border-top: 1px solid var(--line, #E6EDF5);
}

.member-row:first-child{ border-top:none; }

/* ①氏名・役職（左カラム） */
.col-head .name-ja{
  white-space: nowrap;          /* ← 改行禁止 */
  overflow: hidden;
  text-overflow: ellipsis;      /* ← 入り切らない時は… */
  font-size: clamp(20px, 2.0vw, 28px);  /* 少し控えめにして余裕を作る */
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}
.col-head .role-ja{
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
  margin-top: 6px;
  color: #111;
}

/* ②写真（中央カラム） */
.col-photo{
  justify-self: start;             /* グリッド内で左寄せ */
  display: flex;
  align-items: flex-start;
}
.member-photo{
  display: block;
  width: clamp(220px, 24vw, 280px);/* 画像幅の上限・下限 */
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 6px;              /* 角丸不要なら削除可 */
}

/* ③経歴（右カラム） */
.col-career .career{
  font-size: var(--fz-14, 14px);
  line-height: 1.9;
  color: #111;
  white-space: normal;
  margin: 0;
}

/* ===== レスポンシブ調整 ===== */

/* タブレット寄り：1列目をさらに細く、写真幅も少しコンパクトに */
@media (max-width: 1100px){
  .member-row{
    grid-template-columns:
      clamp(110px, 14vw, 150px)
      clamp(200px, 40vw, 260px)
      1fr;
    column-gap: var(--sp-4, 16px);
  }
}

/* スマホ：縦積み（氏名→写真→経歴） */
@media (max-width: 900px){
  .member-row{
    grid-template-columns: 1fr;
    row-gap: var(--sp-4, 16px);
  }
  .col-head{  order: 1; }
  .col-photo{ order: 2; }
  .col-career{order: 3; }

  .member-photo{
    width: min(260px, 100%);
  }
}

/* コンタクト */
.contact-form{
  display:grid;
  gap:14px;
}
.contact-form label{
  display:block;
  font-weight:700;
  color:#0e2a55;
}
.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  margin-top:6px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  font:inherit;
  background:#fff;
}
.contact-form textarea{
  min-height:140px;
  resize:vertical;
}

/* 2カラム → SPで1カラム */
.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
@media (max-width:700px){
  .grid2{ grid-template-columns:1fr; }
}

/* --- 同意エリア（3行構成） --- */
.privacy-consent{
  margin-top:6px;
  display:grid;
  gap:8px;
  color:#0e2a55;
}
.privacy-title{
  font-weight:700;
}
.privacy-title .req{
  color:#d00;          /* （必須）を赤表示 */
  margin-left:6px;
}
.privacy-check{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
}
.privacy-check input{
  width:18px;
  height:18px;
  margin:0;
}
.privacy-note{
  font-size:0.95rem;
}
.privacy-note a{
  color:var(--brand);
  text-decoration:underline;  /* 下線つきリンク */
}
.privacy-note a:hover{ opacity:.85; }

/* 送信ボタン（既定） */
.btn{
  display:inline-block;
  padding:12px 24px;
  border-radius:999px;
  border:0;
  background:var(--brand);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.btn:hover{ filter:brightness(1.02); }

/* Footer */
.footer{border-top:1px solid var(--line); padding:22px 0; color:#556; font-size:13px; text-align:center}

