@charset "UTF-8";
/* TATAKI — スライドのサンプル（samples/slides/）とお問い合わせ（contact/）だけで使う部品。
   共通の部品は lp.css、お問い合わせのフォームの骨組みは contact.css（このファイルはその後に読む）。
   動きは増やさない（lp.css の「ふわっと出る」と「hover で 4px 持ち上げ」だけを使う）。 */

/* ==========================================================================
   samples/slides/
   ========================================================================== */

/* ---------- 見出し：右に「このページの内容」 ---------- */
.ss-hero .page-hero__grid { align-items: end; }
.ss-hero .page-lead { text-wrap: pretty; word-break: auto-phrase; }
.ss-index {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--soft);
}
.ss-index__title { color: var(--sub); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.ss-index__list { margin-top: 10px; border-top: 1px solid var(--line-2); }
.ss-index__list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  text-decoration: none;
}
.ss-index__no {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent-ink);
}
.ss-index__name { font-weight: 700; line-height: 1.6; }
.ss-index__count { color: var(--sub); font-size: 13px; white-space: nowrap; }
.ss-index__list svg { width: 16px; height: 16px; color: var(--sub); }
.ss-index__list a:hover .ss-index__name { text-decoration: underline; text-underline-offset: 3px; }
.ss-index__list a:hover svg { color: var(--ink); }
.ss-index__note { margin-top: 14px; color: var(--sub); font-size: 12.5px; line-height: 1.7; }
@media (max-width: 959px) {
  .ss-hero .page-hero__grid { gap: 32px; }
  .ss-index { max-width: 560px; }
  .ss-index__note { display: none; } /* 資料サンプルの下にも同じ注記がある */
}

/* ---------- 資料サンプルの見出し：広い画面では題と説明を左右に ---------- */
.ss-head { max-width: 760px; }
@media (min-width: 1024px) {
  .ss-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 32px;
    align-items: end;
    max-width: none;
  }
  .ss-head__title { grid-column: 1 / span 6; }
  .ss-head .sec-lead { grid-column: 8 / span 5; margin-top: 0; }
}
.ss-head .sec-lead,
.works .works__note { text-wrap: pretty; word-break: auto-phrase; }
.cta-band .sec-lead { text-wrap: balance; word-break: auto-phrase; }
/* 用途の絞り込み：375px 幅で 2 段に、タブレット幅（768px）で 1 段に収める（「写真活用」だけが 2 段目に落ちないように） */
@media (max-width: 479px) {
  .works .filters { gap: 6px; margin-top: 32px; }
  .works .filter { min-height: 40px; padding: 0 12px; font-size: 13px; letter-spacing: .01em; }
}
@media (min-width: 480px) and (max-width: 959px) {
  .works .filter { padding: 0 14px; }
}

/* カードの説明文（lp.css）を、句の切れ目で折り返す（「成長性／を強調」「ミ／ニマル」のような語の途中での改行を防ぐ） */
.works .work__desc { word-break: auto-phrase; text-wrap: pretty; }

.ss-cta-note { margin-top: 18px; color: var(--sub); font-size: 13px; }

/* コンサル図解の断片（consult.css）の見出し・リード・図の説明・一覧を、句の切れ目で折り返す（このページだけ） */
.consulting .consulting__lead,
.consulting .cs-cap__desc,
.consulting .consulting__docs-title,
.consulting .consulting__docs-text,
.consulting .consulting__doc-list li { word-break: auto-phrase; text-wrap: pretty; }

/* ---------- サービスへの橋渡し（資料サンプルの下・コンサル図解の下） ---------- */
.ss-next {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3.4vw, 40px);
  border-radius: var(--r-l);
  background: var(--soft);
}
.ss-next--on-soft { border: 1px solid var(--line); background: #fff; }
@media (min-width: 760px) {
  .ss-next { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; }
}
.ss-next__label { color: var(--sub); font-size: 13px; font-weight: 700; line-height: 1.6; }
.ss-next__title {
  margin-top: 4px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
}
.ss-next__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ss-next__facts li {
  padding: 4px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}
.ss-next--on-soft .ss-next__facts li { background: var(--soft); border-color: transparent; }
.ss-next__tax { color: var(--sub); font-weight: 500; }
@media (max-width: 479px) {
  .ss-next .btn { width: 100%; white-space: normal; }
}

/* コンサル図解（consult.css）の左右の余白を、このサイトの .container と揃える */
.consulting .consulting__inner {
  max-width: calc(var(--container) + var(--gutter) * 2);
  padding-inline: var(--gutter);
}

/* ==========================================================================
   contact/
   ========================================================================== */

.contact__points li,
.contact__head .sec-lead { text-wrap: pretty; word-break: auto-phrase; }

/* 並び：スマホは 見出し → フォーム → 補足。広い画面は左に 見出し＋補足（補足だけ追いかける）、右にフォーム。
   contact.css の「左の列ごと追いかける」は、補足が増えて画面より高くなるので使わない */
@media (min-width: 1024px) {
  .contact__grid { grid-template-rows: auto 1fr; row-gap: 0; }
  .contact__head { grid-row: 1; position: static; }
  .form-card { grid-row: 1 / span 2; }
  .contact__aside {
    grid-column: 1 / span 5;
    grid-row: 2;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 32px);
    padding-top: 40px;
  }
}

/* ご相談のあと */
.ct-after { padding-top: 28px; border-top: 1px solid var(--line-2); }
@media (max-width: 1023px) {
  .ct-after { padding-top: 0; border-top: 0; }
}
.ct-after__title { color: var(--sub); font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .06em; }
.ct-after__list { display: grid; gap: 10px; margin-top: 14px; }
.ct-after__list li {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  align-items: baseline;
  font-size: 15px;
  line-height: 1.75;
  text-wrap: pretty;
  word-break: auto-phrase;
}
.ct-after__no {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent-ink);
}

/* キャンペーンの案内（フォームの「キャンペーン」の欄へつなぐ） */
.ct-camp {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font-size: 14px;
  line-height: 1.75;
}
.ct-camp > span:last-child { text-wrap: pretty; word-break: auto-phrase; }
.ct-camp .campaign__live { flex: none; margin-top: 1px; }
.ct-camp b { color: var(--accent-ink); font-family: var(--font-en); font-weight: 800; }
.contact__price { margin-top: 20px; }

/* ご相談内容：名前と補足を 2 行に */
.check > span { min-width: 0; }
.check__sub { display: block; margin-top: 1px; color: var(--sub); font-size: 12.5px; line-height: 1.5; }
.check--campaign > span { text-wrap: pretty; }

/* 同意の欄：lp.css の .field > label（折り返しあり）が勝つと、スマホでチェックと文が別の行に分かれる */
.field--agree > .agree {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  /* 押せる範囲を上下に広げる（1 行のときも高さ 44px）。見た目の位置は変えない */
  padding-block: 10px;
  margin-block: -10px;
}
.field--agree > .agree input { margin-top: 3px; }

/* 迷惑送信よけの欄：画面の外（left: -9999px）に出さず、その場で 1px に切り抜く（横にはみ出す要素を作らない） */
.form .hp { left: auto; clip-path: inset(50%); white-space: nowrap; }

/* JS が無いときの送信後（送信口が _next の #sent へ戻す）。JS があるときは lp.js が #form-done を出す */
.form-sent {
  display: none;
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--soft);
  outline: none;
}
.form-sent:target { display: block; }
.form-sent__title { font-size: 17px; font-weight: 900; line-height: 1.6; }
.form-sent__text { margin-top: 4px; color: var(--sub); font-size: 14.5px; line-height: 1.8; }

.form-done__text,
.form-sent__text,
.field__hint { text-wrap: pretty; word-break: auto-phrase; }
.form-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 479px) {
  .form-done__actions .btn { flex: 1 1 100%; }
}
