@charset "utf-8";

/* 親要素に「具体的な高さ」overflow: hidden;を指定,imgタグに「width: 100%;」「height: 100%;」「object-fit: cover;」の3点セットを指定 */
.mv {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1280px;
  height: clamp(400px, 60vh, 600px);
  height: clamp(400px, 60svh, 600px);
  margin-inline: auto;
  overflow: hidden;
  /* 文字を中央に配置する設定 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- 背景画像（絶対配置で背面に固定） --- */
.mv__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mv__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade-in-mv 1.2s ease-out forwards;
}

@keyframes fade-in-mv {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.mv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
  pointer-events: none;
}

.mv__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.mv__title {
  /* 親の見出し自体は透明にせず、中身を制御する */
  line-height: 1.5;
  text-align: center;
}

.mv__title-main,
.mv__title-sub {
  display: block;
  /* 改行させるためにブロック要素化 */
  opacity: 0;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: clamp(1.75rem, 0.958rem + 3.47vw, 2.5rem);
}

.mv__title-main {
  animation: fade-in-up 1s ease-out 0.5s forwards;
}

.mv__title-sub {
  animation: fade-in-up 1s ease-out 1s forwards;
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* キャッチコピー改行PCでは隠す */
.sp-only {
  display: none;
}

/* ★開業キャンペーン価格★ */
.p-campaign__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, -0.917rem + 9.72vw, 3.75rem);
  margin-inline: auto;
}

.p-campaign__image {
  flex: 0 1 480px;
  max-width: 480px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.p-campaign__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.4);
}

.p-campaign__image-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: clamp(0.875rem, 0.5rem + 1.5vw, 1rem);
  white-space: normal;
  text-align: center;
  line-height: 1.6;
  max-width: 90%;
}

.p-campaign__image-caption::before,
.p-campaign__image-caption::after {
  content: '';
  width: 2px;
  height: clamp(1.25rem, 0.208rem + 3.47vw, 1.875rem);
  background: var(--color-accent);
  flex-shrink: 0;
}

.p-campaign__image-caption::before {
  margin-right: 15px;
  transform: rotate(-35deg);
}

.p-campaign__image-caption::after {
  margin-left: 15px;
  transform: rotate(35deg);
}

.p-campaign__content {
  flex: 1 1 50%;
  min-width: 0;
  display: grid;
  justify-content: flex-start;
  justify-items: center;
}

.p-campaign__subtitle {
  text-align: center;
  font-size: clamp(1.125rem, 0.917rem + 0.69vw, 1.25rem);
  font-weight: bold;
  margin-block: 0.2em;
}

.p-campaign__price-row {
  display: flex;
  align-items: baseline;
  text-align: left;
  gap: 10px;
  white-space: nowrap;
}

.p-campaign__price {
  font-family: "Inter", "Helvetica Neue", "Arial Black", "Gadget", sans-serif;
  font-size: clamp(2.5rem, 0.417rem + 6.94vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
}

.p-campaign__currency {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.p-campaign__plus {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: bold;
  line-height: 1;
}

.p-campaign__copy-main {
  font-size: clamp(1.125rem, 0.926rem + 0.85vw, 1.5rem);
  font-weight: bold;
  /* line-height: 1.5; */
  text-align: center;
}

/* 月額管理費が不要 */
.u-text-lg {
  font-size: clamp(1.5rem, 1.234rem + 1.13vw, 2rem);
  font-weight: bold;
  display: inline-block;
}

.u-text-accent {
  color: var(--color-font-red);
}

/* 大切は貴社売上部分 */
.s-mission {
  width: 100%;
  margin-inline: auto;
  background-color: var(--color-white);
}

/* 2. 内側のコンテナ「グラフ画像」を敷く */
.s-mission__container {
  max-width: 800px;
  margin-inline: auto;
  text-align: left;
  width: fit-content;
  /* テキストの長さにBOX幅を合わせる */

  /* --- 背景画像の設定 --- */
  background-image: url('../images/bg_image_01_1280x1000.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* 箱の中にきれいに収める */

  /* 重要：文字を読みやすくするために「白を少し混ぜる」設定 */
  /* background-color と background-blend-mode を使うと上品に透けます */
  background-color: rgba(255, 255, 255, 0.8);
  background-blend-mode: overlay;
}

.s-mission__title {
  text-align: center;
  margin-bottom: clamp(1.5rem, 0.667rem + 2.78vw, 2rem);
}

.s-mission__content {
  line-height: 1.5;
  font-size: clamp(1rem, 0.792rem + 0.69vw, 1.125rem);
}

.s-mission__content p {
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.s-mission__signature {
  text-align: right;
  margin-top: 1rem;
}

/* サイト共通の見出しクラス（汎用的な名前に変更） */
.c-section-title {
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: clamp(1.5rem, 0.667rem + 2.78vw, 2rem);
}

.c-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  /* padding-bottomの底に配置 */
  left: 50%;
  /* 中央から開始 */
  transform: translateX(-50%);
  /* 中央にぴったり合わせる */
  width: 60px;
  height: 3px;
  background: var(--color-main);
}

.s-service-concept__details {
  width: fit-content;
  margin-inline: auto;
  text-align: left;
  font-size: clamp(1rem, 0.792rem + 0.69vw, 1.125rem);
  line-height: 1.8;
}

/* 「当社の特徴」セクションの中にあるdetailsだけ、下に余白を作る */
.features .s-service-concept__details {
  margin-bottom: clamp(1.5rem, 0.667rem + 2.78vw, 2rem);
}

.u-text-highlight {
  color: var(--color-font-red);
  font-weight: bold;
  display: inline-block;
}

/* ★Flexboxで3つ並べる設定 */
.features__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 30px;
  /* カード同士の間隔*/
  align-items: stretch;
  /* ★超重要：ボタンがある時これがあるとお互いのカードの高さが揃う */
}

/* カード1つずつの設定 */
.features__item {
  max-width: 400px;
  margin-inline: auto;
  background: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  /* ボタン位置を一定にする為の記述、中身を縦に並べる */
}

.features__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 20px;

  border: 1px solid var(--color-border-gy);
  background: var(--color-white);
  /* 枠と画像の間のにじみ防止 */
}

.features__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

@media (any-hover: hover) {
  .features__item:hover .features__img img {
    transform: scale(1.1);
  }
}

.features__item-title {
  margin: 0 20px 15px;
}

.features__item-text {
  margin: 0 15px;
  text-align: left;
}

/* ボタンを包むエリア（余白の調整） */
.features__btn-wrapper {
  margin-top: auto;
  /* ★重要：上の要素との間を自動で埋めて、ボタンを一番下に押し下げる */
  padding: 20px;
}

/* ボタンの基本デザイン */
.features__btn {
  display: inline-block;
  width: 100%;
  /* カードの幅いっぱいに広げる（押しやすさ重視） */
  padding: 15px 0;
  background: var(--gradient-dark);
  border: 1px solid var(--color-main);
  color: var(--color-white);
  font-weight: bold;
  letter-spacing: 0.1em;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  /* 後の演出用 */
  border-radius: 4px;
}

.features__btn::after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform 0.3s;
  display: inline-block;
}

@media (any-hover: hover) {
  .features__btn:hover {
    background: var(--color-white);
    color: var(--color-main);
  }

  .features__btn:hover::after {
    transform: translateX(0.5rem);
  }
}

.features__btn:active {
  opacity: 0.7;
  transform: scale(0.97);
  transition: none;
  /* 指を離した瞬間にパッと戻すのがコツ */
}


/* 静的HTML導入セクション */
.s-static-intro {
  padding-bottom: 60px;
}

.s-static-intro__header {
  text-align: center;
}

.s-static-intro__desc {
  line-height: 1.8;
  font-size: clamp(1rem, 0.792rem + 0.69vw, 1.125rem);
  display: inline-block;
  text-align: left;
}

.u-hidden-sp {
  display: inline;
  /* もしくは block */
}

/* カード直前の見出しデザイン */
.c-section-divider {
  margin-top: 40px;
}

/* 左右のライン */
.c-section-divider::before,
.c-section-divider::after {
  content: "";
  flex-grow: 1;
  /* ラインを可能な限り伸ばす */
  height: 1px;
  background-color: var(--color-border-gy);
  /* 既存のグレー境界線色 */
  max-width: 100px;
  /* ラインが長すぎないよう制限 */
}

/* テキスト部分 */
.c-section-divider__text {
  padding-inline: 20px;
  font-size: clamp(1.125rem, 0.917rem + 0.69vw, 1.25rem);
  font-weight: bold;
  color: var(--color-main);
  white-space: nowrap;
  /* 改行させない */
}


/* --- カラー管理エリア --- */
.is-merit {
  --card-theme-color: var(--color-accent);
}

.is-demerit {
  --card-theme-color: #666666;
}

/* --- カード全体 --- */
.c-logic-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-block: clamp(1rem, 0.167rem + 2.78vw, 1.5rem);
  margin-inline: auto;
}

.c-logic-card {
  display: flex;
  align-items: stretch;
  background: var(--color-white);
  border: 1px solid var(--color-border-gy);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- PC版：画像エリア --- */
.c-logic-card__img {
  width: 160px;
  flex-shrink: 0;
  background-color: #fcfcfc;
  padding: 24px;
  border-right: 1px solid var(--color-border-gy);
}

.c-logic-card__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* --- スマホ専用アイコン（PCでは非表示） --- */
.u-show-sp-icon {
  display: none;
}

/* --- テキストエリア --- */
.c-logic-card__body {
  padding-block: clamp(1rem, 0.8rem + 1vw, 1.25rem);
  /* 上下 16~20px */
  padding-inline: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
  /* 左右 20~40px */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.c-logic-card__header {
  margin-bottom: 0.5rem;
}

.c-logic-card__label {
  display: block;
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--card-theme-color);
  line-height: 1;
}

.c-logic-card__title {
  font-size: clamp(1.25rem, 0.833rem + 1.39vw, 1.5rem);
  font-weight: bold;
  color: var(--card-theme-color);
  line-height: 1.3;
  margin: 0;
}

/* このような企業様に向いています */
.suitability__container {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.suitability__box {
  flex: 1;
  padding-inline: clamp(0.625rem, -2.5rem + 10.42vw, 2.5rem);
  padding-block: clamp(1.25rem, -0.833rem + 6.94vw, 2.5rem);
  border-radius: 8px;
  border: 1px solid var(--color-border-gy);
}

.suitability__box.is-positive {
  background: var(--color-white);
  border-right: 4px solid var(--color-accent);
  border-bottom: 4px solid var(--color-accent);
}

.suitability__box.is-negative {
  background: var(--color-white);
  border-right: 4px solid #999;
  border-bottom: 4px solid #999;
}
}

.suitability__box-title {
  font-size: clamp(1.25rem, 1.042rem + 0.69vw, 1.375rem);
  font-weight: bold;
  margin-bottom: clamp(1.25rem, 0.833rem + 1.39vw, 1.5rem);
  text-align: center;
}

.suitability__list li {
  position: relative;
  padding-left: 1.8rem;
  /* アイコン分の余白 */
  font-size: clamp(1rem, 0.792rem + 0.69vw, 1.125rem);
  line-height: 1.6;
  margin-bottom: clamp(1rem, 0.167rem + 2.78vw, 1.5rem);
}

.suitability__list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.is-positive .suitability__list li::before {
  content: "✔";
  color: var(--color-accent);
}

.is-negative .suitability__list li::before {
  content: "×";
  font-size: 1.25rem;
}

/* 補足説明（かっこ書き）のスタイル */
.suitability__note {
  display: inline-block;
  /* 改行制御のため */
  font-size: 0.93rem;
  margin-top: 4px;
  font-weight: normal;
  /* かっこ内は太字にしない */
}


/* ★★★下層ページ共通ヘッダー★★★ */
.page-header__inner.l-inner {
  max-width: 1280px;
}

.page-header {
  width: 100%;
  max-width: 1280px;
  height: clamp(10rem, 5.833rem + 13.89vw, 12.5rem);
  margin-inline: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../images/bg_image_01_1920x300.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  overflow: hidden;
}

/* この ::before が「画面全体」にならないよう top/left を 0 に固定 */
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
  /* 下の要素の邪魔をしない */
}

.page-header__inner {
  position: relative;
  z-index: 2;
  /* beforeの1より上であればOK */
  width: 100%;
}

.page-header__content {
  display: inline-block;
  /* 横方向に消えていくグラデーション */
  /* rgb #001e3c の10進数表記 */
  background: linear-gradient(to right,
      rgba(0, 30, 60, 0) 0%,
      rgba(0, 30, 60, 0.7) 20%,
      rgba(0, 30, 60, 0.7) 80%,
      rgba(0, 30, 60, 0) 100%);
  padding-block: clamp(0.25rem, 0.042rem + 0.69vw, 0.375rem);
  width: 100%;
  max-width: 1200px;
}

.page-header__subtitle {
  display: block;
  font-size: clamp(0.625rem, 0.417rem + 0.69vw, 0.75rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
}

.page-header__title {
  display: block;
  margin: 0;
  font-weight: bold;
  color: var(--color-white);
  line-height: 1.2;
}

/* ★★★サービス内容ページ★★★ */
.s-service-intro {
  text-align: center;
}

.s-service-intro__title {
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* 青い三角 ▽ */
.s-service-intro__arrow {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--color-accent);
  margin: 0 auto 1rem;
}

.s-service-intro__body {
  line-height: 1.5;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
}

.s-service-intro__body p {
  margin-bottom: 1rem;
}

.s-service-intro__body p:last-child {
  margin-bottom: 0;
}

.c-num-heading {
  display: flex;
  align-items: center;
  position: relative;
  font-size: clamp(1.25rem, 1.08rem + 0.83vw, 1.625rem);
  font-weight: bold;
  color: var(--color-main);
  margin-block: 1.5rem;
}

.c-num-heading::before {
  content: attr(data-number);
  display: inline-block;
  margin-right: 1rem;
  color: var(--color-accent);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.25rem);
  font-style: italic;
  line-height: 1;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
  font-variant-numeric: lining-nums;
  /* 数字の底辺を揃える命令 */
}

.p-service-detail__lead {
  margin-bottom: 30px;
  line-height: 1.7;
}

/* 表の基本設定 */
.p-service-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--color-main);
  margin-bottom: 40px;
  table-layout: fixed;
}

.p-service-table th,
.p-service-table td {
  padding: 24px 20px;
  border-bottom: 1px solid var(--color-border-gy);
  text-align: left;
  vertical-align: middle;
  line-height: 1.6;
}

.p-service-table th {
  width: 260px;
  /* 縦書きにならないよう、十分な幅を確保 */
  background-color: var(--color-bg-light);
  font-weight: bold;
  color: var(--color-main);
}

.p-service-table td {
  width: auto;
  background: var(--color-white);
}

.p-service-table__list li {
  position: relative;
  padding-left: 1.2em;
}

.p-service-table__list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.u-text-note {
  font-size: clamp(1rem, 0.792rem + 0.69vw, 1.125rem);
  font-weight: bold;
  margin-top: 10px;
}

.p-service-support {
  background: var(--color-bg-more-light);
  border: 1px solid var(--color-border-gy);
  padding: clamp(1.25rem, 5vw, 2rem);
  border-radius: 4px;
}

.p-service-support__title {
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-main);
  border-bottom: 2px solid var(--color-main);
  display: inline-block;
}

.p-service-support__list li {
  position: relative;
  padding-left: 1.5em;
  line-height: 1.6;
  margin-bottom: 12px;
}

.p-service-support__list li:last-child {
  margin-bottom: 0;
}

.p-service-support__list li::before {
  content: "●";
  color: var(--color-main);
  position: absolute;
  left: 0;
  font-size: 0.8em;
  top: 0.1em;
}

/* ★★02保守・管理★★ */
.u-text-lead-bold {
  font-size: clamp(1.125rem, 0.917rem + 0.69vw, 1.25rem);
  font-weight: bold;
  color: var(--color-main);
  margin-bottom: 20px;
}

.p-service-detail__body {
  margin-bottom: 30px;
  line-height: 1.6;
}

.p-service-detail__body p {
  margin-bottom: 0.88rem;
}

.p-service-detail__body p:last-child {
  margin-bottom: 0;
}

.p-compare {
  width: 100%;
  border: 1px solid var(--color-border-gy);
  overflow: hidden;
  margin-bottom: 40px;
  background: var(--color-white);
}

.p-compare__header,
.p-compare__row {
  display: flex;
  border-bottom: 1px solid var(--color-border-gy);
}

.p-compare__row:last-child {
  border-bottom: none;
}

.p-compare__item-name {
  width: 180px;
  background: var(--color-bg-light);
  padding: 20px;
  display: flex;
  align-items: center;
  font-weight: bold;
  border-right: 1px solid var(--color-border-gy);
}

.p-compare__type-static,
.p-compare__static {
  flex: 1;
  padding: 20px;
  border-right: 1px solid var(--color-border-gy);
}

.p-compare__type-cms,
.p-compare__cms {
  flex: 1;
  padding: 20px;
}

.p-compare__header {
  background: var(--color-bg-light);
  text-align: center;
  font-weight: bold;
}

.p-compare__type-static {
  background-color: #f0f7ff;
}

.p-compare__static strong,
.p-compare__cms strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.p-compare__static p,
.p-compare__cms p {
  line-height: 1.6;
  margin: 0;
}

.u-mb-10 {
  margin-bottom: 10px;
}

/* ★★03補助金申請★★ */
.p-requirements {
  margin-bottom: 40px;
  background: var(--color-bg-more-light);
  padding: 25px;
  border-left: 3px solid var(--color-accent);
}

.p-requirements__title {
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-main);
  font-size: 1.1rem;
}

.p-check-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  border: 1px solid var(--color-border-gy);
}

.p-check-table th,
.p-check-table td {
  padding: 20px;
  border-bottom: 1px solid var(--color-border-gy);
  text-align: left;
}

.p-check-table th {
  width: 220px;
  background: var(--color-bg-light);
  color: var(--color-main);
  font-weight: bold;
}

.p-service-note {
  padding: 20px;
  background: var(--color-bg-more-light);
  border-radius: 4px;
}


/* ★★★選ばれる理由ページ★★★ */
/* ★オネスト★ */
.c-check-list {
  margin-top: 1.5rem;
}

.c-check-list li {
  font-weight: bold;
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.5rem;
}

.c-check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}


/* ★月額管理費比較表★ */
.c-table-summary-title {
  color: var(--color-main);
  border-left: 4px solid var(--color-accent);
  padding: 0.5rem 1rem;
  margin-top: clamp(2.5rem, 1.458rem + 3.47vw, 3.125rem);
  margin-bottom: 1.5rem;
  background-color: #f8f9fa;
  /* ほんの少しだけ背景を敷いて目立たせる */
}

.p-cost-comparison {
  overflow-x: auto;
  /* スマホではみ出さないようスクロール許可 */
}

.c-table-comparison {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border: 1px solid var(--color-border-gy);
  table-layout: fixed;
}

.c-table-comparison th,
.c-table-comparison td {
  padding: 0.7rem;
  border: 1px solid var(--color-border-gy);
  text-align: center;
  vertical-align: middle;
  word-break: break-all;
  font-size: clamp(0.9rem, 0.733rem + 0.56vw, 1rem);
}

.c-table-comparison thead th:first-child,
.c-table-comparison tbody th {
  background: var(--color-bg-more-light);
  width: 20%;
}

/* 当社（薄い水色） */
.c-table-comparison th.is-our-service {
  background-color: #f0f7ff;
  /* 薄い水色 */
}

/* 他社（薄いグレー） */
.c-table-comparison th.is-others {
  background: var(--color-bg-more-light);
}

.is-our-price {
  color: var(--color-font-red);
  font-weight: bold;
  font-size: clamp(1.1rem, 0.85rem + 0.83vw, 1.25rem);
}

.is-others-price {
  font-weight: bold;
  font-size: clamp(0.9rem, 0.733rem + 0.56vw, 1rem);
}

/* ★手間不要★ */
.c-table-simple {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  border: 1px solid var(--color-border-gy);
}

.c-table-simple th,
.c-table-simple td {
  padding: clamp(1rem, 0.167rem + 2.78vw, 1.5rem);
  border: 1px solid var(--color-border-gy);
  text-align: left;
}

.c-table-simple th {
  background-color: var(--color-main);
  color: var(--color-white);
  width: 20%;
  white-space: nowrap;
  vertical-align: middle;
}

.c-table-simple td ul {
  list-style: none;
}

.c-table-simple td li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.c-table-simple td li:last-child {
  margin-bottom: 0;
}

.c-table-simple td li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-main);
  font-weight: bold;
}


/* ★★★料金ページ★★★ */
/* ★料金表★ */
.c-table-price-v2 {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border-gy);
}

.c-table-price-v2 th,
.c-table-price-v2 td {
  padding: 1rem;
  border: 1px solid var(--color-border-gy);
  vertical-align: middle;
}

/* 1列目：項目 */
.c-table-price-v2 th {
  width: 20%;
  background-color: var(--color-bg-light);
  font-weight: bold;
  text-align: center;
}

/* 2列目：金額 */
.c-table-price-v2 td.is-amount {
  width: 25%;
  text-align: center;
  font-weight: bold;
}

/* 3列目：説明 */
.c-table-price-v2 td.is-content {
  width: 55%;
  text-align: left;
}

.p-price-old {
  display: block;
  text-decoration: line-through;
  font-weight: normal;
  font-size: 1rem;
}

.p-price-label {
  display: block;
  color: var(--color-font-red);
  font-size: 0.9rem;
}

.p-price-new {
  display: block;
  font-size: clamp(1.25rem, 0.833rem + 1.39vw, 1.5rem);
  color: var(--color-font-red);
  text-decoration: none;
}

.p-price-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.2rem;
}

.p-price-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* ★更新について★ */
.p-price-update-info {
  margin-top: clamp(1.875rem, -0.208rem + 6.94vw, 3.125rem);
}

.p-price-update-box {
  background-color: var(--color-bg-more-light);
  border: 1px solid var(--color-border-gy);
  border-radius: 4px;
  padding-block: clamp(0.625rem, -0.417rem + 3.47vw, 1.25rem);
  padding-inline: clamp(1.25rem, -0.833rem + 6.94vw, 2.5rem);
}

.p-price-example-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.3rem;
}

.p-price-example-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
}

/* ★納期★ */
.p-deadline-area {
  padding-bottom: 30px;
}

.p-deadline-flex {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.p-deadline-flex .c-heading-m {
  margin-bottom: 0;
  flex-shrink: 0;
}

.p-deadline-text {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 4px;
}

.p-deadline-highlight {
  font-size: clamp(1.25rem, 0.833rem + 1.39vw, 1.5rem);
  vertical-align: baseline;
}

/* ★制作の流れ★ */
.p-flow-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-flow-item {
  display: flex;
  background: var(--color-white);
  border: 1px solid var(--color-border-gy);
}

.p-flow-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 240px;
  background: var(--color-bg-light);
  color: var(--color-main);
  padding: 20px;
  flex-shrink: 0;
}

.p-flow-step {
  font-family: "Georgia", serif;
  font-style: italic;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--color-main);
}

.p-flow-title {
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}

.p-flow-body {
  padding-block: clamp(1.25rem, 0.833rem + 1.39vw, 1.5rem);
  padding-inline: clamp(1.25rem, 0.208rem + 3.47vw, 1.875rem);
  flex-grow: 1;
}

.p-flow-detail {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--color-border-gy);
}

.p-flow-detail dt {
  font-weight: bold;
  color: var(--color-main);
}

.p-flow-detail dd {
  margin-bottom: 10px;
}

.p-flow-note {
  background: var(--color-bg-light);
  padding: 20px;
  border-left: 4px solid var(--color-accent);
}

/* ★制作事例★ */
.p-work-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.875rem, -0.208rem + 6.94vw, 3.125rem);
  margin-block: 30px;
  align-items: center;
}

.p-work-item {
  width: 100%;
  max-width: 720px;
}

.p-work-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}

.p-work-link {
  display: block;
  color: inherit;
  transition: transform 0.2s;
  /* 凹む動き用 */
}

.p-work-image-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--color-bg-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 5px;
  overflow: hidden;
  border: 1px solid var(--color-border-gy);
}

.p-work-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.p-work-link-text {
  text-align: right;
  font-weight: bold;
  display: block;
  transition: color 0.3s;
}

@media (any-hover: hover) {
  .p-work-link:hover img {
    transform: scale(1.05);
  }

  .p-work-link:hover .p-work-link-text {
    color: var(--color-accent);
    text-decoration: underline;
  }
}

/* --- 3. スマホ・PC共通：タップした瞬間の手応え --- */
.p-work-link:active {
  opacity: 0.8;
  transform: scale(0.98);
  transition: none;
  /* 指を離した瞬間にパッと戻す */
}

.p-work-note {
  max-width: 800px;
  margin-inline: auto;
  padding: 20px;
  line-height: 1.8;
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-accent);
}

.p-work-note-title {
  font-weight: bold;
  margin-bottom: 8px;
}


/* ★対応エリア★ */
.p-area-content {
  margin-left: 0;
  /* 左寄せ */
}

.p-area-list__item {
  display: flex;
  margin-bottom: 15px;
  line-height: 1.6;
}

.p-area-list dt {
  flex: 0 0 120px;
  /* ここで【県名】の幅を固定して、右側を揃えます */
  font-weight: bold;
}

.p-area-list dd {
  flex: 1;
  margin: 0;
}

/* ★★会社概要★★ */
.p-about-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--color-border-gy);
  margin-inline: auto;
}

.p-about-table th,
.p-about-table td {
  padding: 25px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-gy);
}

.p-about-table th {
  width: 30%;
  font-weight: bold;
  vertical-align: top;
}

.p-about-table td {
  width: 70%;
  line-height: 1.8;
}

.tel-link {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

/* ★★★プライバシーポリシー★★★ */
.policy-content {
  line-height: 1.8;
}

.policy-content h3 {
  font-size: 1.25rem;
  border-left: 4px solid var(--color-main);
  padding-left: 15px;
  margin: 40px 0 20px;
}

.policy-content p {
  margin-bottom: 20px;
}

.policy-content ul {
  margin-bottom: 20px;
  padding-left: 1.5em;
}

.policy-content li {
  list-style: disc;
  margin-bottom: 10px;
}

/* お問い合わせ窓口のボックス */
.contact-box {
  background-color: var(--color-bg-light);
  padding: 25px;
  border-radius: 4px;
  margin-top: 20px;
  border: 1px solid var(--color-border-gy);
}

.contact-box p {
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-box a {
  text-decoration: underline;
  transition: color 0.3s;
}

/* ★★★お問い合わせ★★★ */
.contact-message {
  text-align: center;
  line-height: 2;
}

.btn-wrapper {
  margin-top: 20px;
}

.btn-form-link {
  display: inline-block;
  background: var(--gradient-dark);
  border: 1px solid var(--color-main);
  color: var(--color-white);
  padding: 18px 50px;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s;
}

@media (any-hover: hover) {
  .btn-form-link:hover {
    background: var(--color-white);
    color: var(--color-main);
    transform: translateY(2px);
    box-shadow: 2px 2px 0 #1a3a5a;
  }
}

/* --- 3. スマホ・PC共通：タップした瞬間の手応え --- */
.btn-form-link:active {
  opacity: 0.7;
  transform: scale(0.97);
  box-shadow: none;
  /* 押した時は影を消して「押し込んだ感」を強調 */
  transition: none;
  /* 指を離したらパッと戻る */
}

/* ★FAQ★ */
.p-faq {
  max-width: 800px;
  margin-inline: auto;
}

.p-faq__category {
  font-size: clamp(1.125rem, 0.917rem + 0.69vw, 1.25rem);
  font-weight: bold;
  margin-block: 40px 20px;
  padding-inline-start: 15px;
  border-inline-start: 4px solid var(--color-main);
  color: var(--color-main);
}

.p-faq__item {
  background: var(--color-white);
  border: 1px solid var(--color-border-gy);
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
}

/* summaryの標準矢印を消す */
.p-faq__item summary {
  padding: 22px 60px 22px 20px;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: background-color 0.3s;
}

.p-faq__item summary::before,
.p-faq__item summary::after {
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--color-main);
  transition: transform 0.3s, opacity 0.3s;
  transform: translateY(-50%);
}

.p-faq__item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.p-faq__item[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.p-faq__item[open] summary::before {
  background-color: var(--color-main);
}

.p-faq__answer {
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  line-height: 1.8;
}

.p-faq__answer p {
  margin: 0;
}

/* 標準の矢印を非表示（Safari対策！必須） */
.p-faq__item summary::-webkit-details-marker {
  display: none;
}

/* ===== SP表示 =====ヘッダー70px、パディング同値で */
@media screen and (max-width: 768px) {

  /*  キャッチコピー改行スマホの時だけ改行を有効にする */
  .sp-only {
    display: inline;
  }

  .u-hidden-tab {
    display: none;
  }

  /* ★開業キャンペーン価格★ */
  .p-campaign__inner {
    flex-direction: column-reverse;
  }

  .p-campaign__image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 480px;
    min-width: auto;
  }

  .p-campaign__content {
    justify-content: center;
    justify-items: center;
  }

  .features__item-text {
    text-align: left;
  }

  /* PC用の画像枠を消す */
  .c-logic-card__img {
    display: none;
  }

  /* アイコンと2行テキストを横並びにする */
  .c-logic-card__header {
    display: flex;
    align-items: center;
    /* アイコンを2行の垂直中央に */
    gap: 12px;
    margin-bottom: 10px;
  }

  /* スマホ用アイコンを表示 */
  .u-show-sp-icon {
    display: block;
    width: 48px;
    /* 300px画像を縮小。Retina対応で綺麗に見えます */
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
  }


  .suitability__container {
    flex-direction: column;
  }

  /* ★サービス表★ */
  .p-service-table {
    table-layout: auto;
    /* スマホでは固定を解除 */
    border-top: none;
  }

  .p-service-table tbody,
  .p-service-table tr,
  .p-service-table th,
  .p-service-table td {
    display: block;
    /* 全てを縦並びにする */
    width: 100%;
  }

  .p-service-table tr {
    border-top: 2px solid var(--color-main);
    /* 各項目の区切りを強調 */
  }

  .p-service-table th {
    background-color: #f0f4f8;
    padding: 15px 20px;
    border-bottom: none;
  }

  .p-service-table td {
    padding: 10px 20px 25px;
    border-bottom: none;
  }

  /* ★★HTML・CMS比較表★★ */
  .p-compare__header {
    display: none;
  }

  .p-compare__row {
    flex-direction: column;
  }

  .p-compare__item-name {
    width: 100%;
    background: var(--color-main);
    color: var(--color-white);
    padding: 10px 20px;
    border-right: none;
  }

  .p-compare__static,
  .p-compare__cms {
    width: 100%;
    border-right: none;
    padding: 15px 20px;
  }

  .p-compare__static {
    background-color: #f0f7ff;
    /* 静的HTML側に薄く色をつけて区別 */
    border-bottom: 1px dashed var(--color-border-gy);
  }

  .p-compare__static::before {
    content: "【静的HTML】";
    font-size: 0.8rem;
    color: var(--color-accent);
    display: block;
    margin-bottom: 5px;
  }

  .p-compare__cms::before {
    content: "【CMS】";
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
  }

  /* ★★補助金意識★★ */
  .p-check-table th,
  .p-check-table td {
    display: block;
    width: 100%;
  }

  .p-check-table th {
    background-color: #f0f4f8;
    padding: 12px 20px;
    border-bottom: none;
  }

  .p-check-table td {
    padding: 10px 20px 20px;
  }

  /* ★手間不要★ */
  .c-table-simple th,
  .c-table-simple td {
    display: block;
    width: 100%;
  }

  /* ★料金表★ */
  /* 1. テーブルを縦に並べる基本設定 */
  .c-table-price-v2 th,
  .c-table-price-v2 td {
    display: block;
    width: 100% !important;
  }

  /* 2. 上段（項目名）：中央揃え・メインカラー背景 */
  .c-table-price-v2 th {
    text-align: center;
    background: var(--color-main);
    color: var(--color-white);
    padding: 1rem 1.25rem;
  }

  /* 3. 中段（価格欄）：中央揃え・上下余白 */
  .c-table-price-v2 td.is-amount {
    text-align: center;
    padding: 1.25rem;
    font-weight: bold;
    border-top: none;
    border-bottom: 1px solid var(--color-border-gy);
  }

  /* 4. 下段（説明欄）：左揃えを維持 */
  .c-table-price-v2 td.is-content {
    text-align: left;
    padding: 1.5rem 1.25rem 2rem;
    border-top: none;
  }

  /* ★納期★ */
  .p-deadline-flex {
    flex-direction: column;
    gap: 10px;
  }

  /* ★制作流れ★ */
  .p-flow-item {
    flex-direction: column;
  }

  .p-flow-head {
    width: 100%;
    padding: 15px;
    background: var(--color-main);
    color: var(--color-white);
  }

  .p-flow-step {
    border-bottom: 1px solid var(--color-white);
  }

  .p-flow-title {
    color: var(--color-white);
  }

  .p-flow-detail dd {
    margin-left: 0;
  }

  /* ★会社概要★ */
  .tel-link {
    pointer-events: auto;
    color: var(--color-accent);
  }
}

@media screen and (max-width: 480px) {
  .u-hidden-sp {
    display: none;
  }

  .s-mission__content br {
    display: none;
  }

  .c-section-divider::before,
  .c-section-divider::after {
    display: none;
  }

  .s-service-intro__body {
    text-align: left;
  }

  /* ★対応エリア★ */
  .p-area-list__item {
    display: block;
  }

  .p-area-list dt {
    margin-bottom: 5px;
  }

  /* ★会社概要★ */
  .p-about-table th,
  .p-about-table td {
    display: block;
    width: 100%;
    padding: 10px;
  }

  .p-about-table th {
    border-bottom: none;
    padding-bottom: 0;
  }

  .p-about-table td {
    padding-top: 0;
    margin-bottom: 10px;
  }

  .contact-message p {
    text-align: left;
  }
}

/* アニメーションをオフにする設定、最後に記述 */
@media (prefers-reduced-motion: reduce) {

  .mv img,
  .mv__title-main,
  .mv__title-sub {
    animation: none;
    opacity: 1;
    transform: none;
  }

  a {
    transition: none;
  }
}