@charset "UTF-8";

/* ============================================================
 * IT Pro Finder LP (page-ipf_lp.php) 専用スタイル
 *
 * ・フッターに footer-new.php を使う関係で common.css が同時に読み込まれる。
 *   common.css は .container / .site-header / .header-inner / .btn / .section-*
 *   などをスコープなしで定義しているため、LP側のクラスはすべて `ipf-` を
 *   付けて衝突を避けている。
 * ・LPの色・タイポグラフィは :root ではなく .ipf-lp に閉じ込め、
 *   フッター（common.css）側の見た目に影響させない。
 * ・画像パスはこのファイル（Arkhe-child/css/）からの相対パス。
 * ============================================================ */

/* ============================================================
   LAYOUT OVERRIDES
   Arkhe親テーマの .l-container は max-width と左右padding を持つため、
   フルブリードの hero / CTA が途切れる。ipf_lp では制約を解除する。
   ============================================================ */
body.page-ipf_lp {
  overflow-x: hidden;
}

body.page-ipf_lp .l-wrapper #content .l-container,
body.page-ipf_lp .l-content,
body.page-ipf_lp .l-content__body {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Arkhe親テーマの .l-content__body の margin: 3rem auto を打ち消す */
body.page-ipf_lp .l-content__body {
  margin: 0 auto;
}

/* ============================================================
   SCOPE ROOT
   ============================================================ */
.ipf-lp {
  --ipf-navy: #0C2D70;
  /* ヒーロー見出し */
  --ipf-navy-deep: #0A1F4E;
  /* セクション見出し */
  --ipf-navy-text: #16305F;
  /* カード見出し・ナビ */
  --ipf-text: #43506A;
  /* 本文 */
  --ipf-blue: #1668E8;
  /* プライマリブルー */
  --ipf-border-blue: #D9E5F7;
  --ipf-grad-primary: linear-gradient(92deg, #0895EC 0%, #0549DC 100%);
  --ipf-grad-header-btn: linear-gradient(180deg, #0747BE 0%, #0680EC 100%);
  --ipf-grad-underline: linear-gradient(90deg, #1E63DC 0%, #8FB3F1 100%);
  --ipf-grad-orange: linear-gradient(135deg, #FD8A0F 0%, #F95F02 100%);
  --ipf-shadow-card: 0 10px 30px rgba(20, 60, 120, 0.07);
  --ipf-radius-card: 16px;
  --ipf-header-h: 84px;
  --ipf-font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ipf-font-en: "Montserrat", sans-serif;

  font-family: var(--ipf-font-ja);
  color: var(--ipf-text);
  background: #fff;
  line-height: 1.8;
  letter-spacing: 0;
}

/* img / ul / a のリセット（display:block, list-style:none, color:inherit）は
   common.css が要素セレクタで定義済み。ここで `.ipf-lp a` のように
   クラス付きで再定義すると .ipf-btn-header 等の color 指定に勝ってしまうため定義しない。 */

.ipf-lp [id] {
  scroll-margin-top: calc(var(--ipf-header-h) + 8px);
}

.ipf-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   Header
   ============================================================ */
.ipf-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--ipf-header-h);
  transition: background-color .3s, box-shadow .3s;
}

.ipf-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(12, 45, 112, 0.08);
}

.ipf-header-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.ipf-brand {
  display: flex;
  align-items: center;
}

.ipf-brand-logo {
  height: 42px;
  width: auto;
}

.ipf-nav {
  margin-left: auto;
}

.ipf-nav ul {
  display: flex;
  gap: 36px;
}

.ipf-nav a {
  font-size: 15px;
  font-weight: 700;
  color: var(--ipf-navy-text);
  transition: color .2s;
}

.ipf-nav a:hover {
  color: var(--ipf-blue);
}

/* ---------- buttons ---------- */
.ipf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}

.ipf-btn:hover {
  transform: translateY(-2px);
}

.ipf-icon-arrow {
  width: 16px;
  height: 16px;
  flex: none;
}

.ipf-btn-header {
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
  color: #fff;
  background: var(--ipf-grad-header-btn);
  box-shadow: 0 6px 16px rgba(6, 90, 220, 0.28);
}

.ipf-btn-header:hover {
  box-shadow: 0 8px 20px rgba(6, 90, 220, 0.38);
}

.ipf-btn-primary {
  height: 64px;
  min-width: 360px;
  padding: 0 36px;
  font-size: 18px;
  color: #fff;
  background: var(--ipf-grad-primary);
  box-shadow: 0 12px 26px rgba(5, 80, 220, 0.30);
}

.ipf-btn-primary:hover {
  box-shadow: 0 14px 30px rgba(5, 80, 220, 0.42);
}

.ipf-btn-outline {
  height: 64px;
  min-width: 320px;
  padding: 0 32px;
  font-size: 18px;
  color: #0B5BE0;
  background: #fff;
  border: 2px solid #0B5BE0;
}

.ipf-btn-outline .ipf-icon-doc {
  width: 20px;
  height: 20px;
}

.ipf-btn-outline:hover {
  background: #F2F7FE;
}

/* ============================================================
   Hero
   ============================================================ */
.ipf-hero {
  position: relative;
  min-height: 810px;
  padding-top: calc(var(--ipf-header-h) + 56px);
  background:
    radial-gradient(900px 500px at 8% 108%, rgba(63, 130, 236, 0.14), transparent 60%),
    linear-gradient(160deg, #FDFEFF 0%, #F4F8FD 55%, #EAF2FB 100%);
  overflow: hidden;
}

/* 左上のうっすらした斜めリボン */
.ipf-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -220px;
  width: 640px;
  height: 320px;
  background: linear-gradient(115deg, rgba(120, 170, 240, 0.22), rgba(160, 200, 250, 0) 70%);
  transform: rotate(-32deg);
  pointer-events: none;
}

/* 左下のハーフトーンドット */
.ipf-hero-dots {
  position: absolute;
  left: 6%;
  bottom: -26px;
  width: 300px;
  height: 190px;
  background-image: radial-gradient(circle, rgba(30, 100, 220, 0.30) 2.4px, transparent 3px);
  background-size: 16px 16px;
  transform: skewX(-18deg);
  -webkit-mask-image: linear-gradient(115deg, transparent 0%, #000 40%, transparent 85%);
  mask-image: linear-gradient(115deg, transparent 0%, #000 40%, transparent 85%);
  pointer-events: none;
}

.ipf-hero-photo {
  position: absolute;
  top: 90px;
  right: 0;
  bottom: 0;
  width: min(48%, 660px);
  pointer-events: none;
}

.ipf-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 96px);
  mask-image: linear-gradient(90deg, transparent 0, #000 96px);
}

.ipf-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.ipf-hero-title {
  position: relative;
  color: var(--ipf-navy);
  font-weight: 900;
  line-height: 1.42;
}

.ipf-title-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.ipf-title-line .ipf-hl {
  position: relative;
  display: inline-block;
  padding: 0 10px 0 4px;
}

/* 見出し下のグラデーション帯 */
.ipf-title-line .ipf-hl::before {
  content: "";
  position: absolute;
  left: -6px;
  right: -28px;
  top: 12%;
  bottom: -2%;
  background: linear-gradient(90deg, rgba(122, 172, 242, 0.42), rgba(165, 202, 250, 0.16) 62%, rgba(165, 202, 250, 0) 100%);
  transform: skewX(-14deg);
  z-index: -1;
}

.ipf-hero-title b {
  font-size: 58px;
  font-weight: 900;
}

.ipf-hero-title small {
  font-size: 36px;
  font-weight: 900;
}

/* 斜線の装飾 */
.ipf-slashes {
  display: inline-flex;
  gap: 7px;
  align-self: center;
  margin-right: 6px;
}

.ipf-slashes i {
  width: 8px;
  height: 46px;
  border-radius: 2px;
  background: linear-gradient(180deg, #6FA6F0, #1E63DC);
  transform: skewX(-26deg);
}

.ipf-slashes-end {
  margin: 0 0 0 10px;
}

.ipf-slashes-end i {
  height: 40px;
}

/* 3x2 のドット装飾（見出しが1行になったため、行末に流し込む） */
.ipf-dots-accent {
  align-self: flex-start;
  margin: 6px 0 0 12px;
  display: grid;
  grid-template-columns: repeat(3, 9px);
  gap: 9px;
}

.ipf-dots-accent i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3E8AF0, #1257D6);
}

.ipf-hero-lead {
  margin-top: 30px;
  font-size: 17px;
  font-weight: 700;
  color: #2A3B5E;
  line-height: 2;
}

.ipf-hero-checklist {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 300px auto;
  gap: 14px 24px;
  justify-content: start;
}

.ipf-hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ipf-navy-text);
  white-space: nowrap;
}

.ipf-check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M7 12.4l3.4 3.4L17.4 9" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 16px no-repeat,
    linear-gradient(135deg, #3F8DF2, #0D55DE);
  box-shadow: 0 4px 10px rgba(20, 90, 220, 0.30);
}

.ipf-hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.ipf-hero-notes {
  margin-top: 30px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.ipf-hero-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #223A66;
}

.ipf-hero-notes svg {
  width: 20px;
  height: 20px;
  color: #2470E5;
  flex: none;
}

/* ============================================================
   Sections common
   ============================================================ */
.ipf-section {
  padding: 92px 0 100px;
}

.ipf-sec-title {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--ipf-navy-deep);
  line-height: 1.5;
}

.ipf-sec-title::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  border-radius: 2px;
  margin: 18px auto 0;
  background: var(--ipf-grad-underline);
}

/* ============================================================
   お悩み
   ============================================================ */
.ipf-sec-concern {
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFE 100%);
}

.ipf-concern-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ipf-concern-card {
  background: #fff;
  border-radius: var(--ipf-radius-card);
  box-shadow: var(--ipf-shadow-card);
  padding: 44px 24px 40px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.ipf-concern-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 60, 120, 0.12);
}

.ipf-concern-card img {
  height: 96px;
  width: auto;
  margin: 0 auto;
}

.ipf-concern-card p {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--ipf-navy-text);
}

/* ============================================================
   IT Pro Finderが提供する判断基準
   ============================================================ */
.ipf-sec-strength {
  background: #F3F7FC url('../images/ipf_lp/strength.webp') no-repeat center bottom / cover;
}

/* カードは2枚。4列のままだと間延びするため中央寄せの2列に固定する。 */
.ipf-strength-grid {
  max-width: 840px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.ipf-strength-card {
  background: #fff;
  border-radius: var(--ipf-radius-card);
  overflow: hidden;
  box-shadow: var(--ipf-shadow-card);
  transition: transform .25s, box-shadow .25s;
}

.ipf-strength-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 60, 120, 0.12);
}

.ipf-strength-card figure {
  height: 234px;
  overflow: hidden;
}

.ipf-strength-card figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.045);
  /* 元画像の縁に残るカード境界線を外へ逃がす */
}

.ipf-strength-body {
  padding: 26px 22px 32px;
}

.ipf-strength-body h3 {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  color: #1A5CD6;
}

.ipf-strength-body p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.95;
}

/* ============================================================
   選ばれる理由
   ============================================================ */
.ipf-sec-reason {
  background: #fff;
}

.ipf-reason-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.ipf-reason-card {
  background: #fff;
  border: 1px solid #E3EAF3;
  border-radius: var(--ipf-radius-card);
  padding: 34px 24px 36px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.ipf-reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ipf-shadow-card);
}

.ipf-reason-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2E7FF0, #0D55DE);
  color: #fff;
  font-family: var(--ipf-font-en);
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(20, 90, 220, 0.28);
}

.ipf-reason-icon {
  height: 104px;
  width: auto;
  margin: 22px auto 0;
}

.ipf-reason-card h3 {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ipf-navy-text);
}

.ipf-reason-card p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.95;
  text-align: left;
}

/* ============================================================
   相談前と相談後の変化
   ============================================================ */
.ipf-sec-change {
  background: #E4F0FB url('../images/ipf_lp/change.webp') no-repeat center / cover;
}

.ipf-change-wrap {
  margin-top: 56px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 34px;
}

.ipf-change-panel {
  flex: 0 1 500px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20, 60, 120, 0.10);
}

.ipf-change-head {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
}

.ipf-change-before .ipf-change-head {
  background: linear-gradient(180deg, #9AA8BB, #8C9BB0);
}

.ipf-change-after .ipf-change-head {
  background: linear-gradient(90deg, #1C8DF9, #0C7BF0);
}

.ipf-change-panel ul {
  padding: 6px 32px;
}

.ipf-change-panel li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
}

.ipf-change-panel li+li {
  border-top: 1px solid #E9EEF4;
}

.ipf-change-panel li img {
  width: 48px;
  height: 48px;
  flex: none;
}

.ipf-change-panel li span {
  font-size: 17px;
  font-weight: 700;
  color: #22314F;
}

.ipf-change-arrows {
  display: flex;
  align-items: center;
  color: #8B9AB0;
}

.ipf-change-arrows svg {
  width: 44px;
  height: 44px;
}

.ipf-change-arrows svg+svg {
  margin-left: -22px;
}

/* ============================================================
   よくある質問
   ============================================================ */
.ipf-sec-faq {
  background: #fff;
}

.ipf-faq-list {
  max-width: 1140px;
  margin: 52px auto 0;
}

.ipf-faq-item {
  background: #fff;
  border: 1.5px solid var(--ipf-border-blue);
  border-radius: 14px;
  overflow: hidden;
}

.ipf-faq-item+.ipf-faq-item {
  margin-top: 18px;
}

.ipf-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 28px;
  text-align: left;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ipf-navy-text);
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.ipf-faq-toggle {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}

.ipf-faq-toggle::before,
.ipf-faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: #1D7BF5;
  transform: translate(-50%, -50%);
  transition: transform .3s;
}

.ipf-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ipf-faq-item.is-open .ipf-faq-toggle::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.ipf-faq-item.is-open .ipf-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(180deg);
}

.ipf-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.ipf-faq-a p {
  padding: 2px 28px 22px;
  font-size: 15px;
  line-height: 1.9;
  color: #4A576B;
}

/* ============================================================
   私たちの想い
   ============================================================ */
.ipf-sec-vision {
  background: #F5F8FD url('../images/ipf_lp/vision.webp') no-repeat center bottom / cover;
}

.ipf-vision-body {
  max-width: 1140px;
  margin: 52px auto 0;
  padding: 54px 56px 56px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--ipf-shadow-card);
  text-align: center;
}

.ipf-vision-catch {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.6;
  color: var(--ipf-navy-deep);
}

.ipf-vision-text {
  margin-top: 22px;
  font-size: 16px;
  line-height: 2.1;
}

/* 段落グループの区切りドット */
.ipf-vision-dots {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin: 26px 0 2px;
}

.ipf-vision-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A9C7F3;
}

/* 価値観のハイライト帯 */
.ipf-vision-value {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 30px;
  margin-top: 36px;
  padding: 26px 44px;
  border-radius: 16px;
  background: linear-gradient(180deg, #F1F7FE 0%, #E8F1FC 100%);
  text-align: center;
}

.ipf-vision-value-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #E1EDFC;
  color: #4A90E8;
}

.ipf-vision-value-icon svg {
  width: 44px;
  height: 44px;
}

.ipf-vision-value-lead {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.6;
  color: var(--ipf-navy-deep);
}

.ipf-vision-value-text p+p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.8;
}

/* 4つの価値カード */
.ipf-vision-cards {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ipf-vision-cards li {
  padding: 24px 16px 26px;
  border-radius: 14px;
  background: linear-gradient(180deg, #FAFCFF 0%, #F2F7FD 100%);
}

/* SVG側に淡い円背景が含まれているため、CSSでは円を重ねない */
.ipf-vision-cards img {
  width: 88px;
  height: 88px;
  margin: 0 auto;
}

.ipf-vision-cards h3 {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ipf-navy-text);
}

.ipf-vision-cards p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.85;
}

.ipf-vision-closing {
  margin-top: 30px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--ipf-navy-deep);
}

/* ============================================================
   CTA
   ============================================================ */
.ipf-sec-cta {
  padding: 20px 40px 48px;
}

.ipf-cta-box {
  position: relative;
  max-width: 1360px;
  min-height: 455px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(100deg, #2C86E8 0%, #0B66D0 45%, #0143A5 100%);
  box-shadow: 0 20px 50px rgba(4, 60, 150, 0.25);
}

.ipf-cta-photo {
  position: absolute;
  inset: 0 auto 0 0;
  width: 47%;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
  pointer-events: none;
}

.ipf-cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 82%, transparent 100%);
}

.ipf-cta-content {
  position: relative;
  z-index: 2;
  margin-left: 48.5%;
  padding: 62px 72px 54px 0;
  color: #fff;
}

.ipf-cta-content h2 {
  font-size: clamp(27px, 2.65vw, 38px);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.5;
}

.ipf-cta-content>p {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.96);
}

.ipf-btn-cta {
  margin-top: 34px;
  height: 82px;
  min-width: min(520px, 100%);
  padding: 0 44px;
  font-size: 23px;
  font-weight: 800;
  color: #fff;
  background: var(--ipf-grad-orange);
  box-shadow: 0 14px 32px rgba(220, 90, 5, 0.45);
}

.ipf-btn-cta:hover {
  box-shadow: 0 18px 38px rgba(220, 90, 5, 0.58);
}

.ipf-btn-cta .ipf-icon-arrow {
  width: 20px;
  height: 20px;
}

.ipf-cta-notes {
  margin-top: 34px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.ipf-cta-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.ipf-cta-notes svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: #fff;
}

/* ============================================================
   Reveal animation
   ============================================================ */
.ipf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.ipf-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.ipf-concern-grid .ipf-reveal:nth-child(2),
.ipf-strength-grid .ipf-reveal:nth-child(2),
.ipf-reason-grid .ipf-reveal:nth-child(2) {
  transition-delay: .08s;
}

.ipf-concern-grid .ipf-reveal:nth-child(3),
.ipf-strength-grid .ipf-reveal:nth-child(3),
.ipf-reason-grid .ipf-reveal:nth-child(3) {
  transition-delay: .16s;
}

.ipf-concern-grid .ipf-reveal:nth-child(4),
.ipf-strength-grid .ipf-reveal:nth-child(4),
.ipf-reason-grid .ipf-reveal:nth-child(4) {
  transition-delay: .24s;
}

.ipf-concern-grid .ipf-reveal:nth-child(5) {
  transition-delay: .08s;
}

.ipf-concern-grid .ipf-reveal:nth-child(6) {
  transition-delay: .16s;
}

@media (prefers-reduced-motion: reduce) {
  .ipf-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {

  /* ナビ6項目＋CTAボタンが1行に収まるよう、余白と文字を詰める */
  .ipf-header-inner {
    padding: 0 24px;
    gap: 24px;
  }

  .ipf-nav ul {
    gap: 18px;
  }

  .ipf-nav a {
    font-size: 14px;
  }

  .ipf-btn-header {
    height: 46px;
    padding: 0 20px;
    font-size: 14px;
  }

  .ipf-hero-title b {
    font-size: 48px;
  }

  .ipf-hero-title small {
    font-size: 30px;
  }

  .ipf-hero-photo {
    width: 44%;
  }

  .ipf-strength-grid,
  .ipf-reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ipf-cta-content h2 {
    font-size: 32px;
  }

  .ipf-btn-cta {
    min-width: 0;
    width: 100%;
    font-size: 20px;
  }
}

/* これ以下の幅ではナビ6項目が1行に収まらないため非表示にする */
@media (max-width: 1000px) {
  .ipf-nav {
    display: none;
  }

  /* 4列だとカード内の改行位置が崩れるため2列へ */
  .ipf-vision-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .ipf-hero {
    min-height: 0;
    padding-bottom: 64px;
    display: flex;
    flex-direction: column;
  }

  .ipf-hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 320px;
    margin-top: 44px;
    order: 2;
  }

  .ipf-hero-photo img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 60px);
    mask-image: linear-gradient(180deg, transparent 0, #000 60px);
    object-position: center 20%;
  }

  .ipf-hero-inner {
    order: 1;
    width: 100%;
  }

  .ipf-dots-accent {
    display: none;
  }

  .ipf-concern-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ipf-change-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .ipf-change-panel {
    flex-basis: auto;
  }

  .ipf-change-arrows {
    justify-content: center;
  }

  .ipf-change-arrows svg {
    transform: rotate(90deg);
  }

  .ipf-cta-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 300px;
  }

  .ipf-cta-photo img {
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    object-position: center;
  }

  .ipf-cta-content {
    margin-left: 0;
    padding: 40px 36px 48px;
  }
}

/* common.css は 900px 以下で body に padding-bottom:70px を掛けるが、
   このLPは header-new.php の .mobile-bottom-cta を出力しないため打ち消す。 */
@media (max-width: 900px) {
  body.page-ipf_lp {
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .ipf-header-inner {
    padding: 0 18px;
    gap: 12px;
  }

  .ipf-brand-logo {
    height: 30px;
  }

  .ipf-btn-header {
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .ipf-hero {
    padding-top: calc(var(--ipf-header-h) + 16px);
  }

  .ipf-hero-title b {
    font-size: 32px;
  }

  .ipf-hero-title small {
    font-size: 21px;
  }

  .ipf-title-line {
    gap: 8px;
  }

  .ipf-slashes i {
    width: 5px;
    height: 30px;
  }

  /* 1行見出しが折り返すのを避けるため、末尾の斜線は省略 */
  .ipf-slashes-end {
    display: none;
  }

  .ipf-hero-lead {
    font-size: 14.5px;
  }

  .ipf-hero-checklist {
    grid-template-columns: 1fr;
  }

  .ipf-hero-actions {
    flex-direction: column;
  }

  .ipf-btn-primary,
  .ipf-btn-outline {
    min-width: 0;
    width: 100%;
  }

  .ipf-section {
    padding: 64px 0 72px;
  }

  .ipf-sec-title {
    font-size: 26px;
  }

  .ipf-container {
    padding: 0 20px;
  }

  .ipf-concern-grid {
    grid-template-columns: 1fr;
  }

  .ipf-strength-grid,
  .ipf-reason-grid {
    grid-template-columns: 1fr;
  }

  .ipf-concern-card p {
    font-size: 15.5px;
  }

  .ipf-vision-body {
    padding: 34px 20px 36px;
  }

  .ipf-vision-catch {
    font-size: 20px;
  }

  .ipf-vision-text {
    font-size: 14.5px;
  }

  .ipf-vision-value {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
    text-align: center;
  }

  .ipf-vision-value-icon {
    width: 72px;
    height: 72px;
  }

  .ipf-vision-value-icon svg {
    width: 38px;
    height: 38px;
  }

  .ipf-vision-value-lead {
    font-size: 18px;
  }

  .ipf-vision-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ipf-vision-closing {
    font-size: 15.5px;
  }

  .ipf-faq-q {
    font-size: 15.5px;
    padding: 18px 20px;
  }

  .ipf-faq-a p {
    padding: 0 20px 18px;
  }

  .ipf-sec-cta {
    padding: 8px 16px 32px;
  }

  .ipf-cta-content {
    padding: 32px 22px 40px;
  }

  .ipf-cta-content h2 {
    font-size: 24px;
  }

  .ipf-btn-cta {
    height: 66px;
    font-size: 17px;
    padding: 0 24px;
  }

  .ipf-change-panel ul {
    padding: 4px 20px;
  }

  .ipf-change-panel li span {
    font-size: 15px;
  }
}