/* トップページ(Entamec の運営サイトの入口)。色と余白はセキュリティ トピックスにそろえる */
:root {
  --pt-ink: #1b2433; --pt-ink-2: #4b5563; --pt-muted: #8b919c; --pt-line: #e5e7eb; --pt-soft: #f5f7f8;
  --pt-navy: #16325c; --pt-accent: #0f766e;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--pt-ink); font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; font-feature-settings: "palt"; letter-spacing: .02em; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.pt-wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.pt-eyebrow { margin: 0 0 8px; font-family: Inter, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--pt-accent); }

.pt-header { border-bottom: 1px solid var(--pt-line); }
.pt-header__inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; min-height: 68px; flex-wrap: wrap; }
.pt-logo { font-family: Inter, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .02em; color: var(--pt-navy); text-decoration: none; }
.pt-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.pt-nav a { font-size: 14px; font-weight: 500; text-decoration: none; }
.pt-nav a:hover { color: var(--pt-accent); }

.pt-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.pt-hero h1 { margin: 0 0 20px; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.4; letter-spacing: .05em; }
.pt-hero__lead { margin: 0 0 28px; font-size: 15.5px; line-height: 2.05; color: var(--pt-ink-2); }
.pt-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pt-hero__img { width: 100%; border-radius: 16px; }
.pt-btn { display: inline-flex; align-items: center; gap: .6em; padding: 13px 26px; border: 1px solid var(--pt-navy); border-radius: 999px; background: var(--pt-navy); color: #fff; font-weight: 700; font-size: 14.5px; line-height: 1.3; text-decoration: none; }
.pt-btn:hover { opacity: .88; }
.pt-btn--ghost { background: #fff; color: var(--pt-navy); }

.pt-sec { padding-top: 56px; padding-bottom: 56px; }
.pt-sec--soft { margin: 24px 0; background: var(--pt-soft); }
.pt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.pt-head h2, .pt-about h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: .05em; line-height: 1.5; }
.pt-more { display: inline-flex; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-weight: 700; font-size: 14px; text-decoration: none; align-self: flex-start; }
.pt-more:hover { color: var(--pt-accent); }

.pt-news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pt-line); }
.pt-news li { border-bottom: 1px solid var(--pt-line); }
.pt-news a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 2px 20px; padding: 18px 4px; text-decoration: none; }
.pt-news time { grid-row: span 2; font-family: Inter, sans-serif; font-size: 13px; color: var(--pt-muted); padding-top: 3px; }
.pt-news strong { font-size: 16px; line-height: 1.6; }
.pt-news span { font-size: 13.5px; line-height: 1.8; color: var(--pt-ink-2); }
.pt-news a:hover strong { color: var(--pt-accent); }

.pt-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border: 1px solid var(--pt-line); border-radius: 16px; overflow: hidden; text-decoration: none; }
.pt-feature:hover { border-color: #cfd4da; }
.pt-feature img { width: 100%; height: 100%; object-fit: cover; }
.pt-feature__body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 36px 40px; }
.pt-feature__body strong { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; letter-spacing: .05em; }
.pt-feature__body > span:not(.pt-label):not(.pt-more) { font-size: 14.5px; line-height: 1.95; color: var(--pt-ink-2); }
.pt-label { align-self: flex-start; padding: 2px 12px; border-radius: 4px; background: var(--pt-navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; }

.pt-sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pt-site { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--pt-line); }
.pt-site__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pt-site__body { padding: 22px 24px 24px; }
.pt-site h3 { margin: 0 0 6px; font-size: 19px; }
.pt-site h3 a { text-decoration: none; }
.pt-site h3 a:hover, .pt-site__posts a:hover { color: var(--pt-accent); }
.pt-site p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--pt-ink-2); }
.pt-site__posts { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--pt-line); }
.pt-site__posts li { border-bottom: 1px solid var(--pt-line); }
.pt-site__posts a { display: block; padding: 9px 0; font-size: 13.5px; line-height: 1.6; text-decoration: none; }

.pt-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pt-tile { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.pt-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin-bottom: 10px; border: 1px solid var(--pt-line); }
.pt-tile strong { font-size: 16px; }
.pt-tile span { font-size: 13px; color: var(--pt-ink-2); }
.pt-tile:hover strong { color: var(--pt-accent); }

.pt-about p { margin: 16px 0 0; max-width: 820px; font-size: 14.5px; line-height: 2; color: var(--pt-ink-2); }

.pt-footer { margin-top: 40px; padding: 48px 0 28px; background: var(--pt-navy); color: #c7d0dd; font-size: 13px; }
.pt-footer a { color: #dbe3ee; text-decoration: none; }
.pt-footer a:hover { color: #fff; text-decoration: underline; }
.pt-footer__logo { margin: 0 0 14px; font-family: Inter, sans-serif; font-weight: 700; font-size: 20px; color: #fff; }
.pt-footer ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.pt-footer__credits { margin: 20px 0 0; color: #9fb0c8; font-size: 12px; }
.pt-footer__copy { margin: 6px 0 0; color: #9fb0c8; }

@media (max-width: 900px) {
  .pt-hero__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
  .pt-hero__img { order: -1; }
  .pt-sites { grid-template-columns: 1fr; }
  .pt-feature { grid-template-columns: 1fr; }
  .pt-feature__body { padding: 24px 22px 28px; }
}
@media (max-width: 600px) {
  .pt-sec { padding-top: 40px; padding-bottom: 40px; }
  .pt-tiles { grid-template-columns: 1fr; }
  .pt-news a { grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; }
  .pt-pc { display: none; }
  .pt-news time { grid-row: auto; padding-top: 0; }
  .pt-nav { gap: 16px; }
}
