@charset "UTF-8";

/* ===========================================================
   日経クロステック Special ／ NRI 採用タイアップ 第1回
   デザイン基準幅: 1366px
   =========================================================== */

/* ---------- reset ---------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul { list-style: none; }
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }

/* hover img alpha */
a img.alpha { transition: all 0.2s ease 0s; }
a:hover img.alpha {
  opacity: 0.82;
  filter: alpha(opacity=82);
}

/* ---------- base ---------- */
body {
  margin: 0;
  padding: 0;
  width: 100% !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", Roboto, "Segoe UI", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  letter-spacing: 0.02em;
  line-height: 1.9;
  background: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "palt";
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  animation: show 1.2s ease 0s 1 normal;
}
@keyframes show {
  0%   { opacity: 0; filter: blur(8px); }
  100% { opacity: 1; filter: blur(0); }
}
img { max-width: 100%; height: auto; vertical-align: bottom; }

/* ===========================================================
   連載ナビ（全6回）
   =========================================================== */
.series_nav {
  width: 100%;
  background: #005bac;
}
.series_nav_inner {
  display: flex;
  width: 100%;
  max-width: 996px; /* 166px × 6セル */
  height: 51px;
  margin: 0 auto;
  position: relative;
}
.nav_item {
  flex: 1 1 0;
  max-width: 166px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  padding: 0 10px;
}
.nav_now {
  background: #fff;
  text-decoration: none;
  padding: 5px 7px;
  box-shadow: 0 4px 10px rgba(0, 20, 60, 0.35);
  align-items: center;
  border-right: none;
  transition: 0.2s;
  position: relative;
  z-index: 2;
  gap: 4px; /* 番号とタイトルの間隔（旧nav_numのmargin相当） */
}
.nav_now:hover { opacity: 0.88; }
/* nav_soon の番号と同一スタイル。色のみ青で異なる */
.nav_now .nav_num {
  
  font-size: 21px;
  font-weight: 500;
  color: #005bac;
  line-height: 1;
}
.nav_now_ttl {

  font-size: 8px;
  font-weight: 700;
  color: #005bac;
  line-height: 1.42;
  letter-spacing: 0;
  text-align: left;
}
/* 960px以下のPC表示（769〜960px）では nav_now_ttl の改行(<br>)を無効化し、
   自然折り返しで枠内に収める（強制改行による文字はみ出し対策） */
@media screen and (min-width: 769px) and (max-width: 960px) {
  .nav_now_ttl br { display: none; }
}
.nav_soon {
  gap: 7px;
}
.nav_soon .nav_num {
  
  font-size: 21px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
}
.nav_soon_txt {
  
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.04em;
}

/* ===========================================================
   ヒーロー
   =========================================================== */
/* ヒーローは「基準幅1010px」の構図を、1010px未満で等倍縮小する。
   .hero をコンテナ化し、各寸法を min(設計px, 係数cqw) で指定。
   係数 = 設計px ÷ 1010 × 100（cqw=コンテナ幅の1%）。
   → 1010px以上では設計pxで固定、未満では構図ごと縮小しはみ出さない。 */
.hero {
  width: 100%;
  height: min(555px, 54.95vw); /* cqwは自身に効かないため高さはvw */
  position: relative;
  background: url(main.png) bottom no-repeat;
  container-type: inline-size;
  background-size: cover;
}

.series_ttl {
  position: absolute;
  top: min(120px, 11.88cqw);                 /* さらに下へ（87→120px、計+33px） */
  left: calc(50% - min(400px, 39.6cqw));     /* 中心から左へ400px（手動調整）。cqw=400÷1010×100 */
  width: min(358px, 35.45cqw);
  z-index: 3;
}
.series_ttl img { width: 100%; height: auto; }

/* タイトル帯（左端まで全幅、写真の上に重なる） */
.hero_band {
  position: absolute;
  left: 0;
  height: min(50px, 4.95cqw);
  background: #005bac;
  z-index: 3;
}
.hero_band1 {
  top: min(226px, 22.38cqw);
  width: calc(50% + min(111px, 10.99cqw));
}
.hero_band2 {
  top: min(284px, 28.12cqw);
  width: calc(50% + min(360px, 35.64cqw)); /* cqw=360÷1010×100 */
}
.hero_catch {
  position: absolute;
  top: min(226px, 22.38cqw);
  left: calc(50% - min(403px, 39.9cqw));
  z-index: 4;
  margin: 0;
}
.catch_line {
  display: block;
  height: min(50px, 4.95cqw);
  line-height: min(50px, 4.95cqw);
  
  font-size: min(32px, 3.168cqw); /* ヒーロー幅基準で可変・最大32px */
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.catch_line + .catch_line { margin-top: min(8px, 0.792cqw); }

/* 写真（帯の下レイヤー） */
.hero_photo {
  position: absolute;
  top: min(60px, 5.94cqw);
  left: calc(50% - min(21px, 2.08cqw));   /* cqw=21÷1010×100 */
  width: min(520px, 51.49cqw);             /* cqw=520÷1010×100 */
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 40, 90, 0.25);
  container-type: inline-size; /* 子のhero_profが「写真幅」基準でcqw/%を解決 */
}
.hero_photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* プロフィール（コラム写真の下に置くキャプション） */
.hero_prof {
  margin-top: 12px;
  color: #1a1a1a;
  text-align: left;
}
/* .column_body p の指定(16px/行間/margin)に勝つよう .hero_prof で詳細度を上げる */
.hero_prof .prof_name {
  font-size: 16px;
  /* font-weight: 700; */
  line-height: 1.4;
  margin: 0 0 3px;
  text-align: left;
}
.hero_prof .prof_shi {
  font-size: 14px;
  font-weight: 500;
  margin-left: 3px;
}
.hero_prof .prof_post {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* ===========================================================
   リード
   =========================================================== */
.leadarea {
  width: 100%;
  background: #fff;
  margin-top: -64px;
}
.lead {
  width: min(810px, 90%);
  margin: 0 auto;
  font-size: 16px;
  font-weight: 700;
  color: #005bac;
  line-height: 2.15;
  text-align: justify;
  letter-spacing: normal;
}
/* PC表示専用の改行（>768pxで表示、タブレット/SP ≤768px は非表示＝自然折り返し） */
.br_pc { display: inline; }
@media screen and (max-width: 768px) {
  .br_pc { display: none; }
}

/* Firefox専用の .lead 調整（@-moz-document url-prefix() はFirefoxのみ適用／他ブラウザは無視） */
@-moz-document url-prefix() {
  .lead {
    width: min(823px, 90%);
  }
}

.divider {
  width: 100%;
  margin-top: 96px;
  font-size: 0;
  line-height: 0;
}
.divider img {
  width: 100%;
  height: 4px;
  display: block;
}

/* ===========================================================
   本文
   =========================================================== */
main {
  width: 100%;
  background: #fff;
  padding-top: 150px;
}
.sec {
  width: min(790px, 90%);
  margin: 0 auto;
}
.sec p {
  font-size: 16px;
  line-height: 2.0;
  color: #333;
  text-align: justify;
  margin-bottom: 26px;
}

/* 小見出し */
.midashi {
  letter-spacing: 0.06em;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.5;
  color: #005bac;
  text-align: left;
  margin: 75px 0 32px;
  padding-bottom: 18px;
  background: url(sub.png) left bottom / 100% 4px no-repeat;
}
/* 2つ目の小見出しはPC表示（>768px）で上余白を広げる */
@media screen and (min-width: 769px) {
  .midashi2 { margin-top: 120px; }
}

/* 図版 */
.zu_box {
  width: 100%;
  margin: 44px auto 0;
}
.zu_box img { width: 100%; }
.sec p.caption {
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: #005bac;
  text-align: justify;
}

/* 写真 */
.photo_box {
  width: min(600px, 90%);
  margin: 40px auto 0;
}
.photo_box img {
  width: 100%;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 30, 70, 0.14);
}

/* ===========================================================
   コラム
   =========================================================== */
.column {
  width: 100%;
  background: #e6e6e6;
  margin-top: 110px;
  padding: 42px 0 80px;
  overflow: hidden; /* column_label の左フルブリードを画面端でクリップ（横スクロール防止） */
}
.column_inner {
  width: min(790px, 90%);
  margin: 0 auto;
}
.column_head {
  padding-bottom: 14px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
}
.column_label {
  flex: 0 0 auto;
  display: inline-block;
  position: relative; /* ::before（左ブリード）の基準 */
  background: #005bac;
  color: #fff;

  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 5px 14px 6px;
  margin-right: 14px;
}
/* 青背景を画面左端まで伸ばす（hero_band と同様の左フルブリード） */
.column_label::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;     /* 右端をラベル左端に合わせ、そこから左へ伸ばす */
  width: 100vw;
  background: #005bac;
}
.column_ttl {
  
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #005bac;
}
.column_body::after {
  content: "";
  display: block;
  clear: both;
}
.column_photo {
  float: right;
  width: 250px;
  margin: 6px 0 14px 55px; /* 基本は枠内。右はみ出しは余白のある1100px以上のみ（下記） */
}
.column_photo img { width: 100%; display: block; }
.column_body p {
  font-size: 16px;
  line-height: 1.95;
  color: #333;
  text-align: justify;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}
.column_body p:last-child { margin-bottom: 0; }
/* 2倍ダッシュ「――」を字間ゼロで連結（本文のletter-spacingによる隙間を解消） */
.dash { letter-spacing: -0.12em; }

/* ===========================================================
   ボタン帯
   =========================================================== */
.btn_area {
  width: 100%;
  background: #1a6ec0 url(info.png) center center / cover no-repeat;
  padding: 100px 0;
}
.link_btn {
  display: block;
  width: min(460px, 90%);
  margin: 0 auto;
}
.link_btn1 { margin-bottom: 55px; }
.link_btn img { width: 100%; display: block; }

/* ===========================================================
   お問い合わせ
   =========================================================== */
.contact_sec {
  width: 100%;
  background: #005bac;
  padding: 74px 0 76px;
}
.contact_card {
  width: min(800px, 90%);
  margin: 0 auto;
  background: #fff;
  text-align: center;
  padding: 45px 20px;
}
.contact_ttl {
  
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 0;
}
.contact_logo { margin: 40px 0 0; }
.contact_logo img { width: 157px; height: auto; }
.contact_url { margin-top: 25px; }
.contact_url a {
  font-size: 18px;
  color: #005bac;
  text-decoration: underline;
  transition: 0.2s;
}
.contact_url a:hover { opacity: 0.75; }

.ft_line {
  border: 0;
  margin: 0;
}

/* コラム写真の右はみ出し（デザイン: 写真右端=ヒーロー写真右端）。
   余白が確保できる広い画面でのみ適用し、狭い画面でのはみ出しを防ぐ */
@media screen and (min-width: 1100px) {
  .column_photo { margin-right: -111px; }
}

/* ===========================================================
   レスポンシブ（768px以下は積み上げレイアウト）
   =========================================================== */
@media screen and (max-width: 768px) {

  .series_nav_inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* タブレット: 横3列（2段） */
    width: 100%;
    height: auto;
    gap: 1px;                              /* セル間1pxの区切り線 */
    background: rgba(255, 255, 255, 0.55); /* gapから透ける区切り色 */
  }
  .nav_item {
    max-width: none;                       /* 1frで均等配置（166px上限を解除） */
    height: 58px;
    border-right: none;                    /* 区切りはgapで表現 */
    background: #005bac;                   /* セルを青で塗り、gapのみ区切り線に */
  }
  .nav_now {
    height: 58px;                          /* 他セルと同高・突出しなし */
    margin-top: 0;
    padding: 5px 7px;
    background: #fff;
    box-shadow: none;
  }
  .nav_now .nav_num { font-size: 16px; }
  .nav_now_ttl { font-size: 8.5px; line-height: 1.4; }
  .nav_soon { gap: 5px; }
  .nav_soon .nav_num { font-size: 16px; }
  .nav_soon_txt { font-size: 11px; }

  .hero {
    height: auto;
    /* padding-bottom: 30px; */
    background: #d8ecf9 url(main.png) center top / cover no-repeat;
    display: flex;            /* 縦並びにして order で順序指定 */
    flex-direction: column;
  }
  .series_ttl {
    position: static;
    order: 1;                 /* 1番目 */
    max-width: 320px;
    width: 90%;
    margin: 26px auto 0;
    /* padding-left: 4%; */
  }
  .hero_band { display: none; }
  .hero_catch {
    position: static;
    order: 3;                 /* 3番目（最後） */
    background: #005bac;
    padding: 14px 5%;
    margin: 0;         /* 写真との間隔（旧margin-bottomは不要） */
  }
  .catch_line {
    height: auto;
    line-height: 1.5;
    font-size: 20px;
    white-space: normal;
    display: inline;
  }
  .catch_line + .catch_line { margin-top: 0; }
  .hero_photo {
    position: static;   /* 絶対配置を解除して縦並び（flex）に参加 */
    order: 2;           /* 2番目 */
    width: 80%;
    max-width: 518px;
    margin: 0 auto;
  }

  .leadarea { padding-top: 32px; margin-top: 0;}
  .lead {
    width: 90%;
    font-size: 14px;
    line-height: 1.9;
  }
  .divider { margin-top: 40px; }

  main { padding-top: 40px; }
  .sec { width: 90%; }
  .midashi {
    font-size: 20px;
    margin: 44px 0 26px;
  }

  .photo_box {
    width: 90%;
    max-width: 600px;
  }

  .column_inner { width: 90%; }
  .column_photo {
    float: none;
    width: 80%;
    max-width: 320px;
    margin: 0 auto 20px;
  }
  .column_head {
    display: block;
  }
  .column_label { margin-bottom: 8px; }
  .column_ttl { font-size: 17px; }

  .btn_area { padding: 50px 0 44px; }
  .link_btn {
    width: 80%;
    max-width: 460px;
  }
  .link_btn1 { margin-bottom: 30px; }

  .contact_sec { padding: 40px 0; }
  .contact_card { width: 90%; }
}

@media screen and (max-width: 480px) {
  .series_nav_inner { grid-template-columns: repeat(2, 1fr); } /* スマホ: 横2列（3段） */
  .nav_item { height: 54px; }
  .nav_now { height: 54px; }
  .nav_now_ttl { font-size: 9px; }
  .nav_soon_txt { font-size: 12px; } /* 2列で余裕があるため表示（旧: 非表示） */
  .catch_line { font-size: 16px; }
  .hero_photo { width: 100%; }
  .lead { font-size: 13px; }
  .sec p { font-size: 13px; }
  .midashi { font-size: 17px; }
  .contact_ttl { font-size: 17px; }
  .contact_url a { font-size: 13px; word-break: break-all; }
}
