/* ウェブサイ トップページ専用スタイル(index.html だけが読み込む)
   クラス名はすべて t- で始める。 */

/* ===== 変数 ===== */
:root {
  --t-primary: #2f6fd6;
  --t-primary-dark: #2459b3; /* 淡い背景の上の青い文字用(コントラスト確保) */
  --t-bg: #f1f6fe;
  --t-soft: #d9e7fb;
  --t-ink: #1b2a41;
  --t-ink-sub: rgba(27, 42, 65, 0.8);
  --t-cta: #ffa24c;
  --t-cta-hover: #ffb36d;
  --t-white: #ffffff;
  --t-line: rgba(27, 42, 65, 0.12);
  --t-radius: 16px;
  --t-shadow: 0 8px 28px rgba(47, 111, 214, 0.12);
  --t-header-h: 64px;
  --t-font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
@media (min-width: 1100px) {
  :root {
    --t-header-h: 76px;
  }
}

/* ===== リセット・基本 ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding-top: var(--t-header-h);
  font-family: var(--t-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: var(--t-ink);
  background: var(--t-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--t-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.t-skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--t-ink);
  color: var(--t-white);
  border-radius: 8px;
}
.t-skip:focus {
  top: 8px;
}
.t-container {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
}

/* ===== ボタン ===== */
.t-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease, color 0.2s ease;
}
.t-btn--cta {
  background: var(--t-cta);
  color: var(--t-ink);
  box-shadow: 0 6px 16px rgba(255, 162, 76, 0.38);
}
.t-btn--cta:hover {
  background: var(--t-cta-hover);
  transform: translateY(-2px);
}
.t-btn--ghost {
  background: var(--t-white);
  color: var(--t-primary-dark);
  border-color: var(--t-primary);
}
.t-btn--ghost:hover {
  background: var(--t-bg);
  transform: translateY(-2px);
}
.t-btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

/* ===== ヘッダー ===== */
.t-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--t-line);
  transition: transform 0.35s ease;
}
.t-header.is-hidden {
  transform: translateY(-100%);
}
/* キーボードでヘッダー内の要素に移ったときは、隠れたままにしない */
.t-header:focus-within {
  transform: none;
}
.t-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--t-header-h);
  width: calc(100% - 32px);
  max-width: 1200px;
  margin: 0 auto;
}
.t-logo {
  display: block;
  margin-right: auto;
  flex: none;
}
.t-logo img {
  height: 30px;
  width: auto;
}
.t-nav {
  display: none;
}
.t-menu-btn {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--t-bg);
  cursor: pointer;
}
.t-menu-btn span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--t-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.t-menu-btn span:nth-child(1) {
  top: 15px;
}
.t-menu-btn span:nth-child(2) {
  top: 21px;
}
.t-menu-btn span:nth-child(3) {
  top: 27px;
}
.t-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.t-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.t-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.t-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--t-header-h));
  overflow-y: auto;
  padding: 8px 20px 28px;
  background: var(--t-white);
  border-bottom: 1px solid var(--t-line);
  box-shadow: 0 16px 24px rgba(27, 42, 65, 0.08);
}
.t-mobile-menu.is-open {
  display: block;
}
.t-mobile-menu li a {
  display: block;
  padding: 16px 4px;
  border-bottom: 1px solid var(--t-line);
  font-weight: 700;
}
.t-mobile-menu__cta {
  display: flex;
  margin-top: 20px;
}
@media (min-width: 1100px) {
  .t-header__inner {
    width: calc(100% - 64px);
    gap: 28px;
  }
  .t-logo img {
    height: 36px;
  }
  .t-nav {
    display: block;
    margin: 0;
  }
  .t-nav ul {
    display: flex;
    gap: 22px;
  }
  .t-nav a {
    font-size: 14px;
    font-weight: 700;
    padding: 8px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
  }
  .t-nav a:hover {
    color: var(--t-primary-dark);
    border-color: var(--t-primary);
  }
  .t-menu-btn,
  .t-mobile-menu {
    display: none !important;
  }
  .t-header__cta {
    min-height: 44px;
    padding: 0 24px;
    font-size: 15px;
  }
}

/* ===== ファーストビュー ===== */
.t-hero {
  position: relative;
  padding: 32px 0 28px;
  background: linear-gradient(180deg, var(--t-bg) 0%, var(--t-white) 100%);
  overflow: hidden;
}
.t-hero__inner {
  position: relative;
  display: grid;
  gap: 28px;
}
.t-tag {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 14px;
  background: var(--t-soft);
  color: var(--t-primary-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}
.t-hero__title {
  font-size: clamp(23px, 6.4vw, 40px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.t-nb {
  display: inline-block;
}
.t-mark {
  background: linear-gradient(transparent 62%, var(--t-soft) 62%);
  color: var(--t-primary-dark);
}
.t-hero__text {
  margin-top: 16px;
  color: var(--t-ink-sub);
  font-size: 15px;
}
.t-hero__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.t-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
}
.t-hero__points li {
  position: relative;
  padding-left: 22px;
}
.t-hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.6l3.2 3L13 4.6' fill='none' stroke='%232F6FD6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.t-hero__side {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.t-heroform {
  padding: 22px 18px 24px;
  background: var(--t-white);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(47, 111, 214, 0.2);
}
.t-heroform__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}
.t-heroform__lead {
  margin: 4px 0 16px;
  text-align: center;
  font-size: 13px;
  color: var(--t-ink-sub);
}
.t-heroform .t-field,
.t-heroform .t-form__row {
  margin-bottom: 12px;
}
.t-heroform .t-form__row {
  gap: 12px;
}
.t-heroform .t-form__row .t-field {
  margin-bottom: 0;
}
.t-heroform .t-field label {
  margin-bottom: 4px;
  font-size: 14px;
}
.t-heroform .t-field input,
.t-heroform .t-field select {
  min-height: 46px;
}
.t-heroform .t-field textarea {
  min-height: 72px;
}
.t-heroform .t-form__submit {
  margin-top: 18px;
}
.t-heroform .t-form__btn {
  max-width: none;
  min-height: 54px;
}
@media (min-width: 768px) {
  .t-heroform {
    padding: 26px 26px 28px;
  }
}
.t-plans-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 36px;
}
.t-plans-strip > li:first-child {
  grid-column: 1 / -1;
}
.t-plan-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px 14px 12px;
  background: var(--t-white);
  border: 2px solid var(--t-line);
  border-radius: 14px;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.t-plan-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--t-shadow);
}
.t-plan-chip--first {
  border-color: var(--t-cta);
  padding-top: 22px;
}
.t-plan-chip__label {
  position: absolute;
  top: -11px;
  left: 12px;
  padding: 1px 10px;
  background: var(--t-cta);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: var(--t-ink);
}
.t-plan-chip__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--t-ink-sub);
}
.t-plan-chip__price {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 800;
  color: var(--t-primary-dark);
}
.t-plan-chip__note {
  margin-top: 2px;
  font-size: 12px;
  color: var(--t-ink-sub);
}
@media (min-width: 768px) {
  .t-hero {
    padding: 56px 0 40px;
  }
  .t-hero__btns {
    flex-direction: row;
  }
  .t-hero__text {
    font-size: 16px;
  }
  .t-plans-strip > li:first-child {
    grid-column: auto;
  }
  .t-plans-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 48px;
  }
  .t-plan-chip__price {
    font-size: 17px;
    white-space: nowrap;
  }
}
@media (min-width: 1100px) {
  .t-plan-chip__price {
    font-size: 20px;
  }
}
@media (min-width: 900px) {
  .t-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
  }
}

/* ===== セクション共通 ===== */
.t-section {
  padding: 64px 0;
}
.t-section--tint {
  background: var(--t-bg);
}
.t-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-primary-dark);
}
.t-title {
  margin-top: 6px;
  text-align: center;
  font-size: clamp(24px, 5.4vw, 34px);
  font-weight: 800;
  line-height: 1.5;
}
.t-lead {
  max-width: 40em;
  margin: 14px auto 0;
  text-align: center;
  text-wrap: balance;
  color: var(--t-ink-sub);
  font-size: 15px;
}
.t-card {
  background: var(--t-white);
  border-radius: var(--t-radius);
  box-shadow: var(--t-shadow);
  padding: 24px 22px;
}
@media (min-width: 768px) {
  .t-section {
    padding: 96px 0;
  }
  .t-lead {
    font-size: 16px;
  }
}

/* ===== フッター ===== */
.t-footer {
  padding: 56px 0 32px;
  background: var(--t-ink);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}
.t-footer__grid {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.t-footer__logo {
  width: 180px;
  height: auto;
}
.t-footer__about p {
  margin-top: 14px;
  line-height: 1.8;
}
.t-footer__h {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--t-white);
}
.t-footer li + li {
  margin-top: 8px;
}
.t-footer a {
  transition: opacity 0.2s ease;
}
.t-footer a:hover {
  opacity: 0.7;
  text-decoration: underline;
}
.t-footer__copy {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 768px) {
  .t-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

/* ===== フェードイン(JavaScriptが動くときだけ隠す) ===== */
[data-reveal] {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}

/* ===== 共通パーツ ===== */
.t-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--t-soft);
}
.t-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--t-primary-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.t-dots li {
  position: relative;
  padding-left: 1.1em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--t-ink-sub);
}
.t-dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--t-primary);
}
.t-dots li + li {
  margin-top: 6px;
}
.t-checks li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.7;
}
.t-checks li + li {
  margin-top: 10px;
}
.t-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.6l3.2 3L13 4.6' fill='none' stroke='%232F6FD6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.t-checks strong {
  font-weight: 800;
}

/* ===== お悩み ===== */
.t-problem-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.t-problem {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.t-problem__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}
.t-solve {
  position: relative;
  max-width: 520px;
  margin: 48px auto 0;
  padding: 18px 20px;
  background: var(--t-primary);
  color: var(--t-white);
  border-radius: 999px;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .t-problem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  .t-solve {
    font-size: 20px;
  }
}
@media (min-width: 1100px) {
  .t-problem-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== 選ばれる理由 ===== */
.t-strengths {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.t-strength {
  position: relative;
}
.t-strength__num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--t-soft);
  letter-spacing: 0.02em;
}
.t-strength__title {
  margin: 8px 0 10px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}
.t-strength p {
  font-size: 15px;
  color: var(--t-ink-sub);
}
.t-extras {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.t-extras li {
  padding: 18px 20px;
  background: var(--t-bg);
  border-radius: 14px;
}
.t-extras__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--t-primary-dark);
}
.t-extras p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--t-ink-sub);
}
@media (min-width: 900px) {
  .t-strengths {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
  }
  .t-extras {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
  }
}

/* ===== サービス内容 ===== */
.t-services {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
.t-service {
  display: grid;
  overflow: hidden;
  background: var(--t-white);
  border-radius: 20px;
  box-shadow: var(--t-shadow);
}
.t-service__img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.t-service__body {
  padding: 24px 22px 28px;
}
.t-service__no {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--t-primary-dark);
}
.t-service__title {
  margin: 4px 0 10px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
}
.t-service__body > p {
  font-size: 15px;
  color: var(--t-ink-sub);
}
.t-service .t-checks {
  margin-top: 16px;
}
.t-service__body > p.t-service__price {
  align-self: flex-start;
  margin-top: 18px;
  padding: 6px 14px;
  background: var(--t-bg);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: var(--t-primary-dark);
}
.t-service__btn {
  display: flex;
  margin-top: 16px;
}
@media (min-width: 900px) {
  .t-services {
    gap: 32px;
    margin-top: 48px;
  }
  .t-service {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .t-service:nth-child(even) .t-service__img {
    order: 2;
  }
  .t-service__img img {
    aspect-ratio: auto;
    min-height: 100%;
  }
  .t-service__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 44px;
  }
  .t-service__btn {
    display: inline-flex;
    align-self: flex-start;
  }
}

/* ===== 料金プラン ===== */
.t-plans {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
.t-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 24px;
  background: var(--t-white);
  border: 2px solid var(--t-line);
  border-radius: 20px;
}
.t-plan--first {
  border-color: var(--t-cta);
  box-shadow: 0 10px 30px rgba(255, 162, 76, 0.2);
}
.t-plan__label {
  position: absolute;
  top: -14px;
  left: 20px;
  padding: 3px 14px;
  background: var(--t-cta);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--t-ink);
}
.t-plan__name {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}
.t-plan__desc {
  margin-top: 6px;
  min-height: 3.2em;
  font-size: 14px;
  line-height: 1.6;
  color: var(--t-ink-sub);
}
.t-plan__price {
  margin: 12px 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--t-line);
  line-height: 1.2;
}
.t-plan__price strong {
  font-size: 30px;
  font-weight: 800;
  color: var(--t-primary-dark);
  letter-spacing: 0.01em;
}
.t-plan__price span {
  font-size: 16px;
  font-weight: 700;
  color: var(--t-primary-dark);
}
.t-plan__list {
  margin-bottom: 24px;
}
.t-plan__list li {
  font-size: 14px;
  text-wrap: pretty;
}
.t-plan .t-btn {
  margin-top: auto;
  width: 100%;
}
.t-plan__prefix {
  margin-right: 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--t-primary-dark);
}
.t-plan__sub {
  display: block;
  text-wrap: balance;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--t-ink-sub);
}
.t-notes {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--t-ink-sub);
}
.t-notes p + p {
  margin-top: 4px;
}
@media (min-width: 768px) {
  .t-plans {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }
  .t-plan--first {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1100px) {
  .t-plans {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .t-plan--first {
    grid-column: auto;
  }
}

/* ===== 課題解決事例 ===== */
.t-case-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
.t-case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--t-white);
  border-radius: 20px;
  box-shadow: var(--t-shadow);
}
.t-case__img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.t-case__body {
  padding: 22px 22px 26px;
}
.t-case__client {
  display: inline-block;
  padding: 2px 12px;
  background: var(--t-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--t-primary-dark);
}
.t-case__title {
  margin: 10px 0 14px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}
.t-case__row {
  display: grid;
  grid-template-columns: 4.6em 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.7;
  color: var(--t-ink-sub);
}
.t-case__row + .t-case__row {
  margin-top: 12px;
}
.t-case__label {
  padding: 2px 0;
  background: var(--t-ink);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
  color: var(--t-white);
}
.t-case__row--result {
  padding: 10px 12px;
  background: var(--t-bg);
  border-radius: 12px;
  color: var(--t-ink);
}
.t-case__row--result .t-case__label {
  background: var(--t-primary);
}
.t-case__row--result strong {
  font-size: 1.15em;
  font-weight: 800;
  color: var(--t-primary-dark);
}
@media (min-width: 768px) {
  .t-case-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
  }
}

/* ===== 制作事例スライダー ===== */
.t-slider {
  margin-top: 32px;
}
.t-slider__track {
  display: flex;
  gap: 16px;
  padding: 6px 2px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--t-soft) transparent;
  -webkit-overflow-scrolling: touch;
}
.t-slider__item {
  flex: 0 0 84%;
  margin: 0;
  scroll-snap-align: start;
}
.t-slider__item img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  background: var(--t-bg);
  border-radius: 16px;
  box-shadow: var(--t-shadow);
}
.t-slider__ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}
.t-slider__btn {
  width: 44px;
  height: 44px;
  border: 2px solid var(--t-primary);
  border-radius: 50%;
  background: var(--t-white);
  color: var(--t-primary-dark);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.t-slider__btn:hover:not(:disabled) {
  background: var(--t-bg);
}
.t-slider__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.t-slider__dots {
  display: flex;
  gap: 8px;
}
.t-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--t-soft);
  cursor: pointer;
}
.t-slider__dot.is-active {
  background: var(--t-primary);
}
@media (min-width: 768px) {
  .t-slider__item {
    flex-basis: 44%;
  }
}
@media (min-width: 1100px) {
  .t-slider__item {
    flex-basis: calc((100% - 32px) / 3);
  }
}

/* ===== お客様の声 ===== */
.t-voice-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.t-voice {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.t-voice__quote {
  position: relative;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--t-line);
  font-size: 15px;
  line-height: 1.85;
}
.t-voice__quote::before {
  content: "\201C";
  position: absolute;
  left: -2px;
  top: -10px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--t-soft);
}
.t-voice__who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.t-voice__avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--t-bg);
}
.t-voice__name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}
.t-voice__role {
  font-size: 13px;
  line-height: 1.5;
  color: var(--t-ink-sub);
}
@media (min-width: 768px) {
  .t-voice-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 44px;
  }
}
@media (min-width: 1100px) {
  .t-voice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== ご依頼の流れ ===== */
.t-flow {
  max-width: 760px;
  margin: 36px auto 0;
}
.t-flow__item {
  position: relative;
  display: flex;
  gap: 16px;
  padding-bottom: 28px;
}
.t-flow__item:last-child {
  padding-bottom: 0;
}
.t-flow__item::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--t-soft);
}
.t-flow__item:last-child::before {
  display: none;
}
.t-flow__num {
  position: relative;
  z-index: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--t-primary);
  color: var(--t-white);
  font-size: 18px;
  font-weight: 800;
}
.t-flow__title {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}
.t-flow__item p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--t-ink-sub);
}
.t-flow__note {
  max-width: 760px;
  margin: 36px auto 0;
  padding: 16px 20px;
  background: var(--t-bg);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}

/* ===== よくある質問 ===== */
.t-faq {
  max-width: 820px;
  margin: 36px auto 0;
}
.t-faq__item {
  background: var(--t-white);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(47, 111, 214, 0.08);
}
.t-faq__item + .t-faq__item {
  margin-top: 12px;
}
.t-faq__h {
  font-size: inherit;
}
.t-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
  cursor: pointer;
}
.t-faq__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--t-soft);
}
.t-faq__icon::before,
.t-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--t-primary-dark);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.t-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.t-faq__q[aria-expanded="true"] .t-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.t-faq__a {
  padding: 0 20px 20px;
  font-size: 15px;
  color: var(--t-ink-sub);
}
.js .t-faq__item:not(.is-open) .t-faq__a {
  display: none;
}
.t-faq__a p + ul,
.t-faq__a ul + p,
.t-faq__a p + p {
  margin-top: 10px;
}
.t-faq__a li {
  position: relative;
  padding-left: 1.1em;
}
.t-faq__a li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--t-primary);
}
.t-faq__a li + li {
  margin-top: 4px;
}
.t-faq__a strong {
  color: var(--t-ink);
}

/* ===== コラム ===== */
.t-col-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.t-col-card {
  display: block;
  height: 100%;
  padding: 22px 22px 24px;
  background: var(--t-white);
  border: 2px solid var(--t-line);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.t-col-card:hover {
  transform: translateY(-3px);
  border-color: var(--t-primary);
  box-shadow: var(--t-shadow);
}
.t-col-card__tag {
  display: inline-block;
  padding: 2px 12px;
  margin-bottom: 10px;
  background: var(--t-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--t-primary-dark);
}
.t-col-card__title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
}
.t-col-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--t-ink-sub);
}
.t-more {
  margin-top: 36px;
  text-align: center;
}
@media (min-width: 768px) {
  .t-col-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 44px;
  }
}
@media (min-width: 1100px) {
  .t-col-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== お問い合わせフォーム ===== */
.t-form-wrap {
  max-width: 820px;
  margin: 32px auto 0;
  padding: 24px 20px 28px;
  background: var(--t-white);
  border-radius: 20px;
  box-shadow: var(--t-shadow);
}
.t-form__row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.t-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 800;
}
.t-req,
.t-opt {
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.7;
}
.t-req {
  background: var(--t-primary);
  color: var(--t-white);
}
.t-opt {
  background: var(--t-soft);
  color: var(--t-primary-dark);
}
.t-field input,
.t-field select,
.t-field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--t-white);
  border: 2px solid rgba(27, 42, 65, 0.22);
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.t-field textarea {
  min-height: 150px;
  resize: vertical;
}
.t-field select {
  appearance: auto;
}
.t-field input:focus,
.t-field select:focus,
.t-field textarea:focus {
  outline: none;
  border-color: var(--t-primary);
  box-shadow: 0 0 0 4px rgba(47, 111, 214, 0.18);
}
.t-field input:user-invalid,
.t-field textarea:user-invalid {
  border-color: #c0392b;
}
.t-form__submit {
  margin-top: 26px;
  text-align: center;
}
.t-form__btn {
  width: 100%;
  max-width: 360px;
  min-height: 58px;
  font-size: 17px;
}
.t-form__btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
@media (min-width: 768px) {
  .t-form-wrap {
    padding: 40px 48px 44px;
    margin-top: 44px;
  }
  .t-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* ===== 画面下の問い合わせバー ===== */
.t-bottombar {
  position: fixed;
  left: 0;
  right: 84px; /* 右下に出る reCAPTCHA のバッジ(約70px幅)を覆わないよう、バーごと手前で切る */
  bottom: 0;
  z-index: 90;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 16px;
  background: rgba(255, 255, 255, 0.97);
  border-top-right-radius: 16px;
  box-shadow: 0 -4px 18px rgba(27, 42, 65, 0.14);
  transform: translateY(110%);
}
/* 隠れている間は Tab キーでも止まらないようにする */
.t-bottombar:not(.is-visible) {
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
}
.t-bottombar.is-visible {
  transform: translateY(0);
  transition: transform 0.35s ease, visibility 0s;
}
.t-bottombar .t-btn {
  display: flex;
  width: 100%;
  max-width: 420px;
  min-height: 50px;
  margin: 0 auto;
}
@media (max-width: 1099px) {
  .t-footer {
    padding-bottom: 96px;
  }
}
@media (min-width: 1100px) {
  .t-bottombar {
    display: none;
  }
}

/* ===== 途中のCTA ===== */
.t-cta {
  padding: 40px 0;
  background: var(--t-primary);
  color: var(--t-white);
}
.t-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.t-cta__title {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 800;
  line-height: 1.5;
}
.t-cta__text p + p {
  text-wrap: balance;
  margin-top: 6px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}
.t-btn--lg {
  min-height: 58px;
  padding: 0 40px;
  font-size: 17px;
}
.t-cta .t-btn {
  width: 100%;
  max-width: 360px;
}
@media (min-width: 768px) {
  .t-cta {
    padding: 48px 0;
  }
  .t-cta__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
  }
  .t-cta .t-btn {
    width: auto;
    flex: none;
  }
}

/* ===== スライダーの自動再生ボタン ===== */
.t-slider__toggle {
  width: 44px;
  height: 44px;
  border: 2px solid var(--t-primary);
  border-radius: 50%;
  background: var(--t-white);
  color: var(--t-primary-dark);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.t-slider__toggle:hover {
  background: var(--t-bg);
}

/* @@END@@ */
