@charset "utf-8";

/* =========================================================
   TOPページ「固定IP VPNを正しく選ぶために知っておきたいこと」
   既存CSSとの衝突を避けるため、追加要素は fip-knowledge 接頭辞で統一
   ========================================================= */

.c-sec--knowledge {
  --fip-main: #087486;
  --fip-dark: #183b56;
  --fip-accent: #f39800;
  --fip-pale: #ECECF1;
  --fip-line: #cfe2e7;
  background: var(--fip-pale);
}

.fip-knowledge,
.fip-knowledge * {
  box-sizing: border-box;
}

.fip-knowledge a {
  color: inherit;
  text-decoration: none;
}

.fip-knowledge__featured {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 30px 34px;
  border: 2px solid var(--fip-main);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 59, 86, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fip-knowledge__featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(24, 59, 86, 0.14);
}

.fip-knowledge__featured:focus-visible,
.fip-knowledge__card:focus-visible {
  outline: 3px solid var(--fip-accent);
  outline-offset: 4px;
}

.fip-knowledge__featured-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--fip-main);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.fip-knowledge__featured-body,
.fip-knowledge__card {
  display: flex;
  flex-direction: column;
}

.fip-knowledge__label {
  margin-bottom: 8px;
  color:#009678;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fip-knowledge__title {
  color: var(--fip-dark);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
}

.fip-knowledge__text {
  margin-top: 12px;
  color: #3e4c59;
  font-size: 16px;
  line-height: 1.9;
}

.fip-knowledge__more {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 8px;
  margin-top: 16px;
  color: #009678;
  font-size: 15px;
  font-weight: 700;
}

.fip-knowledge__more::after {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.fip-knowledge__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.fip-knowledge__card {
  position: relative;
  min-height: 100%;
  padding: 28px 24px 24px;
  overflow: hidden;
  border: 1px solid var(--fip-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(24, 59, 86, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fip-knowledge__card:hover {
  transform: translateY(-3px);
  border-color: var(--fip-main);
  box-shadow: 0 10px 24px rgba(24, 59, 86, 0.12);
}

.fip-knowledge__number {
  position: absolute;
  top: 16px;
  right: 18px;
  color:#ECECF1;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.fip-knowledge__card .fip-knowledge__label {
  padding-right: 42px;
}

.fip-knowledge__card .fip-knowledge__title {
  font-size: var(--fs-4);
}

.fip-knowledge__card .fip-knowledge__text {
  flex-grow: 1;
  font-size: 16px;
}
/* h2背面の黄緑色の丸 */
.c-sec--knowledge .c-h2-wrap {
  position: relative;
  z-index: 0;
}

.c-sec--knowledge .c-h2-wrap::before {
  position: absolute;
	top: 50%;
    left: 50%;
    z-index: -1;
    width: 22rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--acc);
    transform: translate(-50%, -50%);
  content: "";
}

@media (max-width: 768px) {
  .c-sec--knowledge .c-h2-wrap::before {
    width: 14rem;
  }
}

@media (max-width: 900px) {
  .fip-knowledge__grid {
    grid-template-columns: 1fr;
  }

  .fip-knowledge__card {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .fip-knowledge__featured {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 18px;
  }

  .fip-knowledge__featured-icon {
    align-self: start;
    width: 58px;
    height: 58px;
    font-size: 18px;
  }

  .fip-knowledge__title {
    font-size: 19px;
  }

  .fip-knowledge__text {
    font-size: 14px;
    line-height: 1.8;
  }

  .fip-knowledge__card {
    padding: 24px 18px 20px;
  }

  .fip-knowledge__card .fip-knowledge__title {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fip-knowledge__featured,
  .fip-knowledge__card {
    transition: none;
  }
}



/*----------------------------------------------------
    PCサイトcss
----------------------------------------------------*/
@media screen and (min-width: 768px) {
/*/////////////PC用のCSSをここに作成してください。/////////////*/
/*/////////////必ず中括弧の中に作成してください。/////////////*/


}



/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/
@media screen and (max-width: 767px) {
/*/////////////SP用のCSSをここに作成してください。/////////////*/
/*/////////////必ず中括弧の中に作成してください。/////////////*/


}