/* ===== Task Force Case Page Styles ===== */

/* Hero */
.tfc-hero {
  position: relative;
  height: 600px;
  margin-top: 100px;
  overflow: hidden;
}

.tfc-hero__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tfc-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.9;
}

.tfc-hero__title-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--color-gray2);
  padding: 20px 50px;
}

.tfc-hero__title {
  font-family: var(--font-en);
  font-weight: bold;
  font-size: 10rem;
  color: var(--color-dark);
  letter-spacing: 0.03em;
  line-height: 1;
}

/* Breadcrumb */
.tfc-hero__breadcrumb {
  background: var(--color-gray2);
  padding: 16px 0;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  margin: 0;
}

.tfc-hero__breadcrumb a {
  color: var(--color-gold);
}

.tfc-hero__breadcrumb span {
  color: var(--color-dark);
}

/* Intro */
.tfc-intro {
  background: #fff;
  padding: 80px 0;
}

.tfc-intro__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.tfc-intro__text {
  font-size: 1.6rem;
  line-height: 2.25;
  letter-spacing: 0.03em;
  color: var(--color-dark);
  text-align: center;
}

.tfc-intro__text p {
  margin: 0;
}

.tfc-intro__text p + p {
  margin-top: 0.2em;
}

/* Cases Section (reuses .benefits backdrop pattern) */
.tfc-cases {
  background: #f7f7f7;
  padding: 80px 0 80px;
}

.tfc-cases__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
}

/* Anchor Title */
.anchorTtl {
  font-size: 3rem;
  padding: 1rem 0 2.5rem 6.5rem;
  background: url('../images/shared/icon_anchor.png') no-repeat left top;
  background-size: 52px auto;
  border-bottom: solid 3px #ccc;
  line-height: 1;
  position: relative;
  margin-bottom: 5rem;
  font-weight: bold;
}

.anchorTtl::after {
  content: "";
  display: block;
  background: #171c61;
  width: 8rem;
  height: 3px;
  position: absolute;
  bottom: -3px;
  right: 0;
}


.tfc-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 20px;
}

/* Card */
.tfc-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.tfc-card__head {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 16px 24px;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.tfc-card__img {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #f0f0f0;
}

.tfc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tfc-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.tfc-card__desc {
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--color-dark);
  margin: 0;
}

/* TOPICS panel */
.tfc-card__topics {
  background: #eef0fb;
  padding: 16px 18px;
  margin-top: auto;
}

.tfc-card__topics-label {
  display: inline-block;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  margin-bottom: 10px;
}

.tfc-card__topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tfc-card__topics-list li {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--color-dark);
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.tfc-card__topics-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-dark);
}

.tfc-card__topics-list li:last-child {
  margin-bottom: 0;
}

/* Full-width card (last item if odd) */
.tfc-card--full {
  grid-column: 1 / -1;
  max-width: calc(50% - 15px);
}

/* Back Button */
.tfc-back-btn {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  background: var(--color-white);
}

.tfc-back-btn__link {
  display: flex;
  align-items: center;
  width: 600px;
  max-width: 100%;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 2rem;
  letter-spacing: 0.06em;
  text-align: center;
  position: relative;
  height: 90px;
  justify-content: center;
  transition: background 0.3s;
}

.tfc-back-btn__link:hover {
  opacity: 0.85;
}

.tfc-back-btn__arrow {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 100%;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tfc-back-btn__arrow svg {
  width: 24px;
  height: 16px;
  fill: none;
  color: var(--color-white);
}


/* ===== Responsive ===== */
@media screen and (max-width: 768px) {

  .tfc-hero {
    height: auto;
    margin-top: 50px;
  }

  .tfc-hero__img {
    height: 200px;
    position: relative;
  }

  .tfc-hero__title-wrap {
    padding: 12px 20px;
  }

  .tfc-hero__title {
    font-size: 3.2rem;
  }
  
  .tfc-hero__breadcrumb {
    margin: 0;
  }
  
  .tfc-intro {
    padding: 40px 0 40px;
  }

  .tfc-intro__inner {
    padding: 0 15px;
  }

  .tfc-intro__text {
    font-size: 1.4rem;
    text-align: left;
  }

  .tfc-cases {
    padding: 40px 0 40px;
  }

  .tfc-cases__inner {
    padding: 0 15px;
  }
  
  .anchorTtl {
    background: url('../images/shared/icon_anchor.png') no-repeat left top 6px;
    background-size: 4rem auto;
    font-size: 2.4rem;
    padding: 1rem 0 1.5rem 5rem;
    margin-bottom: 2rem;
    line-height: 3rem;
  }

  .tfc-cases__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tfc-card__head {
    font-size: 1.5rem;
    padding: 12px 18px;
  }

  .tfc-card__img {
    height: 200px;
  }

  .tfc-card__body {
    padding: 18px;
    gap: 14px;
  }

  .tfc-card__desc {
    font-size: 1.3rem;
    line-height: 1.85;
  }

  .tfc-card--full {
    max-width: 100%;
  }
  
  .tfc-back-btn__link {
    width: calc(100% - 40px);
    font-size: 1.6rem;
    height: 80px;
  }
}
