/* 全建築家ページ共通のデザイン。文章・目次は各フォルダのindex.htmlを直接編集。 */
@font-face {
  font-family: BookSans;
  src: url('../fonts/book-sans.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --header: 78px;
  --ink: #000;
  --paper: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: BookSans,"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 5px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  background: #fff;
  padding: 10px;
}

.skip:focus {
  top: 10px;
}

.masthead {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: var(--header);
  display: flex;
  align-items: center;
  padding: 0 30px;
  background: #fff;
}

.brand {
  font-size: 25px;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.45;
  white-space: nowrap;
  letter-spacing: 0;
}

.brand-divider {
  font-size: 20px;
  margin: 0 13px;
}

.brand-ja {
  font-size: 17px;
}

.cover-stage {
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header) + 20px) 25px 24px;
}

.hero-cover {
  display: block;
  width: auto;
  height: min(76svh,780px);
  max-height: calc(100svh - var(--header) - 65px);
  max-width: 82vw;
  object-fit: contain;
  box-shadow: none;
}

.reading-column {
  width: min(100%,1100px);
  margin: 0 auto;
  padding: 0 60px;
}

.book-intro {
  padding: 80px 0 80px;
}

.series {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.8;
  margin: 0 0 24px;
  letter-spacing: 0;
}

.series span {
  margin-left: 5px;
}

h1 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}

.english-title {
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  margin: 8px 0 28px;
  letter-spacing: 0;
}

.author-name {
  font-size: 28px;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0;
}

.author-name span {
  display: inline-block;
  margin-left: 18px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
}

.text-section {
  display: block;
  padding: 0 0 80px;
}

.section-label {
  display: table;
  background: #000;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0 0 28px;
  padding: 6px 12px 8px;
}

.section-body {
  max-width: 840px;
}

.profile {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.index {
  padding-bottom: 70px;
}

.contents {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contents>li {
  display: block;
  padding: 0 0 1em;
  border: 0;
}

.contents>li:last-child {
  padding-bottom: 0;
}

.contents h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 5px;
  letter-spacing: 0;
}

.contents p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.contributor {
  margin-left: 10px;
}

.chapter-list {
  list-style: none;
  padding: 15px 0 0;
  margin: 0;
}

.chapter-list li {
  font-size: 14px;
  line-height: 1.9;
  padding: 0 0 3px;
}

.colophon {
  padding: 25px 0 85px;
  border: 0;
}

.book-data {
  font-family: Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  font-size: 13px;
  line-height: 1.9;
  margin: 0 0 34px;
}

.book-data>div {
  display: grid;
  grid-template-columns: 145px minmax(0,1fr);
  margin: 7px 0;
}

.book-data dt {
  color: #777;
}

.book-data dd {
  margin: 0;
}

.purchase {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  width: 330px;
  max-width: 100%;
  padding: 18px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  font-family: Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  font-size: 14px;
  text-decoration: none;
}

.purchase:hover {
  opacity: .65;
}

.purchase svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.site-footer {
  margin: 0 30px;
  padding: 20px 0 25px;
  font-size: 10px;
  letter-spacing: 0;
  color: #000;
}

@media(max-width:768px),(orientation:portrait) {
  :root {
    --header: 90px;
  }

  .masthead {
    padding: 12px 20px;
    align-items: flex-start;
  }

  .brand {
    font-size: 22px;
    line-height: 1.35;
    white-space: normal;
  }

  .brand-divider {
    display: none;
  }

  .brand-ja {
    display: block;
    font-size: 14px;
    margin-top: 6px;
  }

  .cover-stage {
    min-height: 470px;
    padding: calc(var(--header) + 10px) 20px 22px;
  }

  .hero-cover {
    height: min(76svh,760px);
    max-height: calc(100svh - var(--header) - 48px);
    max-width: 86vw;
  }

  .reading-column {
    max-width: 760px;
    padding: 0 25px;
  }

  .book-intro {
    padding: 60px 0 60px;
  }

  .series {
    font-size: 18px;
    margin-bottom: 18px;
  }

  h1 {
    font-size: 26px;
    line-height: 1.55;
  }

  .english-title {
    font-size: 18px;
    margin: 8px 0 25px;
  }

  .author-name {
    font-size: 26px;
  }

  .author-name span {
    font-size: 15px;
    margin-left: 13px;
  }

  .text-section {
    padding-bottom: 60px;
  }

  .section-label {
    font-size: 22px;
    padding: 5px 10px 7px;
    margin-bottom: 23px;
  }

  .profile {
    font-size: 14px;
    line-height: 1.95;
  }

  .contents>li {
    padding-bottom: 26px;
  }

  .contents h3 {
    font-size: 16px;
  }

  .contents p {
    font-size: 13px;
  }

  .chapter-list li {
    font-size: 13px;
  }

  .colophon {
    padding: 15px 0 65px;
  }

  .book-data {
    font-size: 12px;
  }

  .book-data>div {
    grid-template-columns: 145px minmax(0,1fr);
    margin: 9px 0;
  }

  .purchase {
    font-size: 13px;
  }

  .site-footer {
    margin: 0 25px;
    font-size: 9px;
  }

}

.series span {
  display: inline-block;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}

.site-footer a {
  font-size: 11px;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

