/* Page styles. Adjust colors and spacing here. */
:root {
  --bg: #f7f3f5;
  --paper: #fffdfd;
  --ink: #28252b;
  --muted: #77717b;
  --line: #e7dfe5;
  --plum: #7d536f;
  --pink: #e7cbdc;
  --blue: #cad7e5;
  --shadow: 0 12px 36px #47374712
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Meiryo,"メイリオ",sans-serif;
  line-height: 1.7
}
a {
  color: inherit;
  text-decoration: none
}
.wrap {
  width: min(1000px,calc(100% - 40px));
  margin: auto
}
.micro {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 700
}
.header {
  background: #fffdfde8;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5
}
.bar {
  height: 40px;
  display: flex;
  align-items: center
}
.wordmark {
  display: flex;
  align-items: center;
  color: var(--plum);
  font: 700 .78rem Meiryo,"メイリオ",sans-serif;
  letter-spacing: .12em;
  text-decoration: none
}
.nav {
  min-height: 47px;
  display: flex;
  justify-content: center;
  gap: clamp(18px,4vw,48px);
  border-top: 1px solid #eee8ed;
  font: 600 .68rem Meiryo,"メイリオ",sans-serif;
  letter-spacing: .13em
}
.nav a {
  padding: 13px 0;
  color: var(--muted)
}
main {
  padding: 70px 0 100px
}
.title {
  font: 400 clamp(2.8rem,8vw,5.3rem)/1 Meiryo,"メイリオ",sans-serif;
  margin: 12px 0 18px
}
.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: .9rem
}
.catalog {
  display: grid;
  gap: 22px;
  margin-top: 38px
}
.series-heading {
  grid-column: 1/-1;
  margin: 28px 0 0;
  padding: 13px 0 12px;
  border-bottom: 1px solid var(--line);
  font: 400 clamp(1.35rem,4vw,1.9rem) Meiryo,"メイリオ",sans-serif;
  color: var(--ink)
}
.card {
  display: grid;
  grid-template-columns: minmax(210px,34%) 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden
}
.thumb {
  min-height: 400px;
  background: linear-gradient(145deg,#d9c9d5,#c5d4df 55%,#e6d9d1);
  display: grid;
  place-items: center;
  padding: 18px
}
.thumb img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain
}
.thumb-fallback {
  display: none;
  color: white;
  text-align: center;
  font: italic 1.1rem/1.5 Meiryo,"メイリオ",sans-serif;
  letter-spacing: .06em
}
.thumb img:not([src]),.thumb img[src=""] {
  display: none
}
.card-copy {
  padding: 24px 26px;
  display: flex;
  flex-direction: column
}
.work-no {
  font-size: .64rem;
  letter-spacing: .18em;
  color: var(--plum)
}
.card h2 {
  font: 500 clamp(1.35rem,3vw,1.9rem)/1.45 Meiryo,"メイリオ",sans-serif;
  margin: 7px 0 19px
}
.card h3 {
  font: 500 1rem Meiryo,"メイリオ",sans-serif;
  margin: 0 0 8px
}
.synopsis {
  font-size: .84rem;
  color: var(--muted);
  margin: 0
}
.pages {
  margin: 18px 0 24px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted)
}
.pages strong {
  color: var(--ink);
  font-weight: 600
}
.stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto
}
.store {
  min-height: 53px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #fff;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .05em;
  transition: background .2s,color .2s
}
.store:after {
  content: "↗";
  color: var(--plum)
}
.store:hover {
  background: var(--plum);
  color: white
}
.store:hover:after {
  color: white
}
.notice {
  margin-top: 22px;
  font-size: .73rem;
  color: var(--muted)
}
.back {
  display: inline-block;
  margin-top: 40px;
  color: var(--plum);
  font-size: .75rem;
  letter-spacing: .1em;
  border-bottom: 1px solid #b99bae;
  padding-bottom: 4px
}
footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
  color: var(--muted);
  font-size: .63rem;
  letter-spacing: .1em
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px
}
.footer-logo {
  width: 145px;
  height: 45px;
  object-fit: contain;
  object-position: left center
}
@media(max-width:700px) {
  .bar {
    height: 40px
  }
  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    gap: 22px;
    font-size: .61rem
  }
  .nav a {
    padding: 13px 0
  }
  main {
    padding: 55px 0 75px
  }
  .card {
    grid-template-columns: 1fr
  }
  .thumb {
    min-height: 300px;
    max-height: 400px
  }
  .card-copy {
    padding: 20px
  }
  .stores {
    grid-template-columns: 1fr
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start
  }
}
