/* ==========================================================================
   event-management LP
   ブレークポイント: 768px（SP 〜767px / PC 768px〜）
   ヘッダーのみ: 1000px（SP 〜999px / PC 1000px〜）
   コンテンツ幅: SP 375px / PC 1440px
   ========================================================================== */

:root {
  --color-bg: #fff5e6;
  --color-orange: #ff8800;
  --color-blue: #0e6de9;
  --color-text: #393939;
  --color-white: #fff;
  --color-black: #000;
  --color-dot-inactive: #e3e3e3;
  --color-footer-bg: #272727;
  --color-footer-muted: #c0c6d0;
  --color-footer-border: #e9e9e9;
  --footer-content-pc: 1200px;
  --font-base: "Noto Sans JP", sans-serif;
  --font-label: "Josefin Sans", sans-serif;
  --container-pc: 1440px;
  --container-sp: 375px;
  --padding-pc: 140px;
  --padding-header-pc-left: 43px;
  --padding-header-pc-right: 40px;
  --padding-sp: 20px;
  --content-pc: 1160px;
  --content-sp: 335px;
  /* ヒーロー FV（Figma 1440×900、下部ロゴ 1440×315、左右余白 140px） */
  --hero-ref-width: 1440;
  --hero-ref-height: 900;
  --hero-padding-x: 140;
  /* Figma: letter-spacing = フォントサイズの 6%（px指定で em による幅ブレを防ぐ） */
  --ls-13: 0.78px;
  --ls-14: 0.84px;
  --ls-16: 0.96px;
  --ls-17: 1.02px;
  --ls-18: 1.08px;
  --ls-19: 1.14px;
  --ls-24: 1.92px;
  --ls-32: 1.92px;
  --ls-44: 3.52px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-base);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0;
  color: var(--color-text);
  background: var(--color-bg);
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Utilities */
.u-pc-only {
  display: none !important;
}

.u-sp-only {
  display: block;
}

.l-container {
  width: 100%;
  max-width: var(--container-sp);
  margin: 0 auto;
  padding-left: var(--padding-sp);
  padding-right: var(--padding-sp);
}

/* Buttons */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 90px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid var(--color-text);
  transition: opacity 0.2s;
}

.c-btn:hover {
  opacity: 0.85;
}

.c-btn--primary {
  background: var(--color-orange);
  border-color: var(--color-text);
  color: var(--color-white);
}

.c-btn--outline {
  background: var(--color-white);
  color: var(--color-text);
  font-weight: 500;
}

.c-btn--dark {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-white);
}

.c-btn--submit {
  background: var(--color-orange);
  border: none;
  color: var(--color-white);
  min-width: 274px;
  height: 54px;
  font-size: 16px;
}

.c-btn--sm {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  font-size: 12px;
}

.c-btn--sm-inline {
  width: auto;
  min-width: 120px;
  height: auto;
  padding: 6px 40px;
  font-size: 14px;
}

.c-btn--download {
  width: 100%;
  padding: 12px 40px;
  border: none;
  border-radius: 50px;
  background: #fec12b;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.c-btn--inquiry {
  width: 100%;
  padding: 12px 41px;
  border: none;
  border-radius: 50px;
  background: #0077ff;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.c-btn__icon {
  width: 24px;
  height: 24px;
}

/* Header */
.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 49px;
  padding: 16px var(--padding-sp);
}

.l-header__logo img {
  width: 102px;
  height: auto;
}

.l-nav {
  display: none;
}

.l-header__menu-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-header__menu-icon,
.l-header__menu-icon::before,
.l-header__menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 4px;
  position: relative;
}

.l-header__menu-icon::before,
.l-header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.l-header__menu-icon::before {
  top: -6px;
}

.l-header__menu-icon::after {
  top: 6px;
}

/* Mobile menu */
.c-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.3);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.c-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.c-mobile-menu__panel {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
  padding: 28px 20px;
  max-width: 343px;
  margin: 0 auto;
}

.c-mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.c-mobile-menu__close {
  width: 32px;
  height: 32px;
  position: relative;
}

.c-mobile-menu__close span,
.c-mobile-menu__close span::before {
  display: none;
}

.c-mobile-menu__close::before,
.c-mobile-menu__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--color-text);
  border-radius: 4px;
}

.c-mobile-menu__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.c-mobile-menu__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.c-mobile-menu__nav ul {
  padding: 0 40px;
  margin-bottom: 32px;
}

.c-mobile-menu__nav li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.c-mobile-menu__nav li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
  flex-shrink: 0;
}

.c-mobile-menu__nav a {
  font-size: 14px;
  font-weight: 700;
}

.c-mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 40px;
}

.c-mobile-menu__cta .c-btn {
  width: 223px;
  height: 38px;
}

body.is-menu-open {
  overflow: hidden;
}

/* Section head */
.p-section-head__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-label);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
  margin-bottom: 12px;
}

.p-section-head__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
  flex-shrink: 0;
}

.p-section-head--light .p-section-head__label::before {
  background: var(--color-white);
}

.p-section-head__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: var(--ls-19);
  text-wrap: balance;
}

.p-section-head__title-line {
  display: block;
}

.p-section-head--light .p-section-head__label,
.p-section-head--light .p-section-head__title {
  color: var(--color-white);
}

/* Hero */
.p-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 589px;
  overflow: hidden;
  padding-bottom: 0;
}

.p-hero__inner {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  /* SP は Figma に合わせて「写真 → タイトル → バッジ」の縦並びに */
  display: flex;
  flex-direction: column;

  padding-left: 0;
  padding-right: 0px;
  padding-top: 48px;
}

.p-hero__visual {
  display: flex;
  justify-content: center;
  margin: 16px 0 24px;
  order: 1;
}

.p-hero__content {
  order: 2;
}

/* Figma 66:2811（SP）/ 66:627（PC）: 24px/44px Bold, line-height 2.2, tracking 6% */
.p-hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Figma SP: pill 間のギャップ 14px（PC では media query で 0 に戻す） */
  gap: 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 2.2;
  letter-spacing: var(--ls-24);
  color: var(--color-text);
}

.p-hero__title-punct {
  letter-spacing: -5.28px;
}

.p-hero__title-line {
  display: block;
  width: fit-content;
  background: var(--color-white);
  padding: 0 8px;
  border-radius: 0 5px 5px 0;
  /* Figma SP: pill の高さは 39px（24 × 1.625）。PC では media query で inherit に戻す */
  line-height: 1.625;
  /* 「、」で折り返さず Figma 同様に 1 行で表示する */
  white-space: nowrap;
}

.p-hero__badges {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-left: 14px;
}

.p-hero__badge {
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.p-hero__badge--events {
  width: 98px;
  height: 40px;
}

.p-hero__badge--service {
  width: 85px;
  height: 40px;
}

.p-hero__badge--award {
  width: 74px;
  height: 40px;
}

.p-hero__badge--privacy {
  width: 40px;
  height: 40px;
}

.p-hero__deco--bottom {
  flex-shrink: 0;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  aspect-ratio: 1440 / 315;
  line-height: 0;
  pointer-events: none;
}

.p-hero__deco--bottom img,
.p-hero__deco--bottom svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.p-hero__content {
  position: relative;
}

/* Hero figma visual（写真+装飾）— モバイルファースト基底 */
.p-hero__figma-visual {
  position: relative;
  width: min(344px, 100vw - 31px);
  height: calc(min(344px, 100vw - 31px) * 236 / 344);
}

.p-hero__figma-shape {
  position: absolute;
  display: block;
  margin: 0;
}

.p-hero__figma-shape img {
  display: block;
  width: 100%;
  height: 100%;
}

.p-hero__figma-shape--e {
  left: 1.3%;
  top: 0;
  width: 34.1%;
  opacity: 0.4;
  transform: rotate(-6.91deg);
}

.p-hero__figma-shape--triangle {
  right: 0;
  bottom: 11.9%;
  width: 30.1%;
  opacity: 0.4;
  transform: rotate(10.3deg);
}

.p-hero__photo-slideshow {
  position: absolute;
  left: 0;
  top: 2%;
  width: 100%;
  aspect-ratio: 654 / 414;
  z-index: 2;
  --hero-fade-duration: 1s;
}

.p-hero__photo-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity var(--hero-fade-duration) ease;
  pointer-events: none;
}

.p-hero__photo-slide.is-active {
  opacity: 1;
}

.p-hero__photo-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .p-hero__photo-slide {
    transition: none;
  }
}

/* Problem */
.p-problem {
  background: var(--color-orange);
  color: var(--color-white);
  padding: 60px 0 80px;
}

.p-problem__body {
  margin-top: 40px;
}

.p-problem__list {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 10px;
  padding: 16px 12px;
}

.p-problem__list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  padding: 8px 0;
}

.p-problem__list li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("../images/icon-close.svg") center / contain no-repeat;
}

.p-problem__list-text {
  flex: 1;
  min-width: 0;
}

.p-problem__list-text strong {
  display: inline;
  margin: 0;
  padding: 0;
  font-weight: 700;
}

.p-problem__eq {
  display: block;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  margin: 24px 0;
  transform: rotate(90deg);
}

.p-problem__result {
  text-align: center;
}

.p-problem__result-img {
  display: block;
  width: 100%;
  max-width: 335px;
  height: auto;
  margin: 0 auto;
}

/* Solution */
.p-solution {
  position: relative;
  padding: 68px 0 80px;
  overflow: hidden;
}

.p-solution__curve {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 564px;
  height: 138px;
  background: var(--color-orange);
  border-radius: 50%;
  margin-top: -70px;
}

.p-solution__head {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.p-solution__lead {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.8;
}

.p-solution__diagram {
  position: relative;
  z-index: 1;
}

.p-solution__diagram-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-16);
  text-align: center;
  text-wrap: balance;
  margin-bottom: 24px;
}

.p-solution__diagram-title-line {
  display: block;
}

.p-solution__diagram-img {
  width: 100%;
}

/* Services */
.p-services {
  padding: 68px 0 80px;
}

.p-services__head {
  margin-bottom: 32px;
}

.p-services__lead {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.7;
}

/* Services — SP（Figma 67:72046） */
.p-services__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 0 36px;
  background: var(--color-white);
  border-radius: 15px;
}

.p-services__panel-title {
  width: 100%;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: var(--ls-18);
  text-align: center;
  color: var(--color-text);
}

.p-services__panel .p-services__visual {
  width: 100%;
  margin: 0;
  padding: 0 10px;
}

.p-services__panel .p-services__visual img {
  display: block;
  width: 100%;
  max-width: 314px;
  height: auto;
  margin: 0 auto;
}

.p-services__sliders {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
}

.p-services__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.p-services__block-title {
  margin: 48px 0 0;
  text-align: center;
}

.p-services__block-title span {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: var(--ls-17);
}

.p-services__block-title small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: var(--ls-13);
  margin-top: 0;
}

.p-services__block--reduce .p-services__block-title span {
  color: var(--color-blue);
}

.p-services__block--value .p-services__block-title span {
  color: var(--color-orange);
}

.p-slider {
  width: 100%;
  overflow: hidden;
}

.p-slider__track {
  display: flex;
  gap: 60px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 24px 48px 24px;
  scroll-padding-inline: 48.5px;
}

.p-slider__track::-webkit-scrollbar {
  display: none;
}

.p-slider__card {
  display: flex;
  flex: 0 0 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 240px;
  height: 240px;
  min-height: 240px;
  padding: 28px;
  scroll-snap-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-blue);
  border-radius: 50%;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.p-slider--value .p-slider__card {
  border-color: var(--color-orange);
}

.p-slider__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.p-slider__icon img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.p-slider__card h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.p-slider__card p {
  text-align: left;
  width: 100%;
  margin: 0;
  padding: 0 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: var(--ls-13);
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: auto;
}

html[lang="ja"] .p-slider__card p {
  word-break: normal;
}

.p-slider__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.p-slider__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: var(--color-dot-inactive);
}

.p-slider--reduce .p-slider__dots button.is-active {
  background: var(--color-blue);
}

.p-slider--value .p-slider__dots button.is-active {
  background: var(--color-orange);
}

.p-services__note {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: var(--ls-14);
  text-align: center;
  text-wrap: balance;
  color: var(--color-text);
}

.p-services__note-line {
  display: block;
}

/* Works */
.p-works {
  padding: 68px 0 80px;
}

.p-works__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 48px;
}

.p-works-card {
  display: block;
  background: var(--color-white);
  border-radius: 16px;
  color: inherit;
  overflow: hidden;
  text-decoration: none;
}

.p-works-card__img {
  padding: 16px;
}

.p-works-card__img img {
  width: 100%;
  border-radius: 8px;
  background: #e5f3fc;
}

.p-works-card__body {
  padding: 0 16px 16px;
}

.p-works-card__client {
  color: var(--color-orange);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}

.p-works-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 8px;
}

.p-works-card__desc {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.p-works-card__results-label {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 12px;
  padding: 4px 12px 5px;
  border-radius: 4px;
  line-height: 100%;
}

.p-works-card__results dl {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-works-card__results dl div {
  margin: 0;
}

.p-works-card__results dt {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  margin-top: 12px;
}

.p-works-card__results dd {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.p-works-card__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  border: 1px solid var(--color-text);
  border-radius: 90px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 16px;
}

.p-works-card__more-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.p-works__clients {
  margin-top: 80px;
  text-align: center;
}

.p-works__clients-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
}

.p-works__clients-logos {
  width: 100%;
  max-width: 100%;
}

.p-works__clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-works__clients-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 110 / 44;
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
}

.p-works__clients-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Philosophy（Figma 72:73159 SP / 66:1191 PC）— 白背景 */
.p-philosophy {
  padding: 68px 0 24px;
  background: var(--color-white);
}

.p-philosophy__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.p-philosophy__text .p-section-head {
  margin-bottom: 0;
}

.p-philosophy__body,
.p-philosophy__sub {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
}

.p-philosophy__body {
  margin-top: 32px;
}

.p-philosophy__body strong {
  font-weight: 700;
}

.p-philosophy__sub {
  margin-top: 48px;
}

.p-philosophy__model {
  margin: 0;
}

.p-philosophy__model img {
  display: block;
  width: 100%;
  height: auto;
}

/* ROI モデルカード（Figma 66:1202）— PC 451x744 / SP 335x553 を --u で等比スケール */
.p-roi-card {
  /* PC を基準とした px 値に --u を掛けて SP/PC を切替 */
  --u: 0.7428;
  width: calc(451px * var(--u));
  padding: calc(27px * var(--u)) calc(24px * var(--u));
  box-sizing: border-box;
  background: #f0f6fc;
  border-radius: 10px;
  overflow: hidden;
  font-family: "Inter", var(--font-base);
  /* タブレット時など親コンテナがカード幅より広い場合に中央寄せ */
  margin-inline: auto;
}

.p-roi-card__header {
  display: flex;
  flex-direction: column;
  gap: calc(4px * var(--u));
}

.p-roi-card__label {
  margin: 0;
  font-size: calc(14px * var(--u));
  line-height: calc(20px * var(--u));
  font-weight: 600;
  color: #155dfc;
  letter-spacing: 0;
}

.p-roi-card__title {
  margin: 0;
  font-size: calc(20px * var(--u));
  line-height: calc(36px * var(--u));
  font-weight: 700;
  color: #101828;
}

.p-roi-card__premise {
  margin-top: calc(23px * var(--u));
  padding-top: calc(14px * var(--u)); /* 1 段目のバッジが上にはみ出すぶんを確保 */
  padding-left: calc(23px * var(--u));
  display: flex;
  align-items: center;
  gap: calc(31px * var(--u));
}

.p-roi-card__premise-label {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: calc(16px * var(--u));
  line-height: calc(20px * var(--u));
  font-weight: 600;
  color: var(--color-black);
}

.p-roi-card__premise-label span {
  display: block;
}

.p-roi-card__pills {
  display: flex;
  flex-direction: column;
  gap: calc(27px * var(--u));
}

.p-roi-pill-row {
  display: flex;
  gap: calc(12px * var(--u));
}

.p-roi-pill {
  position: relative;
  width: calc(160px * var(--u));
  height: calc(60px * var(--u));
  background: var(--color-white);
  border-radius: calc(5px * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-roi-pill__badge {
  position: absolute;
  top: calc(-14px * var(--u));
  left: 50%;
  transform: translateX(-50%);
  padding: calc(2px * var(--u)) calc(14px * var(--u));
  background: #ff8600;
  color: var(--color-white);
  border-radius: 9999px;
  font-size: calc(12px * var(--u));
  line-height: calc(20px * var(--u));
  font-weight: 600;
  white-space: nowrap;
}

.p-roi-pill__value {
  margin: 0;
  font-size: calc(18px * var(--u));
  line-height: calc(20px * var(--u));
  font-weight: 600;
  color: #393939;
}

.p-roi-card__steps {
  margin: calc(27px * var(--u)) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(8px * var(--u));
}

.p-roi-step {
  background: var(--color-white);
  border-radius: 10px;
  height: calc(80px * var(--u));
  padding: 0 calc(16px * var(--u));
  display: flex;
  align-items: center;
  gap: calc(16px * var(--u));
}

.p-roi-step__num {
  flex-shrink: 0;
  width: calc(28px * var(--u));
  height: calc(28px * var(--u));
  background: #ff8600;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(16px * var(--u));
  line-height: calc(24px * var(--u));
  font-weight: 700;
}

.p-roi-step__body {
  display: flex;
  flex-direction: column;
  gap: calc(8px * var(--u));
  min-width: 0;
}

.p-roi-step__label {
  margin: 0;
  font-size: calc(16px * var(--u));
  line-height: calc(24px * var(--u));
  font-weight: 400;
  color: #364153;
}

.p-roi-step__formula {
  margin: 0;
  font-size: calc(20px * var(--u));
  line-height: calc(28px * var(--u));
  font-weight: 700;
  color: #0a0a0a;
  white-space: nowrap;
}

.p-roi-step__op {
  display: inline-block;
  padding: 0 calc(2px * var(--u));
  font-weight: 400;
}

.p-roi-step__result {
  color: #155dfc;
}

.p-roi-card__callout {
  margin-top: calc(27px * var(--u));
  padding: calc(12px * var(--u)) calc(24px * var(--u)) calc(12px * var(--u)) calc(24px * var(--u));
  background: #262626;
  border-left: calc(4px * var(--u)) solid #ff8600;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: calc(8px * var(--u));
}

.p-roi-card__callout-label {
  margin: 0;
  font-size: calc(12px * var(--u));
  line-height: calc(16px * var(--u));
  font-weight: 500;
  color: #99a1af;
  text-transform: uppercase;
}

.p-roi-card__callout-text {
  margin: 0;
  font-size: calc(18px * var(--u));
  line-height: calc(28px * var(--u));
  font-weight: 600;
  color: var(--color-white);
}

.p-roi-card__callout-accent {
  display: inline-block;
  margin-left: calc(4px * var(--u));
  font-size: calc(24px * var(--u));
  line-height: calc(32px * var(--u));
  font-weight: 600;
  color: #ff8600;
}

/* FAQ（Figma 72:73245 SP / 66:1256 PC）— 白背景・カード型Q/A */
.p-faq {
  padding: 68px 0 80px;
  background: var(--color-white);
}

.p-faq__inner {
  display: block;
}

.p-faq__head {
  margin-bottom: 0;
}

.p-faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

.p-faq__item {
  position: relative;
  border: none;
}

.p-faq__question {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  min-height: 68px;
  padding: 0 12px 0 0;
  list-style: none;
  cursor: pointer;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(102, 102, 102, 0.15);
}

.p-faq__question::-webkit-details-marker {
  display: none;
}

.p-faq__q {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-height: 100%;
  background: var(--color-orange);
  border-radius: 8px 0 0 8px;
  color: var(--color-white);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}

.p-faq__question-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 10px 10px 10px 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--ls-13);
  color: var(--color-black);
}

.p-faq__question-text-line {
  display: block;
}

.p-faq__toggle {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  width: 48px;
  height: 48px;
  padding: 10px;
}

.p-faq__chevron {
  display: block;
  width: 16px;
  height: 16px;
}

.p-faq__chevron--open {
  display: none;
}

.p-faq__item[open] .p-faq__chevron--closed {
  display: none;
}

.p-faq__item[open] .p-faq__chevron--open {
  display: block;
}

.p-faq__answer {
  display: none;
  gap: 28px;
  align-items: flex-start;
  padding: 52px 20px 28px 10px;
  background: linear-gradient(180deg, #ffebda 0%, #fff5ec 100%);
  border-radius: 0 0 8px 8px;
}

.p-faq__item[open] .p-faq__answer {
  display: flex;
}

.p-faq__item[open] .p-faq__question {
  border-radius: 8px 8px 0 0;
}

.p-faq__a {
  flex-shrink: 0;
  width: 28px;
  color: var(--color-orange);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.p-faq__answer p {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
}

/* CTA */
.p-cta {
  padding: 68px 0 80px;
}

.p-cta > .l-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.p-cta__head {
  width: 100%;
  margin-bottom: 0;
}

.p-cta__lead {
  margin-top: 32px;
  font-size: 14px;
}

.p-cta__compare {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.p-cta__compare-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 340px;
}

.p-cta__compare-illust {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
}

.p-cta__compare-item.p-cta__compare-item--after .p-cta__compare-illust {
  width: 253px;
}

.p-cta__compare-caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: var(--color-white);
  border-radius: 10px;
}

.p-cta__compare-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.p-cta__compare-desc {
  font-size: 14px;
  line-height: 1.5;
}

.p-cta__compare-item--before .p-cta__compare-caption,
.p-cta__compare-item--before .p-cta__compare-label,
.p-cta__compare-item--before .p-cta__compare-desc {
  color: var(--color-text);
}

.p-cta__compare-item--after .p-cta__compare-caption,
.p-cta__compare-item--after .p-cta__compare-label,
.p-cta__compare-item--after .p-cta__compare-desc {
  color: var(--color-orange);
}

.p-cta__compare-item--after .p-cta__compare-desc {
  font-weight: 500;
}

.p-cta__compare-arrow {
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
  transform: rotate(90deg);
}

/* CTA — SP専用（Figma 72:73362） */
.p-cta__sp-message {
  width: 100%;
  max-width: 335px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 700;
  line-height: 2.4;
  letter-spacing: var(--ls-16);
  text-align: center;
  text-wrap: balance;
  color: var(--color-text);
}

.p-cta__sp-message-line {
  display: block;
}

.p-cta__sp-message p {
  margin: 0;
}

.p-cta__sp-message-accent {
  position: relative;
  margin-top: 8px;
  font-size: 18px;
  letter-spacing: var(--ls-18);
}

.p-cta__sp-message-accent::before {
  position: absolute;
  bottom: 4px;
  left: 50%;
  z-index: -1;
  width: 267px;
  height: 8px;
  background: var(--color-white);
  transform: translate(-50%, -50%);
  content: "";
}

.p-cta__sp-panel {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  padding: 28px 16px;
  background: var(--color-white);
  border-radius: 15px;
}

.p-cta__sp-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.p-cta__sp-heading {
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 2px solid #dadada;
  font-family: var(--font-label);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
}

.p-cta__sp-card,
.p-cta__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  overflow: hidden;
  border-radius: 10px;
}

.p-cta__card-bg {
  position: absolute;
  top: -19px;
  left: 138px;
  z-index: 0;
  width: 212px;
  height: 213px;
  max-width: none;
  pointer-events: none;
}

.p-cta__sp-card p,
.p-cta__sp-card .c-btn,
.p-cta__card p,
.p-cta__card .c-btn {
  position: relative;
  z-index: 1;
}

.p-cta__sp-card p,
.p-cta__card p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-black);
}

.p-cta__sp-card p {
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: auto;
}

html[lang="ja"] .p-cta__sp-card p {
  word-break: normal;
}

.p-cta__sp-card--download,
.p-cta__card--download {
  background: #fffae7;
}

.p-cta__sp-card--inquiry,
.p-cta__card--inquiry {
  background: #f0f6fc;
}

.p-cta__sp-more-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.p-cta__sp-more-item p {
  width: 100%;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

/* Contact */
.p-contact {
  padding: 88px 0 100px;
  background: var(--color-white);
}

.p-contact__inner {
  max-width: 100%;
}

.p-contact__head {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.p-contact__form-wrap {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 24px 20px 40px;
}

.p-contact__note {
  font-size: 12px;
  margin-bottom: 24px;
}

.p-contact__form-title {
  font-size: 16px;
  font-weight: 700;
  padding: 20px 10px;
  border-bottom: 4px solid var(--color-orange);
  margin-bottom: 24px;
}

.p-contact__iframe {
  display: block;
  width: 100%;
  height: 1030px;
  border: 0;
}

.p-contact__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-contact__field {
  display: block;
  margin-bottom: 24px;
}

.p-contact__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}

.p-contact__required {
  color: var(--color-orange);
}

.p-contact__field input,
.p-contact__field select,
.p-contact__field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  background: var(--color-white);
}

.p-contact__required-note {
  text-align: right;
  font-size: 12px;
  margin-bottom: 24px;
}

.p-contact__required-note span {
  color: var(--color-orange);
}

.p-contact__privacy {
  margin-bottom: 32px;
}

.p-contact__privacy-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.p-contact__privacy-text {
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.p-contact__agree {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  justify-content: center;
}

.p-contact__form .c-btn--submit {
  display: flex;
  margin: 0 auto;
}

/* Footer — 関連サービス（Figma 66:1386） */
.l-footer-relation {
  background: var(--color-footer-bg);
  padding: 40px 0;
}

.l-footer-relation__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-footer-relation__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  color: var(--color-white);
  text-decoration: none;
}

.l-footer-relation__banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 282px;
  height: 88px;
  padding: 0;
}

.l-footer-relation__banner > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.l-footer-relation__external {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 10px;
  height: 8px;
}

.l-footer-relation__label {
  width: 100%;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}

/* Footer — メイン（Figma 66:1393） */
.l-footer {
  background: var(--color-footer-bg);
  color: var(--color-white);
  padding: 56px 0;
  font-size: 12px;
}

.l-container--footer {
  max-width: var(--footer-content-pc);
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 327px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.l-footer__top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.l-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.l-footer__logo {
  display: block;
  line-height: 0;
}

.l-footer__logo img {
  display: block;
  width: 170px;
  height: auto;
}

.l-footer__tel {
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.l-footer__tel-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.l-footer__tel-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.l-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
}

.l-footer__tel,
.l-footer__nav {
  display: none;
}

.l-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
}

.l-footer__nav-col a {
  color: var(--color-white);
  text-decoration: none;
}

.l-footer__nav-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
}

.l-footer__nav-sub {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-footer__nav-sub a {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-footer-muted);
}

.l-footer__nav-sub img {
  flex-shrink: 0;
  width: 10px;
  height: 8px;
}

.l-footer__divider {
  width: 100%;
  height: 1px;
  margin: 0;
  border: none;
  background: rgba(255, 255, 255, 0.05);
}

.l-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.l-footer__copy {
  order: 2;
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-footer-muted);
}

.l-footer__legal {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  font-weight: 400;
  line-height: normal;
}

.l-footer__legal a {
  color: var(--color-footer-muted);
  text-decoration: none;
}

/* Fixed CTA (SP) */
.p-fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-white);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.p-hero__title-line::before {
  position: absolute;
  right: 100%;
  width: calc((100vw - 375px) / 2);
  height: 39px;
  background: var(--color-white);
  content: "";
}

/* ==========================================================================
   PC（768px〜）
   ========================================================================== */

/* Header PC（1000px〜） */
@media (min-width: 1000px) {
  /* Figma: ロゴ x=43 / ナビ右端 x=1400 → 左右 43px / 40px */
  .l-header__inner {
    height: auto;
    min-height: 78px;
    padding: 40px var(--padding-header-pc-right) 40px var(--padding-header-pc-left);
    max-width: var(--container-pc);
    margin: 0 auto;
  }

  .l-header__logo img {
    width: 168px;
  }

  .l-nav {
    display: block;
  }

  .l-nav__list {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .l-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 24px;
    border: 1px solid var(--color-text);
    border-radius: 90px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-white);
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .l-nav__link:hover {
    background: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
  }

  .l-nav__link--primary {
    background: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
    font-weight: 700;
  }

  .l-nav__link--primary:hover {
    background: var(--color-white);
    color: var(--color-orange);
    border-color: var(--color-orange);
  }

  .l-header__menu-btn {
    display: none;
  }
}

@media (min-width: 768px) {

  .u-pc-only {
    display: block !important;
  }

  .u-sp-only {
    display: none !important;
  }

  .l-container {
    max-width: var(--container-pc);
    margin: 0;
  }

  .l-container--content {
    max-width: var(--content-pc);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .l-container--content .p-solution__diagram-img,
  .l-container--content .p-services__content img {
    display: block;
    width: 100%;
    max-width: var(--content-pc);
    height: auto;
  }

  .p-services__content {
    width: 100%;
  }

  .p-cta__compare {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 38px;
    max-width: 814px;
    margin: 0 auto;
  }

  .p-cta__compare-caption {
    gap: 12px;
    padding: 20px;
  }

  .p-cta__compare-label {
    font-size: 18px;
  }

  .p-cta__compare-desc {
    font-size: 16px;
  }

  .p-cta__compare-arrow {
    align-self: center;
    font-size: 32px;
    transform: none;
  }

  .l-container--content .p-works__clients-logos,
  .l-container--content .p-philosophy__model img {
    width: 100%;
    max-width: var(--content-pc);
  }

  .p-works-card {
    max-width: var(--content-pc);
  }

  /* Section head */
  .p-section-head__label {
    font-size: 40px;
    gap: 16px;
    margin-bottom: 20px;
  }

  .p-section-head__label::before {
    width: 8px;
    height: 8px;
  }

  .p-section-head__title {
    font-size: 32px;
    letter-spacing: var(--ls-32);
  }

  .p-section-head__title-line {
    white-space: nowrap;
  }

  /* Hero — 1440px 基準で vw スケール（縦横比維持・横いっぱい） */
  .p-hero {
    min-height: calc(100vw * var(--hero-ref-height) / var(--hero-ref-width));
    padding-bottom: 0;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .p-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    flex: 1;
    width: 100%;
    max-width: none;
    min-height: calc(100vw * 540 / var(--hero-ref-width));
    margin: 0;
    padding-top: 120px!important;
    padding-left: calc(100vw * var(--hero-padding-x) / var(--hero-ref-width));
    padding-right: 0;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .p-hero__visual {
    order: 2;
    margin: 0;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .p-hero__figma-visual {
    width: min(54vw, 654px);
    height: auto;
    min-width: 213px;
    aspect-ratio: 654 / 414;
  }

  .p-hero__figma-shape--e {
    left: 0;
    top: 3%;
    width: 36.3%;
  }

  .p-hero__figma-shape--triangle {
    bottom: 12.6%;
    width: 33.5%;
  }

  .p-hero__photo-slideshow {
    left: 0;
    top: 0;
    width: 100%;
  }

  .p-hero__content {
    order: 1;
  }

  .p-hero__title {
    font-size: calc(100vw * 44 / var(--hero-ref-width));
    line-height: 1.54;
    letter-spacing: var(--ls-44);
    /* SP 用の pill 間ギャップを PC では解除（PC は margin-bottom で間隔を取る） */
    gap: 0;
  }

  .p-hero__title-punct {
    letter-spacing: -3.52px;
  }

  .p-hero__title-line {
    border-radius: 0 calc(100vw * 10 / var(--hero-ref-width)) calc(100vw * 10 / var(--hero-ref-width)) 0;
    margin-bottom: calc(100vw * 30 / var(--hero-ref-width));
    padding: 0 calc(100vw * 8 / var(--hero-ref-width));
    /* SP 用の pill 高さ調整を PC では解除し、親（1.54）を継承させる */
    line-height: inherit;
  }

  .p-hero__title-line::before {
    position: absolute;
    right: 100%;
    width: calc(100vw * var(--hero-padding-x) / var(--hero-ref-width));
    height: calc(100vw * 44 * 1.54 / var(--hero-ref-width));
    background: var(--color-white);
    content: "";
  }

  .p-hero__badges {
    gap: calc(100vw * 28 / var(--hero-ref-width));
    margin-top: calc(100vw * 48 / var(--hero-ref-width));
    padding-left: calc(100vw * 14 / var(--hero-ref-width));
  }

  .p-hero__badge--events {
    width: calc(100vw * 233 / var(--hero-ref-width));
    height: calc(100vw * 95 / var(--hero-ref-width));
  }

  .p-hero__badge--service {
    width: calc(100vw * 203 / var(--hero-ref-width));
    height: calc(100vw * 95 / var(--hero-ref-width));
  }

  .p-hero__badge--award {
    width: calc(100vw * 121 / var(--hero-ref-width));
    height: calc(100vw * 65 / var(--hero-ref-width));
  }

  .p-hero__badge--privacy {
    width: calc(100vw * 84 / var(--hero-ref-width));
    height: calc(100vw * 84 / var(--hero-ref-width));
  }

  /* Problem */
  .p-problem {
    padding: 80px 0 100px;
  }

  .p-problem__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 56px;
  }

  .p-problem__list {
    flex: 0 0 612px;
    padding: 20px;
  }

  .p-problem__list li {
    font-size: 16px;
    line-height: 1.8;
    align-items: center;
  }

  .p-problem__eq {
    transform: none;
    font-size: 32px;
    margin: 0;
    flex-shrink: 0;
  }

  .p-problem__result {
    flex: 0 0 447px;
    text-align: left;
  }

  .p-problem__result-img {
    max-width: 447px;
    margin: 0;
  }

  /* Solution */
  .p-solution {
    padding: 140px 0 100px;
  }

  .p-solution__curve {
    width: 1810px;
    height: 442px;
    margin-top: -200px;
  }

  .p-solution__head {
    display: flex;
    gap: 56px;
    align-items: flex-start;
  }

  .p-solution__head .p-section-head {
    flex: 0 0 378px;
  }

  .p-solution__lead {
    flex: 1;
    margin-top: 68px;
    font-size: 14px;
  }

  .p-solution__diagram-title {
    font-size: 18px;
    letter-spacing: var(--ls-18);
    margin-bottom: 32px;
  }

  .p-solution__diagram-title-line {
    white-space: nowrap;
  }

  .p-services__note {
    font-size: 18px;
    letter-spacing: var(--ls-18);
  }

  .p-services__note-line {
    white-space: nowrap;
  }

  .p-faq__question-text {
    letter-spacing: var(--ls-16);
  }

  /* CTA */
  .p-cta > .l-container {
    display: block;
  }

  .p-cta__head {
    margin-bottom: 40px;
  }

  /* Services */
  .p-services {
    padding: 80px 0 100px;
  }

  .p-services__head {
    display: flex;
    gap: 56px;
    margin-bottom: 64px;
  }

  .p-services__head .p-section-head {
    flex: 0 0 575px;
  }

  .p-services__lead {
    flex: 1;
    margin-top: 153px;
  }

  .p-services__content img {
    width: 100%;
  }

  /* Works */
  .p-works {
    padding: 80px 0 100px;
  }

  .p-works-card {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 48px;
  }

  .p-works-card__img {
    flex: 0 0 360px;
    padding: 0;
  }

  .p-works-card__body {
    flex: 1;
    padding: 0;
  }

  .p-works-card__client {
    font-size: 14px;
  }

  .p-works-card__title {
    font-size: 18px;
  }

  .p-works-card__desc {
    font-size: 14px;
  }

  .p-works-card__results {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .p-works-card__results dl {
    gap: 12px;
  }

  .p-works-card__results dl div {
    display: flex;
    gap: 12px;
    margin: 0;
  }

  .p-works-card__results dt {
    flex: 0 0 100px;
    background: var(--color-white);
    padding: 4px 0;
    border-radius: 4px;
    text-align: left;
    padding-top: 0;
  }

  .p-works-card__results dd {
    flex: 1;
    font-size: 14px;
  }

  .p-works__clients-title {
    font-size: 34px;
    margin-bottom: 40px;
  }

  .p-works__clients-item {
    aspect-ratio: auto;
    height: 44px;
  }

  .p-works__clients-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .p-works__clients-grid {
    grid-template-columns: repeat(10, 110px);
    justify-content: space-between;
    row-gap: 8px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Philosophy */
  .p-philosophy {
    padding: 80px 0 100px;
  }

  .p-philosophy__inner {
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
  }

  .p-philosophy__text {
    flex: 0 0 630px;
  }

  .p-philosophy__body,
  .p-philosophy__sub {
    font-size: 16px;
    font-weight: 500;
  }

  .p-philosophy__model {
    flex: 0 0 451px;
    margin-top: 0;
  }

  .p-roi-card {
    --u: 1;
  }

  /* FAQ */
  .p-faq__inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
  }

  .p-faq__head {
    margin-top: 0;
  }

  .p-faq__list {
    gap: 25px;
    width: 100%;
    max-width: 720px;
    margin-top: 0;
  }

  .p-faq__question {
    min-height: 60px;
  }

  .p-faq__question-text {
    padding-left: 20px;
    font-size: 16px;
    color: #2d2a27;
  }

  .p-faq__item[open] {
    min-height: 188px;
  }

  .p-faq__item[open] .p-faq__answer {
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 0;
    width: 100%;
    max-width: 720px;
  }

  .p-faq__item[open] .p-faq__question {
    z-index: 1;
  }

  .p-faq__answer p {
    font-size: 16px;
    color: #2d2a27;
  }

  /* CTA */
  .p-cta__head {
    display: flex;
    gap: 64px;
  }

  .p-cta__head .p-section-head {
    flex: 0 0 412px;
  }

  .p-cta__lead {
    flex: 1;
    margin-top: 68px;
  }

  .p-cta__message {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 2.4;
    color: var(--color-text);
  }

  .p-cta__message-text {
    margin: 0;
    margin-top: 32px;
  }

  .p-cta__message-accent {
    position: relative;
    display: inline-block;
    font-size: 28px;
  }

  .p-cta__message-accent::before {
    position: absolute;
    bottom: 14px;
    left: 50%;
    z-index: -1;
    width: 369px;
    height: 8px;
    background: var(--color-white);
    transform: translateX(-50%);
    content: "";
  }

  .p-cta__cards {
    width: 100%;
    margin-top: 48px;
  }

  .p-cta__cards-inner {
    display: flex;
    flex-direction: column;
    gap: 56px;
    width: 100%;
    padding: 40px 100px;
    background: var(--color-white);
    border-radius: 20px;
  }

  .p-cta__cards-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }

  .p-cta__cards-heading {
    margin: 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #dadada;
    font-family: var(--font-label);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-text);
  }

  .p-cta__cards-row {
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;
    min-height: 182px;
  }

  .p-cta__card {
    flex: 0 0 412px;
  }

  .p-cta__card-bg {
    left: 218px;
  }

  .p-cta__card p {
    font-size: 16px;
  }

  .p-cta__card .c-btn--download,
  .p-cta__card .c-btn--inquiry {
    width: 240px;
    height: 60px;
    padding: 16px 40px;
    font-size: 18px;
    line-height: 1.6;
  }

  .p-cta__card .c-btn--inquiry {
    gap: 12px;
  }

  .p-cta__card .c-btn__icon {
    width: 32px;
    height: 32px;
  }

  .p-cta__more-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 0 28px;
  }

  .p-cta__more-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 59px;
  }

  .p-cta__more-item p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-text);
  }

  .p-cta__more-item .c-btn--sm-inline {
    flex-shrink: 0;
    padding: 8px 40px;
    font-size: 18px;
    line-height: 1.6;
  }

  /* Contact */
  .p-contact {
    padding-top: 160px;
  }

  .p-contact__row {
    flex-direction: row;
    gap: 58px;
  }

  .p-contact__row .p-contact__field {
    flex: 1;
  }

  .p-contact__form-wrap {
    max-width: 932px;
    margin-left: auto;
    margin-right: auto;
    padding: 60px;
  }

  /* Footer */
  .l-footer-relation {
    padding: 80px 0;
    display: flex;
    justify-content: center;
  }

  .l-footer-relation__list {
    grid-template-columns: repeat(4, minmax(0, 282px));
    justify-content: space-between;
    gap: 24px;
  }

  .l-footer {
    padding-top: 0;
    padding-bottom: 56px;
    display: flex;
    justify-content: center;
  }

  .l-footer__inner {
    gap: 48px;
    width: 100%;
    max-width: 1440px;
    padding: 48px 20px 56px;
    
  }

  .l-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
  }

  .l-footer__brand {
    align-items: flex-start;
  }

  .l-footer__logo img {
    width: 219px;
  }

  .l-footer__tel {
    display: block;
  }

  .l-footer__nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 160px;
  }

  .l-footer__nav-col--services {
    min-width: 160px;
  }

  .l-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
  }

  .l-footer__copy {
    order: 1;
  }

  .l-footer__legal {
    order: 2;
    flex-wrap: nowrap;
    gap: 32px;
  }

  .p-fixed-cta {
    display: none;
  }

}

/* ==========================================================================
   タブレット帯（768px〜1159px）
   PC のコンテンツ・サイズ感（フォント／画像／レイアウト）はそのまま維持し、
   .l-container / .l-container--content だけ viewport いっぱいに広げて
   タブレット幅でも余白を抑えつつ表示する
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1159.98px) {
  .l-container,
  .l-container--content {
    max-width: 100%;
    margin: 0;
    padding-left: var(--padding-sp);
    padding-right: var(--padding-sp);
  }

  .p-works__clients-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
    max-width: 100%;
  }

  /* 768px+ の固定高さ(44px)を打ち消し、SP と同じ 110:44 でセル高を確保 */
  .p-works__clients-item {
    aspect-ratio: 110 / 44;
    height: auto;
  }

  .p-works__clients-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* p-problem__body: SP のように「リスト → 縦イコール → イラスト」に縦並びへ */
  .p-problem__body {
    display: block;
  }

  .p-problem__eq {
    /* SP と同じ縦向きの「=」（90deg 回転）。文字サイズは PC のまま */
    transform: rotate(90deg);
    margin: 24px 0;
  }

  .p-problem__result {
    text-align: center;
  }

  .p-problem__result-img {
    /* PC 画像（max-width: 447px）はそのまま、中央寄せに */
    margin: 0 auto;
  }

  /* p-section-head と p-xxx__lead を PC の横並びから縦並びに */
  .p-solution__head,
  .p-services__head,
  .p-cta__head {
    display: block;
  }

  /* PC で行っていた baseline 揃え用の大きな margin-top をリセット */
  .p-solution__lead,
  .p-services__lead,
  .p-cta__lead {
    margin-top: 32px;
  }

  /* p-philosophy__inner: テキスト / モデル画像 を縦並びに */
  .p-philosophy__inner {
    flex-direction: column;
    gap: 48px;
  }

  .p-philosophy__text,
  .p-philosophy__model {
    /* column になると flex-basis は高さに効くので auto に戻す */
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  /* p-cta__cards-row: 2 カードを縦並びに */
  .p-cta__cards-row {
    flex-direction: column;
    gap: 32px;
    /* PC の min-height: 182px は縦並びでは不要 */
    min-height: 0;
  }

  .p-cta__card {
    flex: 0 0 auto;
    /* カード自体の幅は PC のサイズ感（412px）を維持しつつ、はみ出さないように */
    width: 412px;
    max-width: 100%;
  }

  /* p-works-card: 画像 → 本文 の縦並びに */
  .p-works-card {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .p-works-card__img,
  .p-works-card__body {
    flex: 0 0 auto;
    width: 100%;
  }

  /* p-faq__inner: head と list を縦並びに */
  .p-faq__inner {
    display: block;
  }

  .p-faq__list {
    max-width: 100%;
    margin-top: 32px;
  }

  /* PC で指定された max-width: 720px をタブレットでは解除し、親の幅いっぱいに */
  .p-faq__item[open] .p-faq__answer {
    max-width: 100%;
  }

  /* p-cta__cards-inner: PC の横パディング 100px はタブレットだと窮屈なので縮める */
  .p-cta__cards-inner {
    padding: 40px 32px;
  }
}

/* @media (max-width: 1440px) {
  .p-hero__title-line::before {
    width: 140px
  }
} */
