@charset "UTF-8";
/* =========================================================
   KUMIKI TOP
   Breakpoints : PC >= 1025px / Tablet 744-1024px / SP <= 743px
   ========================================================= */

/* =========================================================
   Main Visual
   ========================================================= */
.p-mv {
  position: relative;
  overflow: hidden;
  background: var(--c-navy);
  color: #fff;
}
.p-mv__inner {
  position: relative;
  height: 730px;
  padding-top:150px;
}
.p-mv__content { max-width: 560px; }
.p-mv__logo img{width:280px;height:auto;margin:0 0 25px 4px;}
.p-mv__title { font-size: 42px; font-weight: 900; line-height: 1.5; letter-spacing: .15em; margin-bottom: 30px; }
.p-mv__text { font-size: 17px; font-weight: 600; line-height: 1.8; margin-bottom: 40px; }
.p-mv__btn { min-width: 250px; min-height: 55px; }
.p-mv__bg {
  width: 1000px;
  height: 100%;
  position: absolute;
  top: 80px;
  left: max(calc(50% - 320px), calc(var(--gutter) + 280px));
}
.p-mv__bg img {
  width: 100%;
  height:auto;
}

/* MV fade (load) */
.js .p-mv__bg, .js .p-mv__content { opacity: 0; transition: opacity 1.4s ease; }
.js .p-mv__content { transition-delay: .35s; }
.js .p-mv.is-show .p-mv__bg,
.js .p-mv.is-show .p-mv__content { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .p-mv__bg, .js .p-mv__content { opacity: 1 !important; transition: none; }
}

/* Tablet / SP：テキスト → 画像の縦並び（画像は下に敷き、上端をフェード） */
@media (max-width: 1024px) {
  .p-mv { margin-top: var(--header-h); text-align:center;}
  .p-mv__inner { height: auto; padding-top: 64px; padding-bottom: 400px; }
  .p-mv__bg {
    top: auto;
    bottom: 0;
    left: 60%;
    width: 720px;
    height: auto;
    transform: translateX(-50%);
  }
  .p-mv__bg img {
    width: 80%;
    height:auto;
    display: block;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
            mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  }
  .p-mv__content { max-width: none; }
  .p-mv__logo img { width: 260px; margin-bottom: 24px; }
  .p-mv__title { font-size: 32px; letter-spacing: .1em; }
  .p-mv__text { font-size: 16px; margin-bottom: 36px; }
}
@media (max-width: 743px) {
  .p-mv__inner { padding-top: 40px; padding-bottom: 280px; }
  .p-mv__bg { width: 570px; }
  .p-mv__logo img { width: 160px; margin-bottom: 15px; }
  .p-mv__title { font-size: 30px; letter-spacing: .08em; margin-bottom: 25px; }
  .p-mv__text { font-size: 15px; line-height: 1.75; margin-bottom: 30px; }
  .p-mv__btn { width: 100%; max-width: 250px; min-width: 0; min-height: 52px; }
}

/* =========================================================
   Numbers
   ========================================================= */
.p-numbers {
  padding: 45px 0;
  background: #fff;
}
.p-numbers__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.p-numbers__item {
  padding: 20px 10px;
  text-align: center;
}
.p-numbers__item + .p-numbers__item { border-left: 1px solid var(--c-line); }
.p-numbers__label { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.p-numbers__num {
  font-family: var(--ff-num);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-blue);
  margin-bottom: 14px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.p-numbers__num span { font-family: var(--ff-base); font-size: 20px; margin-left: 4px; }
.p-numbers__text { font-size: 15px; line-height: 1.7; }
.p-numbers__note { font-size: 11px; line-height: 1.6; color: var(--c-text-sub); margin-top: 6px; }

.p-numbers__awards {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 45px;
  border-bottom: 1px solid var(--c-line);
}
.p-numbers__catch { font-size: 19px; font-weight: 600; color: var(--c-gold); letter-spacing: .08em; }

.p-awards { display: flex; gap: 20px; align-items: center; }
.p-awards__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: auto;
}

.p-clients {
  --clients-w: 3400px;     /* logo-slide.jpg の横幅 */
  --clients-sec: 50s;      /* 1周にかかる時間 */
  --clients-start: 5vw;   /* スタート時の左余白 */
  width: 100%;
  height: 150px;
  margin: 40px 0 60px;
  overflow: hidden;
}
.p-clients__track {
  width: calc(100% + var(--clients-w));
  height: 100%;
  background: url(../images/top/logo-slide.jpg) repeat-x 0 0 / auto 100%;
  transform: translateX(var(--clients-start));   /* 待機中の位置 */
}
.p-clients.is-show .p-clients__track {
  animation:
    clientsIntro var(--clients-intro, 8s) linear forwards,
    clientsLoop var(--clients-sec) linear var(--clients-intro, 8s) infinite;
}
@keyframes clientsIntro {
  from { transform: translateX(var(--clients-start)); }
  to   { transform: translateX(0); }
}
@keyframes clientsLoop {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(var(--clients-w) * -1)); }
}
@media (prefers-reduced-motion: reduce) {
  .p-clients__track, .p-clients.is-show .p-clients__track { transform: none; animation: none; }
}

@media (max-width: 1024px) {
  .p-numbers { padding: 72px 0 56px; }
  .p-numbers__list { grid-template-columns: repeat(2, 1fr); }
  .p-numbers__item { padding: 28px 10px; }
  .p-numbers__item:nth-child(3) { border-left: none; }
  .p-numbers__item:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
  .p-numbers__awards { flex-direction: column; text-align: center; gap: 24px; }
  .p-clients { margin: 36px 0 16px; }
}
@media (max-width: 743px) {
  .p-numbers { padding:25px 0 20px; }
  .p-numbers__item { padding: 18px 4px 22px; }
  .p-numbers__label { font-size: 14px; margin-bottom: 4px; }
  .p-numbers__num { font-size: 36px; margin-bottom: 8px; }
  .p-numbers__num span { font-size: 14px; margin-left: 2px; }
  .p-numbers__text { font-size: 11px; letter-spacing: -.02em; }
  .p-numbers__note { font-size: 9px; }
  .p-numbers__awards { gap: 16px; padding-bottom: 28px;}
  .p-numbers__catch { font-size: 12px; letter-spacing: 0; }
  .p-awards { width: 100%; justify-content: center; gap: 8px; }
  .p-awards__item { width: calc((100% - 16px) / 3); max-width: 150px; }
  .p-clients { --clients-w: 2040px; height: 90px; margin: 20px 0 28px; }
}

/* =========================================================
   Problem（WHY CONNECT?）
   左：画像（PC縦長／タブレット・SP横長）　右：見出し → 本文 → GEOINT
   ========================================================= */
.p-problem { background: var(--c-bg-gray); padding: 84px 0 76px; }
/* PCだけ：画像内の上下の余白ぶん、画像を上下にはみ出させて見た目の余白を揃える */
@media (min-width: 1025px) {
  .p-problem__visual { margin-block: -30px; }
}
.p-problem__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.p-problem__visual { width: 100%; max-width: 560px; }
.p-problem__visual img { display: block; width: 100%; height: auto; }
/* PCはPC用画像、タブレット・SPはSP用画像 */
.p-problem__visual-sp { display: none !important; }

.p-problem__text { font-size: 18px; line-height: 1.9; }
.p-problem__text em { color: var(--c-blue); font-weight: 700; }

/* GEOINT：上に区切り線 */
.p-problem__geo { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--c-line); }
.p-problem__geo-logo { display: flex; align-items: center; }
.p-problem__geo-name {
  font-family: var(--ff-num);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--c-navy);
}
.p-problem__geo-sub {
  margin-left: 20px;
  padding-left: 18px;
  border-left: 1px solid var(--c-line);
  font-family: var(--ff-num);
  font-size: 18px;
  line-height: 2.2;
  color: #98a1b3;
}
.p-problem__geo-catch { margin-top: 16px; font-size: 18px; font-weight: 700; color: var(--c-blue); }

.p-problem__geo-list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.p-problem__geo-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: var(--c-text-sub);
}
.p-problem__geo-list img { display: block; width: 84px; height: auto; }

/* 1025〜1200px：右側の幅が狭くなるので文字・アイコンを少し小さく */
@media (min-width: 1025px) and (max-width: 1200px) {
  .p-problem__inner { gap: 40px; }
  .p-problem .c-heading__ja { font-size: 32px; }
  .p-problem__text { font-size: 16px; }
  .p-problem__geo-name { font-size: 46px; }
  .p-problem__geo-sub { font-size: 16px; margin-left: 16px; padding-left: 16px; }
  .p-problem__geo-catch { font-size: 16px; }
  .p-problem__geo-list { gap: 8px; }
  .p-problem__geo-list li { font-size: 13px; }
  .p-problem__geo-list img { width: 72px; }
}
@media (max-width: 1024px) {
  .p-problem { padding: 72px 0; }
  /* 並び順：見出し → 本文 → 画像 → GEOINT
     画像は .p-problem__body の外にあるため、body を display:contents にして
     中身を .p-problem__inner の直接の並び要素として扱い、order で並べ替える */
  .p-problem__inner { grid-template-columns: 1fr; gap: 0; }
  .p-problem__body { display: contents; }
  .p-problem__body .c-heading { order: 1; }
  .p-problem__text   { order: 2; }
  .p-problem__visual { order: 3; margin: 40px auto 0; }
  .p-problem__geo    { order: 4; }
}
@media (max-width: 743px) {
  .p-problem { padding: 35px 0; }
  .p-problem__visual { max-width: none; margin-top: 24px; }
  .p-problem__visual-pc { display: none !important; }
  .p-problem__visual-sp { display: block !important; }
  .p-problem__text { font-size: 14px; line-height: 1.8; }
  .p-problem__geo { margin-top: 28px; padding-top: 28px; }
  .p-problem__geo-name { font-size: 38px; }
  .p-problem__geo-sub { font-size: 13px; margin-left: 14px; padding-left: 14px; }
  .p-problem__geo-catch { margin-top: 12px; font-size: 15px; }
  .p-problem__geo-list { gap: 6px; margin-top: 20px; }
  .p-problem__geo-list li { gap: 8px; font-size: 11px; letter-spacing: -.02em; }
  .p-problem__geo-list img { width: 60px; }
}

/* =========================================================
   Platform
   ========================================================= */
.p-platform { background: var(--c-navy); color: #fff; padding: 84px 0 90px; }
.p-platform__inner {
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 30px;
  align-items: center;
}
.p-platform .c-heading__ja { font-size: 38px; }
.p-platform__lead { font-size: 18px; }
.p-platform__flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(max-content, 1fr));
  margin-top: 40px;
}
.p-platform__flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.p-platform__flow img { display: block; width: 44px; height: auto; }
/* 項目の境目（列の境界線上）に「＞」 */
.p-platform__flow li + li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--c-sky);
  border-right: 2px solid var(--c-sky);
  transform: translateX(-75%) rotate(45deg);
}
.p-platform__flow strong { font-size: 16px; color: var(--c-sky); margin-top: 8px; }

.p-platform__types { margin-top: 30px; }
.p-platform__types-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}
.p-platform__types-title::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .2); }
.p-platform__types ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(max-content, 1fr));
}
.p-platform__types li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  white-space: nowrap;
}
.p-platform__types li + li { border-left: 1px solid rgba(255, 255, 255, .2); }
.p-platform__types img { display: block; width: 38px; height: auto; }
.p-platform__catch { margin-top: 35px; text-align: center; font-size: 20px; font-weight: 700; color: var(--c-sky); }
.p-platform__img { margin-right: -20px; }
.p-platform__img img { width: 100%; }

/* 1025〜1200px（iPad Pro 13 横など）：テキスト側を縮めて画像エリアを広げる */
@media (min-width: 1025px) and (max-width: 1200px) {
  .p-platform__inner { grid-template-columns: minmax(0, 520px) 1fr; }
  .p-platform .c-heading__ja { font-size: 34px; }
  .p-platform__img { margin-right: 0; }
  .p-platform__types li { padding: 4px 4px; font-size: 12px; }
}
@media (max-width: 1024px) {
  .p-platform { padding: 72px 0; }
  .p-platform .c-heading__ja { font-size: 32px; }
  .p-platform__inner { grid-template-columns: 1fr; gap: 25px; }
  .p-platform__body { max-width: 560px; }
  .p-platform__img { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 743px) {
  .p-platform { padding: 35px 0 45px; }
  .p-platform .c-heading__ja { font-size: 22px; }
  .p-platform__lead { font-size: 14px; }
  .p-platform__flow { margin-top: 24px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .p-platform__flow img { width: 34px; }
  .p-platform__flow li + li::before { top: 12px; width: 7px; height: 7px; }
  .p-platform__flow strong { font-size: 12px; margin-top: 6px; }
  /* 対応データ：2列×3行。アイコン左・文字右の横並び、縦線なし */
  .p-platform__types { margin-top: 20px; }
  .p-platform__types-title { font-size: 14px; gap: 12px; margin-bottom: 16px; }
  .p-platform__types ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-left: 10px; }
  .p-platform__types li { flex-direction: row; align-items: center; gap: 12px; padding: 0; font-size: 13px; }
  .p-platform__types li + li { border-left: none; }
  .p-platform__types img { width: 32px; }
  .p-platform__catch { margin: 28px 0 5px 0; font-size: 16px; }
  .p-platform__img img { width: 88%; display:block; margin:0 auto;}
}

/* =========================================================
   Solutions
   ========================================================= */
.p-solutions { background: var(--c-bg-gray); padding: 84px 0 76px; }
.p-solutions__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.p-solutions__card {
  --accent: var(--c-blue);
  display: block;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--c-navy);
  color: #fff;
  transition: box-shadow .4s;
}
.p-solutions__card.is-defense  { --accent: #6b3fb3; }
.p-solutions__card.is-disaster { --accent: #d93434; }
.p-solutions__card.is-sdgs     { --accent: #22994d; }
.p-solutions__card:hover { box-shadow: 0 14px 30px rgba(2, 11, 54, .28); }
.p-solutions__img { aspect-ratio: 480 / 390; }
.p-solutions__body {
  position: relative;
  padding: 46px 16px 30px;
  text-align: center;
}
.p-solutions__icon {
  width: 60px;
  height: auto;
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.p-solutions__name {
  display: flex;
  flex-direction: column;
  font-family: var(--ff-num);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .02em;
}
.p-solutions__name small { font-size: 16px; font-weight: 500; margin-top: 6px; letter-spacing: 0; }
.p-solutions__ja { margin-top: 18px; font-size: 15px; font-weight: 700; }
.p-solutions__ja::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 6px auto 0;
  background: var(--accent);
  transition: width .4s var(--ease);
}
.p-solutions__card:hover .p-solutions__ja::after { width: 64px; }

@media (max-width: 1024px) {
  .p-solutions { padding: 72px 0; }
  .p-solutions__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 743px) {
  .p-solutions { padding: 35px 0 45px 0; }
  .p-solutions__list { gap: 12px; }
  .p-solutions__body { padding: 34px 8px 20px; }
  .p-solutions__icon { width: 52px; }
  .p-solutions__name { font-size: 22px; }
  .p-solutions__name small { font-size: 12px; margin-top: 4px; }
  .p-solutions__ja { margin-top: 12px; font-size: 12px; }
}

/* =========================================================
   FUNCTION
   ========================================================= */
.p-features { padding: 84px 0 76px; }
.p-features__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.p-features__item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 10px rgba(2, 11, 54, .08);
}
.p-features__body { padding: 25px 26px 20px; }

/* タグ */
.p-features__tag {
  position: relative;
  width: fit-content;
  padding: 7px 18px;
  border-radius: 100px;
  background: var(--c-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.p-features__tag::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  width: 120px;
  height: 1px;
  background: var(--c-blue);
  opacity: .5;
}
.p-features__name {
  margin-top: 18px;
  font-family: var(--ff-num);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--c-blue);
}
.p-features__title { margin-top: 10px; font-size: 17px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; color: var(--c-navy); }
.p-features__text { margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--c-text-sub); }
.p-features__img { margin-top: 10px; }
.p-features__img img { display: block; width: 100%; height: auto; }

.p-features__more { margin-top: 50px; text-align: center; }
.p-features__more .c-btn { min-width: 320px; }

.js .p-features__list.js-fade { opacity: 1; transition: none; }
.js .p-features__item { opacity: 0; transition: opacity .5s ease; }
.js .p-features__list.is-show .p-features__item { opacity: 1; }
.p-features__item:nth-child(2) { transition-delay: .15s; }
.p-features__item:nth-child(3) { transition-delay: .30s; }
@media (prefers-reduced-motion: reduce) {
  .js .p-features__item { opacity: 1; transition: none; }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .p-features__body { padding: 26px 22px 18px; }
  .p-features__name { font-size: 46px; }
  .p-features__title { font-size: 16px; }
  .p-features__text { font-size: 13px; }
  .p-features__text br { display: none; }
}
@media (max-width: 1024px) {
  .p-features { padding: 72px 0; }
  .p-features__list { grid-template-columns: 1fr; gap: 24px; }
  .p-features__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .p-features__body { padding: 28px 10px 28px 32px; }
  .p-features__name { font-size: 46px; }
  .p-features__text br { display: none; }
  .p-features__img { margin-top: 0; align-self: stretch; }
  .p-features__img img { height: 100%; object-fit: cover; }
  .p-features__more { margin-top: 40px; }
}
@media (max-width: 743px) {
  .p-features { padding: 35px 0 45px 0; }
  .p-features__list { gap: 16px; }
  .p-features__item { display: flex; }
  .p-features__body { padding: 22px 20px 14px; }
  .p-features__tag { font-size: 12px; padding: 6px 14px; }
  .p-features__tag::after { width: 90px; left: calc(100% + 10px); }
  .p-features__name { margin-top: 14px; font-size: 38px; }
  .p-features__title { margin-top: 10px; font-size: 15px; }
  .p-features__text { margin-top: 8px; font-size: 13px; line-height: 1.75; }
  .p-features__more { margin-top: 32px; }
  .p-features__more .c-btn { width: 100%; max-width: 320px; min-width: 0; }
  /* SP：画像の下30pxだけ削って表示 */
  .p-features__img { overflow: hidden; }
  .p-features__img img {
  height: auto;
  object-fit: fill;
  margin-bottom: -30px;
  }
}

/* =========================================================
   Effects
   ========================================================= */
.p-effects { background: var(--c-navy); color: #fff; padding: 84px 0 80px; }
.p-effects__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.p-effects__item { display: flex; flex-direction: column; align-items: center; padding: 16px 6px 10px; }
.p-effects__item + .p-effects__item { border-left: 1px solid rgba(255, 255, 255, .2); }
.p-effects__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  align-self: stretch;
  padding-left: 8px;
}
.p-effects__icon { display: block; flex-shrink: 0; align-self: flex-start; width: 52px; height: auto; }
.p-effects__head h3 { font-size: 18px; font-weight: 700; margin-top: 4px; }
.p-effects__num {
  margin: 0 0 16px 10px;
  font-family: var(--ff-num);
  font-size: 76px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-sky);
  font-variant-numeric: tabular-nums;
}
.p-effects__num span { font-size: 46px; font-weight: 700; margin-left: 4px; }
.p-effects__text { font-size: 14px; font-weight: 700; text-align: center; line-height: 1.7; }
.p-effects__item--cost .p-effects__head { margin-bottom: 18px; }
.p-effects__cost { font-size: 44px; font-weight: 900; line-height: 1.3; color: var(--c-sky); text-align: center; letter-spacing: .06em; margin-top:15px;}
.p-effects__label {
  width: fit-content;
  margin: 50px auto 45px;
  padding: 10px 26px 12px 26px;
  border: 1px solid rgba(255, 255, 255, .5);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}
.p-effects__values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.p-effects__values li { display: flex; gap: 16px; }
.p-effects__values h3 { font-size: 20px; font-weight: 700; color: var(--c-sky); line-height: 1.4; margin-bottom: 8px; }
.p-effects__values p { font-size: 14px; line-height: 1.7; }
.p-effects__values p strong { display: block; color: var(--c-sky); font-weight: 700; }

/* 1025〜1200px（iPad Pro など）：4列だと狭いので2列にし、改行（br）をなくす */
@media (min-width: 1025px) and (max-width: 1200px) {
  .p-effects__values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
  .p-effects__values p br { display: none; }
}

@media (max-width: 1024px) {
  .p-effects { padding: 72px 0; }
  .p-effects__list { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .p-effects__item:nth-child(3) { border-left: none; }
  .p-effects__values { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 743px) {
  .p-effects { padding: 35px 0 45px 0; }
  .p-effects__list { row-gap: 24px; }
  /* 2列：外側（画面端側）の余白をなくし、仕切り線側だけ余白を取る */
  .p-effects__item { padding: 0; }
  .p-effects__item:nth-child(odd)  { padding-right: 12px; }
  .p-effects__item:nth-child(even) { padding-left: 12px; }
  .p-effects__head { flex-direction: column; align-items: center; gap: 6px; padding-left: 0; text-align: center; }
  .p-effects__head .p-effects__icon { width: 52px; align-self: center; }
  .p-effects__head h3 { font-size: 13px; margin-top: 0; }
  .p-effects__num { margin: 0 0 8px; font-size: 52px; }
  .p-effects__num span { font-size: 28px; }
  .p-effects__text { font-size: 11px; }
  .p-effects__text br { display: none; }
  .p-effects__item--cost .p-effects__head { margin-bottom: 8px; }
  .p-effects__cost {margin-top:8px;}
  .p-effects__cost { font-size: 28px; }
  .p-effects__label { margin: 36px auto 32px; font-size: 15px; padding: 10px 16px; }
  .p-effects__values { grid-template-columns: 1fr; gap: 22px; }
  .p-effects__values h3 { font-size: 17px; margin-bottom: 4px; }
  .p-effects__values p br { display: none; }
  .p-effects__values p strong { display: inline; }
}

/* =========================================================
   Case Studies
   ========================================================= */
.p-case { padding: 84px 0 90px; }
.p-case__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 30px; }
.p-case__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 10px rgba(2, 11, 54, .12);
  transition: box-shadow .4s;
}
a.p-case__card:hover { box-shadow: 0 10px 28px rgba(2, 11, 54, .18); }
.p-case__img { aspect-ratio: 316 / 143; }
.p-case__tag {
  --tag: var(--c-blue);
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 20px 5px 16px;
  border-radius: 100px;
  background: var(--tag);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.p-case__tag svg { width: 18px; height: 18px; }
.p-case__tag.is-teal { --tag: #13868c; }
.p-case__tag.is-red { --tag: #c73a3a; }
.p-case__tag.is-yellow { --tag: #c9971a; }
.p-case__tag.is-green { --tag: #3c9a3c; }
.p-case__tag.is-purple { --tag: #7c4dc4; }
.p-case__body { display: flex; flex-direction: column; flex: 1; padding: 24px 22px 20px; }
.p-case__title { font-size: 16px; font-weight: 700; line-height: 1.6; margin-bottom: 10px; }
.p-case__text { font-size: 14px; color: var(--c-text-sub); line-height: 1.7;   margin-bottom:22px;}
.p-case__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-end;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-blue);
}
.p-case__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
a.p-case__card:hover .p-case__more svg { transform: translateX(4px); }

@media (max-width: 1024px) {
  .p-case { padding: 72px 0; }
  .p-case__list { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 743px) {
  .p-case { padding: 35px 0 45px 0; }
  .p-case__list { grid-template-columns: 1fr; gap: 20px; }
  .p-case__tag { font-size: 12px; padding: 4px 14px 4px 12px; }
  .p-case__body { padding: 18px 18px 16px; }
}

/* =========================================================
   Why
   ========================================================= */
.p-why { background: var(--c-bg-gray); padding: 84px 0 80px; }
.p-why__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.p-why__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 20px 35px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(2, 11, 54, .1);
  text-align: center;
}
.p-why__num { font-family: var(--ff-num); font-size: 50px; font-weight: 700; color: var(--c-blue); line-height: 1.2; }
.p-why__title { font-size: 23px; font-weight: 700; margin-top: 15px; }
.p-why__text { font-size: 16px; margin-top: 8px; color: var(--c-text-sub); font-weight: 500; }
.p-why__visual { width: 97%; margin-top: 45px; flex: 1; display: flex; align-items: center; justify-content: center; }
.p-why__visual img { display: block; width: 92%; height: auto; }
/* 順番にフェード表示（0.15秒間隔 / 3枚目は 0.30秒後に開始 → 約0.8秒で全て表示）
   リストに .js-fade を付け、画面に入ったら（JSで .is-show）カードを1枚ずつ表示 */
.js .p-why__list.js-fade { opacity: 1; transition: none; } /* リスト自体はフェードさせない */
.js .p-why__item { opacity: 0; transition: opacity .5s ease; }
.js .p-why__list.is-show .p-why__item { opacity: 1; }
.p-why__item:nth-child(2) { transition-delay: .15s; }
.p-why__item:nth-child(3) { transition-delay: .30s; }
@media (prefers-reduced-motion: reduce) {
  .js .p-why__item { opacity: 1; transition: none; }
}

@media (max-width: 1024px) {
  .p-why { padding: 72px 0; }
  .p-why__list { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 24px; }
}
@media (max-width: 743px) {
  .p-why { padding: 35px 0 45px 0; }
  .p-why__item { padding: 28px 16px 28px; }
  .p-why__num { font-size: 30px; }
  .p-why__title { font-size: 19px; }
  .p-why__visual { width: 90%;margin:30px auto 0 auto;}
}

/* =========================================================
   Tablet（744〜1024px）個別調整
   ========================================================= */
@media (min-width: 744px) and (max-width: 1024px) {
  /* Main Visual：テキストは左寄せ、画像は右下に寄せて画面右端からはみ出させ、
     テキストの右下に重ねる → セクションの縦幅を縮める（テキストは後に書かれているので画像の上に表示される） */
  .p-mv { text-align: left; }
.p-mv .p-mv__content{padding:10px 0 0 40px;}

  .p-mv__inner { padding-bottom: 90px; }
  .p-mv__bg { left: auto; right: -180px; width:90%; transform: none; }
  .p-mv__bg img { width: 100%; }

  /* Problem：縦長のPC用画像ではなく、横長の画像を幅いっぱいで表示 */
  .p-problem__visual { max-width: none; }
  .p-problem__visual-pc { display: none !important; }
  .p-problem__visual-sp { display: block !important; }

  /* Platform：テキスト・枠の幅制限を外して右側の空きをなくす */
  .p-platform__body { max-width: none; }
  .p-platform__img { max-width: 640px; }
  .p-platform__img img {width: 75%; margin:30px auto 0 auto; display:block;}

  /* Effects：各項目（アイコン＋見出し・数字・価値の4項目）を列の中央に揃える */
  .p-effects__head { justify-content: center; padding-left: 0; }
  .p-effects__num { margin-left: 0; }
  /* 下段の価値4項目：2列で横幅いっぱいに使い、説明文の改行（br）をなくして自然に折り返す */
  .p-effects__values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
  .p-effects__values p br { display: none; }

  /* Why：縦長カードをやめて横長に（左：番号・見出し・説明／右：画像） */
  .p-why__list { max-width: none; }
  .p-why__item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto 1fr; /* テキストは上詰め（最後の1frが余白を吸収） */
    column-gap: 40px;
    padding: 24px 36px 32px; /* 上24px＋数字の行間で、番号がカード上端から約30pxの位置 */
    text-align: left;
  }
  .p-why__num   { grid-column: 1; grid-row: 1; }
  .p-why__title { grid-column: 1; grid-row: 2; }
  .p-why__text  { grid-column: 1; grid-row: 3; font-size: 16px; margin-top: 8px;}
  .p-why__visual { grid-column: 2; grid-row: 1 / -1; width: 100%; margin-top: 0; }
  .p-why__visual img {width: 80%; height: auto;}

}
