/*
 * YUKEMULI
 * トップ以外のページ (イベント・一覧・404 など)。
 * もとは Hugo の lanyon テーマだったが、トップ (css/top.css) の夜の配色に寄せて作り直した。
 */

:root {
  /* css/top.css と同じ値 */
  --night: #141a23;
  --night-2: #1c2531;
  --line: rgba(255, 255, 255, .16);
  --text: #f4f1ec;
  --muted: rgba(244, 241, 236, .64);
  --sunset: #f0a65a;
}

/* ベース */

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
html {
  font-size: 16px;
  line-height: 1.7;
}
@media (min-width: 38em) {
  html {
    font-size: 17px;
  }
}
body {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text);
  background-color: var(--night);
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--sunset);
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
  text-underline-offset: .2em;
}
a strong {
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}
h1 {
  font-size: 2rem;
  letter-spacing: .02em;
}
/* 見出しはトップの h2 と同じく、小さく字間を空けて夕焼け色 */
h2 {
  margin: 3.5rem 0 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  letter-spacing: .3em;
  color: var(--sunset);
}
h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}
strong {
  color: var(--text);
}
ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
}

blockquote {
  padding: .5rem 1rem;
  margin: .8rem 0;
  color: var(--muted);
  border-left: 2px solid var(--line);
}
blockquote p:last-child {
  margin-bottom: 0;
}

img {
  display: block;
  max-width: 100%;
  margin: 0 0 1rem;
  border-radius: 4px;
}

table {
  margin-bottom: 1rem;
  width: 100%;
  border: 1px solid var(--line);
  border-collapse: collapse;
}
td,
th {
  padding: .25rem .5rem;
  border: 1px solid var(--line);
}
tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
  background-color: var(--night-2);
}

/* レイアウト */

.container {
  max-width: 760px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
}

/* ヘッダー: 左にサイト名、右にリンク */
.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}
.masthead-title {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--text);
}
.masthead-nav {
  display: flex;
  gap: 1.75em;
}
.masthead-nav a {
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--muted);
}
.masthead-nav a:hover,
.masthead-nav a:focus,
.masthead-nav a[aria-current] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--sunset);
  text-underline-offset: .5em;
}
.masthead-title:hover,
.masthead-title:focus {
  text-decoration: none;
}

.page,
.post {
  margin-bottom: 4rem;
}
.page-title,
.post-title,
.post-title a {
  margin-top: 0;
  color: var(--text);
}
.post-date {
  display: block;
  margin-top: -.25rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
}

footer {
  margin-top: 2rem;
  padding: 40px 24px 56px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
}

/* イベントページ */

.small {
  font-size: 0.8em;
}
.smaller {
  font-size: 0.6em;
}
.center {
  text-align: center;
}
.bold {
  font-weight: bold;
}
.netprint-code {
  font-weight: bold;
  color: var(--sunset);
}

img.calendar {
  min-width: 18%;
  margin-top: .5rem;
}

/* 2カラム (狭いと縦に並ぶ) */
.r-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.r-2 > div {
  flex: 1;
  min-width: 240px;
}
.r-2 iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 6px;
}

/* ゲスト */
.guests h3 {
  font-weight: bold;
  font-size: 2em;
}
.guests img {
  max-height: 360px;
  max-width: 88%;
  display: inline;
}
.guests blockquote {
  margin-top: -1em;
  font-size: 0.8em;
}
a.twitter::after,
a.mixcloud::after {
  content: "";
  width: 60px;
  height: 60px;
  display: inline-block;
  vertical-align: top;
}
a.twitter::after {
  background-image: url("/img/twitter.svg");
}
a.mixcloud::after {
  background-image: url("/img/mixcloud.svg");
  /* ロゴが黒いので、夜の背景では白く抜く */
  filter: invert(1);
}

/* いつものひとたち */
.regulars h3 {
  font-weight: bold;
  font-size: 1.8em;
  margin: 0 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.regulars > div {
  display: flex;
  margin-bottom: 8px;
}
.regulars > div > div {
  flex: 1;
}
.regulars > div > div:first-of-type {
  flex: 2;
}
.regulars blockquote {
  margin-top: 0;
  padding: 10px;
  font-size: 0.8em;
}

/* 控えめ版 (vol.5〜) */
.regulars.quiet h3 {
  font-size: 1.2em;
}
.regulars.quiet img {
  max-width: 120px;
  margin-left: auto;
}
.regulars.quiet blockquote {
  font-size: 0.75em;
}
