:root {
  --mlh-navy: #0f1b2e;
  --mlh-ink: #16233a;
  --mlh-muted: #5b677a;
  --mlh-line: #e4e9f0;
  --mlh-soft: #f5f7fa;
  --mlh-blue: #1b6fd4;
  --mlh-green: #12866b;
  --mlh-orange: #c96a22;
}

/* 固定ページでは記事向けの日時・投稿者情報を表示しない。 */
body.mono-log-utility-page .date-tags,
body.mono-log-utility-page .post-date,
body.mono-log-utility-page .post-update,
body.mono-log-utility-page .author-box,
body.mono-log-utility-page .author-info,
body.mono-log-utility-page .footer-post-meta .author {
  display: none !important;
}

body.mono-log-home-page #sidebar,
body.mono-log-home-page .entry-title,
body.mono-log-home-page .date-tags,
body.mono-log-home-page .breadcrumb,
body.mono-log-home-page .sns-share,
body.mono-log-home-page .sns-follow,
body.mono-log-home-page .author-box,
body.mono-log-home-page .entry-footer,
body.mono-log-home-page .post-page-numbers {
  display: none !important;
}

body.mono-log-home-page #footer,
body.mono-log-home-page .footer-bottom {
  display: none !important;
}

body.mono-log-home-page #main,
body.mono-log-home-page .main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.mono-log-home-page .article,
body.mono-log-home-page .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

body.mono-log-home-page #content,
body.mono-log-home-page .content-in {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.mlh,
.mlh * {
  box-sizing: border-box;
}

.mlh {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: var(--mlh-ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
}

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

/* Cocoonの記事本文用装飾を、専用トップページ内ではリセットする。 */
.mlh .toc,
.mlh .toc-container {
  display: none !important;
}

.mlh h1,
.mlh h2,
.mlh h3 {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mlh h1::before,
.mlh h1::after,
.mlh h2::before,
.mlh h2::after,
.mlh h3::before,
.mlh h3::after {
  display: none !important;
}

.mlh-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.mlh-eyebrow {
  margin: 0 0 18px;
  color: #71809a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
}

.mlh-hero {
  position: relative;
  color: #fff;
  background: var(--mlh-navy);
}

.mlh-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
  min-height: 510px;
  padding-block: clamp(64px, 7vw, 92px) clamp(94px, 9vw, 126px);
}

.mlh-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .015em;
}

.mlh-hero__lead {
  max-width: 35em;
  margin: 26px 0 0;
  color: #aeb9ca;
  font-size: 15px;
  line-height: 2;
}

.mlh-search {
  display: flex;
  width: min(100%, 430px);
  height: 46px;
  margin-top: 30px;
  border: 1px solid #2e405c;
  background: #152641;
}

.mlh-search input {
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 14px;
}

.mlh-search input::placeholder {
  color: #8290a7;
}

.mlh-search button {
  width: 72px;
  border: 0;
  color: #fff;
  background: #243a5b;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.mlh-search button:hover,
.mlh-search button:focus-visible {
  background: var(--mlh-blue);
}

.mlh-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border: 1px solid #2a3e5e;
  background:
    linear-gradient(135deg, rgba(255,255,255,.035) 25%, transparent 25%) 0 0 / 36px 36px,
    #142640;
}

.mlh-wordmark {
  width: min(74%, 360px);
  color: #fff;
  text-align: center;
}

.mlh-wordmark > span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 68px);
  line-height: .95;
  letter-spacing: .16em;
}

.mlh-wordmark__lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 5px;
  margin: 28px 0 18px;
}

.mlh-wordmark__lines i:nth-child(1) { background: var(--mlh-blue); }
.mlh-wordmark__lines i:nth-child(2) { background: var(--mlh-green); }
.mlh-wordmark__lines i:nth-child(3) { background: var(--mlh-orange); }

.mlh-wordmark small {
  color: #8191ab;
  font-size: 10px;
  letter-spacing: .22em;
}

.mlh-feature {
  position: relative;
  z-index: 2;
  margin-top: clamp(-72px, -6vw, -48px);
}

.mlh .mlh-feature__card {
  position: relative;
  display: block !important;
  overflow: hidden;
  border: 1px solid var(--mlh-line);
  border-left: 5px solid var(--mlh-blue);
  background: #fff;
  box-shadow: 0 18px 52px rgba(15, 27, 46, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.mlh .mlh-feature__card::after {
  position: absolute;
  right: clamp(24px, 5vw, 70px);
  bottom: -22px;
  content: "PICK UP";
  color: rgba(27, 111, 212, .055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 9vw, 122px);
  font-weight: 700;
  letter-spacing: .04em;
  pointer-events: none;
}

.mlh-feature__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(15, 27, 46, .16);
}

.mlh-feature__body {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  max-width: 940px;
  padding: clamp(34px, 4vw, 52px) clamp(28px, 5vw, 68px);
}

.mlh-feature__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: #7b8798;
  font-size: 12px;
}

.mlh-chip {
  padding: 5px 10px;
  color: #fff;
  background: var(--mlh-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.mlh-feature h2 {
  margin: 0 0 16px;
  color: var(--mlh-ink);
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.55;
}

.mlh-feature h2 a {
  color: var(--mlh-ink) !important;
  text-decoration: none !important;
}

.mlh-feature h2 a:hover,
.mlh-feature h2 a:focus-visible {
  color: var(--mlh-blue) !important;
}

.mlh-feature__body > p {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--mlh-muted);
  font-size: 14px;
  line-height: 1.95;
}

.mlh-more {
  align-self: flex-start;
  color: var(--mlh-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none !important;
}

.mlh-categories {
  padding-block: clamp(56px, 5vw, 72px) clamp(80px, 8vw, 116px);
}

.mlh-latest {
  padding-block: clamp(80px, 8vw, 116px);
}

.mlh-section-heading {
  margin-bottom: 30px;
}

.mlh-section-heading h2 {
  margin: 0;
  color: var(--mlh-ink);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
}

.mlh-section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.mlh-section-heading--row > a {
  color: var(--mlh-muted);
  font-size: 13px;
}

.mlh-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--mlh-line);
}

.mlh-category {
  position: relative;
  display: block;
  min-height: 320px;
  padding: 38px 32px 58px;
  border-right: 1px solid var(--mlh-line);
  border-bottom: 4px solid currentColor;
  background: #fff;
  transition: background .2s ease, transform .2s ease;
}

.mlh-category:first-child {
  border-left: 1px solid var(--mlh-line);
}

.mlh-category:hover {
  transform: translateY(-3px);
  background: #f8fafc;
}

.mlh-category--security { color: var(--mlh-blue) !important; }
.mlh-category--ai { color: var(--mlh-green) !important; }
.mlh-category--gadget { color: var(--mlh-orange) !important; }

.mlh-category__number {
  display: block;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
}

.mlh-category h3 {
  margin: 0 0 12px;
  color: var(--mlh-ink);
  font-size: 22px;
  line-height: 1.45;
}

.mlh-category p {
  margin: 0;
  color: var(--mlh-muted);
  font-size: 13px;
  line-height: 1.9;
}

.mlh-category__count {
  position: absolute;
  right: 28px;
  bottom: 22px;
  font-size: 12px;
  font-weight: 700;
}

.mlh-latest {
  padding-top: 0;
}

.mlh-latest__list {
  border-top: 1px solid var(--mlh-line);
}

.mlh-latest__item {
  display: grid;
  grid-template-columns: 100px 140px 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 26px 18px;
  border-bottom: 1px solid var(--mlh-line);
  transition: background .2s ease;
}

.mlh-latest__item:hover {
  background: var(--mlh-soft);
}

.mlh-latest__item time {
  color: #8792a3;
  font-size: 12px;
  letter-spacing: .04em;
}

.mlh-latest__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.mlh-text--security { color: var(--mlh-blue); }
.mlh-text--ai { color: var(--mlh-green); }
.mlh-text--gadget { color: var(--mlh-orange); }
.mlh-text--default { color: var(--mlh-muted); }

.mlh-latest__item h3 {
  margin: 0;
  color: var(--mlh-ink);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.mlh-about {
  border-top: 1px solid var(--mlh-line);
  background: var(--mlh-soft);
}

.mlh-about__inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
  padding-block: clamp(58px, 7vw, 90px);
}

.mlh-about__mark {
  display: grid;
  width: 124px;
  height: 124px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--mlh-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
}

.mlh-about__mark::after {
  position: absolute;
  content: "";
}

.mlh-about__body h2 {
  margin: 0 0 16px;
  color: var(--mlh-ink);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 3vw, 36px);
}

.mlh-about__body > p:not(.mlh-eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #41506a;
  font-size: 15px;
  line-height: 2;
}

.mlh-about__links {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.mlh-about__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--mlh-ink);
  font-size: 14px;
}

.mlh-about__links .mlh-button {
  color: #fff;
  background: var(--mlh-ink);
}

.mlh-about__links a:hover {
  color: #fff;
  background: var(--mlh-blue);
  border-color: var(--mlh-blue);
}

.mlh-footer {
  padding: clamp(54px, 6vw, 78px) 0 28px;
  color: #c7d0de;
  background: var(--mlh-navy);
}

.mlh-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid #273851;
}

.mlh-footer__logo {
  margin: 0 !important;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: .03em;
}

.mlh-footer__lines {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  height: 3px;
  margin: 14px 0 18px;
}

.mlh-footer__lines i:nth-child(1) { background: var(--mlh-blue); }
.mlh-footer__lines i:nth-child(2) { background: var(--mlh-green); }
.mlh-footer__lines i:nth-child(3) { background: var(--mlh-orange); }

.mlh-footer__brand > p:last-child {
  max-width: 29em;
  margin: 0;
  color: #8f9db2;
  font-size: 13px;
  line-height: 1.9;
}

.mlh-footer__heading {
  margin: 0 0 18px !important;
  color: #6f7f98;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.mlh-footer ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.mlh-footer li {
  margin: 0 0 12px !important;
}

.mlh-footer li::before {
  display: none !important;
}

.mlh-footer li a {
  color: #c7d0de;
  font-size: 13px;
}

.mlh-footer li a:hover,
.mlh-footer li a:focus-visible {
  color: #fff;
}

.mlh-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  color: #6f7f98;
  font-size: 11px;
}

.mlh-footer__bottom p {
  margin: 0;
}

.mlh-footer__bottom a {
  color: #91a0b6;
}

@media (max-width: 860px) {
  .mlh-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 56px 96px;
  }

  .mlh-hero__visual {
    width: min(100%, 540px);
  }

  .mlh-categories__grid {
    grid-template-columns: 1fr;
  }

  .mlh-category {
    min-height: 240px;
    border-left: 1px solid var(--mlh-line);
  }

  .mlh-latest__item {
    grid-template-columns: 94px 1fr;
  }

  .mlh-latest__item h3 {
    grid-column: 1 / -1;
  }

  .mlh-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .mlh-shell {
    width: min(100% - 28px, 1180px);
  }

  .mlh-hero__inner {
    gap: 32px;
    padding-block: 44px 76px;
  }

  .mlh-hero h1 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .mlh-hero__lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .mlh-hero__visual {
    aspect-ratio: 16 / 9;
  }

  .mlh-wordmark > span {
    font-size: clamp(28px, 9vw, 40px);
  }

  .mlh-wordmark__lines {
    margin: 18px 0 14px;
  }

  .mlh-feature {
    margin-top: -46px;
  }

  .mlh-feature__body {
    padding: 26px 22px 30px;
  }

  .mlh-feature__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .mlh-categories,
  .mlh-latest {
    padding-block: 68px;
  }

  .mlh-category {
    min-height: 220px;
    padding: 30px 28px 50px;
  }

  .mlh-category__number {
    margin-bottom: 18px;
    font-size: 40px;
  }

  .mlh-latest {
    padding-top: 0;
  }

  .mlh-section-heading--row {
    align-items: flex-start;
  }

  .mlh-latest__item {
    grid-template-columns: 86px 1fr;
    gap: 10px 14px;
    padding-inline: 4px;
  }

  .mlh-about__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 50px 56px;
  }

  .mlh-about__mark {
    width: 86px;
    height: 86px;
    font-size: 34px;
  }

  .mlh-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
    padding-bottom: 34px;
  }

  .mlh-footer__brand {
    grid-column: 1 / -1;
  }

  .mlh-footer nav:last-child {
    grid-column: 1 / -1;
  }

  .mlh-footer nav:last-child ul {
    display: flex;
    gap: 14px 24px;
    flex-wrap: wrap;
  }

  .mlh-footer nav:last-child li {
    margin-bottom: 0 !important;
  }

  .mlh-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mlh-footer {
    padding-bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mlh *,
  .mlh *::before,
  .mlh *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
