@charset "UTF-8";
/* =======================================
   Foundation
   ======================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul[role=list],
ol[role=list],
li {
  list-style: none;
}

html {
  scroll-behavior: smooth;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: #1f2937;
  padding-top: 120px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: #f8fafc;
}

br.pc-only {
  display: inline;
}
@media (max-width: 768px) {
  br.pc-only {
    display: none;
  }
}

br.sp-only {
  display: none;
}
@media (max-width: 768px) {
  br.sp-only {
    display: inline;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 80px;
  }
  .section {
    padding: 40px 0;
  }
}
/* ================================================
   TYPOGRAPHY & TEXT RULES
   全体で統一する英単語表記・文字表現ルール
================================================ */
.t-uppercase {
  text-transform: uppercase;
}

.t-capitalize {
  text-transform: capitalize;
}

.t-lowercase {
  text-transform: lowercase;
}

.t-brandcase {
  text-transform: capitalize;
}
.t-brandcase::first-letter {
  text-transform: uppercase;
}
.t-brandcase span {
  text-transform: capitalize;
  display: inline-block;
}
.t-brandcase span::first-letter {
  text-transform: uppercase;
}

/* =======================================
   Layout
   ======================================= */
.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .l-container {
    padding: 0 24px;
  }
}
.l-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}

.l-col-3 {
  grid-column: span 3;
}

.l-col-4 {
  grid-column: span 4;
}

.l-col-6 {
  grid-column: span 6;
}

.l-col-8 {
  grid-column: span 8;
}

.l-col-12 {
  grid-column: span 12;
}

@media (max-width: 768px) {
  .l-row {
    gap: 16px;
  }
  .l-col-3, .l-col-4, .l-col-6, .l-col-8 {
    grid-column: span 12;
  }
}
.header {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  /* PCナビはフロー内。絶対配置しない＝ロゴに重ならない */
}
.header.scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 50%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  max-width: 1200px;
  margin-inline: auto;
  padding: 12px 16px;
}
.header__logo {
  position: relative;
  z-index: 3; /* ロゴを確実に前面へ */
}
.header__logo img {
  display: inline-flex;
  align-items: center;
  height: 100px;
  width: auto;
}
.header__nav {
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}
.header__nav-list a {
  font-size: 0.95rem;
  color: #111827;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 0.25rem 0.5rem;
  margin: 0;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 30px;
}
.header__nav-list a:hover {
  color: #2563eb;
}

/* ===== SP（〜767px）では header__nav をドロワー化 ===== */
@media (max-width: 767px) {
  .header__inner {
    justify-content: space-between;
    margin-right: 12px;
  }
  .header__logo {
    display: flex;
    align-items: center; /* 縦中央 */
  }
  .header__logo img {
    height: 70px;
    width: auto;
    margin-block: 4px;
  }
  .header__nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 360px);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 102; /* ロゴより下げない */
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    text-align: center;
  }
  .header__nav.open {
    transform: translateX(0);
  }
  .header__nav-list {
    display: grid;
    gap: 20px;
    padding: 64px 24px;
  }
  .hamburger {
    background: none;
    border: none;
  }
  .hamburger__nav-bg {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 101;
  }
  .hamburger__nav-bg.open {
    opacity: 1;
    pointer-events: auto;
  }
}
/* ===== PC（1024px〜） ===== */
@media (min-width: 1024px) {
  .header__nav-list {
    gap: 24px;
  }
  .header__nav-list .header__nav-item a {
    margin: 0 8px;
  }
}
/* スクロールロック */
body.no-scroll {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

.hamburger {
  display: none;
  position: relative;
  z-index: 103;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  border-radius: 5px;
}
@media (max-width: 767px) {
  .hamburger {
    display: inline-flex;
    margin-left: 8px;
  }
}
.hamburger__bar, .hamburger__bar::before, .hamburger__bar::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger__bar::before {
  position: absolute;
  top: -6px;
  left: 0;
}
.hamburger__bar::after {
  position: absolute;
  top: 6px;
  left: 0;
}
.hamburger.open .hamburger__bar {
  background: transparent;
}
.hamburger.open .hamburger__bar::before {
  transform: translateY(6px) rotate(45deg);
  opacity: 1;
}
.hamburger.open .hamburger__bar::after {
  transform: translateY(-6px) rotate(-45deg);
  opacity: 1;
}

/* ドロワーが閉じている時はクリックを透過させる（見えない当たり判定を消す） */
.hamburger__nav-bg {
  background: rgba(0, 0, 0, 0.35);
} /* ← 視認性（任意） */
.hamburger {
  position: relative;
  z-index: 110;
} /* ← トグルを最前に */
.footer {
  background: #1f2937;
  color: #fff;
  padding: 4rem 0 2rem;
}
.footer__content {
  margin-bottom: 3rem;
}
.footer__section-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}
.footer__nav {
  list-style: none;
}
.footer__nav li {
  margin-bottom: 0.75rem;
}
.footer__nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.footer__contact {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* =======================================
   Component
   ======================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button--primary {
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}
.button--secondary {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}
.button--outline {
  background: transparent;
  color: #1f2937;
  border: 2px solid #e5e7eb;
}
.button--white {
  background: #fff;
  color: #2563eb;
}
.button--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.button--error-page {
  margin-top: 20px;
}

.heading {
  font-weight: 700;
}

.heading--primary {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.heading--secondary {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 3rem;
  text-align: center;
}

.heading--tertiary {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 1rem;
}

.breadcrumb {
  position: relative;
  width: 100%;
  top: 40px;
  left: 0;
  z-index: 1;
}
.breadcrumb .separator {
  margin: 0 6px;
  font-size: 1.3rem;
  font-weight: 300;
}
.breadcrumb a {
  text-decoration: none;
  color: #2563eb;
  cursor: pointer;
}

.breadcrumb-blog {
  top: 0;
}

@media (max-width: 768px) {
  .breadcrumb {
    top: 20px;
    font-size: 0.75rem;
  }
  .breadcrumb .separator {
    font-size: 1rem;
  }
}
/* =======================================
   Utility
   ======================================= */
/* 共通フェードイン */
.js-scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-scroll-fade.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* =======================================
   Project（ページ固有セクション）
   ======================================= */
/* =========================================================
   _hero.scss : Heroセクション完全版
   - 上下ブロブがはみ出して見える
   - 横スクロールなし
   - Safari含むブラウザ対応
   - z-indexとoverflowの整合済
========================================================= */
.hero {
  isolation: isolate;
  z-index: 0;
  /* 高さは svh (モバイル対策) + fallback */
  min-height: 90svh;
  display: flex;
  align-items: center;
  text-align: center;
  /* 横スク防止 */
  overflow-x: hidden;
  /* 縦はみ出し見せる（上下にblobを出す） */
  overflow-y: visible;
  /* Hero内コンテンツ */
  /* 各要素アニメ初期状態 (JSと一致) */
  /* 背景ブロブラッパー */
  /* ブロブ */
}
.hero__inner {
  position: relative;
  z-index: 2; /* 背景ブロブより上 */
  text-align: center;
  margin-inline: auto;
  width: 100%;
  max-width: 1200px;
  padding-inline: clamp(6px, 1.5vw, 24px);
}
.hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100px);
  will-change: transform, opacity;
}
.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: #6b7280;
  line-height: 1.8;
  margin: 0 auto 3rem;
  max-width: 800px;
  opacity: 0;
  transform: translateY(50px);
  will-change: transform, opacity;
}
.hero__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__cta .button {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}
.hero__bg {
  position: absolute;
  inset: -12% 0 -12% 0; /* 上下に余白を持たせてはみ出し描画OK */
  z-index: 1; /* 背景層 */
  pointer-events: none;
  overflow: visible;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.3;
  will-change: transform;
  mix-blend-mode: screen;
  z-index: 3; /* hero__inner(2)より下にしたい場合は1に */
}
.hero__blob--1 {
  width: 420px;
  height: 420px;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  top: 10%;
  left: -10%;
  transform-origin: center;
}
.hero__blob--2 {
  width: 320px;
  height: 320px;
  background: linear-gradient(45deg, #059669, #0891b2);
  top: 60%;
  right: -5%;
  transform-origin: center;
}
.hero__blob--3 {
  width: 280px;
  height: 280px;
  background: linear-gradient(45deg, #0891b2, #2563eb);
  bottom: 20%;
  left: 70%;
  transform-origin: center;
}

/* --------------------------------------------------
   レスポンシブ調整
-------------------------------------------------- */
@media (max-width: 768px) {
  .hero__blob--1 {
    width: 340px;
    height: 340px;
  }
  .hero__blob--2 {
    width: 260px;
    height: 260px;
  }
  .hero__blob--3 {
    width: 220px;
    height: 220px;
  }
}
/* --------------------------------------------------
   グローバル保険（横スク防止／z-index競合対策）
-------------------------------------------------- */
html, body {
  overflow-x: hidden;
}

/* 後続セクションが前にかぶる場合の対処 */
.section,
.section-alt,
.next-section {
  position: relative;
  z-index: 0;
  overflow: visible;
}

#profile.section .profile {
  /* ---------- 上段（既存） ---------- */
  margin-inline: auto;
  /* ---------- 下段（屋号説明） ---------- */
  /* ---------- ブランドバッジ ---------- */
}
#profile.section .profile__image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
}
@media (max-width: 769px) {
  #profile.section .profile__image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }
}
#profile.section .profile__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
#profile.section .profile__lead {
  font-weight: 500;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: #6b7280;
  line-height: 1.9;
  margin-bottom: 1rem;
}
#profile.section .profile__text {
  color: #6b7280;
  line-height: 1.85;
}
#profile.section .profile__actions {
  margin-top: 2rem;
}
#profile.section .profile__about {
  margin-top: clamp(56px, 8vw, 96px);
}
#profile.section .profile__about-body {
  color: #6b7280;
}
#profile.section .profile__about-body p {
  line-height: 2;
}
@media (min-width: 769px) {
  #profile.section .profile__about-body {
    margin-left: calc(8.3333333333% + 16px);
  }
}
#profile.section .profile__about-lead {
  font-weight: 500;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: #6b7280;
  line-height: 1.9;
  margin-bottom: 1rem;
}
#profile.section .profile__brand {
  display: grid;
  place-items: center;
  min-height: 100%;
}
#profile.section .profile__brand-img {
  width: 250px;
  height: 250px;
  display: block;
  margin-inline: auto;
}
@media (max-width: 769px) {
  #profile.section .profile__brand-img {
    width: 150px;
    height: 150px;
  }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
  #profile.section .profile__about-body {
    max-width: 56ch;
  }
}
@media (max-width: 768px) {
  #profile.section .profile__about {
    margin-top: 48px;
  }
  #profile.section .profile__brand {
    margin-top: 28px;
  }
}
.services__grid {
  margin-bottom: 4rem;
}
.services__card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.services__card > .button {
  margin-top: auto;
}
.services__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services__icon img {
  width: 50px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.services__icon--combo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.services__icon--combo img {
  width: 50px;
  height: 50px;
}
.services__plus {
  color: #6b7280;
  font-weight: 600;
  font-size: 1rem;
  transform: translateY(-1px);
}
.services__heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.services__description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.services__note {
  text-align: center;
  color: #6b7280;
  font-style: italic;
  margin-bottom: 3rem;
}
.services__plan {
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  text-align: center;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  margin: 4rem 0;
}
.services__plan::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: url("../assets/images/icons/fullset.svg") no-repeat center/contain;
}
.services__plan-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 1rem 0 1.5rem;
}
.services__plan-title--secondary {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.services__plan-description {
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 2rem;
}
@media (max-width: 767px) {
  .services__plan-description {
    text-align: left;
  }
}

.page-services {
  /* ===== Page Hero（下層用） ===== */
  /* ===== Services ===== */
  /* ===== Process (制作フロー) ===== */
  /* ===== Fullset Plan（既存のservices__planを活用） ===== */
}
.page-services .hero {
  min-height: 90svh;
  padding: 0;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}
.page-services .hero__content {
  position: relative;
  z-index: 2;
}
.page-services .hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: #6b7280;
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.8;
}
.page-services .services {
  /* アイコンのコンボ（＋） */
}
.page-services .services--section {
  padding-block: 80px;
  z-index: 1;
  position: relative;
}
@media (max-width: 767px) {
  .page-services .services--section {
    padding-block: 40px;
  }
}
.page-services .services__card {
  background: #fff;
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 3rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}
.page-services .services__header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 767px) {
  .page-services .services__header {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }
}
.page-services .services__icon {
  width: auto;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: transparent; /* ← 以前のグラデ背景があれば無効化 */
  box-shadow: none;
}
.page-services .services__icon img {
  width: 64px;
  height: 64px;
  -o-object-fit: contain;
     object-fit: contain;
}
.page-services .services__icon--combo {
  gap: 16px;
}
.page-services .services__icon--combo img {
  width: 64px;
  height: 64px;
}
.page-services .services__plus {
  color: #6b7280;
  font-weight: 600;
  font-size: 1rem;
  transform: translateY(-1px);
}
.page-services .services__titleblock {
  flex: 1;
  text-align: left;
}
.page-services .services__title {
  text-align: left;
  margin-bottom: 1rem;
}
.page-services .services__subtitle {
  color: #9ca3af;
  font-size: 1rem;
}
.page-services .services__content {
  margin-bottom: 2rem;
  text-align: left;
}
@media (max-width: 767px) {
  .page-services .services__content {
    margin-bottom: 1rem;
  }
}
.page-services .services__section {
  margin-bottom: 2rem;
}
.page-services .services__heading {
  font-weight: 700;
  font-size: 1.25rem;
  color: #2563eb;
  margin-bottom: 1rem;
}
.page-services .services__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.page-services .services__list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2rem;
  color: #4b5563;
}
.page-services .services__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
  font-size: 1.25rem;
}
.page-services .services__note {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  color: #92400e;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}
@media (max-width: 767px) {
  .page-services .services__note {
    text-align: left;
    padding: 1rem;
    margin-bottom: 2rem;
  }
}
.page-services .services__strength {
  background: #f0f9ff;
  border-left: 4px solid #2563eb;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.page-services .services__strength-title {
  color: #2563eb;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.page-services .services__cta {
  margin-top: 2rem;
}
@media (max-width: 767px) {
  .page-services .services__cta {
    margin-top: 0;
  }
}
.page-services .services__process {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 16px;
}
@media (max-width: 767px) {
  .page-services .services__process {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}
.page-services .services__process-step {
  flex: 1;
  text-align: center;
  position: relative;
}
@media (max-width: 767px) {
  .page-services .services__process-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }
}
.page-services .services__process-step::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: #2563eb;
  font-size: 1.25rem;
  font-weight: 700;
}
@media (max-width: 767px) {
  .page-services .services__process-step::after {
    transform: rotate(90deg);
    right: 0;
    left: 0;
    top: 92%;
  }
}
.page-services .services__process-step:last-child::after {
  display: none;
}
.page-services .services__process-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 0.75rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
@media (max-width: 767px) {
  .page-services .services__process-circle {
    margin: 0;
  }
}
.page-services .services__process-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
}
.page-services .services__plan {
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  margin: 4rem 0;
  position: relative;
  /* 先に相談いただいたSVGバッジ */
}
@media (max-width: 767px) {
  .page-services .services__plan {
    padding: 3rem 1.5rem;
  }
}
.page-services .services__plan::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: url("../assets/images/icons/fullset.svg") no-repeat center/contain;
}
.page-services .services__plan-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 1rem 0 1.5rem;
}
.page-services .services__plan-description {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.process {
  position: relative;
  /* ステップはラインより前面に */
}
.process__list {
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px);
  /* 横ライン（初期は非表示） */
}
.process__list::before {
  content: "";
  position: absolute;
  top: 64px; /* 丸番号の中心あたりに調整 */
  left: 8%;
  right: 8%;
  height: 4px;
  background: linear-gradient(to right, #2563eb, #0891b2);
  border-radius: 2px;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 1.5s ease-out var(--process-line-delay, 0.25s), opacity 0.6s ease-out var(--process-line-delay, 0.25s);
}
.process__list.is-line::before {
  transform: scaleX(1);
  opacity: 1;
}
.process__step {
  text-align: center;
  flex: 1;
  max-width: 250px;
  background: #fff;
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 2rem 1rem;
  position: relative;
  border-radius: 20px;
}
.process__step.is-show {
  opacity: 1;
  transform: translateY(0);
}
.process__num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  border: 4px solid #fff;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}
.process__title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}
.process__desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.5;
}
.process__note {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.95rem;
  color: #92400e;
  text-align: center;
}
.process__button {
  margin: 40px auto 0;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 250px;
  display: block;
}
@media (max-width: 768px) {
  .process__list {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .process__list::before {
    display: none;
  }
  .process__step {
    width: 100%;
    max-width: none;
  }
}

.process__note,
.process__button,
.process__highlight {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.process__note.is-show,
.process__button.is-show,
.process__highlight.is-show {
  opacity: 1;
  transform: translateY(0);
}

.page-process {
  /* ===== セクション ===== */
  /* ===== Responsive ===== */
}
.page-process .hero {
  min-height: 90svh;
  padding: 0;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}
.page-process .hero__content {
  position: relative;
  z-index: 2;
}
.page-process .hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: #6b7280;
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.8;
}
.page-process .process--section {
  padding-block: 80px;
}
.page-process .process {
  /* 横並びフロー（PC） */
  /* ===== フルセット（統合） ===== */
  /* ステップの初期・表示状態（既存と同じでOK） */
}
.page-process .process__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.8;
}
.page-process .process__flow {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  /* ライン：初期は見えない（左起点で0倍） */
  /* 表示トリガーで左→右へスッと伸びる */
}
.page-process .process__flow::before {
  content: "";
  position: absolute;
  top: 86px;
  left: 12%;
  right: 12%;
  height: 4px;
  background: linear-gradient(to right, #2563eb, #0891b2);
  border-radius: 2px;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 1.5s ease-out var(--flow-line-delay, 0.25s), opacity 0.6s ease-out var(--flow-line-delay, 0.25s);
}
.page-process .process__flow.is-show::before {
  transform: scaleX(1);
  opacity: 1;
}
.page-process .process__step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 2rem 1rem;
  max-width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  /* 統合セクション内のカード */
}
.page-process .process__step.is-show {
  opacity: 1;
  transform: translateY(0);
}
.page-process .process__step--fullset {
  max-width: 280px;
}
.page-process .process__circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
  border: 5px solid #fff;
}
.page-process .process__title {
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #1f2937;
}
.page-process .process__description {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
}
.page-process .process__details {
  margin-top: 1.5rem;
  text-align: left;
}
.page-process .process__details ul {
  list-style: none;
  padding: 0;
}
.page-process .process__details li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: #4b5563;
  font-size: 0.95rem;
}
.page-process .process__details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
}
.page-process .process__note {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  color: #92400e;
  font-size: 1rem;
  text-align: center;
  margin-top: 2rem;
}
.page-process .process__fullset {
  background: linear-gradient(135deg, #f8fafc, #e0f2fe);
  padding: 3rem;
  border-radius: 20px;
  margin: 3rem 0;
}
.page-process .process__fullset-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}
.page-process .process__fullset-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 1.1rem;
  margin: 0 auto 3rem;
  max-width: 800px;
}
.page-process .process__rows {
  margin-bottom: 2rem;
}
.page-process .process__row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 32px);
  margin-bottom: 3rem;
  /* ライン開始（JSで付与） */
}
.page-process .process__row::before {
  content: "";
  position: absolute;
  top: 86px; /* サークルの中心ほどに合わせる */
  left: 12%;
  right: 12%;
  height: 4px;
  background: linear-gradient(to right, #2563eb, #0891b2);
  border-radius: 2px;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 1.5s ease-out var(--row-line-delay, 0.25s), opacity 0.6s ease-out var(--row-line-delay, 0.25s);
}
.page-process .process__row.is-line::before {
  transform: scaleX(1);
  opacity: 1;
}
.page-process .process__step {
  position: relative;
  z-index: 2; /* ラインより前面 */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-process .process__step.is-show {
  opacity: 1;
  transform: translateY(0);
}
.page-process .process__highlight {
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  margin-top: 2rem;
}
.page-process .process__highlight h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.page-process .process__highlight p {
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .page-process .process__flow, .page-process .process__row {
    flex-direction: column;
    gap: 3rem;
  }
  .page-process .process__flow::before, .page-process .process__row::before {
    display: none;
  }
  .page-process .process__step, .page-process .process__step--fullset {
    max-width: none;
  }
  .page-process .process__fullset {
    padding: 0;
    background: inherit;
  }
}

/* ヘッダー最前/横スクロール抑止（共通推奨） */
.header {
  z-index: 1000;
}

html, body {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html, body {
    overflow-x: hidden;
  }
}
.portfolio__item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  cursor: pointer;
}
.portfolio__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.portfolio__meta {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 1rem;
  background-color: rgb(143, 250, 209);
  font-size: 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portfolio__meta:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.portfolio__meta a {
  text-decoration: none;
  color: inherit;
}
.portfolio__image {
  margin-bottom: 0.75rem;
}
.portfolio__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.portfolio__title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  min-height: 3em;
}
.portfolio__desc {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portfolio-archive__heading, .portfolio-archive__lead {
  text-align: center;
}
.portfolio-archive__list {
  margin: 40px auto;
}
.portfolio-archive__card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  height: 100%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portfolio-archive__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.portfolio-archive__card-link {
  display: flex;
  gap: 2rem;
  text-decoration: none;
}
.portfolio-archive__card-thumb {
  width: 20%;
}
.portfolio-archive__card-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}
.portfolio-archive__card-body {
  text-align: left;
  flex: 1;
}
.portfolio-archive__card-cat {
  padding: 4px 10px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  color: #111827;
  font-size: 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portfolio-archive__card-cat:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.portfolio-archive__card-excerpt {
  color: #666;
}

.portfolio-archive__cat-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

/* 共通ボタン見た目は .button / .button--primary / .button--ghost 側で調整 */
.portfolio-archive__cat-button {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .portfolio-archive__card-link {
    flex-direction: column;
  }
  .portfolio-archive__card-thumb {
    width: 100%;
  }
  .portfolio-archive__cat-nav {
    flex-direction: column;
  }
}
.single {
  margin-top: 40px;
}

.portfolio-single {
  padding: 40px;
  margin-bottom: 80px;
  color: inherit;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.portfolio-single__body {
  padding-bottom: 40px;
}
.portfolio-single__cat {
  display: inline;
  padding: 4px 10px;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: inherit;
  border-radius: 4px;
  margin-bottom: 1rem;
  text-decoration: none;
  color: #fff;
}
.portfolio-single__title {
  margin: 1rem 0;
}
.portfolio-single__lead {
  padding: 0 1rem;
  margin-bottom: 2rem;
}
.portfolio-single__link {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}
.portfolio-single__link a {
  color: inherit;
}
.portfolio-single__link .button--secondary {
  padding: 5px 10px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 400;
}
.portfolio-single .portfolio-single__header-section-title {
  margin-bottom: 0;
  font-size: 1.25rem;
}
.portfolio-single__roles {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}
.portfolio-single__roles-list {
  display: flex;
  gap: 2rem;
}
.portfolio-single__thumb {
  padding: 20px 40px;
}
.portfolio-single__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}
.portfolio-single__section-body {
  padding: 0 2rem;
  margin-bottom: 1rem;
}
.portfolio-single__section-body ul li {
  list-style: disc;
  margin-left: 2rem;
  padding: 0.75rem 0;
}
.portfolio-single__section-body ol li {
  list-style: decimal;
  margin-left: 2rem;
  padding: 0.75rem 0;
}
.portfolio-single__section-title {
  background-color: rgb(129, 205, 208);
  margin: 1.5rem 0;
  padding: 0.75rem 0.5rem;
}
.portfolio-single__footer {
  margin: 40px auto;
}
.portfolio-single__pager {
  display: flex;
  justify-content: center;
  gap: 5rem;
}
.portfolio-single__pager a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .portfolio-single {
    padding: 20px;
    margin-bottom: 40px;
  }
  .portfolio-single__title {
    font-size: 1.75rem;
  }
  .portfolio-single__cat, .portfolio-single__date {
    font-size: 1rem;
  }
  .portfolio-single__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .portfolio-single__link .button {
    margin-left: 1rem;
  }
  .portfolio-single__url {
    margin-left: 1rem;
  }
  .portfolio-single__roles {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .portfolio-single__roles-list {
    margin-left: 1rem;
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }
  .portfolio-single__thumb {
    padding: 0;
    margin: 20px 0;
  }
  .portfolio-single__section-body {
    margin: 0.5rem;
    padding: 1rem 0.5rem 1rem 0.5rem;
  }
  .portfolio-single__section-body p {
    padding-left: 1rem;
  }
  .portfolio-single__section-body ul li {
    margin-left: 1.5rem;
    list-style: disc;
  }
  .portfolio-single__section-body ol li {
    margin-left: 1.5rem;
    list-style: decimal;
  }
  .portfolio-single__pager {
    gap: 1rem;
  }
  .portfolio-single .button {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}
.blog__item {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  /* ← 等高化に必要な指定だけ追加 */
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}
.blog__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.blog__thumb {
  margin-bottom: 0.75rem;
}
.blog__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.blog__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.blog__date {
  color: #9ca3af;
  font-size: 0.875rem;
  display: block;
}
.blog__cat {
  padding: 4px 10px;
  margin-left: 1rem;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  color: #111827;
  font-size: 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog__cat:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.blog__title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  min-height: 3.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2行で省略 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog__title a:hover {
  color: #2563eb;
}
.blog__excerpt {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1; /* ← 本文の高さを可変に */
  margin-bottom: 1rem;
}
.blog__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto; /* ← 一番下に固定 */
  list-style: none;
  padding: 0;
}
.blog__tags a {
  display: inline-block;
  padding: 4px 10px;
  background: #f3f4f6;
  color: #111827;
  font-size: 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.blog__tags a:hover {
  background: #e5e7eb;
}

/* 横幅は既存グリッドに任せるので非変更。
   Flexレイアウトの場合のみ、親の行を等高化 */
#blog .l-row {
  align-items: stretch; /* これだけ追加でOK */
}

.blog-archive__heading, .blog-archive__lead {
  text-align: center;
}
.blog-archive__list {
  margin: 40px auto;
}
.blog-archive__card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  height: 100%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-archive__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.06);
}
.blog-archive__card-link {
  display: flex;
  gap: 2rem;
  text-decoration: none;
}
.blog-archive__card-thumb {
  width: 20%;
}
.blog-archive__card-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.blog-archive__card-body {
  text-align: left;
  flex: 1;
}
.blog-archive__card-cat {
  padding: 4px 10px;
  margin-left: 1rem;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  color: #111827;
  font-size: 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-archive__card-cat:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.blog-archive__card-excerpt {
  color: #666;
}

.blog-archive__cat-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

/* 共通ボタン見た目は .button / .button--primary / .button--ghost 側で調整 */
.blog-archive__cat-button {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .blog-archive__card-link {
    flex-direction: column;
  }
  .blog-archive__card-thumb {
    width: 100%;
  }
  .blog-archive__cat-nav {
    flex-direction: column;
  }
}
.single {
  margin-top: 40px;
}

.blog-single {
  padding: 40px;
  margin-bottom: 80px;
  color: inherit;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.blog-single__cat {
  display: inline;
  padding: 4px 10px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  color: inherit;
  border-radius: 4px;
}
.blog-single__date {
  margin-left: 1rem;
}
.blog-single__thumb {
  padding: 20px 40px;
}
.blog-single__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}
.blog-single__body h2 {
  margin: 1.5rem 0;
  background: #bed3f2;
  padding: 0.75rem 0.5rem;
}
.blog-single__body h3 {
  margin: 1rem;
  text-decoration: underline;
}
.blog-single__body .wp-block-list {
  margin: 2.5rem;
  border: solid 1px #333;
  border-radius: 10px;
  padding: 1rem 3.5rem 1rem 1rem;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}
.blog-single__body p {
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.blog-single__body ul li {
  margin-left: 2.5rem;
  list-style: disc;
}
.blog-single__body ol li {
  margin-left: 2.5rem;
  list-style: decimal;
}
.blog-single__footer {
  margin: 40px auto;
}
.blog-single__pager {
  display: flex;
  justify-content: center;
  gap: 5rem;
}
.blog-single__pager a {
  text-decoration: none;
}

.toc {
  margin: 0 40px 2.4rem;
  padding: 1.6rem 3rem;
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: #fafafa;
  font-size: 0.9rem;
}

.toc__title {
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.toc__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: toc-counter;
}
.toc__list li {
  list-style: none !important;
  margin-left: 0 !important;
}

/* h2 用（数字付き） */
.toc__item--level2 {
  counter-increment: toc-counter;
  margin: 0.5rem 0;
}

.toc__item--level2 > a::before {
  content: counter(toc-counter) ". ";
  font-weight: 600;
}

/* h3 用（インデント＋黒丸） */
.toc__item--level3 {
  margin: 0.5rem 0;
  font-size: 0.95em;
  position: relative;
  left: 1.5rem;
}

.toc__item--level3 > a::before {
  content: "・";
  position: absolute;
  left: 0;
}

.toc__item a {
  padding-left: 1rem;
  color: inherit;
  text-decoration: none;
  line-height: 1.6;
  display: inline-block;
}

.toc__item a:hover {
  text-decoration: underline;
}

.author-box {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 12px;
  background-color: #f7f7f7;
}

.author-box__inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.author-box__avatar img {
  border-radius: 50%;
}

.author-box__label {
  font-size: 0.8rem;
  opacity: 0.7;
  margin: 0 0 0.2rem;
}

.author-box__name {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.author-box__bio {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.author-box__link a {
  font-size: 0.85rem;
  text-decoration: none;
}

/* SP 縦並び */
@media (max-width: 768px) {
  .blog-single {
    padding: 20px;
    margin-bottom: 40px;
  }
  .blog-single__title {
    font-size: 1.75rem;
  }
  .blog-single__cat, .blog-single__date {
    font-size: 1rem;
  }
  .blog-single__thumb {
    padding: 0;
    margin: 20px 0;
  }
  .blog-single__body .wp-block-list {
    margin: 0.5rem;
    padding: 1rem 0.5rem 1rem 0.5rem;
    display: block;
    width: -moz-fit-content;
    width: fit-content;
  }
  .blog-single__body p {
    padding-left: 1rem;
  }
  .blog-single__body ul li {
    margin-left: 1.5rem;
    list-style: disc;
  }
  .blog-single__body ol li {
    margin-left: 1.5rem;
    list-style: decimal;
  }
  .blog-single .button {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .blog-single__pager {
    gap: 1rem;
  }
  .toc {
    margin: 0 0 2rem;
    padding: 0.7rem;
  }
  .author-box__inner {
    flex-direction: column;
  }
}
.cta {
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  text-align: center;
}
.cta .heading--secondary {
  color: #fff;
}
.cta__text {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .cta__text {
    font-size: 1rem;
  }
}
.cta__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__buttons .button {
  width: 260px;
}
@media (max-width: 768px) {
  .cta__buttons {
    flex-direction: column;
    align-items: center;
  }
}

.hero__cta .button--contact {
  width: 226px;
}

#portfolio .button--secondary, #blog .button--secondary {
  display: block;
  margin: 0 auto;
  width: -moz-fit-content;
  width: fit-content;
}

.faq-category {
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
  .faq-category {
    margin-bottom: 2.5rem;
  }
}
.faq-category .category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #2563eb;
}
.faq-category .category-icon img {
  display: block;
  width: 50px;
  height: auto;
}
.faq-category .category-title {
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  font-weight: 700;
  color: #1f2937;
}

/* -----------------------------------------------
   FAQ Item (Accordion)
   ----------------------------------------------- */
.faq-item {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.faq-item.active {
  border-color: #2563eb;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background: #fff;
  transition: background 0.3s ease;
}
.faq-question .faq-q-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.faq-question .faq-q-icon img {
  width: 32px;
  height: auto;
}
.faq-question .faq-q-text {
  font-weight: 600;
  font-size: 1.05rem;
  color: #1f2937;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .faq-question .faq-q-text {
    text-align: left;
  }
}
.faq-question .faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.faq-question:hover {
  background: #f8fafc;
}
.faq-item.active .faq-question {
  background: #eff6ff;
}
.faq-item.active .faq-question .faq-toggle {
  background: #2563eb;
  color: #fff;
  transform: rotate(180deg);
}
@media (max-width: 768px) {
  .faq-question {
    padding: 1.25rem 1.5rem;
  }
  .faq-question .faq-q-label {
    gap: 0.75rem;
  }
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  visibility: hidden; /* ← 閉時は見せない */
  will-change: max-height;
  transition: max-height 0.35s ease; /* visibility はJSで切替 */
}

/* 開時だけ可視化 */
.faq-item.active .faq-answer {
  visibility: visible;
}

/* margin折り畳み対策（重なり防止） */
.faq-answer-content {
  display: flex; /* BFCを作りmarginの外出しを防ぐ */
  /* 必要ならほんの少し余白を足す：
  padding-top: 0.25rem;
  */
}

.faq-answer-content {
  padding: 1.5rem 2rem;
}
@media (max-width: 768px) {
  .faq-answer-content {
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  }
}

.faq-a-icon {
  display: inline-block;
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #059669;
  text-align: center;
  line-height: 32px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .faq-a-icon {
    display: block;
    margin-bottom: 0.75rem;
  }
}

.faq-a-text {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.8;
}
.faq-a-text .faq-a-link {
  display: inline-block;
  color: #2563eb;
  text-decoration: underline;
  margin-top: 0;
}
.faq-a-text .faq-a-link:hover {
  color: rgb(18.5714285714, 76.1428571429, 202.4285714286);
}

/* -----------------------------------------------
   Info Box
   ----------------------------------------------- */
.info-box {
  background: #f0f9ff;
  border: 2px solid rgb(223.8571428571, 232.7142857143, 252.1428571429);
  border-radius: 20px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}
.info-box h3 {
  color: rgb(14.2857142857, 58.5714285714, 155.7142857143);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.info-box p {
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .info-box {
    padding: 1.5rem;
    margin: 2rem 0;
  }
}

/* _faq.scss の末尾などに */
.faq-category--compact .category-header {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}
.faq-category--compact .faq-item {
  margin-bottom: 0.5rem;
}

/* ティーザーセクションの余白（必要なら） */
.faq-teaser {
  text-align: center;
}
.faq-teaser .link-more {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
}

.page-about .hero {
  min-height: 90svh;
  padding: 0;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}
.page-about .hero__content {
  position: relative;
  z-index: 2;
}
.page-about .hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: #6b7280;
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.8;
}

/* --- Profile --- */
.about-profile__row {
  align-items: center;
}
.about-profile__image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}
.about-profile__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.about-profile__heading {
  text-align: left;
}
.about-profile__lead {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  margin: 0 0 1rem;
}
.about-profile__text {
  color: #6b7280;
}

/* --- Journey (timeline 2段×3) --- */
.about-journey__heading {
  text-align: center;
}
.about-journey__rows {
  display: grid;
  gap: 2.5rem;
  margin-top: 1.5rem;
}
.about-journey__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  /* 横ライン */
}
.about-journey__list:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.35rem;
  height: 3px;
  background: linear-gradient(to right, #2563eb, #0891b2);
  opacity: 0.25;
}
.about-journey__item {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
  position: relative;
  /* ドット */
}
.about-journey__item:before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 1.25rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563eb;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px #e0f2fe;
}
.about-journey__year {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  margin-left: 2.2rem;
}
.about-journey__title {
  font-weight: 700;
  margin: 0.25rem 0 0.35rem;
}
.about-journey__desc {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Skills --- */
.about-skills__heading {
  text-align: center;
}
.about-skills__grid {
  row-gap: 2rem;
}
.about-skills__card {
  /* 既存カード感に寄せる */
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}
.about-skills__title {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.about-skills__icon {
  height: 32px;
  border-radius: 50%;
}
.about-skills__icon img {
  width: 32px;
  height: 32px;
}
.about-skills__label {
  font-weight: 700;
  font-size: 1.2rem;
}
.about-skills__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-skills__list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.25rem;
  color: #6b7280;
}
.about-skills__list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}

/* --- Strengths --- */
/* === About Strong (single card) === */
.about-strong__heading {
  text-align: center;
}
.about-strong__card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}
.about-strong__card--wide {
  padding: clamp(24px, 3vw, 40px);
}
.about-strong__header {
  text-align: center;
  margin-bottom: clamp(16px, 2.4vw, 24px);
}
.about-strong__title {
  margin-bottom: 0.25rem;
}
.about-strong__lead {
  color: #374151;
  max-width: 46rem;
  margin: 0 auto;
}
.about-strong__body {
  margin-top: clamp(12px, 1.6vw, 16px);
}
.about-strong__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.about-strong__label {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.about-strong__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-strong__list li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.7;
  color: #6b7280;
}
.about-strong__list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}
.about-strong__result {
  margin-top: clamp(20px, 3vw, 32px);
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-left: 5px solid #2563eb;
  border-radius: 16px;
  padding: clamp(16px, 2.4vw, 24px);
}
.about-strong__result-title {
  display: block;
  margin-bottom: 0.5rem;
}
.about-strong__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-strong__bullets li {
  position: relative;
  padding-left: 1.15rem;
  color: #374151;
}
.about-strong__bullets li + li {
  margin-top: 0.35rem;
}
.about-strong__bullets li:before {
  content: "•";
  position: absolute;
  left: 0;
}
@media (max-width: 768px) {
  .about-strong__cols {
    grid-template-columns: 1fr;
  }
}

/* --- Message --- */
.about-message {
  padding-top: 0;
}
.about-message__box {
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  padding: 4rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin-top: 2rem;
}
.about-message__title {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  margin-bottom: 1rem;
}
.about-message__text {
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.7;
}

/* --- Values --- */
.about-values__heading {
  text-align: center;
}
.about-values__grid {
  row-gap: 2rem;
}
.about-values__card {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}
.about-values__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.about-values__title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.about-values__desc {
  color: #6b7280;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .about-profile__image {
    margin: 0 auto 1.25rem;
    width: 240px;
    height: 240px;
  }
  .about-journey__list {
    grid-template-columns: 1fr;
  }
  .about-journey__list:before {
    display: none;
  } /* モバイルはライン非表示でもOK */
}
.page-contact .hero {
  min-height: 90svh;
  padding: 0;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}
.page-contact .hero__content {
  position: relative;
  z-index: 2;
}
.page-contact .hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: #6b7280;
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.8;
}

.contact-info {
  background: none;
  padding-bottom: 0;
}
.contact-info__grid {
  row-gap: 2rem;
}
.contact-info__card {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}
.contact-info__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.contact-info__title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.contact-info__desc {
  color: #6b7280;
}

.contact-form--confirm .is-readonly {
  background: #f8fafc;
  pointer-events: none;
}

.contact-form--confirm .is-confirm-select {
  background: #f8fafc;
  pointer-events: none;
}

.contact-form__actions--split {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.button--ghost {
  background: transparent;
  border: 2px solid #cbd5e1;
  color: #334155;
}

/* 応急処置：表示だけ消す */
.wpcf7 .wpcf7-response-output {
  display: none;
}

.contact-form {
  text-align: center;
}
.contact-form__card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}
.contact-form__card .form__table {
  width: 100%;
  max-width: 720px;
  margin: 40px auto;
}
.contact-form__card .form__table.check td {
  padding-left: 10px;
  margin-top: 14px;
}
.contact-form__card tr {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 30px;
}
.contact-form__card tr:first-of-type {
  margin-top: 0;
}
.contact-form__card td {
  width: 100%;
  line-height: 1;
  font-weight: 400;
}
.contact-form__card th {
  font-weight: 500;
}
.contact-form__card .required {
  padding: 2px 10px;
  background-color: #a0d7ff;
  line-height: 1.2;
  margin-right: 6px;
}
.contact-form__card .option {
  padding: 2px 10px;
  color: #a0d7ff;
  border: solid 1px #a0d7ff;
  line-height: 1.2;
  margin-right: 6px;
}
.contact-form__note {
  text-align: left;
  margin-top: 0.7rem;
}
.contact-form .wpcf7-form-control {
  width: 100%;
}
.contact-form .wpcf7-form input[type=text],
.contact-form .wpcf7-form input[type=tel],
.contact-form .wpcf7-form input[type=email],
.contact-form .wpcf7-form select,
.contact-form .wpcf7-form textarea {
  width: 100%;
  border-radius: 3px;
  padding: 8px 15px;
  box-sizing: border-box;
  border-color: #6b7280;
  border-width: 1px;
}
.contact-form .wpcf7-form input[type=text]:focus,
.contact-form .wpcf7-form input[type=tel]:focus,
.contact-form .wpcf7-form input[type=email]:focus,
.contact-form .wpcf7-form select:focus,
.contact-form .wpcf7-form textarea:focus {
  outline: none;
  box-shadow: none;
}
.contact-form input:-webkit-autofill, .contact-form text:-webkit-autofill, .contact-form textarea:-webkit-autofill, .contact-form select:-webkit-autofill {
  background-color: transparent !important;
  box-shadow: 0 0 0px 1000px white inset !important;
}
.contact-form input:-webkit-autofill {
  -webkit-appearance: none;
          appearance: none;
  background-color: transparent !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #000 !important;
  caret-color: #000;
  -webkit-transition: background-color 9999s ease-out, color 9999s ease-out;
  transition: background-color 9999s ease-out, color 9999s ease-out;
  transition-delay: 9999s;
}
.contact-form .wpcf7-select {
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  line-height: 1.4;
}
.contact-form .wpcf7-not-valid-tip {
  color: #a0d7ff;
  text-align: left;
  margin-top: 0.7rem;
}
.contact-form__check-card td {
  text-align: left;
  padding-left: 0.7rem;
  margin-top: 0.7rem;
}
.contact-form__check-card .contact-form__actions {
  display: inline-grid;
  gap: 1rem;
}
.contact-form__check-card .button--secondary {
  width: 180px;
}
.contact-form__check-card .contact-form__button {
  width: 180px;
}

.thanks__card {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}
.thanks__text-list {
  width: -moz-max-content;
  width: max-content;
  text-align: left;
  margin: 2rem auto;
}
.thanks__text-list li {
  margin-top: 1rem;
}
.thanks__message {
  margin: 2rem auto 4rem;
  font-weight: 600;
}
.thanks__message a {
  text-decoration: none;
  color: #000;
}

@media (max-width: 768px) {
  .thanks__message {
    text-align: left;
  }
}
.privacy-policy__card {
  padding: 40px;
  margin-bottom: 80px;
  color: inherit;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.privacy-policy h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.privacy-policy p {
  margin-bottom: 1rem;
}
.privacy-policy ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}
.privacy-policy li {
  list-style: disc;
}
.privacy-policy a {
  text-decoration: none;
  color: inherit;
}
.privacy-policy__title {
  font-size: 2.5rem;
  text-align: center;
  padding-bottom: 2rem;
}
.privacy-policy__decs {
  text-align: left;
  padding-bottom: 3rem;
  padding-left: 0;
}
.privacy-policy .heading--secondary {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.terms__card {
  padding: 40px;
  margin-bottom: 80px;
  color: inherit;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.terms h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.terms p {
  margin-bottom: 1rem;
}
.terms ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}
.terms li {
  list-style: disc;
}
.terms a {
  text-decoration: none;
  color: inherit;
}
.terms__title {
  font-size: 2.5rem;
  text-align: center;
  padding-bottom: 2rem;
}
.terms__decs {
  text-align: left;
  padding-bottom: 3rem;
  padding-left: 0;
}
.terms .heading--secondary {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}/*# sourceMappingURL=main.css.map */