/*==== 67 NEC SQL Server タイアップ=========================================*/

/* しきい値に入ったら時間で再生
   画像の --acc-enter は、その画像自身の何割が見えたら再生するか
     entry 50% なら画像の半分が見えたとき（高い画像ほど遅い）
   見出しは高さが低いので同じ指定だと画面に入った直後になる
   --acc-h2-line は画面下端から何割上がった線に上端が来たら再生するか
     40% なら、画面の下から4割の位置
*/
:root {
  --acc-enter: entry 50%;
  --acc-h2-line: 40%;
  --acc-duration: 0.8s;
  --acc-duration-h2: 0.5s;
  --acc-shift-h2: 15px;
  --acc-shift-img: 15px;
}

/*==== ページ全体 ==========================================================*/
body {
  margin: 0 auto;
  padding: 0;
  font-family: "メイリオ", "Hiragino Kaku Gothic ProN", sans-serif;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 20px;
  line-height: 1.8;
}

img {
  border: none;
  margin: 0;
  padding: 0;
  line-height: 0;
  vertical-align: bottom;
  max-width: 100%;
}

.social_buttons {
  margin: 8px auto 0;
  max-width: 1000px;
}

a {
  text-decoration: none;
  border: none;
}

a:hover {
  text-decoration: underline;
}

/* ContentsArea内のみ色統一 */
#ContentsArea a {
  color: #0F1ED3;
}
#ContentsArea a:hover {
  color: #0F1ED3;
}

h1 {
  margin: 0;
  padding: 0;
  line-height: 0;
}

h2 {
  margin: 35px 0 0 0;
}

/* h2_kv：見た目。出現アニメは .acc_eyecatch 側（view()） */
h2.h2_kv {
  margin: 0 0 15px 0;
  /* padding: 0 8px 8px 0; */
  font-weight: bold;
  font-weight: bold;
  font-size: clamp(18px, 2.2vw, 24px);
  font-size: 25px;
  line-height: 1.3;
  position: relative;
  display: inline-block;
  /* margin-left: -10px; */
  width: 100%;
  margin-left: -5px;
}
:root {
  --w: 8px;
  --path: polygon(0 0, var(--w) 50%, 0 100%, calc(100% - var(--w)) 100%, 100% 50%, calc(100% - var(--w)) 0);
}
h2.h2_kv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0F1ED3;
  /* background: #000; */
  clip-path: var(--path);
  /* transform: scale(1.015); */
  /* transform: scaleX(100.5%); */
  transform-origin: top left;
  z-index: 0;
  width: 100%;
  height: 100%;
}
h2.h2_kv .h2_label {
  position: relative;
  z-index: 1;
  display: block;
  padding: 12px 32px 12px 28px;
  color: #000;
  background: #ffffff;
  clip-path: var(--path);
  max-width: calc(100% + 20px);
  transform: translate(10px, 5px);
  color: #0f1ed3;
}
h2.h2_kv::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 13px;
  background: #d4d8ff;
  clip-path: var(--path);
  z-index: 0;
  width: 100%;
  height: 100%;
}

h2.ttl_con {
  color: #fff;
  font-weight: bold;
  font-size: 17px !important;
  padding: 8px 0 8px 15px;
  margin-top: 20px;
  font-family: YuGothic, "Yu Gothic", serif;
  background: #0F1ED3;
  margin-bottom: 15px;
  border-radius: 4px;
}

p {
  margin: 0;
  padding: 0 0 20px;
}

.link a {
  display: block;
  border-bottom: 1px dotted #ccc;
  padding: 8px 0;
}

.cl {
  clear: both;
}

/*==== メインエリア ==========================================================*/
#MainArea {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #444;
}

#ContentsArea {
  margin: 0;
  padding: 0;
  text-align: left;
  width: 100%;
  background: #f0f0f0;
}

#MainImgArea {
  max-width: 1920px;
  padding: 0;
  margin: 0 auto;
}

#MainImgArea .pc {
  display: inline;
}

#MainImgArea .sp {
  display: none;
}

/* KV：ブラー→ノーマル、左から右に流れる（やや遅延スタート） */
#MainImgArea.kv_slide {
  overflow: hidden;
}
#MainImgArea.kv_slide h1 {
  opacity: 0;
  animation: kv_slide_in 1.5s cubic-bezier(0.33, 1, 0.68, 1) 0.2s forwards;
  animation-fill-mode: forwards;
}
@keyframes kv_slide_in {
  0% {
    transform: translateX(-60px);
    opacity: 0;
    filter: blur(30px);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

/* しきい値で再生開始。スクロール量では進めない */
@keyframes acc_rise {
  from {
    opacity: 0;
    transform: translateY(var(--acc-shift-img));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes acc_rise_blur {
  from {
    opacity: 0;
    transform: translateY(var(--acc-shift-img));
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes acc_h2 {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(calc(var(--acc-shift-h2) * -1));
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}
.acc_eyecatch {
  animation: acc_rise var(--acc-duration) linear both;
  timeline-trigger: --acc view() var(--acc-enter) exit 100%;
  trigger-scope: --acc;
  animation-trigger: --acc play-forwards;
}
h2.h2_kv.acc_eyecatch {
  animation-name: acc_h2;
  animation-duration: var(--acc-duration-h2);
  animation-timing-function: cubic-bezier(0, 0, 0, 1);
  timeline-trigger: --acc-h2 view(block 0% var(--acc-h2-line)) entry 0% exit 100%;
  trigger-scope: --acc-h2;
  animation-trigger: --acc-h2 play-forwards;
}
.ph1_block.acc_eyecatch,
.ph2_block.acc_eyecatch,
.ph3_block.acc_eyecatch,
.figure.acc_eyecatch,
.img_fin.acc_eyecatch {
  animation-name: acc_rise_blur;
}
.img_fin_cap {
  font-size: 80%;
}
@media (prefers-reduced-motion: reduce) {
  h2.h2_kv.acc_eyecatch,
  .acc_eyecatch {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ph1・ph2ブロック（テキスト回り込み） */
.ph_block {
  margin-bottom: 15px;
  container-type: inline-size;
  container-name: ph;
}
.ph_block img {
  display: block;
  width: 100%;
  /* max-width: 280px; */
}
.ph_block .person_name {
  display: block;
  margin-top: 8px;
  font-size: clamp(8px, 4.5cqw, 16px);
  line-height: 1.7;
  color: #333;
  padding: 5px 10px 10px;
}
.ph_block .person_name .dilb {
  display: inline-block;
}
.ph_block .person_name strong {
  color: #0F1ED3;
  font-size: 130%;
}
/* ph1：右下に配置、左側にテキストが回り込む、topleadBG風ずらし青背景 */
.ph1_block {
  position: relative;
  float: right;
  margin: 0 0 5px 20px;
  width: min(450px,45%);
  padding: 0;
  background: #fff;
  border-radius: 2px;
  /* overflow: visible; */
  box-shadow: -4px -4px 0 #0013f7, 2px 2px 0 #d4d8ff;
  /* z-index: 1; */
  display: block;
}
.ph1_block img,
.ph1_block .person_name {
  position: relative;
  /* z-index: 2; */
}
/* ph2：左上に配置、右側にテキストが回り込む（人物カード） */
.ph2_block {
  position: relative;
  float: left;
  margin: 0 20px 15px 0;
  width: min(450px,45%);
  padding: 0;
  background: #fff;
  border-radius: 2px;
  box-shadow: -4px -4px 0 #0013f7, 2px 2px 0 #d4d8ff;
}
/* ph3：右に配置、左側にテキストが回り込む（3人目） */
.ph3_block {
  position: relative;
  float: right;
  margin: 0 0 5px 20px;
  width: min(450px,45%);
  padding: 0;
  background: #fff;
  border-radius: 2px;
  box-shadow: -4px -4px 0 #0013f7, 2px 2px 0 #d4d8ff;
  display: block;
}
.ph3_block img,
.ph3_block .person_name {
  position: relative;
}

/* 本文の最後に決めカット（ラフ指定） */
.img_fin {
  text-align: center;
  margin: 30px 0 !important;
  padding: 0 !important;
}
.img_fin img {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* NECロゴ・MSロゴ横並び、その下に英文（ラフ指定） */
.logo_footer {
  max-width: 1000px;
  margin: 40px auto 20px;
  padding: 25px 10px;
  text-align: center;
  border-top: 1px solid #ddd;
}
.logo_footer .logo_row {
  margin: 0 0 15px !important;
  padding: 0 !important;
  text-align: center;
}
.logo_footer .logo_row img {
  max-height: 140px;
  width: auto;
  max-width: 100%;
}
.logo_footer .logo_message {
  margin: 0 !important;
}

.topleadBG {
  /* padding: 0.5rem; */
  padding: 0;
  max-width: calc(1000px - 1rem);
  margin: 0 auto 20px;
  font-size: clamp(16px, 1.8vw, 20px);
  background: #0F1ED3;
  border-radius: 2px;
  /* background: #fff; */
  /* border: 3px solid #0F1ED3; */
}

.topleadBG .toplead {
  padding: 1rem 1.5rem;
  display: block;
  background-color: #fff;
  font-size: 90%;
  /* line-height: 1.7; */
  border-radius: 2px;
  transform: translate(5px, 5px);
  box-shadow: 2px 2px 0 #d4d8ff;
}

/* section：画面幅で背景、secInner：インナーコンテナ */
.section {
  width: 100%;
  padding: 50px 0 30px;
}
.section.sec_white {
  background: #fff;
}
.section:has(.logo_footer) {
  padding-top: 0;
}
.secInner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}
.section.whitearea2 {
  padding: 30px 0;
}
.section.whitearea2 .secInner {
  margin-top: 0;
  margin-bottom: 0;
}

.accST {
  padding: 25px 0 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
}

.named {
  font-weight: bold;
  color: #0F1ED3;
}

/* 図版（62と同様 figure / figttl / figcap） */
.figure {
  margin: 30px auto;
  /* max-width: 680px; */
  /* border: 1px solid #0F1ED3; */
  border-radius: 2px;
  /* overflow: hidden; */
  box-shadow: -4px -4px 0 #0013f7, 2px 2px 0 #d4d8ff;
  box-shadow: 2px 2px 0 #d4d8ff;
}

.figure .figttl {
  padding: 10px 15px!important;
  font-size: 95%;
  font-weight: bold;
  background-color: #0F1ED3;
  color: #fff;
}

.figure .figcap {
  padding: 20px 20px!important;
  font-size: 85%;
  background-color: rgb(238 240 255);
  color: #333;
  /* line-height: 1.6; */
}

.figure p {
  margin: 0 !important;
  padding: 0 !important;
}

.figure img {
  display: block;
  width: 100%;
}

/* ロゴ下部メッセージ */
.logo_message {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin: 25px 0;
  font-style: italic;
}

.accS {
  padding: 0 5px;
  margin: 0 auto;
  font-size: 18px;
}

.pb30 {
  padding-bottom: 30px;
}

/*==== レスポンシブ（62のブレークポイントに準拠）=========================================*/
@media screen and (max-width: 1000px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: inline !important;
  }
  .secInner {
    padding: 0 15px;
  }
  .accST {
    padding: 20px 0 0;
    font-size: 16px;
  }
}

@media screen and (max-width: 640px) {
  body {
    line-height: 1.65;
  }
  h2 {
    letter-spacing: 0;
  }
  h2.h2_kv .h2_label {
    padding: 15px 20px 15px 20px;
    font-size: 18px;
    transform: translate(5px, 3px);
  }
  h2.h2_kv::after {
    
top: 7px;
    
left: 10px;
  }
  .secInner {
    padding: 0 10px;
  }
  .accST {
    padding: 15px 0 0;
    font-size: 15px;
  }
  .accS {
    padding: 0 10px;
    font-size: 15px;
  }
  h2.ttl_con {
    font-size: 4vw;
    padding: 10px 15px;
  }
  .figure {
    margin: 20px 10px;
  }
  .ph1_block {
    float: none;
    width: 100%;
    /* max-width: 500px; */
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    align-items: center;
  }
  .ph1_block img {
    width: auto;
    max-width: 35%;
    flex-shrink: 0;
  }
  .ph1_block .person_name {
    margin-top: 0;
    flex: 1;
    font-size: clamp(8px, 2.6cqw, 14px);
    padding: 0;
  }
  .ph2_block,
  .ph3_block {
    float: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .ph2_block img,
  .ph3_block img {
    width: auto;
    max-width: 35%;
    flex-shrink: 0;
  }
  .ph2_block .person_name,
  .ph3_block .person_name {
    margin-top: 0;
    flex: 1;
    font-size: clamp(8px, 2.6cqw, 14px);
    padding: 0;
  }
  .logo_footer .logo_row img {
    max-height: 100px;
  }
}
