/* ==========================================================================
   私たちについて ― 本家 /about の CSS（2026-10-04 書き出し）を写して組み直した
   画面幅の区切りは本家と同じ 1140 / 840 / 402px
   ========================================================================== */

/* ============ TOP MESSAGE ============
   本家＝高さ888pxの箱に「見出しの列＋帯（高さ160）」「本文の箱（高さ697）」を上下中央で積む。
   見出しの列は下へ -80px かぶせて帯の上に重ねる（見出しが必ず上＝紺の箱に隠れない）。
   紺は左から91%、残り9%は帯の部分が緑・本文の部分が白。 */
/* 本家＝パンくずの下80pxから高さ888pxの箱が始まる（共通のパンくずは高さ56pxなので85px足す）。
   余白は padding で持つ＝黒地のまま（ページの地は白なので margin だと白が見える） */
.msg{position:relative;z-index:0;box-sizing:border-box;height:973px;padding-top:85px;display:flex;flex-direction:column;
     justify-content:center;align-items:center;background:#000;}
.msg .mhead{width:100%;flex:none;display:flex;flex-direction:column;align-items:center;}
.msg .hrow{position:relative;z-index:1;display:flex;align-items:center;flex:none;
           width:1366px;max-width:calc(100% + 8px);margin:0 0 -80px -8px;}
.msg .deco{flex:none;width:180px;height:180px;margin-right:24px;}
.msg h2{margin:0;font-family:var(--os);font-weight:500;font-size:120px;line-height:1;color:#fff;}
.msg .band{position:relative;z-index:0;width:100%;height:160px;flex:none;
           background:linear-gradient(90deg,var(--navy) 0 91%,var(--green-deep) 91% 100%);}
.msg .body{position:relative;width:100%;height:697px;flex:none;display:flex;flex-direction:column;
           align-items:center;background:linear-gradient(90deg,var(--navy) 0 91%,#fff 91% 100%);}
.msg .inner{display:flex;flex-direction:row;justify-content:center;align-items:flex-start;flex:none;
            height:683px;margin:0 180px;width:calc(100% - 360px);max-width:calc(100% - 360px);}
.msg .shot{flex:0 0 auto;width:405px;max-width:calc(100% - 50px);height:540px;margin-right:50px;
           background:url(president.webp) center/cover no-repeat;}
.msg .txt{flex:0 0 auto;width:48%;display:flex;flex-direction:column;align-items:flex-end;}
.msg .txt .t{width:100%;}
.msg .txt p{font-size:16px;font-weight:500;line-height:1.5;color:#fff;text-align:left;}
.msg .txt .t p + p{margin-top:24px;}
.msg .txt .role{font-size:12px;line-height:1;margin-bottom:3px;}
.msg .txt .name{font-size:24px;line-height:1;}

/* ============ CORE VALUE ============ */
/* 上の紺がはみ出して下に潜り込むので、こちらを上に重ねる */
.core{position:relative;z-index:1;height:549px;display:flex;flex-direction:column;align-items:center;justify-content:center;
      background:var(--green-deep);color:#fff;text-align:center;}
.core .in{width:852px;max-width:100%;}
.core h2{margin:0;font-family:var(--os);font-weight:500;font-size:72px;line-height:1;}
.core .sub{margin-top:8px;font-size:22px;font-weight:700;line-height:1;}
.core .list{margin-top:0;font-family:var(--ar);font-size:20px;font-weight:600;
            line-height:2;letter-spacing:.2em;}

/* ============ COMPANY DATA ============
   本家＝左70pxから始まり、カードの列は右端まで伸びて横にスクロールする（中央寄せではない） */
.data{background:#f0f0f0;color:#000;padding:170px 0 0 70px;}
.data .head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;
            width:1120px;max-width:100%;margin:0 0 56px;}
.data .head .l{width:460px;max-width:100%;}
.data h2{margin:0;font-family:var(--os);font-weight:500;font-size:120px;line-height:1;}
.data .sub{margin-top:8px;font-size:22px;font-weight:700;line-height:1;}
.data .head .r{width:560px;max-width:100%;font-size:16px;font-weight:500;line-height:2;}
.data .scroll{display:flex;align-items:center;justify-content:flex-end;width:1120px;max-width:100%;
              margin:0 0 16px;font-family:var(--os);font-size:24px;font-weight:500;line-height:1.4;}
/* 本家＝白い矢印の画像（32x9 を幅24pxに縮小）。地が明るいので薄く見えるのも本家どおり */
.data .scroll .ln{flex:none;width:24px;height:7px;margin-left:16px;}
/* 横スクロール：自動で流れ続ける。ドラッグ・スワイプでも動く（ページ末尾の script） */
.data .cards{display:flex;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;
             cursor:grab;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;}
.data .cards::-webkit-scrollbar{display:none;}
.data .cards.drag{cursor:grabbing;user-select:none;}
.data .card{flex:0 0 340px;height:481px;margin-right:32px;background:#fff;border-radius:8px;padding:0 48px;
            display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--red);}
.data .card .n{display:flex;align-items:flex-end;justify-content:flex-end;width:100%;margin:0 0 16px;}
.data .card .n b{flex:1 1 0%;text-align:center;font-family:var(--os);font-weight:500;font-size:144px;line-height:1;}
.data .card .n i{flex:none;font-style:normal;font-size:24px;font-weight:700;line-height:1;}
.data .card .lbl{width:100%;margin:0 0 72px;text-align:right;font-size:24px;font-weight:700;line-height:1;}
.data .card .ds{width:100%;font-size:16px;font-weight:500;line-height:2;}
/* 本家が字の大きさを変えているカード */
.data .card.tall .n b{font-size:150px;}
.data .card.wide .n b{font-size:72px;}
.data .card.wide .lbl{font-size:20px;}

/* ============ 1140px以下 ============ */
@media (max-width:1140px){
  .msg .inner{flex-wrap:wrap;justify-content:center;margin:0 120px 0 50px;width:920px;max-width:calc(100% - 170px);}
  .msg .shot{flex:1 1 0%;}
  /* 本家は見出しと小見出しをひとまとめにして、その下に余白を足している */
  .core .sub{margin-bottom:56px;}
  .data .head .l{margin-bottom:56px;}
  .data .wrap{margin-left:50px;}
  .data .head{margin:0 50px 48px 0;max-width:calc(100% - 50px);}
  .data .scroll{margin-right:50px;max-width:calc(100% - 50px);}
}
/* ============ 840px以下 ============ */
@media (max-width:840px){
  .msg{height:auto;}
  .msg .hrow{margin:0 50px -80px -8px;max-width:calc(100% - 42px);}
  .msg .deco{width:124px;height:124px;margin-right:16px;}
  .msg h2{font-size:80px;}
  .msg .band{height:80px;background:linear-gradient(90deg,var(--navy) 0 calc(100% - 50px),var(--green-deep) calc(100% - 50px) 100%);}
  .msg .body{height:auto;padding-bottom:56px;background:linear-gradient(90deg,var(--navy) 0 calc(100% - 50px),#fff calc(100% - 50px) 100%);}
  .msg .inner{flex-direction:column-reverse;flex-wrap:nowrap;height:auto;margin:0 100px 0 50px;width:auto;
              max-width:calc(100% - 150px);align-self:stretch;}
  /* 本家＝840px以下は写真を上寄せで切り抜く（頭の上に余白が残る） */
  .msg .shot{flex:none;width:100%;max-width:100%;margin:0;background-position:50% 0;}
  .msg .txt{width:100%;margin:0 0 32px;}
  .msg .txt p{font-weight:400;}
  .core .sub{margin-bottom:48px;}
  .data .head .l{margin-bottom:48px;}
  .data .head{flex-direction:column;}
}
/* ============ スマホ（402px以下） ============ */
@media (max-width:402px){
  /* 本家＝見出しの帯の下から高さ845pxの箱（上に余白160px）。中身は箱からはみ出して下のCORE VALUEに潜る。
     中央寄せのままだと高さを変えるたびに全体がずれるので、上から積んで位置を固定する */
  .msg{height:999px;padding-top:160px;justify-content:flex-start;}
  .msg .mhead{margin-top:-132px;}
  /* 本家の見た目＝見出しの下半分だけ帯にかかり、帯の高さは約48px（実測で合わせた） */
  .msg .hrow{margin:0 0 -35px -4px;max-width:calc(100% + 4px);}
  .msg .band{height:48px;}
  .msg .deco{width:88px;height:88px;margin-right:8px;}
  .msg h2{font-size:56px;}
  .msg .band{background:linear-gradient(90deg,var(--navy) 0 calc(100% - 20px),var(--green-deep) calc(100% - 20px) 100%);}
  .msg .body{height:1009px;padding-bottom:0;background:linear-gradient(90deg,var(--navy) 0 calc(100% - 20px),#fff calc(100% - 20px) 100%);}
  .msg .inner{flex-direction:column;align-items:center;justify-content:center;height:866px;
              margin:0 40px 0 20px;width:calc(100% - 60px);max-width:calc(100% - 60px);align-self:flex-start;}
  .msg .shot{width:258px;height:267px;}
  /* 本家＝本文の列は高さ607px（下に余白32px）で中身を上下中央に置く */
  .msg .txt{box-sizing:border-box;height:607px;margin:0;padding:0 0 32px;justify-content:center;}
  .msg .txt p{font-size:13px;}
  /* 本家は1つの段落の中の空行で区切る＝間隔は1行分（13px×1.5） */
  .msg .txt .t p + p{margin-top:19.5px;}
  /* 本家＝本文の箱は高さ541pxで、文字はその中で上下中央（上端から約17px下に1行目）。
     上詰めにすると写真のすぐ下に文字がくっつく */
  .msg .txt .t{height:541px;flex:none;display:flex;flex-direction:column;justify-content:center;}
  .msg .txt .role{font-size:12px;margin-bottom:4px;}
  .msg .txt .name{font-size:24px;}

  .core{height:430px;padding:0 14px;}
  /* 本家＝中身の箱は高さ331pxで、その中も上下中央。
     見出しの塊は高さ102px固定＋下16px（11+56+8+16+27=118px） */
  .core .in{height:331px;display:flex;flex-direction:column;justify-content:center;}
  /* 塊の中で見出しと小見出し（計80px）が上下中央＝上に11px */
  .core h2{font-size:56px;margin-top:11px;}
  .core .sub{margin-bottom:27px;}
  /* 本家はスマホだけ箇条の前後の空行が無い（高さ203px＝7行） */
  .core .list br.lead,.core .list .tail{display:none;}
  .core .sub{font-size:16px;}
  .core .list{font-size:14.5px;letter-spacing:.1em;}

  .data{padding:80px 0 0;}
  .data .wrap{margin-left:20px;}
  .data h2{font-size:56px;}
  .data .sub{font-size:16px;}
  .data .head{margin:0 20px 48px 0;max-width:calc(100% - 20px);}
  .data .head .r{font-size:14px;font-weight:400;}
  .data .scroll{margin-right:20px;max-width:calc(100% - 20px);}
  .data .card{flex:0 0 246px;height:338px;padding:56px 32px 40px;}
  /* 本家＝3桁の 250・240・330 だけ103px、ほかは110px */
  .data .card .n b,.data .card.tall .n b{font-size:110px;}
  .data .card.m .n b{font-size:103px;}
  .data .card.wide .n b{font-size:57px;}
  .data .card .lbl{font-size:20px;margin-bottom:32px;}
  .data .card .ds{font-size:14px;}
}

/* ============ 以前タグに直接書いていた指定（2026-10-27 にここへ移した） ============ */
.phero{--heroh:515px;--ty:279px;--mt:0px;--after-tb:28px;--after-sp:7px;}
.crumb--dark{--after-tb:28px;--after-sp:7px;}
