/* =========================================
   PAGE HERO
========================================= */

.page-hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 120px;
  overflow: hidden;
  background:
    linear-gradient(180deg,
      #ffffff 0%,
      #f4f8ff 100%);
}

.page-hero-image {
  position: absolute;
  inset: 0;
  opacity: .12;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  color: var(--color-text);
}

.page-label {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  color: var(--color-primary);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.page-hero h1 {
  margin: 26px 0 24px;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 900;
}

.page-hero p {
  max-width: 680px;
  color: var(--color-text-light);
  font-size: 1.05rem;
}

/* =========================================
   INTRO
========================================= */

.container-sm {
  width: min(90%, 980px);
  margin: 0 auto;
}

.intro-section {
  padding-top: 120px;
  padding-bottom: 80px;
  background: #fff;
}

.intro-logo {
  width: 240px;
  height: auto;
  margin: 0 auto;
  margin-bottom: 18px;
}

.intro-text {
  max-width: 980px;
  margin: 40px auto 0;
  text-align: center;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 2;
  color: #555;
  letter-spacing: .02em;
}

/* =========================================
   SERVICE
========================================= */

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 42px;
  border-radius: 36px;
  background:
    rgba(255, 255, 255, .76);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow:
    0 20px 60px rgba(15, 23, 42, .06);
  transition:
    transform .4s ease,
    box-shadow .4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 80px rgba(15, 23, 42, .1);
}

.service-card:nth-child(even) .service-image {
  order: 2;
}

.service-image img {
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-content h3 {
  margin: 18px 0 22px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.service-content p {
  color: var(--color-text-light);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-round);
  background: #eff6ff;
  color: var(--color-primary);
  font-size: .82rem;
  font-weight: 700;
}

/* =========================================
   RESPONSIVE
========================================= */

@media screen and (max-width: 1024px) {

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(even) .service-image {
    order: 0;
  }

}

@media screen and (max-width: 768px) {

  .page-hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .page-hero h1 {
    font-size: 2.8rem;
  }

  .service-card {
    padding: 28px;
    gap: 32px;
  }

}

/* =========================================
   FEATURE
========================================= */

.feature-section {
  position: relative;
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  overflow: hidden;
}

.feature-section::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 420px;
  height: 420px;
  background: rgba(27, 91, 181, 0.05);
  border-radius: 50%;
}

.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  z-index: 1;
}

.feature-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 38px 30px 34px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform .4s ease,
    box-shadow .4s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(27, 91, 181, 0.03) 0%,
      rgba(27, 91, 181, 0) 45%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.12);
}

.feature-number {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(27, 91, 181, 0.08);
  letter-spacing: -0.04em;
}

.feature-icon {
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1b5bb5 0%, #2b7cff 100%);
  border-radius: 18px;
  box-shadow:
    0 12px 24px rgba(27, 91, 181, 0.2);
}

.feature-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.feature-card h3 {
  position: relative;
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.6;
  color: #111;
  z-index: 1;
}

.feature-card p {
  position: relative;
  font-size: 0.98rem;
  line-height: 1.9;
  color: #666;
  z-index: 1;
}

/* =========================================
   SERVICE
========================================= */

.service-section {
  background: #fff;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.service-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 42px;
  border-radius: 32px;
  background:
    rgba(255, 255, 255, .76);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow:
    0 20px 60px rgba(15, 23, 42, .06);
  transition:
    transform .4s ease,
    box-shadow .4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 80px rgba(15, 23, 42, .1);
}

.service-card:nth-child(even) .service-image {
  order: 2;
}

.service-card:nth-child(even) .service-content {
  order: 1;
}

.service-image {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.12);
}

.service-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .7s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.service-content {
  max-width: 560px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: var(--radius-round);
  background: rgba(27, 91, 181, 0.08);
  color: #1b5bb5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-content h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}

.service-content p {
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.95;
  color: #666;
}

/* =========================================
   FLOW
========================================= */

.flow-section {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.flow-section::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(27, 91, 181, 0.04);
}

.flow-list {
  position: relative;
  max-width: 980px;
  margin: 64px auto 0;
  padding-left: 120px;
}

.flow-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  width: 2px;
  height: 100%;
  background:
    linear-gradient(180deg,
      #1b5bb5 0%,
      rgba(27, 91, 181, 0.15) 100%);
}

.flow-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 42px;
}

.flow-item:last-child {
  padding-bottom: 0;
}

.flow-step {
  position: absolute;
  left: -120px;
  top: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #1b5bb5 0%, #2b7cff 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow:
    0 12px 28px rgba(27, 91, 181, 0.22);
  z-index: 2;
}

.flow-content {
  width: 100%;
  padding: 28px 30px;
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.06);
  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.flow-content:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.1);
}

.flow-content h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  color: #111;
}

.flow-content p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: #666;
}

/* =========================================
   FAQ
========================================= */

.faq-section {
  background: #111827;
}

.faq-section .section-heading span,
.faq-section .section-heading h2 {
  color: #fff;
}

.faq-list {
  margin-top: 56px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-question {
  position: relative;
  width: 100%;
  padding: 26px 60px 26px 0;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.8;
}

.faq-question::before,
.faq-question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform .3s ease;
}

.faq-question::after {
  transform: rotate(90deg);
}

.faq-item.active .faq-question::after {
  transform: rotate(0);
}

.faq-answer {
  display: none;
  padding: 0 0 26px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.95;
}

/* =========================================
   RESPONSIVE
========================================= */

@media screen and (max-width: 1200px) {

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-card:nth-child(even) .service-image,
  .service-card:nth-child(even) .service-content {
    order: initial;
  }

  .service-content {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {

  .page-hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  /* intro */

  .intro-section {
    padding-top: 80px;
    padding-bottom: 56px;
  }

  .intro-text {
    margin-top: 28px;
  }

  .intro-text p {
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: left;
  }

  /* feature */

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
  }

  .feature-card {
    padding: 32px 22px 28px;
    border-radius: 22px;
  }

  .feature-number {
    top: 16px;
    right: 18px;
    font-size: 3.2rem;
  }

  .feature-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 16px;
  }

  .feature-icon img {
    width: 38px;
    height: 38px;
  }

  .feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
  }

  .feature-card p {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  /* service */

  .service-grid {
    gap: 56px;
  }

  .service-card {
    padding: 28px;
    gap: 28px;
    border-radius: var(--radius-md);
  }

  .service-image {
    border-radius: 18px;
  }

  .service-content h3 {
    margin-bottom: 16px;
    font-size: 1.8rem;
  }

  .service-content p {
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.9;
  }

  /* flow */

  .flow-list {
    margin-top: 56px;
    padding-left: 0;
  }

  .flow-list::before {
    left: 24px;
  }

  .flow-item {
    padding-left: 72px;
    padding-bottom: 36px;
  }

  .flow-step {
    left: 0;
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .flow-content {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .flow-content h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
  }

  .flow-content p {
    font-size: 0.94rem;
    line-height: 1.85;
  }

  /* faq */

  .faq-list {
    margin-top: 48px;
  }

  .faq-question {
    padding: 22px 52px 22px 0;
  }

  .faq-question span {
    font-size: 1rem;
    line-height: 1.8;
  }

  .faq-answer {
    padding-bottom: 22px;
  }

  .faq-answer p {
    font-size: 0.94rem;
    line-height: 1.85;
  }
}

/* =========================================
   CASE STUDY 一覧
========================================= */

.case-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 100px 0;
}

/* GRID */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

/* CARD */
.case-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: transform .4s ease, box-shadow .4s ease;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

/* LINK */
.case-card__link {
  display: block;
  color: inherit;
  text-decoration: none !important;
}

/* IMAGE */
.case-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.case-card:hover .case-card__img img {
  transform: scale(1.06);
}

/* BODY */
.case-card__body {
  padding: 20px 20px 24px;
}

/* DATE */
.case-card__date {
  display: inline-block;
  font-size: 1rem;
  color: #888;
}

/* TITLE */
.case-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.5;
  color: #111;
}

/* TAGS */
.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-card__tags li {
  font-size: 0.72rem;
  padding: 6px 10px;
  border-radius: var(--radius-round);
  background: rgba(27, 91, 181, 0.08);
  color: var(--color-primary);
  white-space: nowrap;
}

/* =========================================
   CASE DETAIL　詳細ページ 
========================================= */
.case-detail {
  position: relative;
  overflow: hidden;
  background: #fff;
}

/* =========================================
   HEADER 
========================================= */
.case-detail__head {
  margin-bottom: 40px;
  max-width: 980px;
  text-align: center;
  margin: 0 auto;
}

.case-detail__info {
  text-align: left;
}

.case-detail__title {
  margin-bottom: 32px;
  color: var(--color-text);
  font-size: clamp(1.5rem, 2vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.case-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.case-detail__tags li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-round);
  background: #f1f5f9;
  color: var(--color-text-light);
  font-weight: 500;
  line-height: 1;
  transition: background .3s ease, transform .3s ease;
}

.case-detail__text {
  line-height: 2;
  letter-spacing: 0.03em;
  margin-bottom: 40px;
}

/* =========================================
   IMAGE 
========================================= */
.case-detail__image {
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
  max-width: 980px;
  text-align: center;
  margin: 0 auto;
}

.case-detail__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .8s ease, filter .8s ease;
}

/* =========================================
   ABOUT US　詳細ページ
========================================= */

.about-section {
  position: relative;
  padding: 120px 0;
  background: #f7f9fc;
  overflow: hidden;
}

.about-section h2 {
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
   3 COLUMN
========================= */

.about-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

/* =========================
   BOX
========================= */

.about-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================================
   ABOUT ANIMATION
========================================= */

/* 初期状態 */
.about-box {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* 表示時 */
.about-box.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延 */
.about-box:nth-child(1) {
  transition-delay: 0s;
}

.about-box:nth-child(2) {
  transition-delay: 0.15s;
}

.about-box:nth-child(3) {
  transition-delay: 0.3s;
}

/* 吹き出し hover */
.fukidashi {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.about-box:hover .fukidashi {
  transform: translateY(-8px);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.12);
}

/* アイコン */
.about-img img {
  transition:
    transform 0.5s ease;
}

.about-box:hover .about-img img {
  transform: scale(1.06) rotate(-2deg);
}

/* キャッチコピー */
.about-catch {
  animation: catchFloat 3.5s ease-in-out infinite;
}

@keyframes catchFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

/* =========================
   FUKIDASHI
========================= */

.fukidashi {
  position: relative;
  width: 100%;
  min-height: 180px;
  padding: 26px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fukidashi::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 20px solid #fff;
}

.fukidashi p {
  font-size: 1.3rem;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* =========================
   IMAGE
========================= */

.about-img {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: #fff;
  border-radius: var(--radius-round); */
}

.about-img img {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   CATCH
========================= */

.about-catchbox {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.about-catch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 28px 48px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  box-shadow:
    0 12px 32px rgba(37, 99, 235, 0.25);
}

/* =========================================
   SITE POLICY
========================================= */

.policy-page {
  background: #f7f9fc;
}

.policy-block {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px;
  margin-bottom: 32px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow:
    0 10px 30px rgba(15, 23, 42, .06);
}

.policy-block h2 {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
}

.policy-block p {
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 50px;
}

/* =========================================
   SITEMAP
========================================= */

.sitemap-page {
  background: #f7f9fc;
}

.sitemap-grid {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 40px;
  margin-bottom: 32px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow:
    0 10px 30px rgba(15, 23, 42, .06);
}

/* =========================
   BLOCK
========================= */

.sitemap-block {
  padding-bottom: 40px;
  border-bottom: 1px solid #e2e8f0;
}

.sitemap-block:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sitemap-block h2 {
  margin: 0 0 28px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text);
}

/* =========================
   RESET
========================= */

.sitemap-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* =========================
   LEVEL 1
========================= */

.sitemap-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sitemap-list>li>a {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  transition: color .3s ease;
}

.sitemap-list>li>a:hover {
  color: var(--color-primary);
}

/* =========================
   LEVEL 2
========================= */

.sitemap-sub {
  margin-top: 14px !important;
  margin-left: 20px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sitemap-sub>li>a {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color .3s ease;
}

.sitemap-sub>li>a::before {
  content: "― ";
  color: var(--color-text);
}

.sitemap-sub>li>a:hover {
  color: var(--color-primary);
}

/* =========================
   LEVEL 3
========================= */

.sitemap-child {
  margin-top: 8px !important;
  margin-left: 8px !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sitemap-child li a {
  display: inline-block;
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-light);
  transition: color .3s ease;
}

.sitemap-child li a::before {
  content: "・";
  margin-right: 4px;
  color: var(--color-text-light);
}

.sitemap-child li a:hover {
  color: var(--color-primary);
}

/* =========================
   SIMPLE LINK STYLE
========================= */

.sitemap-block a {
  text-decoration: none;
}

/* =========================================
   NEWS　詳細ページ 
========================================= */

.news-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 100px 0;
}

.news-detail {
  position: relative;
  overflow: hidden;
}

.news-detail__head {
  margin-bottom: 40px;
  max-width: 980px;
  margin: 0 auto;
}

.news-detail__info {
  text-align: left;
}

.news-detail__title {
  margin-bottom: 32px;
  color: var(--color-text);
  font-size: clamp(1.5rem, 2vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.news-detail__date {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.news-detail__text {
  line-height: 2;
  letter-spacing: 0.03em;
  margin-bottom: 40px;
}

/* =========================================
   BREADCRUMB
========================================= */

.breadcrumb {
  padding: 18px 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: #cbd5e1;
}

.breadcrumb-list a {
  color: #64748b;
  text-decoration: none;
  transition: color .3s ease;
}

.breadcrumb-list a:hover {
  color: var(--color-primary);
}

.breadcrumb-list li[aria-current="page"] {
  color: var(--color-text);
  font-weight: 600;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1024px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .case-section {
    padding: 70px 0;
  }

  .case-grid {

    gap: 20px;
  }

  .case-card__body {
    padding: 16px;
  }

  .case-card__title {
    font-size: 1rem;
  }
}

/* =========================================
   TABLET 
========================================= */
@media screen and (max-width: 1024px) {
  .case-detail__head {
    margin-bottom: 64px;
  }

  .case-detail__title {
    margin-bottom: 28px;
    font-size: clamp(1.5rem, 2vw, 3rem);
  }

  .about-section {
    padding: 100px 0;
  }

  .about-row {
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 700px;
    margin: 0 auto;
  }

  .fukidashi {
    min-height: auto;
    padding: 32px 24px;
  }

  .fukidashi h2 {
    font-size: 2rem;
  }

  .about-img img {
    width: 160px;
  }

  .about-catch {
    width: 100%;
    border-radius: var(--radius-md);
    font-size: 2.2rem;
    padding: 24px 28px;
  }
}

/* =========================================
   MOBILE 
========================================= */

@media screen and (max-width: 767px) {
  .case-detail__head {
    margin-bottom: 48px;
  }

  .case-detail__title {
    margin-bottom: 24px;
    font-size: 2.2rem;
  }

  .case-detail__tags {
    gap: 10px;
    margin-bottom: 24px;
  }

  .case-detail__tags li {
    padding: 8px 14px;
  }

  .case-detail__text {
    line-height: 1.9;
  }

  .about-section {
    padding: 80px 0;
  }

  .about-row {
    gap: 48px;
  }

  .fukidashi {
    padding: 28px 20px;
    border-radius: var(--radius-md);
  }

  .fukidashi h2 {
    font-size: 1.7rem;
    line-height: 1.6;
  }

  .fukidashi::after {
    bottom: -14px;

    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 16px solid #fff;
  }

  .about-img {
    margin-top: 32px;
  }

  .about-img img {
    width: 130px;
  }

  .about-catchbox {
    margin-top: 60px;
  }

  .about-catch {
    padding: 22px 20px;
    font-size: 1.8rem;
    line-height: 1.7;
    border-radius: 20px;
  }

  .policy-block {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .policy-block h2 {
    font-size: 1.25rem;
  }

  .policy-block p {
    font-size: .95rem;
    line-height: 1.9;
  }

  .sitemap-grid {
    gap: 40px;
  }

  .sitemap-block {
    padding-bottom: 32px;
  }

  .sitemap-block h2 {
    margin-bottom: 22px;
    font-size: 1.5rem;
  }

  .sitemap-list>li>a {
    font-size: 1rem;
  }

  .sitemap-sub {
    margin-left: 0px !important;
  }

  .sitemap-child {
    margin-left: 0px !important;
  }

  .breadcrumb {
    padding: 14px 0;
  }

  .breadcrumb-list {
    gap: 8px;
  }

  .breadcrumb-list li {
    font-size: 0.8rem;
  }

  .breadcrumb-list li:not(:last-child)::after {
    margin-left: 8px;
  }
}