/* ==========================================================
   ミセサキ | ホームページ制作
   トンマナ: 明るい・ポップ・親しみやすい / オフホワイト × 朱色 × 黄色 × 黒
   ========================================================== */

:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --ink: #141414;
  --ink-soft: #4b4b4b;
  --muted: #8d8d8d;
  --accent: #ff5a36;
  --accent-deep: #e84520;
  --yellow: #ffd84d;
  --mint: #bfe8d6;
  --line: #e9e6de;

  --display: "Dela Gothic One", "M PLUS 1p", sans-serif;
  --sans: "M PLUS 1p", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Outfit", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html.lenis {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

/* 日本語を文節で折り返し、最後の行に1〜2文字だけ残らないようにする（対応ブラウザのみ） */
p,
li,
h1,
h2,
h3,
dd,
td,
th,
summary {
  word-break: auto-phrase;
  text-wrap: pretty;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
}

.pc {
  display: inline;
}

/* 日本語の改行で、1〜2文字だけが次の行に残らないようにする */
.nw {
  display: inline-block;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--ink);
}

.btn--accent {
  color: #fff;
  background: var(--accent);
}

.btn--dark {
  color: #fff;
  background: var(--ink);
}

.btn--outline {
  background: var(--surface);
}

.btn--line {
  color: #fff;
  background: #06c755;
}

.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
  box-shadow: 3px 3px 0 var(--ink);
}

.btn--lg {
  min-height: 60px;
  padding: 0 36px;
  font-size: 16px;
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}

/* ロゴ（A案：お店のひさし）。横長の画像なので高さで大きさを決める */
.logo__img {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 46px;
}

@media (max-width: 560px) {
  .logo__img {
    height: 36px;
  }
}

.footer__logo img {
  display: block;
  width: auto;
  height: 40px;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--display);
  font-size: 20px;
  color: #fff;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 10px;
}

.logo__name {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

/* ---------- 共通 ---------- */
.section {
  padding: clamp(80px, 11vw, 140px) 0;
}

.title {
  margin: 0 0 56px;
  font-family: var(--display);
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.title small {
  display: block;
  margin-bottom: 8px;
  font-family: var(--en);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.title--light {
  color: #fff;
}

.title--light small {
  color: var(--yellow);
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 10vw, 120px);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}

/* 最初の画面に、デザインサンプルを重ねて見せる */
.hero__visual {
  position: relative;
  height: clamp(300px, 32vw, 420px);
}

.hero__shot {
  position: absolute;
  width: 78%;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--surface);
}

.hero__shot--1 {
  top: 0;
  right: 0;
  transform: rotate(4deg);
}

.hero__shot--2 {
  top: 30%;
  left: 0;
  transform: rotate(-5deg);
  box-shadow: 6px 6px 0 var(--accent);
}

.hero__shot--3 {
  bottom: 0;
  right: 6%;
  width: 66%;
  transform: rotate(2deg);
}

.hero__visual-note {
  position: absolute;
  left: 4%;
  bottom: -6px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  background: var(--mint);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.hero__badge {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.hero__badge span {
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 700;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.hero__title {
  margin: 0 0 32px;
  font-family: var(--display);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hero__title .line {
  display: block;
}

.hero__title em {
  position: relative;
  font-style: normal;
  color: var(--accent);
}

/* 「ネットの店先。」の下に引くマーカー */
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  z-index: -1;
  height: 0.28em;
  background: var(--yellow);
  transform: scaleX(var(--marker, 1));
  transform-origin: left;
}

.hero__lead {
  max-width: 640px;
  margin: 0 0 40px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  display: block;
}

.shape--circle {
  top: 14%;
  right: 8%;
  width: clamp(80px, 12vw, 160px);
  aspect-ratio: 1;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.shape--square {
  top: 52%;
  right: 22%;
  width: clamp(48px, 6vw, 80px);
  aspect-ratio: 1;
  background: var(--mint);
  border: 2px solid var(--ink);
  border-radius: 12px;
  transform: rotate(18deg);
}

.shape--ring {
  bottom: 10%;
  right: 5%;
  width: clamp(70px, 9vw, 120px);
  aspect-ratio: 1;
  border: 10px solid var(--yellow);
  border-radius: 50%;
  outline: 2px solid var(--ink);
}

.shape--star {
  top: 8%;
  right: 30%;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--ink);
}

.shape--wave {
  top: 70%;
  right: 38%;
  width: clamp(80px, 10vw, 140px);
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
}

/* ---------- 流れる帯 ---------- */
/* 斜めの帯が画面の外にはみ出しても、横スクロールを出さないための枠 */
.ticker-wrap {
  overflow: hidden;
  padding: 16px 0;
}

.ticker {
  overflow: hidden;
  padding: 14px 0;
  background: var(--ink);
  transform: rotate(-1.5deg);
  margin: 0 -20px;
}

.ticker__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 30px);
  color: #fff;
  will-change: transform;
}

.ticker__track > * {
  margin-right: 28px;
}

.ticker__track b {
  font-weight: 400;
  color: var(--yellow);
}

/* ---------- お悩み ---------- */
.worries {
  text-align: center;
}

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

.bubble {
  position: relative;
  margin: 0;
  padding: 28px 20px;
  font-weight: 700;
  line-height: 1.7;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 24px;
}

.bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 20px;
  height: 20px;
  background: inherit;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateX(-50%) rotate(45deg);
}

.bubble--alt {
  background: var(--mint);
}

.worries__answer {
  margin: 64px 0 0;
  font-family: var(--display);
  font-size: clamp(22px, 3.2vw, 34px);
}

.worries__answer strong {
  font-weight: 400;
  color: var(--accent);
}

/* ---------- サービス ---------- */
.service {
  background: var(--yellow);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.service__list {
  display: grid;
  gap: 20px;
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--ink);
}

.service-item__num {
  font-family: var(--en);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  -webkit-text-stroke: 2px var(--ink);
}

.service-item h3 {
  margin: 0 0 8px;
  font-size: clamp(19px, 2.2vw, 24px);
}

.service-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- ほかの方法との違い ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* スマホでは表だけ横にスクロールできるようにする */
.compare__scroll {
  overflow-x: auto;
  padding: 8px 8px 16px 0;
}

.compare__table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.6;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
}

.compare__table th,
.compare__table td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1.5px solid var(--line);
}

.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td {
  border-bottom: 0;
}

.compare__table thead th {
  font-size: 16px;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
}

.compare__table thead small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.compare__table tbody th {
  text-align: left;
  white-space: nowrap;
}

.compare__table td {
  color: var(--ink-soft);
}

.compare__table .is-us {
  color: var(--ink);
  background: #fff1ec;
}

.compare__table thead .is-us {
  color: #fff;
  background: var(--accent);
}

.compare__table thead .is-us small {
  color: rgba(255, 255, 255, 0.85);
}

.compare__table .is-us b {
  color: var(--accent-deep);
}

.compare__hint {
  display: none;
  margin: -40px 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-deep);
}

@media (max-width: 760px) {
  .compare__hint {
    display: block;
  }
}

.compare__note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 料金 ---------- */
.price {
  color: #fff;
  background: var(--ink);
}

.price__cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.price-card {
  padding: 40px 32px;
  text-align: center;
  color: var(--ink);
  background: var(--surface);
  border-radius: 24px;
}

.price-card--main {
  background: var(--accent);
  color: #fff;
}

.price-card__label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 2px 16px;
  font-weight: 700;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.price-card__num {
  margin: 0 0 8px;
  font-family: var(--en);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.1;
}

.price-card__num small {
  margin-left: 6px;
  font-family: var(--sans);
  font-size: 18px;
}

.price-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.price-card__plus {
  font-family: var(--en);
  font-size: 56px;
  font-weight: 800;
  color: var(--yellow);
}

.price__notes {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* 1年でかかる費用の目安 */
.price__year {
  margin: 48px auto 0;
  max-width: 760px;
  padding: 28px 32px;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 20px;
}

.price__year-title {
  margin: 0 0 12px;
  font-weight: 700;
  text-align: center;
  color: var(--yellow);
}

.price__year dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
}

.price__year dl > div {
  text-align: center;
}

.price__year dt {
  font-size: 14px;
  font-weight: 700;
}

.price__year dd {
  margin: 0;
}

.price__year dd b {
  font-family: var(--en);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
}

.price__year dd small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* ふくまれるもの・別料金になるもの */
.price__detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 32px;
}

.price__box {
  padding: 28px 28px 24px;
  color: var(--ink);
  background: var(--surface);
  border-radius: 20px;
}

.price__box--sub {
  background: var(--bg);
}

.price__box h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.price__box h3:not(:first-child) {
  margin-top: 24px;
}

.price__box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.check-list,
.dot-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
}

.check-list li,
.dot-list li {
  position: relative;
  padding: 5px 0 5px 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 16px;
  height: 16px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  border-radius: 50%;
}

.dot-list li {
  color: var(--ink-soft);
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 15px;
  width: 7px;
  height: 7px;
  background: var(--ink);
  border-radius: 50%;
}

/* 料金のすぐ下に置く、相談ボタン */
.mid-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 40px;
  text-align: center;
}

.mid-cta p {
  margin: 0;
  font-weight: 700;
}

/* ---------- 制作例 ---------- */
.works__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.works__name {
  margin: 0 0 12px;
  font-size: 22px;
}

.works__text p {
  margin: 0 0 32px;
  color: var(--ink-soft);
}

.browser {
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 10px 10px 0 var(--accent);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 2px solid var(--ink);
  background: var(--bg);
}

.browser__bar i {
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.browser__bar i:first-child {
  background: var(--accent);
}

.browser__bar i:nth-child(2) {
  background: var(--yellow);
}

.browser__bar i:nth-child(3) {
  background: var(--mint);
}

.browser__bar span {
  margin-left: 10px;
  padding: 0 12px;
  font-family: var(--en);
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  border-radius: 6px;
}

/* 1280px幅のサイトを縮小して見せる */
.browser__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.browser__screen iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 800px;
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;
}

/* ---------- 制作例ギャラリー（横に流れる） ---------- */
.gallery {
  margin-top: clamp(64px, 8vw, 100px);
}

.gallery__lead {
  margin: 0 auto 24px;
  font-weight: 700;
}

.gallery__viewport {
  overflow: hidden;
  padding: 12px 0 20px;
}

.gallery__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: gallery-scroll 60s linear infinite;
}

/* gap ではなく右の余白で間隔を取る（2周目とのつなぎ目をそろえるため） */
.gallery__track > li {
  margin-right: 24px;
}

/* マウスを乗せている間は止める */
.gallery__viewport:hover .gallery__track,
.gallery__track:focus-within {
  animation-play-state: paused;
}

@keyframes gallery-scroll {
  to { transform: translateX(-50%); }
}

.g-card {
  display: block;
  width: clamp(240px, 26vw, 340px);
  overflow: hidden;
  text-decoration: none;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.2s;
}

.g-card:hover {
  transform: translateY(-4px) rotate(-1deg);
}

.g-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}

.g-card__tag {
  display: inline-block;
  margin: 12px 0 0 14px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  background: var(--mint);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.g-card__tag--real {
  color: #fff;
  background: var(--accent);
}

.g-card__name {
  display: block;
  padding: 4px 14px 14px;
  font-weight: 700;
}

.gallery__note {
  margin: 8px auto 0;
  font-size: 12px;
  color: var(--muted);
}

/* 動きを減らす設定の人には、流さずに手で横スクロールできる形にする */
@media (prefers-reduced-motion: reduce) {
  .gallery__viewport {
    overflow-x: auto;
  }

  .gallery__track {
    animation: none;
  }
}

/* ---------- 流れ ---------- */
.flow__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow__list li {
  padding: 28px 20px;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 20px;
}

.flow__list b {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  font-family: var(--en);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.flow__list h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.flow__list p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.flow__lead {
  margin: -32px 0 32px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
}

.flow__lead b {
  color: var(--accent-deep);
}

.flow__lead-note {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ご用意いただくもの */
.prepare {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 20px;
}

.prepare__title {
  margin: 0 0 16px;
  font-size: 19px;
}

.prepare__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prepare__list li {
  padding: 18px 20px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 14px;
}

.prepare__list b {
  display: block;
  margin-bottom: 4px;
}

.prepare__list span {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- よくある質問 ---------- */
.faq {
  background: var(--mint);
  border-top: 2px solid var(--ink);
}

.faq__inner {
  max-width: 880px;
}

.faq__list {
  display: grid;
  gap: 14px;
}

.faq details {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 16px;
}

.faq summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "Q.";
  margin-right: 8px;
  font-family: var(--en);
  font-weight: 800;
  color: var(--accent);
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  font-family: var(--en);
  font-size: 26px;
  transform: translateY(-50%);
  transition: transform 0.25s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

/* ---------- 業務の自動化（GAS）への案内 ---------- */
.gas-link {
  padding: clamp(56px, 8vw, 96px) 0 0;
}

.gas-link__card {
  display: grid;
  gap: 6px;
  padding: clamp(24px, 4vw, 40px);
  text-decoration: none;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--mint);
  transition: transform 0.2s;
}

.gas-link__card:hover {
  transform: translateY(-4px);
}

.gas-link__tag {
  justify-self: start;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--mint);
  border-radius: 999px;
}

.gas-link__title {
  font-family: var(--display);
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 1.5;
}

.gas-link__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.gas-link__more {
  margin-top: 8px;
  font-weight: 700;
  color: var(--yellow);
}

/* ---------- 運営者 ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.about__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 45% 30%;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--yellow);
}

.about__body .title {
  margin-bottom: 24px;
}

.about__role {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
}

.about__name {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 36px);
}

.about__name span {
  margin-left: 14px;
  font-family: var(--en);
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}

.about__body p:not(.about__role):not(.about__name) {
  color: var(--ink-soft);
}

.about__link {
  font-weight: 700;
  color: var(--accent-deep);
}

@media (max-width: 960px) {
  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__photo {
    max-width: 280px;
  }
}

/* ---------- 相談 ---------- */
.contact {
  padding: clamp(96px, 12vw, 150px) 0;
  text-align: center;
  background: var(--accent);
  border-top: 2px solid var(--ink);
}

.contact__title {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
  -webkit-text-stroke: 1px var(--ink);
}

.contact__text {
  margin: 0 0 40px;
  font-weight: 500;
}

.contact__hint {
  max-width: 560px;
  margin: 40px auto 0;
  padding: 20px 24px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 16px;
}

.contact__hint p {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.contact__hint ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact__hint li {
  padding: 2px 14px;
  font-size: 13px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

/* スマホ用：画面の下にいつも出ている相談ボタン（少しスクロールしてから出す） */
.float-cta {
  display: none;
}

@media (max-width: 960px) {
  .float-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: #06c755;
    border: 2px solid var(--ink);
    border-radius: 14px;
    box-shadow: 4px 4px 0 var(--ink);
    transform: translateY(140%);
    transition: transform 0.3s;
  }

  .float-cta.is-shown {
    transform: none;
  }

  .footer {
    padding-bottom: 96px;
  }
}

/* ---------- フッター ---------- */
.footer {
  padding: 32px 0;
  color: #fff;
  background: var(--ink);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.footer__logo {
  margin: 0 auto 0 0;
  font-family: var(--display);
  font-size: 22px;
}

.footer__by {
  margin: 0;
  font-size: 13px;
}

.footer small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 動き ---------- */
.motion [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

.char {
  display: inline-block;
  will-change: transform;
}

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .worries__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .price__cards,
  .works__inner,
  .hero__inner,
  .price__detail {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    width: 100%;
    max-width: 520px;
    height: clamp(220px, 56vw, 340px);
  }

  .prepare__list {
    grid-template-columns: 1fr;
  }

  .price-card__plus {
    text-align: center;
    line-height: 1;
  }

  .flow__list {
    grid-template-columns: 1fr 1fr;
  }

  .shape--circle {
    top: 4%;
    right: -6%;
  }

  .shape--square,
  .shape--wave,
  .shape--star {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .pc {
    display: none;
  }

  .header__inner {
    height: 64px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .worries__grid,
  .flow__list {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price__year {
    padding: 24px 16px;
  }

  .price__year dl {
    grid-template-columns: 1fr;
  }

  .price__box {
    padding: 24px 20px 20px;
  }

  /* スマホでは料金バッジと重なるので出さない */
  .shape--star {
    display: none;
  }

  .shape--ring {
    bottom: 4%;
    right: -4%;
  }
}

/* 外部サイト・別サイトへ移動する矢印（フォントに左右されないようにSVGで描く） */
.ext {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}