@charset "UTF-8";
:root {
  /* メインカラー・アクセントカラー */
  --color-main: #8a5cf5;        /* 華やかで優しいメインパープル */
  --color-main-dark: #6c38e0;   /* 深みのあるホバー・強調パープル */
  --color-dark: #2a2040;        /* 視認性の高いダークパープル（文字・見出し） */
  --color-accent: #f2994a;      /* やわらかいウォームオレンジ（差し色） */
  
  /* 背景・トーン */
  --color-bg: #f9f8fe;          /* ほんのり紫がかった柔らかな背景白 */
  --color-bg-purple: #f1edfe;   /* 薄いパープル背景 */
  --color-bg-deep: #1e1335;     /* ダークセクション用深紫 */
  
  /* テキスト・ライン */
  --color-text: #372e4a;        /* 柔らかいダークグレーパープル */
  --color-muted: #6f6583;       /* マイルドな補足テキストカラー */
  --color-line: #e5def8;        /* 優しい薄紫の境界線 */
  --color-white: #ffffff;
  
  /* 柔らかいグラデーション定義 */
  --grad-primary: linear-gradient(135deg, #9b6dff 0%, #6c38e0 100%);
  --grad-hero: linear-gradient(140deg, #fbfaff 0%, #f3eeff 50%, #e9e0ff 100%);
  --grad-dark-section: linear-gradient(135deg, #322152 0%, #1e1335 60%, #150b28 100%);
  --grad-highlight: linear-gradient(90deg, #8a5cf5, #c084fc);
  
  /* 角丸（より丸みを出して柔らかさを演出） */
  --radius-large: 36px;
  --radius-medium: 24px;
  --radius-small: 16px;
  
  /* 陰影（ぼかし幅を広げて柔らかい質感に） */
  --shadow-soft: 0 20px 50px rgba(108, 56, 224, 0.08);
  --shadow-card: 0 12px 32px rgba(42, 32, 64, 0.06);
  --shadow-hover: 0 18px 40px rgba(108, 56, 224, 0.18);
  
  --width-content: 1160px;
  --font-base: "Noto Sans JP", sans-serif;
  --font-en: Inter, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-base);
  line-height: 1.85;
  background: var(--color-white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
summary {
  font: inherit;
}
.sp-only {
  display: none;
}
.pc-only {
  display: block;
}
/* ==========================================================================
   レイアウト汎用
   ========================================================================== */
.l-container {
  width: min(calc(100% - 48px), var(--width-content));
  margin-inline: auto;
}

.l-section {
  padding-block: 112px;
}

/* ヘッダー */
.l-header {
  position: sticky;
  z-index: 50;
  top: 0;
  padding: 14px 24px 0;
  pointer-events: none;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1240px);
  min-height: 68px;
  margin-inline: auto;
  padding: 10px 14px 10px 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(108, 56, 224, 0.08);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.l-header__logo {
  color: var(--color-dark);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.l-header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.l-header__link {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
}

.l-header__link::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: var(--color-main);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.l-header__link:hover::after,
.l-header__link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* フッター */
.l-footer {
  padding-block: 42px;
  color: rgba(255, 255, 255, 0.75);
  background: var(--color-bg-deep);
}

.l-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.l-footer__logo {
  margin: 0;
  color: var(--color-white);
  font-family: Georgia, serif;
  font-size: 20px;
}

.l-footer__copyright {
  margin: 0;
  font-size: 12px;
}

/* ==========================================================================
   コンポーネント（ボタン・見出し）
   ========================================================================== */
.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 58px;
  padding: 14px 28px;
  color: var(--color-white);
  font-weight: 700;
  background: var(--grad-primary);
  border: none;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(138, 92, 245, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.c-button::after {
  margin-left: 10px;
  content: "→";
  transition: transform 0.25s ease;
}

.c-button:hover,
.c-button:focus-visible {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.c-button:hover::after {
  transform: translateX(4px);
}

.c-button--small {
  min-width: 132px;
  min-height: 46px;
  padding: 8px 22px;
  font-size: 14px;
}

.c-button--outline {
  color: var(--color-main-dark);
  background: var(--color-white);
  border: 2px solid var(--color-line);
  box-shadow: none;
}

.c-button--outline:hover,
.c-button--outline:focus-visible {
  color: var(--color-white);
  background: var(--color-main-dark);
  border-color: var(--color-main-dark);
}

.c-button--dark {
  color: var(--color-white);
  background: var(--color-dark);
  border: 2px solid var(--color-dark);
  box-shadow: 0 14px 30px rgba(42, 32, 64, 0.25);
}

.c-button--dark:hover,
.c-button--dark:focus-visible {
  background: #1d152e;
  border-color: #1d152e;
}

.c-eyebrow,
.c-section-heading__en {
  margin: 0 0 12px;
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.c-section-heading {
  margin-bottom: 88px;
  text-align: center;
}

.c-section-heading--left {
  margin-bottom: 0;
  text-align: left;
}

.c-section-heading--light .c-section-heading__en {
  color: #c084fc;
}

.c-section-heading--light .c-section-heading__title,
.c-section-heading--light .c-section-heading__description {
  color: var(--color-white);
}

.c-section-heading__title {
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.c-section-heading__description {
  margin: 2rem auto;
  color: var(--color-text);
  font-family: 15px;
  max-width: 800px;
}
.p-benefits__description {
  margin:2rem 0 0;

}

/* ==========================================================================
   各セクション
   ========================================================================== */

/* ヒーローセクション */
.p-hero {
  position: relative;
  min-height: 640px;
  margin-top: -82px;
  padding: 180px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 25%, rgba(192, 132, 252, 0.18), transparent 28%),
    var(--grad-hero);
}

.p-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 64px;
}
.p-hero__content {
  flex: 1 1 60%;
  min-width: 0;
}
.p-hero__title {
  margin: 0;
  color: var(--color-dark);
  font-size: 42px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.p-hero__title span {
  display: inline-block;
  color: var(--color-main-dark);
  background: var(--grad-highlight);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.p-hero__lead {
  margin: 28px 0 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
}

.p-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.p-hero__tag {
  padding: 7px 16px;
  color: var(--color-main-dark);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(108, 56, 224, 0.05);
}

.p-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.p-hero__visual {
  position: relative;
  flex: 0 1 35%;
  max-width: 460px;
  margin-left: auto;
}
.p-hero__image-frame {
  width: 100%;
}

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

.p-hero__screen {
  position: absolute;
  z-index: 3;
  padding: 16px;
  background: var(--color-white);
  border: 1px solid #dfd5f8;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.p-hero__screen span {
  display: block;
  height: 8px;
  margin-bottom: 8px;
  background: #f0eafc;
  border-radius: 4px;
}

.p-hero__screen span:first-child {
  width: 46%;
  background: var(--color-main);
}

.p-hero__screen--list {
  right: -8px;
  bottom: 70px;
  width: 190px;
  transform: rotate(3deg);
}

.p-hero__screen--form {
  top: 75px;
  left: 0;
  width: 155px;
  transform: rotate(-4deg);
}

.p-hero__decoration {
  position: absolute;
  border: 54px solid rgba(138, 92, 245, 0.08);
  border-radius: 50%;
}

.p-hero__decoration--top {
  top: -450px;
  right: -180px;
  width: 980px;
  height: 720px;
}

.p-hero__decoration--bottom {
  bottom: -590px;
  left: -250px;
  width: 1080px;
  height: 780px;
}

/* サマリーバー */
.p-summary {
  position: relative;
  z-index: 5;
  margin-top: -46px;
}

.p-summary__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}

.p-summary__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 145px;
  padding: 20px;
  text-align: center;
}

.p-summary__item:not(:last-child)::after {
  position: absolute;
  top: 25%;
  right: 0;
  width: 1px;
  height: 50%;
  background: var(--color-line);
  content: "";
}

.p-summary__number {
  color: var(--color-main-dark);
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}
.p-summary__prefix {
  margin-right: 0.2em;
  font-size: 20px;
  font-weight: 700;
  vertical-align: middle;
}

.p-summary__label {
  margin-top: 8px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
}

/* 課題（お悩み）カード */
.p-problems {
  padding-top: 140px;
}

.p-problems__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.p-problems__card {
  position: relative;
  padding: 28px 24px 30px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-problems__icon {
  display: grid;
  place-items: center;
  height: 145px;
  margin-bottom: 22px;
  /* background: var(--color-bg-purple);
  border-radius: 18px; */
}

.p-problems__icon img {
  width: 100%;
  height: 100%;
  max-width: 145px;
  max-height: 125px;
  object-fit: contain;
}

.p-problems__number {
  margin: 0 0 8px;
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.p-problems__title {
  margin: 0;
  color: var(--color-dark);
  font-size: 18px;
  line-height: 1.6;
}

.p-problems__text {
  margin: 14px 0 0;
  color: var(--color-text);
  font-size: 14px;
}

/* サービスカード */
.p-services {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background:
    radial-gradient(circle at 10% 100%, rgba(138, 92, 245, 0.35), transparent 35%),
    radial-gradient(circle at 90% 0%, rgba(192, 132, 252, 0.2), transparent 30%),
    var(--grad-dark-section);
}

.p-services__inner {
  position: relative;
  z-index: 2;
}

.p-services__decoration {
  position: absolute;
  right: -120px;
  bottom: -260px;
  width: 650px;
  height: 650px;
  border: 70px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.p-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.p-services__card {
  position: relative;
  min-height: 310px;
  padding: 40px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-large);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.p-services__index {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #ece5fd;
  font-family: var(--font-en);
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
}

.p-services__title {
  margin: 0;
  color: var(--color-main-dark);
  font-size: 24px;
}

.p-services__text {
  margin: 18px 0 0;
  color: var(--color-text);
}

.p-services__list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.p-services__list li {
  position: relative;
  padding-left: 20px;
  font-family: var(--color-text);
  font-weight: 600;
}

.p-services__list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--color-main);
  border-radius: 50%;
  content: "";
}

/* お客様の声 */
.p-reviews {
  position: relative;
  overflow: hidden;
 
}

.p-reviews::after {
  position: absolute;
  right: -190px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 56px solid rgba(138, 92, 245, 0.055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.p-reviews__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: min(100%, 1040px);
  margin-inline: auto;
}

.p-reviews__card {
  display: grid;
  grid-template-areas:
    "point image"
    "caption image";
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  column-gap: 36px;
  min-width: 0;
  margin: 0;
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
}

.p-reviews__point {
  grid-area: point;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.p-reviews__number {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--color-white);
  font-family: var(--font-en);
  font-weight: 800;
  background: var(--grad-primary);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(108, 56, 224, 0.2);
}

.p-reviews__label {
  margin: 0;
  color: var(--color-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.p-reviews__image-frame {
  grid-area: image;
  display: flex;
  align-items: center;
  min-height: 150px;
  overflow: hidden;
}

.p-reviews__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--color-white);
  border-radius: 8px;
}

.p-reviews__caption {
  grid-area: caption;
  align-self: start;
  margin: 0;
  color: var(--color-text);
  line-height: 1.8;
}

.p-reviews__note {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: 11px;
  text-align: right;
}

/* 制作事例 */
.p-works {
  background: var(--color-bg);
}

.p-works__case {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 72px;
}

.p-works__visual {
  position: relative;
  min-height: 500px;
}

.p-works__main-image {
  height: 360px;
  object-fit: cover;
 
}

.p-works__sub-image {
  width: 100%;
  padding: 10px;
  margin:16px 0 0 0;
 
}

.p-works__category {
  margin: 0 0 12px;
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.p-works__title {
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.55;
}

.p-works__description {
  margin: 24px 0 0;
  color: var(--color-text);
}

.p-works__details {
  margin: 28px 0 0;
  border-top: 1px solid var(--color-line);
}

.p-works__detail {
  display: grid;
  grid-template-columns: 95px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 13px;
}

.p-works__detail dt {
  color: var(--color-main-dark);
  font-weight: 700;
  font-size: 16px;
}

.p-works__detail dd {
  margin: 0;
  font-size: 1rem;
}

.p-works__note {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

/* メリット */
.p-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.p-benefits__item {
  position: relative;
  padding-top: 26px;
  border-top: 3px solid var(--color-main);
}

.p-benefits__number {
  position: absolute;
  top: -32px;
  right: 0;
  color: #f0eafd;
  font-family: var(--font-en);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.p-benefits__title {
  position: relative;
  margin: 0;
  color: var(--color-dark);
  font-size: 19px;
}

.p-benefits__text {
  position: relative;
  margin: 16px 0 0;
  color: var(--color-text);
}
/*料金について*/
/* 料金 */
.p-pricing {
  background: var(--color-bg);
}

.p-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.p-pricing__card {
  padding: 34px 32px 32px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 8px solid var(--color-main);
  border-radius: 18px;
}

.p-pricing__type {
  min-height: 3.7em;
  margin: 0;
  text-align: center;
  color: var(--color-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.p-pricing__price {
  /* display: flex;
  align-items: baseline; */
  text-align: center;
  gap: 5px;
  margin: 22px 0 0;
  color: var(--color-main-dark);
  line-height: 1;
}

.p-pricing__amount {
  font-family: var(--font-en);
  font-size: clamp(36px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.p-pricing__unit {
  font-size: 16px;
  font-weight: 700;
}

.p-pricing__scope {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 12px;
}

.p-pricing__description {
  margin: 24px 0 0;
  padding-top: 22px;
  color: var(--color-muted);
  font-size: 14px;
  border-top: 1px solid var(--color-line);
}

.p-pricing__notice {
  align-items: center;
  gap: 26px;
  margin-top: 48px;
  /* padding: 24px 28px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 14px; */
}

.p-pricing__notes {
  max-width: 900px;
  margin: 44px auto 0;
  text-align: center;
}

.p-pricing__volume {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
}

.p-pricing__note {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

.p-pricing__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-main-dark);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.p-pricing__link span {
  transition: transform 0.2s ease;
}

.p-pricing__link:hover span,
.p-pricing__link:focus-visible span {
  transform: translateX(4px);
}

/* ご相談から納品までの流れ */
.p-flow {
  background: var(--color-bg);
}

.p-flow__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-flow__item {
  position: relative;
  padding: 30px 22px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
}


.p-flow__number {
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 800;
  /* letter-spacing: 0.14em; */
}

.p-flow__title {
  /* margin: 16px 0 0; */
  color: var(--color-dark);
  font-size: 17px;
}
.p-pricing__cta {
  margin: 48px auto;
  text-align: center;
}

.p-flow__text {
  margin: 12px 0 0;
  color: var(--color-text);
  font-size: 14px;
}
.p-flow__note {
  font-size: 13px;
  color:var(--color-muted);
}

/* FAQ */
.p-faq__inner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
}

.p-faq__list {
  border-top: 1px solid var(--color-line);
}

.p-faq__item {
  border-bottom: 1px solid var(--color-line);
}

.p-faq__question {
  position: relative;
  padding: 24px 54px 24px 44px;
  color: var(--color-dark);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.p-faq__question::before {
  position: absolute;
  top: 24px;
  left: 0;
  color: var(--color-main);
  font-family: var(--font-en);
  font-weight: 800;
  content: "Q";
}

.p-faq__question::after {
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--color-main);
  border: 1px solid var(--color-main);
  border-radius: 50%;
  content: "+";
  transform: translateY(-50%);
}

.p-faq__item[open] .p-faq__question::after {
  content: "−";
}

.p-faq__answer {
  margin: 0;
  padding: 0 20px 24px 44px;
  color: var(--color-text);
}

/* お問い合わせ（CTA） */
.p-contact {
  position: relative;
  padding-block: 110px;
  overflow: hidden;
  color: var(--color-white);
  text-align: center;
  background:
    radial-gradient(circle at 0% 100%, rgba(192, 132, 252, 0.4), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(138, 92, 245, 0.3), transparent 30%),
    var(--grad-dark-section);
}

.p-contact__inner {
  position: relative;
  z-index: 2;
}

.p-contact__en {
  margin: 0 0 14px;
  color: #c084fc;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.p-contact__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.5;
}

.p-contact__text {
  margin: 22px 0 34px;
  color: #fff;
}

.p-contact__decoration {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 58px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.p-contact__decoration--left {
  bottom: -280px;
  left: -130px;
}

.p-contact__decoration--right {
  top: -310px;
  right: -110px;
}

/* ==========================================================================
   レスポンシブ（タブレット・スマホ対応）
   ========================================================================== */
@media (max-width: 1024px) {
  .sp-only {
  display: block;
}
.pc-only {
  display: none;
}
  .l-header__link {
    display: none;
  }

  .p-hero__inner,
  .p-works__case {
    grid-template-columns: 1fr;
  }

  .p-hero__content {
    max-width: 700px;
  }

  .p-hero__visual {
    min-height: 440px;
  }
  .p-hero__title span {
    display: block;
  }
 
  .p-problems__grid,
  .p-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-reviews__grid {
    grid-template-columns: 1fr;
  }

  .p-reviews__card {
    width: min(100%, 860px);
    margin-inline: auto;
    column-gap: 26px;
  }

  .p-flow__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .p-flow__item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .l-container {
    width: min(calc(100% - 32px), var(--width-content));
  }

  .l-section {
    padding-block: 78px;
  }

  .l-header {
    padding: 8px 10px 0;
  }

  .l-header__inner {
    min-height: 60px;
    padding: 7px 8px 7px 20px;
  }

  .l-header__logo {
    font-size: 18px;
  }

  .l-header__nav {
    gap: 0;
  }

  .l-header .c-button--small {
    min-width: 112px;
    min-height: 42px;
    padding: 7px 14px;
    font-size: 12px;
  }

  .l-footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .c-section-heading {
    margin-bottom: 44px;
  }

  .c-section-heading--left {
    margin-bottom: 36px;
  }

  .c-section-heading__title {
    font-size: 28px;
  }

  .c-section-heading__description {
    text-align: left;
  }

  .c-button {
    width: 82%;
    min-width: 0;
    margin: auto;
  }

  .p-hero {
    min-height: auto;
    margin-top: -68px;
    padding: 140px 0 75px;
  }

  .p-hero__inner {
    gap: 40px;
    display: flex;
    flex-direction: column;
  }

  .p-hero__title {
    font-size: 35px;
    line-height: 1.5;
  }

  .p-hero__lead {
    font-size: 14px;
  }

  .p-hero__actions {
    display: grid;
  }

  .p-hero__visual {
    min-height: 290px;
  }

  .p-hero__screen--list {
    right: 0;
    bottom: 20px;
    width: 145px;
  }

  .p-hero__screen--form {
    top: 35px;
    width: 120px;
  }

  .p-summary {
    margin-top: -26px;
  }

  .p-summary__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-summary__item {
    min-height: 118px;
  }

  .p-summary__item:nth-child(2)::after {
    display: none;
  }

  .p-summary__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-line);
  }

  .p-summary__number {
    font-size: 24px;
  }

  /*制作のお悩みをサポート*/
  .p-problems {
    padding-top: 100px;
  }

  .p-problems__grid,
  .p-services__grid,
  .p-benefits__grid,
  .p-flow__list {
    grid-template-columns: 1fr;
  }

  .p-problems__card,
  .p-services__card {
    padding: 26px 22px;
  }

  .p-services__index {
    font-size: 2rem;
  }
  .p-services__card {
    min-height: auto;
  }
  .p-reviews__number {
    width:40px;
    height:40px;
    font-size: 14px;
  }

  .p-works__case {
    gap: 44px;
  }

  .p-works__visual {
    min-height: 340px;
  }

  .p-works__main-image {
    height: 224px;
  }

  .p-works__sub-image {
    width: 100%;
    position: static;
    margin:8px 0 0 0;

  }

  .p-benefits__grid {
    gap: 48px;
  }

  /*料金*/
  .p-pricing__card,
  .p-pricing__card:last-child {
    grid-column: auto;
    padding: 28px 22px;
    margin: 24px 0;
  }

  .p-pricing__grid {
    display: block;
  }
  .p-pricing__type {
    min-height: 0;
  }

  .p-pricing__notice {
    display: block;
    padding: 0 22px;
    margin: 0;
  }
/*FLOW*/
.p-flow.l-section {
  padding-top: 0;
}
.p-flow__item {
  padding: 36px 22px;
}

.p-flow__title {
  margin: 18px 0 0;
}

.p-flow__text {
  margin: 12px 0 0;
}

  .p-pricing__notice-text {
    margin-top: 10px;
  }

  .p-pricing__link {
    margin-top: 18px;
  }

  .p-reviews__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
  }

  .p-reviews__point {
    margin-bottom: 18px;
  }

  .p-reviews__image-frame {
    order: 2;
    min-height: 0;
  }

  .p-reviews__caption {
    order: 3;
    margin-top: 18px;
  }

  .p-reviews__note {
    text-align: left;
  }

  .p-faq__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .p-contact {
    padding-block: 80px;
  }

  .p-contact__title {
    font-size: 29px;
  }

  .u-desktop {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}