@charset "UTF-8";
/*! Compiled from assets/scss/object/project/project-sub.scss by Dart Sass — do not edit this generated file directly. */
/* FLOCSS Object/Project — SUB .p-* (from project-sub.css) + c-gbtn. */
/* =========================================================
   WEBeffect — FLOCSS-style SUB PAGES
   Builds on project.css (header, footer, tokens, idx, disp…)
   ========================================================= */
/* ---------- SUB HERO ---------- */
.p-subhero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(96px, 13vh, 150px) 0 clamp(64px, 9vh, 110px);
}
.p-subhero__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.p-subhero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  transform: scale(1.06);
}
.p-subhero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, var(--navy) 24%, color-mix(in oklab, var(--navy) 80%, transparent) 62%, color-mix(in oklab, var(--navy) 52%, transparent) 100%), linear-gradient(to top, var(--navy), transparent 55%);
}
.p-subhero__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 860px) {
  .p-subhero__grid {
    grid-template-columns: 1fr;
  }
}
.p-subhero__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #90A2BC;
  margin-bottom: 22px;
}
.p-subhero__crumbs a:hover {
  color: #fff;
}
.p-subhero__crumbs .cur {
  color: #C6D4E6;
}
.p-subhero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  line-height: 1.32;
  letter-spacing: -0.005em;
  font-size: clamp(30px, 4vw, 54px);
  margin: 18px 0 0;
}
.p-subhero h1 em {
  font-style: normal;
  color: var(--accent);
}
.p-subhero__lede {
  font-family: var(--font-jp);
  color: #C6D4E6;
  line-height: 2;
  font-size: clamp(14px, 1.1vw, 16px);
  margin: 24px 0 0;
  max-width: 560px;
}
.p-subhero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.p-subhero__chips .c-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #E6EEF8;
}
.p-subhero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.p-subhero__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.p-subhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 860px) {
  .p-subhero__media {
    display: none;
  }
}
.p-subhero__mtag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: color-mix(in oklab, var(--navy) 55%, transparent);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 999px;
}
.p-subhero--text .p-subhero__grid {
  display: block;
  max-width: 820px;
}

/* ---------- SECTION HEAD (sub) ---------- */
.p-section-head {
  margin-bottom: clamp(36px, 5vh, 60px);
}
.p-section-head--center {
  text-align: center;
  display: grid;
  justify-items: center;
}
.p-section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 18px 0 0;
}
.p-section-head h2 em {
  font-style: normal;
  color: var(--accent);
}
.p-section-head p {
  margin: 18px 0 0;
  max-width: 620px;
}
.p-section-head--center p {
  margin-inline: auto;
}
.p-section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

/* ---------- CHECKLIST ---------- */
.p-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 680px) {
  .p-checklist {
    grid-template-columns: 1fr;
  }
}
.p-checklist__item {
  position: relative;
  padding: 20px 22px 20px 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.6;
  font-size: 15px;
}
.p-checklist__item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 21px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.p-checklist__item::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- SERVICE/FEATURE CARDS ---------- */
.p-scards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .p-scards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .p-scards {
    grid-template-columns: 1fr;
  }
}
.p-scards--2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 600px) {
  .p-scards--2 {
    grid-template-columns: 1fr;
  }
}
.p-scards--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 880px) {
  .p-scards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .p-scards--4 {
    grid-template-columns: 1fr;
  }
}

.p-scard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.p-scard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.p-scard__no {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.p-scard__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
}
.p-scard__icon svg {
  width: 24px;
  height: 24px;
}
.p-scard h4 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  line-height: 1.5;
  margin: 2px 0 0;
}
.p-scard p {
  font-family: var(--font-jp);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-3);
  margin: 0;
}
.p-scard p.p-scard__eg {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--accent-strong);
  font-weight: 600;
  margin: 2px 0 0;
}

/* ---------- PURPOSES (tech / 対応領域グリッド) ---------- */
.p-purposes {
  display: grid;
  gap: 0;
  max-width: 860px;
}

.p-purpose {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: start;
  padding: 22px 4px;
  border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
  .p-purpose {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.p-purpose:last-child {
  border-bottom: 1px solid var(--line);
}
.p-purpose .c-taglist {
  margin-top: 0;
}

.p-purpose__k {
  font-family: var(--font-jp);
  font-weight: 700;
  color: var(--navy);
  font-size: 14.5px;
  padding-top: 5px;
}

/* ---------- TWO COLUMN ---------- */
.p-tcol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 820px) {
  .p-tcol {
    grid-template-columns: 1fr;
  }
}
.p-tcol h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 16px 0 18px;
}
.p-tcol h2 em {
  font-style: normal;
  color: var(--accent);
}
.p-tcol p {
  color: var(--ink-3);
  line-height: 1.95;
}
.p-tcol__media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.p-tcol__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-tcol__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  display: grid;
  gap: 14px;
}

/* ---------- BODY FIGURE (inline editorial image) ---------- */
.p-bodyfig {
  margin: clamp(30px, 4vh, 46px) 0;
}
.p-bodyfig__frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}
.p-bodyfig__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-bodyfig__tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: color-mix(in oklab, var(--navy) 62%, transparent);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
}
.p-bodyfig figcaption {
  font-family: var(--font-jp);
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 11px;
  line-height: 1.7;
}

/* ---------- PLANS (pricing cards) ---------- */
.p-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 820px) {
  .p-plans {
    grid-template-columns: 1fr;
  }
}

.p-plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.p-plan--featured {
  border: 1.5px solid var(--accent);
  box-shadow: 0 24px 56px -28px color-mix(in oklab, var(--accent) 70%, transparent);
}
.p-plan--featured::after {
  content: "おすすめ";
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-jp);
}
.p-plan__name {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.p-plan__h {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin: 0;
}
.p-plan__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.p-plan__price .yen {
  font-size: 22px;
}
.p-plan__price small {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 500;
  font-family: var(--font-jp);
}
.p-plan__desc {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.8;
  margin: 0;
}
.p-plan ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 11px;
}
.p-plan li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.p-plan li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- PRICE TABLE ---------- */
.p-ptable {
  border-top: 1px solid var(--line);
}
.p-ptable__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 30px;
  padding: 24px 6px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.3s, padding 0.3s;
}
.p-ptable__row:hover {
  background: var(--bg-soft);
  padding-left: 16px;
}
.p-ptable__name {
  font-family: var(--font-jp);
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
}
.p-ptable__name small {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 4px;
}
.p-ptable__price {
  justify-self: end;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 24px;
  white-space: nowrap;
}
.p-ptable__price small {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}
.p-ptable__desc {
  grid-column: 1/-1;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.8;
  margin-top: 6px;
  max-width: 680px;
}

.p-pnote {
  margin-top: 26px;
  padding: 22px 24px;
  background: var(--bg-blue-2);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 2;
}
.p-pnote b {
  color: var(--navy);
}

/* ---------- FAQ ---------- */
.p-faq__list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.p-faq__item {
  border-bottom: 1px solid var(--line);
}
.p-faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.5;
}
.p-faq__q-toggle {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.p-faq__q-toggle::before, .p-faq__q-toggle::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.3s var(--ease);
}
.p-faq__q-toggle::before {
  left: 0;
  top: 9px;
  width: 20px;
  height: 2px;
}
.p-faq__q-toggle::after {
  left: 9px;
  top: 0;
  width: 2px;
  height: 20px;
}
.p-faq__item.is-open .p-faq__q-toggle::after {
  transform: scaleY(0);
}
.p-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.p-faq__item.is-open .p-faq__a {
  grid-template-rows: 1fr;
}
.p-faq__a-inner {
  overflow: hidden;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.95;
}
.p-faq__a-inner > div {
  padding: 0 4px 26px;
}

/* ---------- CONTACT FORM ---------- */
.p-cform-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 820px) {
  .p-cform-grid {
    grid-template-columns: 1fr;
  }
}

.p-cside h3 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 14px;
}
.p-cside p {
  color: var(--ink-3);
  line-height: 1.95;
  font-size: 14px;
}
.p-cside ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 11px;
}
.p-cside li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.p-cside li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.p-cside__box {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.p-cform {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 20px;
}
.p-cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 820px) {
  .p-cform__row {
    grid-template-columns: 1fr;
  }
}
.p-cform__g {
  display: grid;
  gap: 8px;
}
.p-cform label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.p-cform .req {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
}
.p-cform .opt {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 4px;
}
.p-cform input,
.p-cform select,
.p-cform textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px 14px;
  font-size: 14px;
  background: var(--bg-soft);
  color: var(--navy);
  transition: border-color 0.25s, background 0.25s;
}
.p-cform input:focus,
.p-cform select:focus,
.p-cform textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.p-cform textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.8;
}
.p-cform__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 820px) {
  .p-cform__checks {
    grid-template-columns: 1fr;
  }
}
.p-cform__check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.p-cform__check:hover {
  border-color: var(--accent);
}
.p-cform__check input {
  width: auto;
}
.p-cform__note {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.7;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 9px;
}
.p-cform__note a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- NEWS ARCHIVE ---------- */
.p-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.p-filterbar button {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  background: #fff;
  transition: 0.25s;
}
.p-filterbar button:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.p-filterbar button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---------- TOOLS row ---------- */
/* ---------- SUB CTA BAND ---------- */
.p-subcta {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-radius: 20px;
  padding: clamp(40px, 5vw, 68px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  isolation: isolate;
}
.p-subcta__glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  right: -12vw;
  top: -60%;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 45%, transparent), transparent 64%);
  filter: blur(20px);
  opacity: 0.5;
}
.p-subcta h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.3;
  margin: 0;
}
.p-subcta p {
  color: #AFC0D6;
  margin: 14px 0 0;
  max-width: 460px;
  line-height: 1.9;
  font-size: 14px;
}
.p-subcta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

/* ---------- BEFORE / AFTER ---------- */
/* ---------- FLOW MINI (numbered steps) ---------- */
.p-flowmini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 820px) {
  .p-flowmini {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .p-flowmini {
    grid-template-columns: 1fr;
  }
}
.p-flowmini__i {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 24px 24px 60px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.5;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.p-flowmini__i:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.p-flowmini__i .n {
  position: absolute;
  left: 22px;
  top: 23px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.p-flowmini__i small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.7;
}

/* ---------- PRICE DETAIL BLOCK ---------- */
.p-prc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(28px, 3vw, 46px);
}
.p-prc + .p-prc {
  margin-top: 22px;
}
.p-prc__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.p-prc__name {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 27px);
  color: var(--navy);
  margin: 12px 0 0;
}
.p-prc__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}
.p-prc__price small {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  margin-left: 4px;
}
.p-prc__price .sub {
  display: block;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 8px;
  white-space: normal;
}
.p-prc__desc {
  font-family: var(--font-jp);
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-3);
  max-width: 780px;
}
.p-prc__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  margin-top: 28px;
}
@media (max-width: 680px) {
  .p-prc__lists {
    grid-template-columns: 1fr;
  }
}
.p-prc__cap {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 600;
}
.p-prc__ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.p-prc__ul li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-jp);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.p-prc__ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.p-prc__ul--vary li::before {
  border: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-4);
  top: 8px;
  left: 5px;
  transform: none;
}

/* ---------- ADD-COST NOTE LIST ---------- */
.p-notelist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 680px) {
  .p-notelist {
    grid-template-columns: 1fr;
  }
}
.p-notelist__i {
  position: relative;
  padding: 16px 20px 16px 50px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.p-notelist__i::before {
  content: "!";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
}

/* ---------- WORKS / CASE CARDS ---------- */
.p-works-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 2.4vw, 32px);
  margin-top: clamp(32px, 4vh, 48px);
}
@media (max-width: 880px) {
  .p-works-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .p-works-cards {
    grid-template-columns: 1fr;
  }
}

.p-wcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.p-wcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.p-wcard__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
}
.p-wcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1s var(--ease);
}
.p-wcard:hover .p-wcard__media img {
  transform: scale(1.1);
}
.p-wcard__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-jp);
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: color-mix(in oklab, var(--navy) 64%, transparent);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
}
.p-wcard__body {
  padding: clamp(20px, 1.8vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.p-wcard__title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--navy);
  line-height: 1.5;
  margin: 0;
}
.p-wcard__desc {
  font-family: var(--font-jp);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-3);
  margin: 0;
}
.p-wcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}
.p-wcard__tags span {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.p-wcard__more {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease);
}
.p-wcard__more::after {
  content: "→";
}
.p-wcard:hover .p-wcard__more {
  gap: 14px;
}
.p-wcard.is-hidden {
  display: none;
}
.p-wcard__date {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}
.p-wcard__metarow {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- CASE STUDY (works detail) ---------- */
.p-case-head {
  margin-bottom: clamp(22px, 3vh, 32px);
}
.p-case-head .n {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.p-case-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(23px, 2.5vw, 33px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 12px 0 0;
}
.p-case-head h2 em {
  font-style: normal;
  color: var(--accent);
}

.p-case-wrap {
  max-width: 900px;
}

/* overview card */
.p-case-overview {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-md);
}
.p-case-overview__label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 4px;
}
.p-case-overview .p-spec {
  max-width: none;
  margin-top: 18px;
}
.p-case-overview .p-spec__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.p-case-overview .p-spec__row:first-child {
  padding-top: 0;
}

/* numbered issue cards */
.casenum .p-scard {
  padding: 26px 28px;
}
.casenum .p-scard h4 {
  font-size: 15.5px;
}

/* highlight (工夫した点) */
.p-case-cue {
  position: relative;
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 24%, transparent);
  border-radius: 16px;
  padding: clamp(26px, 3vw, 36px) clamp(26px, 3vw, 40px);
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
@media (max-width: 480px) {
  .p-case-cue {
    flex-direction: column;
    gap: 16px;
  }
}
.p-case-cue__ic {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #fff;
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.p-case-cue__ic svg {
  width: 25px;
  height: 25px;
}
.p-case-cue p {
  font-family: var(--font-jp);
  font-size: 15.5px;
  line-height: 2.02;
  color: var(--ink);
  margin: 0;
}

/* result cards */
/* simple list inside case sections */
/* ---------- CATEGORY COLUMNS ---------- */
.p-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 26px);
  margin-top: clamp(32px, 4vh, 48px);
}
@media (max-width: 880px) {
  .p-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .p-categories {
    grid-template-columns: 1fr;
  }
}

.p-category {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(24px, 2.2vw, 32px);
}
.p-category__h {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-category__h .ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.p-category__h .ic svg {
  width: 16px;
  height: 16px;
}
.p-category ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.p-category li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.p-category li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- ABOUT: spec table + service links ---------- */
.p-spec {
  border-top: 1px solid var(--line);
  max-width: 780px;
}
.p-spec__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px 6px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 560px) {
  .p-spec__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.p-spec__k {
  font-family: var(--font-jp);
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
.p-spec__v {
  font-family: var(--font-jp);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}
.p-spec__v a {
  color: var(--accent);
  text-decoration: underline;
}

.p-aboutlinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 760px) {
  .p-aboutlinks {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .p-aboutlinks {
    grid-template-columns: 1fr;
  }
}
.p-aboutlinks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}
.p-aboutlinks a::after {
  content: "→";
  color: var(--ink-4);
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}
.p-aboutlinks a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.p-aboutlinks a:hover::after {
  color: var(--accent);
  transform: translateX(3px);
}
.p-aboutlinks--pair {
  grid-template-columns: repeat(2, 1fr);
}

/* ---------- LEGAL / PRIVACY ---------- */
.p-legal {
  max-width: 840px;
}
.p-legal__block {
  padding: clamp(26px, 3.4vh, 38px) 0;
  border-bottom: 1px solid var(--line);
}
.p-legal__block:first-child {
  padding-top: 4px;
}
.p-legal__block:last-child {
  border-bottom: 0;
}
.p-legal h3 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--navy);
  margin: 0 0 14px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.p-legal h3 .n {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  flex-shrink: 0;
}
.p-legal p {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 2;
  color: var(--ink-2);
  margin: 0;
}
.p-legal p + p {
  margin-top: 12px;
}
.p-legal ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.p-legal li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}
.p-legal li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.p-legal a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- CASE / ARTICLE DETAIL ---------- */
.p-case-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: clamp(32px, 4vh, 48px);
  max-width: 880px;
}
@media (max-width: 600px) {
  .p-case-nav {
    grid-template-columns: 1fr;
  }
}
.p-case-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.p-case-nav a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.p-case-nav a.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* article: this-article-covers box + content typography */
.p-prose {
  font-family: var(--font-jp);
  color: var(--ink-2);
}
.p-prose h2 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 26px);
  color: var(--navy);
  line-height: 1.5;
  margin: clamp(34px, 4vh, 48px) 0 16px;
  padding-top: clamp(10px, 1.4vh, 16px);
  scroll-margin-top: 100px;
}
.p-prose h3 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--navy);
  margin: 30px 0 12px;
}
.p-prose p {
  font-size: 15px;
  line-height: 2.05;
  margin: 0 0 16px;
}
.p-prose ul,
.p-prose ol {
  margin: 0 0 18px;
  padding-left: 4px;
  list-style: none;
  display: grid;
  gap: 10px;
}
.p-prose ul li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.85;
}
.p-prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.p-prose ol {
  counter-reset: pol;
}
.p-prose ol li {
  position: relative;
  padding-left: 36px;
  font-size: 14.5px;
  line-height: 1.85;
}
.p-prose ol li::before {
  counter-increment: pol;
  content: counter(pol);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.p-prose .pointbox {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 22px 0;
}
.p-prose .pointbox b {
  color: var(--navy);
}

/* ---------- ARTICLE TEMPLATE (news/column detail) ---------- */
/* hero meta */
.p-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 22px;
}
.p-article-meta__cat {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
}
.p-article-meta__time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-en);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #C6D4E6;
}
.p-article-meta__time svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.p-subhero--text .p-article-meta__time {
  color: #C6D4E6;
}

/* 2-column body: article + sticky sidebar */
.p-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(40px, 5vw, 76px);
  align-items: start;
  max-width: 1060px;
  margin-inline: auto;
}
@media (max-width: 960px) {
  .p-article {
    grid-template-columns: 1fr;
    max-width: 760px;
  }
}

.p-article-main {
  max-width: 760px;
  min-width: 0;
}

.p-article-side {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}
@media (max-width: 960px) {
  .p-article-side {
    position: static;
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
}
@media (max-width: 560px) {
  .p-article-side {
    grid-template-columns: 1fr;
  }
}

.p-article-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.p-article-block__h {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

/* table of contents */
.p-toc {
  counter-reset: toc;
}
@media (max-width: 960px) {
  .p-toc {
    grid-column: 1/-1;
  }
}
.p-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.p-toc a {
  counter-increment: toc;
  display: flex;
  gap: 11px;
  align-items: baseline;
  padding: 9px 10px;
  border-radius: 9px;
  font-family: var(--font-jp);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.p-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}
.p-toc a:hover, .p-toc a.is-active {
  background: var(--accent-soft);
  color: var(--navy);
}
.p-toc li.sub a {
  padding-left: 30px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.p-toc li.sub a::before {
  content: "–";
  color: var(--ink-4);
}

/* mini CTA in sidebar */
.p-article-cta {
  background: var(--navy);
  border: none;
  color: #fff;
  position: relative;
  overflow: hidden;
}
@media (max-width: 960px) {
  .p-article-cta {
    grid-column: 1/-1;
  }
}
.p-article-cta h4 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
  margin: 0 0 8px;
  position: relative;
}
.p-article-cta p {
  font-family: var(--font-jp);
  font-size: 12.5px;
  line-height: 1.85;
  color: #C6D4E6;
  margin: 0 0 16px;
  position: relative;
}
.p-article-cta .c-gbtn {
  width: 100%;
  justify-content: center;
  position: relative;
}
.p-article-cta__glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -50px;
  top: -60px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 60%, transparent), transparent 65%);
  filter: blur(20px);
  opacity: 0.5;
}

.p-prose blockquote {
  margin: 24px 0;
  padding: 6px 0 6px 26px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.95;
  color: var(--navy);
  font-weight: 500;
}
.p-prose blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  color: var(--ink-3);
}
.p-prose .tablewrap {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.p-prose table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--font-jp);
  font-size: 13.5px;
}
.p-prose th,
.p-prose td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}
.p-prose thead th {
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
.p-prose tbody tr:last-child td {
  border-bottom: none;
}
.p-prose td {
  color: var(--ink-2);
}

/* author box */
.p-author {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(22px, 2.5vw, 30px);
  margin-top: clamp(34px, 4.5vh, 52px);
}
@media (max-width: 560px) {
  .p-author {
    flex-direction: column;
    gap: 14px;
  }
}
.p-author__av {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  overflow: hidden;
}
.p-author__av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-author__name {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin: 0;
}
.p-author__role {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 3px 0 0;
}
.p-author__bio {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-3);
  margin: 11px 0 0;
}

/* article tags */
.p-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(30px, 4vh, 42px);
}
.p-article-tags a {
  font-family: var(--font-jp);
  font-size: 12.5px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  transition: 0.25s;
}
.p-article-tags a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ---------- ARTICLE: phone polish ---------- */
@media (max-width: 600px) {
  /* hero: tighter, breathing room */
  .p-subhero {
    padding-top: clamp(86px, 15vh, 108px);
    padding-bottom: clamp(40px, 7vh, 56px);
  }
  .p-subhero h1 {
    font-size: clamp(26px, 7.4vw, 34px);
    line-height: 1.36;
  }
  .p-subhero__lede {
    font-size: 14px;
    line-height: 1.95;
    margin-top: 18px;
  }
  .p-subhero__crumbs {
    margin-bottom: 16px;
    row-gap: 4px;
  }
  .p-article-meta {
    gap: 8px 12px;
    margin-top: 18px;
  }
  /* on phones the sidebar sits below the article — read first, then act */
  .p-article-side .p-toc {
    order: 3;
  }
  .p-article-side .p-article-block:not(.p-toc) {
    order: 1;
  }
  /* body rhythm */
  .p-prose p {
    font-size: 15px;
    line-height: 1.95;
  }
  .p-prose ul li,
  .p-prose ol li {
    font-size: 14.5px;
  }
  .p-bodyfig {
    margin: 26px 0;
  }
  /* related-services links stack */
  .p-aboutlinks--pair {
    grid-template-columns: 1fr;
  }
  /* full-width tap targets in the closing CTA */
  .p-subcta {
    padding: 32px 24px;
    border-radius: 16px;
    text-align: left;
  }
  .p-subcta__btns {
    width: 100%;
  }
  .p-subcta__btns .c-gbtn {
    width: 100%;
    justify-content: center;
  }
  /* prev / list / next — comfortable stacked buttons */
  .p-case-nav a {
    padding: 15px 16px;
  }
}
@media (max-width: 380px) {
  .p-subhero h1 {
    font-size: 25px;
  }
  .p-prose .tablewrap {
    margin-inline: -4px;
  }
}
/* =================================================================
   お問い合わせフォーム（Contact Form 7 を FLOCSS 体裁で表示）
   .p-cform-cf7 は .p-cform（白カード）と併用。入力欄の見た目は
   共通の .p-cform input/textarea ルールを継承し、ここでは CF7 固有の
   レイアウト（.inquiry / .contact-list / バッジ / 送信ボタン）を整える。
   ================================================================= */
.p-cform-cf7 .wpcf7 {
  margin: 0;
}
.p-cform-cf7 .inquiry {
  display: grid;
  gap: 20px;
}
.p-cform-cf7 .contact-list {
  display: grid;
  gap: 8px;
}
.p-cform-cf7 .contact-list-left {
  font-size: 13px;
  font-weight: 700;
}
.p-cform-cf7 .contact-list-left,
.p-cform-cf7 .contact-list-left > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.p-cform-cf7 .contact-list-left span {
  order: 1;
  color: var(--navy);
}
.p-cform-cf7 .contact-list-left .haveto {
  order: 2;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
}
.p-cform-cf7 .contact-list-left .any {
  order: 2;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 4px;
}
.p-cform-cf7 .contact-list-right,
.p-cform-cf7 .wpcf7-form-control-wrap {
  display: block;
}
.p-cform-cf7 .wpcf7-form-control-wrap input:not([type=checkbox]):not([type=radio]),
.p-cform-cf7 .wpcf7-form-control-wrap textarea {
  width: 100%;
}
.p-cform-cf7 input[type=checkbox],
.p-cform-cf7 input[type=radio] {
  width: auto;
}
.p-cform-cf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.p-cform-cf7 .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
}
.p-cform-cf7 .btnwidth {
  margin-top: 8px;
}
.p-cform-cf7 input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 32px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}
.p-cform-cf7 input[type=submit]:hover {
  transform: translateY(-2px);
}
.p-cform-cf7 input[type=submit]:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
@media (max-width: 640px) {
  .p-cform-cf7 input[type=submit] {
    width: 100%;
  }
}
.p-cform-cf7 .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-2);
}
.p-cform-cf7 .wpcf7 form.invalid .wpcf7-response-output,
.p-cform-cf7 .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: var(--accent);
  color: var(--accent);
}
.p-cform-cf7 .wpcf7-not-valid-tip {
  color: var(--accent);
  font-size: 12px;
  margin-top: 4px;
}
.p-cform-cf7 .wpcf7-spinner {
  margin: 0 0 0 12px;
}

/* =========================================================
   PRICING — pricing-v3 更新で追加したパーツ
   Quick Finder（目的別早見表）/ プランのおすすめ行
   ========================================================= */
/* ---------- Quick Finder cards ---------- */
.p-finder {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 1080px) {
  .p-finder {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .p-finder {
    grid-template-columns: 1fr;
  }
}
.p-finder__card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.p-finder__card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 22px 44px -26px color-mix(in oklab, var(--navy) 60%, transparent);
}
.p-finder__tag {
  align-self: flex-start;
  background: var(--bg-blue);
  color: var(--navy);
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
.p-finder__h {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 2px 0 0;
  line-height: 1.45;
}
.p-finder__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-top: auto;
}
.p-finder__price small {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  margin-left: 2px;
}
.p-finder__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-jp);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.3s;
}
.p-finder__card:hover .p-finder__link {
  gap: 9px;
}

/* ---------- Plan recommendation row ---------- */
.p-plan__rec {
  display: flex;
  gap: 9px;
  align-items: baseline;
  background: var(--bg-blue-2);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-jp);
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.65;
}
.p-plan__rec b {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.p-plan--featured .p-plan__rec {
  background: var(--accent-soft);
  border-color: transparent;
}

/* =========================================================
   FREE TOOLS 導線（サブページ）
   - p-tool-hint : サービス / About 本文下の小さな関連ツールリンク
   - p-tool-band : 料金 / お知らせ一覧の独立ブロック（CTA を優先・ツールは副次）
   - p-rel-tools : 記事詳細の本文末尾の関連無料ツール
   ========================================================= */
/* ---------- compact inline hint（service / about） ---------- */
.p-tool-hint {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 26px;
}
.p-tool-hint__ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent-strong);
}
.p-tool-hint__ic svg {
  width: 18px;
  height: 18px;
}
.p-tool-hint__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.p-tool-hint__txt {
  font-family: var(--font-jp);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.p-tool-hint__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--accent-strong);
}
.p-tool-hint__link svg {
  width: 15px;
  height: 15px;
}
.p-tool-hint__link:hover {
  text-decoration: underline;
}

/* ---------- contained tools band（pricing / news 一覧） ---------- */
.p-tool-band {
  display: grid;
  gap: 15px;
  max-width: 780px;
  background: var(--bg-blue-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(30px, 4.5vw, 46px);
}
.p-tool-band .c-eyebrow-idx {
  margin-bottom: 2px;
}
.p-tool-band h2 {
  font-size: clamp(23px, 2.8vw, 30px);
  line-height: 1.4;
}
.p-tool-band h2 em {
  font-style: normal;
  color: var(--accent);
}
.p-tool-band p {
  font-family: var(--font-jp);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-3);
}
.p-tool-band__act {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
@media (max-width: 560px) {
  .p-tool-band__act {
    flex-direction: column;
  }
  .p-tool-band__act .c-gbtn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- article-embedded related tools（記事詳細） ---------- */
.p-rel-tools {
  background: var(--bg-blue-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  margin-top: 38px;
  display: grid;
  gap: 10px;
}
.p-rel-tools__lbl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
}
.p-rel-tools__lbl svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent-strong);
}
.p-rel-tools__txt {
  font-family: var(--font-jp);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-3);
}
.p-rel-tools__btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  background: #fff;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  border-radius: var(--r-pill);
  padding: 11px 20px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 13.5px;
  transition: background 0.25s ease, color 0.25s ease;
}
.p-rel-tools__btn svg {
  width: 16px;
  height: 16px;
}
.p-rel-tools__btn:hover {
  background: var(--navy);
  color: #fff;
}

/* ==========================================================================
   制作実績（work）本文パーツ — Gutenberg ブロックパターン用
   inc/work-blocks.php のパターンが出力する core/columns + FLOCSS クラスに対応する。
   本文は single-work.php の .p-prose 内に出力されるため、prose の汎用スタイル
   （.p-prose p / ul li::before 等）を打ち消す指定もここ（ファイル末尾＝最も後勝ち）で
   まとめて行う。編集画面側は .p-prose で包まれないため、基底 .p-xxx スタイルだけで
   概ね実物に近く見える。グリッドはコアの columns（flex・モバイル縦積み）に任せる。
   ========================================================================== */
.p-scards,
.p-ba2,
.p-resultgrid {
  margin: 22px 0;
}
.p-scards.wp-block-columns,
.p-ba2.wp-block-columns,
.p-resultgrid.wp-block-columns {
  gap: 20px;
}

/* ---------- Before / After（対比） ---------- */
.p-ba2__col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
}
.p-ba2__col--before {
  background: var(--bg-soft);
}
.p-ba2__col--after {
  border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
  box-shadow: var(--shadow-sm);
}
.p-ba2__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: var(--r-pill, 999px);
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin: 0 0 12px;
}
.p-ba2__col--after .p-ba2__tag {
  background: var(--accent);
  color: #fff;
}
.p-ba2__h {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.5;
  margin: 0 0 10px;
}
.p-ba2__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.p-ba2__col li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-jp);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-3);
}
.p-ba2__col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 成果グリッド ---------- */
.p-resultcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
}
.p-resultcard__k {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-strong);
  line-height: 1.4;
  margin: 0 0 8px;
}
.p-resultcard__d {
  font-family: var(--font-jp);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-3);
  margin: 0;
}

/* ---------- .p-prose 文脈での打ち消し（front 本文） ---------- */
/* 課題カード（既存 .p-scard を再利用）: prose の p/__no を上書き＆hover 抑制 */
.p-prose .p-scard p {
  font-family: var(--font-jp);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-3);
  margin: 0;
}
.p-prose .p-scard__no {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  line-height: 1.4;
  margin: 0;
}
.p-prose .p-scard:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
/* Before/After: prose の p/ul/li::before を上書き */
.p-prose .p-ba2__tag {
  font-size: 11px;
  line-height: 1;
  margin: 0 0 12px;
}
.p-prose .p-ba2__col ul {
  margin: 0;
  padding: 0;
}
.p-prose .p-ba2__col li {
  font-size: 13.5px;
  padding-left: 18px;
  line-height: 1.8;
}
.p-prose .p-ba2__col li::before {
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
/* 成果グリッド: prose の p を上書き */
.p-prose .p-resultcard__d {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-3);
  margin: 0;
}
