:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #647286;
  --line: #dde5ec;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --brand: #1f8f83;
  --brand-dark: #10645d;
  --accent: #e28a2e;
  --accent-soft: #fff6ea;
  --shadow: 0 18px 45px rgba(24, 36, 51, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f7f7;
  line-height: 1.8;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e8edf1;
  position: static;
}

.header-inner,
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-direction: column;
  padding: 14px 0 12px;
}

.logo {
  font-weight: 800;
  font-size: 27px;
  letter-spacing: 0;
  color: var(--brand-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  border-top: 1px solid #edf1f4;
  width: 100%;
  justify-content: center;
  padding-top: 10px;
}

.nav a:hover {
  color: var(--brand);
}

.top-pr {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #178477;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.blog-layout {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 748px) 310px;
  gap: 28px;
  align-items: start;
}

.main-column {
  min-width: 0;
}

.post-shell {
  background: #fff;
  border: 1px solid #edf1f4;
  padding: 28px;
}

.post-title {
  margin: 0 0 8px;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.35;
  letter-spacing: 0;
}

.post-author {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.hero-figure {
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: url("./eyecatch-phone.jpg");
  background-size: cover;
  background-position: center right;
  position: relative;
  margin: 16px 0 18px;
  overflow: hidden;
}

.hero-figure::after {
  content: none;
}

.hero-figure.watch {
  background: url("./eyecatch-watch.jpg");
  background-size: cover;
  background-position: center right;
}

.author-talk {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
  margin: 24px 0;
}

.author-icon {
  width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  background:
    radial-gradient(circle at 50% 34%, #ffe1ba 0 20%, transparent 21%),
    radial-gradient(circle at 50% 100%, var(--brand) 0 45%, transparent 46%),
    #e9f4f3;
}

.speech {
  border: 1px solid #dfe7ed;
  border-radius: 7px;
  padding: 14px 16px;
  background: #fbfdfe;
  color: var(--muted);
  position: relative;
}

.speech::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 22px;
  width: 14px;
  height: 14px;
  background: #fbfdfe;
  border-left: 1px solid #dfe7ed;
  border-bottom: 1px solid #dfe7ed;
  transform: rotate(45deg);
}

.dokoblog-toc {
  border: 1px solid #dce6ec;
  background: #fbfdfe;
  padding: 20px 24px;
  margin: 32px auto;
  width: min(520px, 100%);
}

.dokoblog-toc strong {
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

.dokoblog-toc a {
  display: block;
  color: var(--brand-dark);
  padding: 4px 0;
  font-weight: 700;
}

.post-section h2 {
  margin: 48px 0 18px;
  padding: 13px 16px;
  border-left: 0;
  background: var(--brand);
  color: #fff;
  font-size: 23px;
  line-height: 1.45;
}

.post-section h3 {
  margin: 34px 0 13px;
  padding: 0 0 8px;
  border-bottom: 3px solid var(--brand);
  font-size: 20px;
}

.category-tiles,
.stage-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 18px 0 28px;
}

.stage-tiles {
  grid-template-columns: repeat(3, 1fr);
}

.image-tile {
  min-height: 154px;
  border-radius: 3px;
  border: 1px solid #dfe8ee;
  background:
    linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.88)),
    url("./eyecatch-watch.jpg"),
    linear-gradient(135deg, #e3f4f2, #fff3e6);
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-weight: 800;
  color: var(--brand-dark);
  position: relative;
  overflow: hidden;
}

.image-tile:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.88)),
    url("./eyecatch-phone.jpg"),
    linear-gradient(135deg, #e3f4f2, #fff3e6);
  background-size: cover;
  background-position: center right;
}

.image-tile::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(31, 143, 131, .22);
  border-radius: 2px;
}

.image-tile:hover,
.link-card:hover {
  transform: translateY(-2px);
  transition: 0.18s ease;
  border-color: rgba(31, 143, 131, .42);
}

.image-tile span {
  position: relative;
  z-index: 1;
}

.sidebar {
  display: grid;
  gap: 18px;
}

.side-widget {
  border: 1px solid #e1e8ee;
  border-radius: 3px;
  background: #fff;
  padding: 18px 18px 20px;
}

.side-widget h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand);
  font-size: 17px;
}

.side-widget p {
  color: var(--muted);
  font-size: 14px;
}

.side-list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 14px;
}

.side-list li {
  margin: 8px 0;
}

.side-widget .author-icon {
  margin: 4px auto 12px;
}

.book-box {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
  margin: 20px 0;
}

.book-cover {
  width: min(240px, 100%);
  aspect-ratio: 4 / 5.6;
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #fff, #eaf7f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-weight: 800;
  text-align: center;
  padding: 20px;
}

.hero {
  background:
    linear-gradient(120deg, rgba(13, 61, 66, 0.95), rgba(20, 92, 89, 0.78)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='720' viewBox='0 0 1400 720'%3E%3Crect width='1400' height='720' fill='%23d9e9ec'/%3E%3Cg opacity='.45'%3E%3Crect x='120' y='120' width='420' height='260' rx='10' fill='%23ffffff'/%3E%3Crect x='165' y='160' width='260' height='18' rx='9' fill='%2389aeb4'/%3E%3Crect x='165' y='205' width='310' height='12' rx='6' fill='%23b4cbd0'/%3E%3Crect x='165' y='235' width='250' height='12' rx='6' fill='%23b4cbd0'/%3E%3Crect x='165' y='285' width='170' height='46' rx='23' fill='%23d9822b'/%3E%3Crect x='760' y='95' width='410' height='510' rx='16' fill='%23ffffff'/%3E%3Crect x='810' y='150' width='280' height='22' rx='11' fill='%2389aeb4'/%3E%3Crect x='810' y='205' width='300' height='14' rx='7' fill='%23b4cbd0'/%3E%3Crect x='810' y='240' width='235' height='14' rx='7' fill='%23b4cbd0'/%3E%3Crect x='810' y='300' width='250' height='160' rx='10' fill='%23e9f1f3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-inner {
  min-height: 460px;
  display: grid;
  align-items: center;
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f8d9b6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1,
.article-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 0 0 28px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 18px;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(164, 91, 30, 0.22);
}

.button.secondary {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid rgba(31, 143, 131, .35);
  box-shadow: none;
}

.section {
  padding: 48px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-title h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
}

.card,
.article-card,
.profile-box,
.toc,
.note-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card {
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3,
.article-card h3 {
  margin: 0 0 10px;
  line-height: 1.45;
  font-size: 22px;
}

.card p,
.article-card p {
  color: var(--muted);
  margin: 0;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #e8f2f1;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 12px;
}

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-link {
  display: block;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-link strong {
  display: block;
  line-height: 1.45;
}

.mini-link span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  min-height: 270px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card:hover,
.mini-link:hover {
  border-color: rgba(26, 111, 111, 0.5);
  transform: translateY(-2px);
  transition: 0.18s ease;
}

.readmore {
  margin-top: 22px;
  color: var(--brand-dark);
  font-weight: 800;
}

.profile-band {
  background: #eaf3f3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-box {
  padding: 26px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
}

.avatar {
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #ffe1ba 0 18%, transparent 19%),
    radial-gradient(circle at 50% 98%, #1a6f6f 0 44%, transparent 45%),
    #c9dfe2;
}

.profile-box h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.profile-box p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  color: var(--muted);
  font-size: 13px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.article-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 54px 0 34px;
}

.article-eyecatch {
  width: min(900px, calc(100% - 32px));
  aspect-ratio: 16 / 9;
  margin: 28px auto 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: url("./eyecatch-phone.jpg");
  background-size: cover;
  background-position: center right;
}

.article-eyecatch.watch {
  background: url("./eyecatch-watch.jpg");
  background-size: cover;
  background-position: center right;
}

.article-hero h1 {
  color: var(--ink);
  max-width: 900px;
  font-size: clamp(30px, 5vw, 52px);
}

.article-wrap {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.article-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 5vw, 48px);
}

.article-body h2 {
  margin: 42px 0 12px;
  font-size: 27px;
  line-height: 1.4;
  border-left: 5px solid var(--brand);
  padding-left: 14px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 28px 0 8px;
  font-size: 21px;
  line-height: 1.45;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.3em;
}

.article-body li {
  margin: 8px 0;
}

.toc,
.note-box {
  padding: 18px 20px;
  margin: 24px 0;
}

.toc strong,
.note-box strong {
  display: block;
  margin-bottom: 8px;
}

.toc a {
  display: block;
  color: var(--brand-dark);
  font-weight: 700;
  margin: 4px 0;
}

.note-box {
  background: var(--accent-soft);
  border-color: #f0c89e;
}

.pr-note {
  padding: 10px 12px;
  margin: 18px 0;
  border-radius: 3px;
  background: #fafafa;
  border: 1px solid #e5eaee;
  color: var(--muted);
  font-size: 13px;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 15px;
}

.summary-table th,
.summary-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  vertical-align: top;
}

.summary-table th {
  width: 28%;
  background: #f0f6f6;
  color: var(--brand-dark);
  text-align: left;
}

.cta-box {
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid rgba(31, 143, 131, 0.3);
  border-radius: 3px;
  background: #f3faf9;
}

.cta-box strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.cta-box p {
  color: var(--muted);
}

.link-card {
  display: block;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #dfe8ee;
  border-radius: 3px;
  background: #fbfdfe;
}

.link-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.article-nav a {
  flex: 1 1 260px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  color: var(--brand-dark);
}

@media (max-width: 850px) {
  .header-inner {
    align-items: center;
    flex-direction: column;
    padding: 14px 0;
    gap: 10px;
  }

  .nav {
    width: 100%;
    overflow-x: visible;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 10px 8px 6px;
    white-space: normal;
  }

  .hero-inner {
    min-height: 430px;
    padding: 56px 0;
  }

  .feature-grid,
  .article-grid,
  .profile-box {
    grid-template-columns: 1fr;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-card {
    min-height: auto;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .category-tiles,
  .stage-tiles {
    grid-template-columns: 1fr;
  }

  .hero-figure::after {
    left: 18px;
    max-width: 55%;
  }

  .post-shell {
    padding: 20px;
  }

  .post-title {
    font-size: 28px;
  }
}
