* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f3ee;
  color: #211d19;
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", system-ui, sans-serif;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #e65722;
  outline-offset: 5px;
}
.site-header {
  position: relative;
  min-height: 100px;
  max-width: 1440px;
  margin: auto;
  padding: 24px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dcd5cc;
  gap: 25px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-size: 32px;
  letter-spacing: -1.7px;
  text-decoration: none;
  color: #171411;
}
.brand sup {
  font-size: 20px;
  align-self: flex-start;
  letter-spacing: 0;
}
.brand span {
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0;
  margin-left: 10px;
}
.site-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
}
.site-header nav a {
  text-decoration: none;
}
.book {
  display: inline-flex;
  background: #ee5421;
  color: white;
  border-radius: 50px;
  padding: 14px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.article {
  width: min(860px, calc(100% - 40px));
  margin: 60px auto 90px;
}
.back {
  color: #af3a10;
  font-size: 14px;
}
.article header {
  padding: 40px 0 30px;
}
.category {
  color: #af3a10;
  font-size: 13px;
  font-weight: 650;
}
.article h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.25;
  font-weight: 550;
  margin: 16px 0;
  letter-spacing: -1px;
}
.excerpt {
  font-size: 20px;
  line-height: 1.7;
  color: #675b50;
}
.byline,
.updated {
  font-size: 13px;
  color: #706359;
}
.cover {
  margin: 0 0 40px;
}
.cover img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.article-body {
  font-size: 18px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.article-body h2 {
  font-size: 30px;
  line-height: 1.4;
  margin: 56px 0 20px;
  font-weight: 550;
}
.article-body h3 {
  font-size: 23px;
  line-height: 1.5;
  margin: 32px 0 12px;
}
.article-body img {
  max-width: 100%;
  height: auto;
}
.article-body a {
  color: #ac3d17;
}
.article-body table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
  margin: 24px 0;
}
.article-body td,
.article-body th {
  border: 1px solid #d8cfc5;
  padding: 14px 20px;
  text-align: left;
  min-width: 130px;
}
.article-body th {
  background: #eee7df;
}
.article-body blockquote {
  border-left: 3px solid #ee5421;
  margin: 30px 0;
  padding: 10px 25px;
  background: #f0eae2;
}
.article-body pre {
  white-space: pre-wrap;
  background: #eee7df;
  padding: 20px;
}
.updated {
  text-align: right;
  margin: 44px 0;
}
.consult {
  background: #eee7df;
  border-radius: 20px;
  padding: 35px;
  margin: 60px 0;
}
.consult h2 {
  margin-top: 0;
}
.consult p {
  line-height: 1.7;
  color: #6d6055;
}
footer {
  max-width: 1320px;
  margin: auto;
  padding: 50px 5%;
  border-top: 1px solid #dcd5cc;
  font-size: 14px;
  color: #716459;
}
footer p {
  line-height: 1.8;
}
.journal {
  max-width: 1320px;
  padding: 70px 5%;
  margin: auto;
}
.journal h1 {
  font-size: 64px;
  font-weight: 450;
  letter-spacing: -2px;
  margin: 12px 0;
}
.journal-intro {
  font-size: 20px;
  color: #78685b;
  margin-bottom: 54px;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px 30px;
}
.journal-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #d9cfc5;
  padding-bottom: 28px;
}
.journal-card > img,
.no-cover {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 6px;
}
.no-cover {
  background: #e9dfd3;
  display: grid;
  place-items: center;
  color: #7d6f61;
  font-size: 28px;
}
.journal-card time {
  font-size: 12px;
  color: #78695b;
  display: block;
  margin-top: 22px;
}
.journal-card h2 {
  font-size: 23px;
  line-height: 1.5;
  font-weight: 550;
  margin: 12px 0;
}
.journal-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #776759;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.journal-card:hover h2 {
  color: #b23c13;
}
.pagination {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin: 60px 0;
}
.preview-notice {
  background: #24201b;
  color: white;
  text-align: center;
  padding: 14px;
  font-size: 14px;
}
@media (max-width: 760px) {
  .site-header {
    padding: 20px;
    min-height: 84px;
  }
  .brand {
    font-size: 27px;
  }
  .brand span {
    display: none;
  }
  .site-header nav {
    gap: 15px;
  }
  .site-header nav > a:first-child {
    display: none;
  }
  .book {
    padding: 12px 17px;
  }
  .article {
    margin-top: 30px;
  }
  .article h1 {
    letter-spacing: 0;
  }
  .article header {
    padding-top: 28px;
  }
  .article-body {
    font-size: 17px;
  }
  .journal {
    padding: 45px 20px;
  }
  .journal h1 {
    font-size: 46px;
  }
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .journal-intro {
    font-size: 17px;
  }
  .consult {
    padding: 25px;
  }
  .article-body h2 {
    font-size: 26px;
  }
  .article-body h3 {
    font-size: 21px;
  }
}
.site-header nav.site-navigation {
  gap: 22px;
  font-size: 12px;
}
.site-nav-section {
  position: relative;
}
.site-nav-section summary {
  cursor: pointer;
  list-style: none;
}
.site-nav-section summary::-webkit-details-marker {
  display: none;
}
.site-nav-section > div {
  position: absolute;
  top: 30px;
  left: -18px;
  min-width: 230px;
  max-height: 65vh;
  overflow-y: auto;
  background: #fffaf4;
  border: 1px solid #dfd0bc;
  padding: 12px 8px;
  border-radius: 8px;
  box-shadow: 0 10px 25px #49351c15;
  z-index: 20;
}
.site-nav-section > div > a {
  display: block;
  padding: 10px 14px;
  line-height: 1.6;
}
.site-nav-section > div > a:hover {
  background: #efe1cd;
  color: #b84618;
}
@media (max-width: 1150px) {
  .site-header nav.site-navigation {
    gap: 14px;
    font-size: 11px;
  }
  .site-navigation > .site-nav-section:nth-child(n + 5) {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header nav.site-navigation {
    gap: 18px;
  }
  .site-navigation > .site-nav-section {
    display: none;
  }
  .site-nav-section > div {
    left: auto;
    right: 0;
  }
}

.article-body iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
.article-body figcaption {
  font-size: 13px;
  color: #77634b;
  text-align: center;
  margin-top: 10px;
}
.journal-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 35px;
}
.journal-topics a {
  border: 1px solid #dac8af;
  border-radius: 30px;
  padding: 9px 15px;
  font-size: 12px;
  text-decoration: none;
  color: #8c6b43;
}
.journal-topics a[aria-current="page"] {
  background: #e8dac5;
  color: #6f4e26;
  border-color: #d6bd99;
}
.journal-topics a:hover {
  color: #af3c10;
  border-color: #c97842;
}
.site-mobile-nav {
  display: none;
}
.site-mobile-nav > summary {
  cursor: pointer;
  list-style: none;
  font-size: 23px;
}
.site-mobile-nav > summary::-webkit-details-marker {
  display: none;
}
.site-mobile-nav > div {
  position: absolute;
  top: calc(100% + 8px);
  left: 15px;
  right: 15px;
  max-height: 75dvh;
  overflow: auto;
  background: #fffaf4;
  border: 1px solid #d9c8af;
  box-shadow: 0 12px 35px #56381722;
  border-radius: 10px;
  padding: 20px;
  z-index: 30;
}
.site-mobile-nav section {
  padding: 10px 0 15px;
  border-bottom: 1px solid #e5d6c0;
}
.site-mobile-nav strong {
  display: block;
  color: #a35b25;
  font-size: 13px;
  margin-bottom: 10px;
}
.site-mobile-nav section a {
  display: block;
  font-size: 13px;
  padding: 8px 0;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .site-mobile-nav {
    display: block;
  }
  .site-header nav.site-navigation {
    gap: 20px;
  }
}

@media (max-width: 1150px) {
  .site-mobile-nav {
    display: block;
  }
}
