:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --ink: #172126;
  --muted: #505b5c;
  --line: #c9cdc6;
  --blue: #173bdb;
  --red: #ee5231;
  --font: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --display: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #ec6c30;
  outline-offset: 4px;
}
.wrap {
  width: min(1240px, calc(100% - 9vw));
  margin: auto;
}
.bar {
  border-bottom: 1px solid var(--line);
}
.nav,
.foot > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.nav {
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font: 750 1.35rem/1.05 var(--display);
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.seal {
  display: grid;
  place-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font: italic 800 28px/0.85 Georgia;
  letter-spacing: -0.1em;
  padding-right: 3px;
}
.nav nav,
.foot nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  font-weight: 650;
  font-size: 0.9rem;
}
.nav nav a:hover,
.foot nav a:hover,
.back:hover,
.under:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.note-link {
  border: 1px solid var(--ink);
  border-radius: 22px;
  padding: 0.24rem 0.95rem;
  font: bold 1rem/1.4 var(--display);
}
.ext {
  margin-left: 0.28rem;
  font: normal 0.85rem var(--display);
}
.hero {
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  min-height: 397px;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: #eeefe7;
}
.hero-copy {
  align-self: center;
  padding: clamp(2rem, 4.35vw, 4.2rem);
}
h1,
h2,
h3,
p {
  margin: 0;
}
.hero h1 {
  font-size: clamp(3.9rem, 6vw, 6.15rem);
  letter-spacing: -0.09em;
  font-weight: 900;
  line-height: 1.06;
}
.hero h1 span {
  color: var(--red);
  font-family: var(--display);
  margin-left: 0.035em;
}
.hero p {
  margin: 1.2rem 0 1.45rem;
  line-height: 1.85;
  font-weight: 550;
}
.hero-art {
  position: relative;
  background: #0b2197;
  min-width: 0;
}
.hero-art img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 49% 53%;
}
.btn {
  display: inline-block;
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.72rem 1.32rem;
  border-radius: 3rem;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.5;
}
.btn:hover {
  background: var(--blue);
}
.catalog {
  padding: clamp(2.5rem, 4.5vw, 4.25rem) 0 5rem;
}
.catalog-title {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}
.catalog-title h2,
.section-title {
  font-size: clamp(1.85rem, 2.8vw, 2.45rem);
  line-height: 1.25;
  letter-spacing: -0.07em;
}
.count {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}
.catalog form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin: 1.35rem 0 1.4rem;
}
.tabs,
.searches {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.tabs button,
.select select,
.search {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: transparent;
  font-size: 0.88rem;
  line-height: 1.2;
}
.tabs button {
  padding: 0.62rem 0.95rem;
  white-space: nowrap;
  font-weight: 600;
}
.tabs button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.tabs button:hover:not([aria-pressed="true"]),
.select:hover,
.search:focus-within {
  background: #e8ebe3;
}
.select select {
  padding: 0.58rem 1.65rem 0.58rem 0.75rem;
  appearance: none;
  background: transparent;
}
.select {
  position: relative;
  border-radius: 22px;
}
.select:after {
  content: "";
  position: absolute;
  right: 0.7rem;
  top: 42%;
  width: 0.35rem;
  height: 0.35rem;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
  pointer-events: none;
}
.search {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0 0.75rem;
  height: 2.35rem;
}
.search input {
  width: 8.15rem;
  background: transparent;
  border: 0;
  font-size: 0.88rem;
  padding: 4px 0;
}
.lens {
  width: 12px;
  height: 12px;
  border: 1.6px solid;
  border-radius: 50%;
  position: relative;
}
.lens:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(48deg);
  bottom: -2px;
  right: -4px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem 1.35rem;
}
.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card a {
  display: block;
  width: 100%;
}
.art {
  aspect-ratio: 1.88;
  overflow: hidden;
  border-radius: 8px;
  background: #e5e5d9;
  display: grid;
  place-items: center;
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.art.tool img {
  object-position: 50% 50%;
}
.art .placeholder {
  font: 700 2.3rem var(--display);
  letter-spacing: -0.06em;
  color: #283bad;
}
.card a:hover .art img {
  transform: scale(1.025);
}
.card a:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.meta {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0.9rem 0 0.32rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.kind {
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink);
}
.kind:before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  background: var(--blue);
  border-radius: 50%;
}
.kind.note:before {
  background: #18816d;
  border-radius: 2px;
}
.kind.service:before {
  background: var(--red);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  border-radius: 0;
}
.card h3 {
  font-size: clamp(1.03rem, 1.45vw, 1.25rem);
  letter-spacing: -0.035em;
  line-height: 1.55;
}
.card p {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}
.foot {
  border-top: 1px solid var(--line);
  padding: 1.55rem 0;
}
.foot .brand {
  font-size: 1.05rem;
}
.foot .seal {
  width: 26px;
  height: 26px;
  font-size: 21px;
}
.foot nav {
  font-size: 0.85rem;
}
.skip,
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  clip-path: none;
  width: auto;
  height: auto;
  padding: 0.6rem;
  background: white;
  z-index: 2;
}
.detail,
.info {
  padding: 2rem 0 4.5rem;
}
.back {
  display: inline-block;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.65rem;
}
.project-head {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2.4rem;
}
.project-head .art {
  aspect-ratio: 1.6;
}
.project-head h1,
.info h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 1.22;
  letter-spacing: -0.065em;
}
.project-head p,
.info p {
  line-height: 1.95;
  margin: 1rem 0 1.25rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0;
}
.tags a {
  color: #384f56;
  font-size: 0.87rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide,
.related {
  margin: 2.2rem 0 0;
}
.guide {
  max-width: 47rem;
}
.guide h2,
.related h2,
.info h2 {
  font-size: 1.45rem;
  letter-spacing: -0.045em;
  margin: 1.5rem 0 0.6rem;
}
.guide p {
  margin: 0.65rem 0;
  line-height: 1.95;
}
.guide a,
.info p a,
.reading-link {
  text-decoration: underline;
  text-decoration-color: #7a8587;
  text-underline-offset: 4px;
}
.related .cards {
  margin-top: 1rem;
}
.info {
  max-width: 48rem;
  min-height: 60vh;
}
.info p a {
  color: var(--blue);
}
#empty {
  padding: 2.5rem 0;
}
#empty p {
  margin-bottom: 1rem;
}
[hidden] {
  display: none !important;
}
@media (max-width: 920px) {
  .hero {
    min-height: 340px;
  }
  .cards {
    gap: 1.8rem 1rem;
  }
  .wide {
    display: none;
  }
  .catalog form {
    align-items: flex-start;
  }
  .hero-copy {
    padding: 2rem;
  }
  .hero h1 {
    font-size: 4.3rem;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 2rem);
  }
  .nav {
    min-height: 62px;
  }
  .brand {
    font-size: 1.12rem;
  }
  .nav nav {
    gap: 0.8rem;
  }
  .nav nav > a:not(.note-link) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }
  .hero-copy {
    padding: 1.75rem;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 8.5vw, 3.7rem);
  }
  .hero h1 br {
    display: none;
  }
  .hero p {
    margin: 0.65rem 0 1rem;
    font-size: 0.96rem;
  }
  .hero-art {
    aspect-ratio: 1.95;
  }
  .hero-art img {
    object-position: center 53%;
  }
  .catalog {
    padding-top: 2.2rem;
  }
  .catalog form {
    display: grid;
    gap: 0.72rem;
    margin: 1rem 0;
  }
  .tabs {
    flex-wrap: wrap;
  }
  .tabs button {
    padding: 0.55rem 0.8rem;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .searches {
    flex-wrap: wrap;
  }
  .foot > .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
  .project-head {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .detail,
  .info {
    padding: 1.4rem 0 3rem;
  }
}
@media (max-width: 480px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.65rem;
  }
  .art {
    aspect-ratio: 1.96;
  }
  .card h3 {
    font-size: 1.17rem;
  }
  .catalog form {
    display: block;
  }
  .tabs {
    gap: 0.28rem;
    margin-bottom: 0.65rem;
  }
  .tabs button {
    padding: 0.56rem 0.69rem;
  }
  .searches {
    flex-wrap: nowrap;
  }
  .search {
    flex: 1;
    min-width: 0;
  }
  .search input {
    width: 100%;
    min-width: 0;
  }
  .foot nav {
    column-gap: 1.1rem;
  }
  .brand .seal {
    width: 29px;
    height: 29px;
    font-size: 24px;
  }
  .hero-copy {
    padding: 1.5rem;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 8.8vw, 3rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .art img {
    transition: none;
  }
}
#consent-settings {
  border: 0;
  padding: 0;
  margin-top: 1rem;
  background: transparent;
  color: var(--muted);
  font-size: .9rem;
  text-decoration: underline;
}
