@charset "UTF-8";
/* =========================================================
   si-te-2026  トップページ
   - デザイン基準幅：1920px（PC）
   - ブレイクポイント：1199px（タブレット） / 767px（スマホ）
   - 命名規則：FLOCSS（l- レイアウト / c- コンポーネント / p- プロジェクト / u- ユーティリティ）
========================================================= */

/* ---------------------------------------------------------
   Variables
--------------------------------------------------------- */
:root {
  --c-text: #333;
  --c-gray: #808080;
  --c-gray-light: #878787;
  --c-accent: #fc3a52;
  --c-bg-gray: #f2f2f2;
  --c-bg-cream: #fff9e6;
  --c-border: #e5e5e5;
  --c-border-table: #dfdfdf;

  --ff-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --ff-en: "Roboto", var(--ff-base);

  /* 1920px時に100px → 画面幅に応じて縮小 */
  --gutter: clamp(20px, 5.2084vw, 100px);
  /* 2カラムレイアウトの右カラム開始位置（682.5 / 1920） */
  --split: 35.546875%;

  --radius: 10px;
  --header-h: 110px;

  /* 背景グラデーション（青 → 黄 → 青）。180%の大きさにして左右へゆっくり動かす */
  --grad-bg: linear-gradient(225deg, #cee3f0, #f9f7d4, #cee3f0);
  --grad-bg-size: 180% 180%;
  --grad-bg-duration: 18s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--c-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, p, ul, ol, figure, address, table {
  margin: 0;
}

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

address {
  font-style: normal;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

@media (hover: hover) {
  a:hover {
    opacity: 0.7;
  }
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 背景グラデーションのアニメーション（メインビジュアル・下層ページ見出し・スマホメニュー） */
@keyframes si26-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 本文ブロック：末尾文字の字間ぶんを相殺して、デザインと同じ位置で折り返す */
.p-about__text,
.p-issue__text,
.p-works__text,
.p-shop__text,
.p-service__text,
.p-message__box p {
  margin-right: -0.05em;
}

/* ---------------------------------------------------------
   Layout
--------------------------------------------------------- */
.l-container {
  width: 100%;
  max-width: calc(1720px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: var(--gutter);
}

.l-header__brand {
  display: flex;
  align-items: center;
}

.l-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.l-header__logo img:first-child {
  width: 73px;
}

.l-header__logo img:last-child {
  width: 108px;
}

.l-header__tagline {
  margin-left: 32px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.l-header__menu {
  display: flex;
  gap: clamp(24px, 2.5vw, 48px);
}

.l-header__menu a {
  position: relative;
  display: block;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.2em;
}

/* 現在地（表示中のページ・その親カテゴリ） */
.l-header__menu a.is-current::after {
  content: "";
  position: absolute;
  right: 0.2em;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
}

/* サブメニュー（2階層目）：PCはマウスを乗せると表示 */
.l-header__item {
  position: relative;
}

.l-header__item.has-sub > a {
  padding-right: 16px;
}

/* 子メニューがあることを示す下向き矢印（開くと上向きになる） */
.l-header__item.has-sub > a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-75%) rotate(45deg);
  transition: transform 0.3s;
}

.l-header__item.has-sub > a.is-current::after {
  right: calc(16px + 0.2em);
}

/* スマホ・タブレット用の開閉ボタン（PCでは使わない） */
.l-header__sub-toggle {
  display: none;
}

/* 上辺にブランドカラーのグラデーションラインを敷いた白いパネル */
.l-header__sub {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  z-index: 10;
  min-width: 280px;
  padding: 15px 10px 10px;
  background:
    linear-gradient(90deg, #9fcbe6, #f1e48a) top / 100% 3px no-repeat,
    rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 24px 48px -16px rgba(32, 48, 64, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.25s;
}

/* 親リンクからサブメニューへマウスを動かす間に閉じないよう、すき間を埋める */
.l-header__sub::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 20px;
}

/* 右端のメニューは、画面からはみ出さないよう右揃えで開く */
.l-header__item:nth-last-child(-n + 2) > .l-header__sub {
  left: auto;
  right: 0;
  transform: translate(0, 12px);
}

.l-header__sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}

/* 右端の矢印（マウスを乗せると現れる） */
.l-header__sub a::after,
.l-header__sub a.is-current::after {
  content: "→";
  position: static;
  height: auto;
  background: none;
  font-family: var(--ff-en);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

.l-header__sub a.is-current {
  color: var(--c-accent);
}

.l-header__sub a.is-current::after {
  opacity: 1;
  transform: none;
}

/*
 * PC（1200px以上）：ノートPCでも窮屈にならないよう、ロゴ・タグライン・メニューを画面幅に合わせて縮める
 * （1920px で Figma と同じサイズ、1280px で最小になるように直線的に変化させる）
 */
@media (min-width: 1200px) {
  .l-header__logo {
    gap: clamp(8px, calc(4px + 0.3125vw), 10px);
  }

  .l-header__logo img:first-child {
    width: clamp(62px, calc(40px + 1.71875vw), 73px);
  }

  .l-header__logo img:last-child {
    width: clamp(92px, calc(60px + 2.5vw), 108px);
  }

  .l-header__tagline {
    margin-left: clamp(20px, calc(1.875vw - 4px), 32px);
    font-size: clamp(11px, calc(7px + 0.3125vw), 13px);
  }

  .l-header__menu {
    gap: clamp(24px, calc(3.75vw - 24px), 48px);
  }

  .l-header__item > a {
    font-size: clamp(13px, calc(11px + 0.15625vw), 14px);
    letter-spacing: clamp(1.95px, calc(0.25px + 0.1328vw), 2.8px);
  }
}

/*
 * PC：スクロールしてもヘッダーを画面上部に固定（追従）
 * スクロール前は背景なし（Figma通り）、スクロールしたら高さを少し縮めて半透明の白背景を敷く
 */
@media (min-width: 1200px) {
  html {
    scroll-padding-top: 80px;
  }

  .l-header {
    transition: height 0.3s;
  }

  /* backdrop-filterは本体に付けず疑似要素で敷く（サブメニューの表示に影響させないため） */
  .l-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }

  .l-header__inner {
    position: relative;
  }

  .l-header.is-scrolled {
    height: 80px;
  }

  .l-header.is-scrolled::before {
    opacity: 1;
  }
}

@media (min-width: 1200px) {
  .l-header__item:hover > .l-header__sub,
  .l-header__item:focus-within > .l-header__sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .l-header__item:nth-last-child(-n + 2):hover > .l-header__sub,
  .l-header__item:nth-last-child(-n + 2):focus-within > .l-header__sub {
    transform: translate(0, 0);
  }

  .l-header__item.has-sub:hover > a::before,
  .l-header__item.has-sub:focus-within > a::before {
    transform: translateY(-25%) rotate(-135deg);
  }

  .l-header__sub a:focus-visible::after {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1200px) and (hover: hover) {
  .l-header__sub a:hover {
    opacity: 1;
    background: linear-gradient(90deg, rgba(206, 227, 240, 0.55), rgba(249, 247, 212, 0.55));
  }

  .l-header__sub a:hover::after {
    opacity: 1;
    transform: none;
  }
}

/* 開くときに項目を上から順にふわっと表示 */
@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
  .l-header__sub-list li {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s;
  }

  .l-header__item:hover .l-header__sub-list li,
  .l-header__item:focus-within .l-header__sub-list li {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.05s + var(--i, 0) * 0.035s);
  }
}

.l-header__toggle {
  display: none;
}

/* ログイン中の管理バー分ずらす */
.admin-bar .l-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .l-header {
    top: 46px;
  }
}

/* Footer */
.l-footer__inner {
  display: grid;
  grid-template-columns: 64.453125% 1fr;
  min-height: 602px;
}

.l-footer__services {
  padding: 117px var(--gutter) 100px;
  color: #fff;
  background: #000;
}

.l-footer__heading,
.l-footer__cat,
.l-footer__cats,
.l-footer__extra,
.l-footer__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0.05em;
}

/*
 * サービスの列（Figma：ホームページ制作 / デジタルマーケティング / 単独のサービス）
 * - ノートPC・タブレット：2列（3列目の単独サービスは2列目の下に並べる）
 * - 1760px以上：Figma と同じ比率の3列（長いサービス名は1行で表示）
 */
.l-footer__cols {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: clamp(48px, 5vw, 96px);
  row-gap: 24px;
  margin-top: 24px;
  padding-left: 30px;
}

.l-footer__cols > .l-footer__col:first-child {
  grid-row: span 2;
}

@media (min-width: 1760px) {
  .l-footer__cols {
    grid-template-columns: minmax(max-content, 31.45%) minmax(max-content, 34.25%) max-content;
    column-gap: 0;
  }

  .l-footer__cols > .l-footer__col:first-child {
    grid-row: auto;
  }
}

.l-footer__sub {
  margin-top: 1px;
  padding-left: 30px;
}

.l-footer__sub li {
  font-size: 14px;
  line-height: 26px;
}

/*
 * カテゴリを持たないサービス（11件などの一覧）：上から順に縦に並べ、列に分ける
 * 列の幅は文字に合わせる（長いサービス名が途中で折り返さないように）
 * 行数（--rows2：2列のとき / --rows3：3列のとき）は件数から PHP で計算する
 */
.l-footer__cols--flat {
  display: block;
}

.l-footer__cols--flat .l-footer__cats {
  display: grid;
  grid-template-rows: repeat(var(--rows2, 6), auto);
  grid-auto-flow: column;
  justify-content: start;
  column-gap: 56px;
  /* Figma のサブメニューと同じ細い文字（見出し「サービス一覧」は太字のまま） */
  font-size: 14px;
  font-weight: 400;
}

@media (min-width: 1600px) {
  .l-footer__cols--flat .l-footer__cats {
    grid-template-rows: repeat(var(--rows3, 4), auto);
    column-gap: 64px;
  }
}

@media (max-width: 767px) {
  .l-footer__cols--flat .l-footer__cats {
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

.l-footer__extra {
  display: flex;
  gap: 58px;
  margin-top: 50px;
}

.l-footer__company {
  padding: 117px var(--gutter) 60px;
}

.l-footer__address {
  margin-top: 26px;
  font-size: 16px;
  line-height: 26px;
}

.l-footer__sns {
  display: inline-block;
  margin-top: 25px;
  vertical-align: top;
}

.l-footer__sns img {
  width: 30px;
  height: 30px;
}

.l-footer__links {
  display: grid;
  grid-template-columns: 241px auto;
  margin-top: 58px;
  font-size: 14px;
  line-height: 26px;
}

.l-footer__copy {
  padding: 28px var(--gutter) 57px;
  font-family: var(--ff-en);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

.l-footer__copy small {
  font-size: inherit;
}

/* ---------------------------------------------------------
   Component
--------------------------------------------------------- */
/* 英字セクションタイトル（About / Works / Service など） */
.c-section-title {
  font-family: var(--ff-en);
  font-size: clamp(36px, 2.5vw, 48px);
  font-weight: 300;
  line-height: 1.17;
  letter-spacing: 0.1em;
  text-align: center;
}

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

/* 日本語見出し（36px） */
.c-heading {
  font-size: clamp(24px, 1.875vw, 36px);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: 0.1em;
}

/* 矢印付きテキストリンク */
.c-link-arrow {
  display: flex;
  align-items: center;
  width: fit-content;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.c-link-arrow::after {
  content: "→";
  margin-left: 1.25em;
  transition: transform 0.3s;
}

@media (hover: hover) {
  .c-link-arrow:hover {
    opacity: 1;
  }

  .c-link-arrow:hover::after {
    transform: translateX(6px);
  }
}

.c-link-arrow--white {
  color: rgba(255, 255, 255, 0.85);
}

.c-link-arrow--accent {
  color: var(--c-accent);
}

/* 白いピル型ボタン */
.c-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  max-width: 100%;
  height: 60px;
  padding-inline: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: var(--c-text);
  text-align: center;
  background: #fff;
  border-radius: 30px;
}

/* お問い合わせボタン */
.c-btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(72px, 7.03125vw, 135px);
  font-size: clamp(20px, 1.875vw, 36px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--c-text);
  background: #fff;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: color 0.3s, background-color 0.3s;
}

.c-btn-contact--accent {
  color: var(--c-accent);
}

@media (hover: hover) {
  .c-btn-contact:hover {
    opacity: 1;
    color: #fff;
    background: var(--c-text);
    border-color: var(--c-text);
  }

  .c-btn-contact--accent:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
  }
}

/* スライダー矢印 */
.c-slider-nav {
  display: flex;
  gap: 18px;
  width: fit-content;
  margin: -10px;
}

.c-slider-nav__btn {
  padding: 10px;
  transition: opacity 0.3s;
}

.c-slider-nav__btn img {
  width: 30px;
  height: 15px;
}

@media (hover: hover) {
  .c-slider-nav__btn:hover {
    opacity: 0.6;
  }
}

/* ページトップ */
.c-pagetop {
  position: fixed;
  right: 37px;
  bottom: 40px;
  z-index: 90;
  width: 60px;
  height: 60px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.c-pagetop.is-show {
  opacity: 1;
  visibility: visible;
}

/* Contact Form 7 の reCAPTCHA バッジ（右下固定）と重ならないように上へずらす */
body:has(.grecaptcha-badge) .c-pagetop {
  bottom: 90px;
}

/* ---------------------------------------------------------
   Project
--------------------------------------------------------- */
/* Hero ------------------------------------------------- */
.p-hero {
  position: relative;
  z-index: 2;
  padding-top: clamp(140px, 17.5vw, 336px);
  padding-bottom: clamp(56px, 3.07vw, 59px);
  background: var(--grad-bg);
  background-position: 0% 50%;
  background-size: var(--grad-bg-size);
  animation: si26-gradient var(--grad-bg-duration) ease infinite;
}

.p-hero__title {
  font-family: var(--ff-en);
  font-size: clamp(40px, 3.75vw, 72px);
  font-weight: 300;
  line-height: 1.17;
  letter-spacing: 0.1em;
}

/* 各単語の頭文字（S・i・t・E）を太字で強調 */
.p-hero__initial {
  font-weight: 700;
}

.p-hero__lead {
  margin-top: clamp(40px, 11.51vw, 221px);
  font-size: clamp(22px, 1.875vw, 36px);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: 0.1em;
}

.p-hero__text {
  margin-top: clamp(24px, 2.24vw, 43px);
  font-size: clamp(15px, 1.0417vw, 20px);
  line-height: 1.8;
}

.p-hero__link {
  margin-top: clamp(32px, 2.45vw, 47px);
}

/* About ------------------------------------------------ */
.p-about {
  position: relative;
  z-index: 0;
  /* 虫眼鏡の装飾は上下にははみ出させ、左右だけ切り取る */
  overflow-x: clip;
  padding-top: clamp(100px, 12.08vw, 232px);
  padding-bottom: clamp(100px, 11.875vw, 228px);
}

.p-about__deco {
  position: absolute;
  top: -6.3vw;
  left: 5.2084%;
  z-index: -1;
  width: 76.04%;
  max-width: none;
  pointer-events: none;
}

.p-about__inner {
  position: relative;
}

.p-about__body {
  margin-top: clamp(56px, 5.78vw, 111px);
  margin-left: var(--split);
  padding-right: var(--gutter);
}

.p-about__heading {
  font-size: clamp(22px, 1.875vw, 36px);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: 0.1em;
}

.p-about__text {
  margin-top: clamp(24px, 2.29vw, 44px);
}

.p-about__text p + p {
  margin-top: 28px;
}

.p-about__link {
  margin-top: clamp(32px, 2.6vw, 50px);
}

/* Issue ------------------------------------------------ */
.p-issue {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(100px, 12.5vw, 240px);
}

.p-issue__list {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin: 49px -2.5px 0;
}

.p-issue__card {
  position: relative;
  isolation: isolate;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  padding-top: 225px;
  overflow: hidden;
  border-radius: var(--radius);
}

.p-issue__card:nth-child(2) {
  margin-top: 60px;
}

.p-issue__card:nth-child(3) {
  margin-top: 120px;
}

.p-issue__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-issue__box {
  min-height: 435px;
  margin-left: 10.81%;
  padding: 58px 18px 36px 20px;
  background: #fff;
}

.p-issue__label {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-gray);
}

.p-issue__title {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.p-issue__text {
  margin-top: 43px;
}

.p-issue__more {
  align-self: flex-end;
  height: 60px;
  margin-right: 20px;
}

/* Works ------------------------------------------------ */
.p-works {
  display: grid;
  grid-template-columns: var(--split) 1fr;
  max-width: 1920px;
  margin-inline: auto;
}

.p-works__head {
  padding: clamp(80px, 11.82vw, 227px) 40px 80px var(--gutter);
}

.p-works__heading {
  margin-top: clamp(40px, 5.625vw, 108px);
}

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

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

.p-works__panel {
  position: relative;
  min-height: 896px;
  padding: clamp(60px, 6.25vw, 120px) var(--gutter) 163px;
  background: var(--c-bg-gray);
  /* 1920px超の画面でもグレー背景を右端まで伸ばす */
  box-shadow: 0 0 0 100vmax var(--c-bg-gray);
  clip-path: inset(0 -100vmax 0 0);
}

.p-works__viewport {
  overflow: hidden;
}

.p-works__track {
  display: grid;
}

/* fadeモード：全スライドを同じセルに重ねる */
.p-works__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s, visibility 0.6s;
}

.p-works__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.p-works__devices {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.p-works__pc {
  position: relative;
  width: 71.33%;
}

.p-works__sp-wrap {
  width: 23.13%;
}

.p-works__sp {
  position: relative;
  width: 100%;
}

/* 枠画像（画面部分は透明）をスクリーンショットの上に重ねる */
.p-works__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  pointer-events: none;
}

/* スクリーンショット：枠画像の画面の位置に合わせる（少し大きめにして枠の下に潜らせる） */
.p-works__screen {
  position: absolute;
  overflow: hidden;
  background: #fff;
}

.p-works__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.p-works__screen--pc {
  top: 4.4%;
  left: 4.25%;
  width: 91.5%;
  height: 62.3%;
}

.p-works__screen--sp {
  top: 2.2%;
  left: 5.4%;
  width: 89%;
  height: 95.4%;
  border-radius: 10.5% / 4.9%;
}

/* スマホ画像が未設定のスライドはキャプションを下に寄せる */
.p-works__devices.is-no-sp .p-works__sp-wrap {
  align-self: flex-end;
}

/* 会社名など：PC・スマホ画像の下の行に右寄せで表示 */
.p-works__caption {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  margin-top: clamp(16px, 1.25vw, 24px);
  text-align: right;
}

.p-works__category {
  font-size: clamp(14px, 0.833vw, 16px);
  line-height: 1.5;
  color: var(--c-gray);
}

.p-works__client {
  margin-top: 5px;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.p-works__nav {
  position: absolute;
  bottom: 118px;
  left: 4.93%;
}

/* Net shop --------------------------------------------- */
.p-shop {
  display: grid;
  grid-template-columns: var(--split) 1fr;
  max-width: 1920px;
  margin-inline: auto;
  box-shadow: 0 0 0 100vmax var(--c-bg-cream);
  clip-path: inset(0 -100vmax);
  background: var(--c-bg-cream);
}

.p-shop__head {
  padding: clamp(60px, 6.04vw, 116px) 40px 80px var(--gutter);
}

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

.p-shop__more {
  margin-top: clamp(48px, 5.36vw, 103px);
}

.p-shop__slider {
  min-width: 0;
  padding-top: clamp(60px, 6.25vw, 120px);
  padding-bottom: 118px;
}

.p-shop__viewport {
  overflow: hidden;
}

.p-shop__track {
  display: flex;
  transition: transform 0.6s ease;
}

.p-shop__slide {
  flex: 0 0 auto;
  width: clamp(280px, 33.334vw, 640px);
}

.p-shop__slide a {
  display: block;
}

.p-shop__slide img {
  width: 100%;
  aspect-ratio: 640 / 580;
  object-fit: cover;
  object-position: top center;
}

.p-shop__nav {
  margin-top: 37px;
  margin-left: calc(4.93% - 10px);
}

/* Service ---------------------------------------------- */
.p-service {
  padding-top: clamp(100px, 12.14vw, 233px);
}

.p-service__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(48px, 5.83vw, 112px);
  border-top: 1px solid var(--c-border);
}

.p-service__item {
  display: flex;
  flex-direction: column;
  min-height: clamp(0px, 31.25vw, 600px);
  padding: 54px var(--gutter) 56px;
  border-bottom: 1px solid var(--c-border);
  border-left: 1px solid var(--c-border);
}

.p-service__item:nth-child(3n) {
  border-right: 1px solid var(--c-border);
}

.p-service__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.p-service__text {
  margin-top: 46px;
  margin-bottom: 40px;
}

.p-service__more {
  align-self: flex-start;
  margin-top: auto;
}

/* Contact ---------------------------------------------- */
.p-contact {
  padding-top: clamp(80px, 12.5vw, 240px);
}

.p-contact--bottom {
  padding-bottom: clamp(80px, 12.5vw, 240px);
}

.p-contact__box {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  min-height: 555px;
  padding: 113px 60px 60px;
  background: url("../images/contact-bg.jpg") 55% 32% / cover no-repeat;
  border-radius: var(--radius);
}

.p-contact__text {
  margin-top: 49px;
  font-size: clamp(15px, 1.0417vw, 20px);
  line-height: 1.8;
}

.p-contact__buttons {
  display: flex;
  flex-direction: column;
  gap: 45px;
  flex-shrink: 0;
  width: clamp(260px, 25.78vw, 495px);
  margin-top: 7px;
}

/* Price ------------------------------------------------ */
.p-price {
  padding-top: clamp(100px, 12.14vw, 233px);
}

.p-price__scroll {
  margin-top: clamp(48px, 5.83vw, 112px);
}

.p-price__table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid var(--c-border-table);
}

.p-price__table th,
.p-price__table td {
  height: 120px;
  padding: 16px 20px;
  font-size: clamp(14px, 0.8334vw, 16px);
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.1em;
  text-align: center;
  vertical-align: middle;
  border-left: 1px solid var(--c-border-table);
}

.p-price__table th[scope="row"] {
  padding-left: clamp(24px, 2.084vw, 40px);
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
}

.p-price__table th.p-price__th-center {
  padding-left: 20px;
  text-align: center;
}

.p-price__table tr.is-gray {
  background: var(--c-bg-gray);
}

/* 見出し行 */
.p-price__row--head {
  background: var(--c-bg-gray);
}

.p-price__row--head th {
  padding-top: 10px;
  padding-bottom: 20px;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 500;
  line-height: 1.5;
}

.p-price__sub {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-gray);
}

.p-price__sub--accent {
  font-weight: 700;
  color: var(--c-accent);
}

/* 料金行・ボタン行 */
.p-price__row--price,
.p-price__row--btn {
  color: #fff;
  background: #000;
}

.p-price__row--price > *,
.p-price__row--btn > * {
  border-left-color: #797979;
}

.p-price__row--price td {
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 700;
  line-height: 1.5;
}

.p-price__row--price th[scope="row"] {
  font-size: clamp(18px, 1.25vw, 24px);
}

.p-price__table .is-accent {
  background: var(--c-accent);
}

.p-price__scroll-hint {
  display: none;
}

.p-price__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 58px;
}

/* News ------------------------------------------------- */
.p-news {
  padding-top: clamp(100px, 11.67vw, 224px);
}

.p-news__inner {
  max-width: 1140px;
  margin-inline: auto;
}

.p-news__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: clamp(48px, 5.83vw, 112px);
}

.p-news__thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.p-news__thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s;
}

@media (hover: hover) {
  .p-news__link:hover {
    opacity: 1;
  }

  .p-news__link:hover .p-news__thumb img {
    transform: scale(1.05);
  }
}

.p-news__title {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 36px;
  text-align: right;
}

.p-news__title span {
  padding: 6.5px 18px;
  background: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.p-news__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.p-news__date {
  font-weight: 300;
  color: var(--c-gray-light);
}

.p-news__cat {
  color: #000;
}

.p-news__banners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 57px;
}

.p-news__banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 200px;
  padding-inline: 60px;
  overflow: hidden;
  border-radius: var(--radius);
}

.p-news__banner-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-news__banner-title {
  font-family: var(--ff-en);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: 0;
  color: #fff;
}

.p-news__banner-btn {
  width: 220px;
}

.p-news__banners,
.p-news__banner {
  isolation: isolate;
}

.p-news__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 56px;
}

/* Message ---------------------------------------------- */
.p-message {
  padding-top: clamp(100px, 11.82vw, 227px);
}

.p-message__heading {
  margin-top: clamp(48px, 5.78vw, 111px);
}

.p-message__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 52px;
}

.p-message__card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 36.11% 1fr;
  width: 83.72%;
  overflow: hidden;
  border-radius: var(--radius);
}

.p-message__card:nth-child(2) {
  margin-left: 3.34%;
}

.p-message__card:nth-child(3) {
  margin-left: 6.83%;
}

.p-message__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-message__head {
  grid-column: 1;
  grid-row: 1 / 3;
  padding: 190px 24px 40px 80px;
  color: #fff;
}

.p-message__label {
  font-size: 16px;
  line-height: 1.5;
}

.p-message__title {
  margin-top: 5px;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.p-message__box {
  grid-column: 2;
  grid-row: 1;
  min-height: 307px;
  margin-top: 120px;
  padding: 55px 36px 40px;
  background: #fff;
}

.p-message__more {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  height: 64px;
  margin-right: 40px;
}

/* ---------------------------------------------------------
   Animation（文字・要素の表示アニメーション）
   参考：https://b-risk.jp/blog/2021/01/anim-reference/

   テンプレート側で data-anim 属性を付けて使う。
   - data-anim="rise"    … 文字がぬるりと現れる（下からせり上がる）
   - data-anim="reveal"  … 文字が滑らかに表示される（左から右へ開く）
   - data-anim="fadeup"  … フェードアップ（下から浮き上がりながら表示）
   - data-anim="slidein" … スライドイン（右からスライドしながら表示）

   - data-anim-load 付き … 読み込み直後に再生（ファーストビュー用。JS不要）
   - それ以外           … 画面に入ったときに再生（main.js が .is-animated を付与）
   - 遅らせたいとき     … style="--anim-delay: 0.4s"

   ※ 終了後は元のスタイルに戻す（fill-mode: backwards）ので、ホバー時の動きなどと干渉しない
   ※ 「視差効果を減らす」設定の端末では再生しない
--------------------------------------------------------- */
@keyframes si26-rise {
  from {
    transform: translateY(100%);
    clip-path: inset(-0.2em -0.2em 100% -0.2em);
  }
  to {
    transform: translateY(0);
    clip-path: inset(-0.2em);
  }
}

@keyframes si26-reveal {
  from {
    clip-path: inset(-0.2em 100% -0.2em -0.2em);
  }
  to {
    clip-path: inset(-0.2em);
  }
}

@keyframes si26-fadeup {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes si26-slidein {
  0% {
    opacity: 0;
    transform: translateX(min(180px, 24vw));
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-anim="rise"] {
    --anim-name: si26-rise;
    --anim-duration: 1.2s;
    --anim-ease: cubic-bezier(0.22, 1, 0.36, 1);
  }

  [data-anim="reveal"] {
    --anim-name: si26-reveal;
    --anim-duration: 1.4s;
    --anim-ease: cubic-bezier(0.37, 0, 0.63, 1);
  }

  [data-anim="fadeup"] {
    --anim-name: si26-fadeup;
    --anim-duration: 1s;
    --anim-ease: cubic-bezier(0.33, 1, 0.68, 1);
  }

  [data-anim="slidein"] {
    --anim-name: si26-slidein;
    --anim-duration: 1s;
    --anim-ease: cubic-bezier(0.25, 1, 0.5, 1);
  }

  [data-anim][data-anim-load],
  .js-anim [data-anim].is-animated {
    animation: var(--anim-name) var(--anim-duration) var(--anim-ease) var(--anim-delay, 0s) backwards;
  }

  /* 画面に入るまでは隠しておく（JSが動いているときだけ） */
  .js-anim [data-anim]:not([data-anim-load]):not(.is-animated) {
    opacity: 0;
  }

  /* スライドイン中に横スクロールが出ないよう、左右だけ切り取る（上下ははみ出しOK） */
  main {
    overflow-x: clip;
  }
}

/* =========================================================
   Responsive
========================================================= */
/* ヘッダー：タグラインは幅が足りない場合に非表示（1280px以上のノートPCでは表示する） */
@media (max-width: 1279px) {
  .l-header__tagline {
    display: none;
  }
}

/* PC（小さめ） ------------------------------------------ */
@media (max-width: 1599px) {
  .p-issue__card {
    padding-top: 160px;
  }

  .p-issue__box {
    margin-left: 40px;
  }

  .p-message__card {
    width: 90%;
  }

  .p-message__card:nth-child(2) {
    margin-left: 5%;
  }

  .p-message__card:nth-child(3) {
    margin-left: 10%;
  }

  .p-message__head {
    padding-left: 48px;
  }
}

/* タブレット -------------------------------------------- */
@media (max-width: 1199px) {
  :root {
    --header-h: 72px;
  }

  /* 固定ヘッダーの下にアンカー先が隠れないように */
  html {
    scroll-padding-top: var(--header-h);
  }

  /* Header（ハンバーガーメニュー） */
  .l-header {
    position: fixed;
  }

  /* backdrop-filterをヘッダー本体に付けると、中の固定メニューが全画面にならないため疑似要素で敷く */
  .l-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .l-header__inner {
    position: relative;
  }

  .l-header__logo {
    position: relative;
    z-index: 2;
    gap: 8px;
  }

  .l-header__logo img:first-child {
    width: 55px;
  }

  .l-header__logo img:last-child {
    width: 81px;
  }

  .l-header__toggle {
    position: relative;
    z-index: 2;
    display: block;
    width: 44px;
    height: 44px;
    margin-right: -10px;
  }

  .l-header__toggle span {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 1.5px;
    background: var(--c-text);
    transition: transform 0.3s, opacity 0.3s;
  }

  .l-header__toggle span:nth-child(1) { top: 14px; }
  .l-header__toggle span:nth-child(2) { top: 21px; }
  .l-header__toggle span:nth-child(3) { top: 28px; }

  .l-header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .l-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .l-header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .l-header__nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-bg);
    background-position: 0% 50%;
    background-size: var(--grad-bg-size);
    animation: si26-gradient var(--grad-bg-duration) ease infinite;
    animation-play-state: paused;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .l-header__nav.is-open {
    animation-play-state: running;
    opacity: 1;
    visibility: visible;
  }

  .l-header__menu {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .l-header__menu a {
    font-size: 18px;
  }

  /* サブメニューで縦に長くなった場合はメニュー内をスクロール（上下中央寄せは、はみ出さない時だけ） */
  .l-header__nav {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: calc(var(--header-h) + 24px) 20px 48px;
  }

  .l-header__menu {
    margin-block: auto;
  }

  /* 現在地の下線を文字の幅に合わせる（サブメニューの長い項目でメニュー全体の幅が広がるため） */
  .l-header__item > a {
    display: inline-block;
  }

  /* サブメニュー：スマホ・タブレットは「＋」ボタンで開閉（アコーディオン） */
  .l-header__item.has-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  /* ボタンの幅（28px＋間隔8px）だけ左に余白を取り、文字を中央にそろえる */
  .l-header__item.has-sub > a {
    margin-left: 36px;
    padding-right: 0;
  }

  .l-header__item.has-sub > a::before {
    content: none;
  }

  .l-header__item.has-sub > a.is-current::after {
    right: 0.2em;
  }

  .l-header__sub-toggle {
    position: relative;
    display: block;
    flex: none;
    width: 28px;
    height: 28px;
    margin-left: 8px;
    border: 1px solid rgba(51, 51, 51, 0.3);
    border-radius: 50%;
    transition: background-color 0.3s;
  }

  /* ＋（開くと－） */
  .l-header__sub-toggle::before,
  .l-header__sub-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
  }

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

  .l-header__sub-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.6);
  }

  .l-header__sub-toggle[aria-expanded="true"]::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  /* 高さを 0 ⇔ 中身の高さ でなめらかに開閉する */
  .l-header__sub,
  .l-header__item:nth-last-child(-n + 2) > .l-header__sub {
    position: static;
    display: grid;
    grid-template-rows: 0fr;
    flex-basis: 100%;
    min-width: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: hidden;
    transform: none;
    transition: grid-template-rows 0.35s ease, visibility 0s 0.35s;
  }

  /* 開いた時（メニュー自体が閉じている間は隠れたままにするため visible ではなく inherit） */
  .l-header__item.is-sub-open > .l-header__sub {
    grid-template-rows: 1fr;
    visibility: inherit;
    transition: grid-template-rows 0.35s ease, visibility 0s;
  }

  .l-header__sub::before {
    content: none;
  }

  .l-header__sub-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    overflow: hidden;
  }

  .l-header__sub-list li:first-child {
    margin-top: 18px;
  }

  .l-header__menu .l-header__sub a {
    display: block;
    padding: 0;
    font-size: 14px;
    white-space: normal;
  }

  .l-header__menu .l-header__sub a::after {
    content: none;
  }

  /* Hero */
  .p-hero {
    padding-top: calc(var(--header-h) + 80px);
  }

  /* About */
  .p-about__deco {
    top: -40px;
    left: 0;
    width: 110%;
  }

  .p-about__body {
    margin-left: var(--gutter);
  }

  /* Issue */
  .p-issue__list {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .p-issue__card {
    flex: none;
    width: 100%;
    max-width: 720px;
    padding-top: 120px;
  }

  .p-issue__card:nth-child(2),
  .p-issue__card:nth-child(3) {
    margin-top: 0;
  }

  .p-issue__box {
    min-height: 0;
  }

  /* Works / Net shop */
  .p-works,
  .p-shop {
    grid-template-columns: 1fr;
  }

  .p-works__head,
  .p-shop__head {
    padding-right: var(--gutter);
    padding-bottom: 60px;
  }

  .p-works__panel {
    min-height: 0;
    padding-bottom: 120px;
  }

  .p-works__nav {
    bottom: 56px;
    left: var(--gutter);
  }

  .p-shop__slider {
    padding-top: 0;
    padding-bottom: 80px;
    padding-left: var(--gutter);
  }

  .p-shop__slide {
    width: min(60vw, 560px);
  }

  .p-shop__nav {
    margin-left: -10px;
  }

  /* Service */
  .p-service__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-service__item {
    min-height: 0;
  }

  .p-service__item:nth-child(3n) {
    border-right: 0;
  }

  .p-service__item:nth-child(2n) {
    border-right: 1px solid var(--c-border);
  }

  /* Contact */
  .p-contact__box {
    flex-direction: column;
    min-height: 0;
    padding: 60px 40px;
  }

  .p-contact__buttons {
    width: 100%;
    max-width: 495px;
    gap: 20px;
    margin-top: 0;
  }

  /* News */
  .p-news__title {
    font-size: 14px;
    line-height: 30px;
  }

  .p-news__title span {
    padding: 5px 12px;
  }

  .p-news__banner {
    padding-inline: 32px;
  }

  .p-news__banner-title {
    font-size: 30px;
  }

  .p-news__banner-btn {
    width: 180px;
  }

  /* Message */
  .p-message__card,
  .p-message__card:nth-child(2),
  .p-message__card:nth-child(3) {
    width: 100%;
    margin-left: 0;
  }

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

  /* 写真の上の白文字を読みやすくする */
  .p-message__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.2);
  }

  .p-message__head {
    grid-row: 1;
    padding: 48px 40px;
  }

  .p-message__box {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    margin: 0 40px;
    padding: 40px 36px;
  }

  .p-message__more {
    grid-column: 1;
    grid-row: 3;
  }

  /* Footer */
  .l-footer__inner {
    grid-template-columns: 1fr;
  }

  .l-footer__services,
  .l-footer__company {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .c-pagetop {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

/* スマホ ------------------------------------------------ */
@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 14px;
    line-height: 1.9;
  }

  .c-link-arrow {
    font-size: 15px;
  }

  .c-btn-pill {
    width: 200px;
    height: 52px;
    font-size: 14px;
  }

  /* Hero */
  .p-hero {
    padding-top: calc(var(--header-h) + 64px);
  }

  .p-hero__title {
    font-size: clamp(32px, 10vw, 40px);
  }

  .p-hero__lead {
    margin-top: 48px;
    font-size: 20px;
    letter-spacing: 0.06em;
  }

  .p-hero__text br {
    display: none;
  }

  /* About */
  .p-about__deco {
    top: -20px;
    width: 140%;
    left: -10%;
  }

  .p-about__heading {
    font-size: 20px;
    letter-spacing: 0.06em;
  }

  .p-about__text br {
    display: none;
  }

  .p-about__text p + p {
    margin-top: 1.5em;
  }

  .c-heading {
    font-size: 20px;
    letter-spacing: 0.06em;
  }

  /* Issue */
  .p-issue__list {
    margin-top: 32px;
    gap: 24px;
  }

  .p-issue__card {
    padding-top: 80px;
  }

  .p-issue__box {
    margin-left: 20px;
    padding: 32px 20px 28px;
  }

  .p-issue__title {
    font-size: 20px;
  }

  .p-issue__text {
    margin-top: 20px;
  }

  .p-issue__text br {
    display: none;
  }

  .p-issue__more {
    height: 52px;
  }

  /* Works */
  .p-works__heading {
    margin-top: 32px;
  }

  .p-works__text,
  .p-shop__text {
    margin-top: 24px;
  }

  .p-works__text br,
  .p-shop__text br {
    display: none;
  }

  .p-works__more,
  .p-shop__more {
    margin-top: 32px;
  }

  .p-works__head,
  .p-shop__head {
    padding-bottom: 48px;
  }

  .p-works__panel {
    padding-top: 40px;
    padding-bottom: 96px;
  }

  .p-works__caption {
    margin-top: 20px;
  }

  .p-works__category {
    font-size: 12px;
  }

  .p-works__client {
    font-size: 15px;
    letter-spacing: 0.05em;
  }

  .p-works__nav {
    bottom: 40px;
  }

  .p-shop__slide {
    width: 78vw;
  }

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

  .p-shop__slider {
    padding-bottom: 64px;
  }

  /* Service */
  .p-service__list {
    grid-template-columns: 1fr;
  }

  .p-service__item {
    padding: 40px var(--gutter);
    border-right: 1px solid var(--c-border);
  }

  .p-service__title {
    font-size: 20px;
  }

  .p-service__text {
    margin-top: 20px;
    margin-bottom: 24px;
  }

  /* Contact */
  .p-contact__box {
    padding: 40px 20px;
    gap: 28px;
  }

  .p-contact__text {
    margin-top: 20px;
  }

  .p-contact__text br {
    display: none;
  }

  .c-btn-contact {
    height: 72px;
  }

  /* Price（横スクロール） */
  .p-price__scroll {
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .p-price__table {
    width: 960px;
  }

  .p-price__table th,
  .p-price__table td {
    height: 96px;
    font-size: 14px;
  }

  .p-price__table th[scope="row"],
  .p-price__row--head th,
  .p-price__row--price td {
    font-size: 18px;
  }

  .p-price__table th[scope="row"] {
    padding-left: 24px;
  }

  .p-price__scroll-hint {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--c-gray);
    text-align: center;
  }

  .p-price__foot,
  .p-news__foot {
    margin-top: 32px;
  }

  .p-price__foot .c-link-arrow {
    text-align: left;
  }

  /* News */
  .p-news__list {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }

  .p-news__banners {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .p-news__banner {
    height: 140px;
    padding-inline: 24px;
  }

  .p-news__banner-title {
    font-size: 28px;
  }

  .p-news__banner-btn {
    width: 160px;
    padding-inline: 12px;
    font-size: 13px;
  }

  /* Message */
  .p-message__heading {
    margin-top: 40px;
  }

  .p-message__list {
    gap: 24px;
    margin-top: 32px;
  }

  .p-message__head {
    padding: 32px 20px;
  }

  .p-message__title {
    font-size: 18px;
    letter-spacing: 0.06em;
  }

  .p-message__box {
    margin: 0 12px;
    padding: 28px 20px;
  }

  .p-message__more {
    height: 56px;
    margin-right: 20px;
  }

  /* Footer */
  .l-footer__services,
  .l-footer__company {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .l-footer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 0;
  }

  .l-footer__cols > .l-footer__col:first-child {
    grid-row: auto;
  }

  /* 長いサービス名（楽天市場ショップ売上アップコンサルティング）が1行に収まるように */
  .l-footer__cats {
    font-size: 15px;
    letter-spacing: 0;
  }

  .l-footer__extra {
    margin-top: 32px;
    gap: 32px;
  }

  .l-footer__address {
    font-size: 14px;
  }

  .l-footer__links {
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
  }

  .l-footer__copy {
    padding-block: 20px;
  }
}

/* 動きを減らす設定の端末では、背景グラデーションを止める */
@media (prefers-reduced-motion: reduce) {
  .p-hero,
  .l-header__nav {
    animation: none;
  }

  /* サブメニューの開閉も動かさない */
  .l-header__sub,
  .l-header__item.is-sub-open > .l-header__sub,
  .l-header__item:nth-last-child(-n + 2) > .l-header__sub {
    transition: none;
  }
}
