:root {
  color: #111;
  background: #fff;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  font-weight: 400;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }

.top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 36px 14px;
  background: #fff;
}
.mark {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.filters { display: flex; justify-self: center; gap: 6px; flex-wrap: wrap; }
.filters button {
  border: 0;
  background: transparent;
  color: #8a8a8a;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.filters button.is-on {
  color: #111;
  background: #f2f3f5;
  font-weight: 700;
}

.list {
  width: min(1240px, calc(100% - 72px));
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 28px;
}
.list + .list { margin-top: 42px; }
.list[hidden] { display: none; }
main { padding-bottom: 72px; }
.card { min-width: 0; }
.card[hidden] { display: none; }

.thumb {
  position: relative;
  display: block;
  aspect-ratio: 1440 / 2419;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.05);
}
.thumb > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone {
  position: absolute;
  right: 4.2%;
  bottom: 3%;
  width: 34%;
  padding: 6px 6px 8px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.28), 0 0 0 1px rgba(17, 17, 17, 0.08);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  background: #fff;
}
.name {
  display: block;
  margin-top: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  word-break: keep-all;
}
.client {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}
.client a { text-decoration: underline; text-underline-offset: 2px; }
.top-plain { grid-template-columns: 1fr; }

.sheet {
  width: min(920px, calc(100% - 72px));
  margin: 28px auto 36px;
}
.sheet h1 {
  margin: 8px 0 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  background: #f6f6f6;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}
.sheet .client { margin: 10px 0 18px; color: #444; }
.leap-note { margin: -8px 0 18px; color: #444; font-size: 14px; line-height: 1.7; }
.leap-note a { text-decoration: underline; text-underline-offset: 2px; }
.sheet .watch-wrap { margin: 0 0 28px; text-align: left; }
.sheet dl { margin: 0; }
.sheet dl > div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid #ececec;
  font-size: 14px;
  line-height: 1.8;
}
.sheet dl > div:last-child { border-bottom: 1px solid #ececec; }
.sheet dt { color: #666; }
.sheet dd { margin: 0; }
.fine {
  margin: 14px 0 0;
  color: #777;
  font-size: 12px;
  line-height: 1.7;
}

.views {
  background: #f3f3f3;
  padding: 42px 28px 56px;
}
.views-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
}
.views figure { margin: 0; }
.views figcaption {
  margin: 0 0 12px;
  text-align: center;
  color: #666;
  font-size: 13px;
}
.views img {
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
}
.watch-wrap { margin: 36px 0 0; text-align: center; }
.watch {
  display: inline-block;
  background: #2c2c2c;
  color: #fff;
  text-decoration: none;
  padding: 14px 34px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.watch:hover { background: #111; }

.cv {
  scroll-margin-top: 76px;
  background: #fff;
  color: #111;
  border-top: 1px solid #ececec;
  margin-top: 72px;
  padding: 72px 24px 80px;
}
.cv-inner { width: min(640px, 100%); margin: 0 auto; }
.cv h2 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.45;
}
.cv p { margin: 0; color: #333; line-height: 1.8; }
.cv .lead { color: #111; font-size: 18px; font-weight: 700; }
.cv form { display: grid; gap: 18px; margin-top: 28px; }
.cv .field { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.cv .req { color: #e23b4a; margin-left: 4px; }
.cv .opt { margin-left: 8px; color: #888; font-weight: 500; font-size: 12px; }
.cv input, .cv textarea, .cv select {
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  min-height: 48px;
  padding: 12px 18px;
  color: #111;
  background: #fff;
  font: inherit;
  font-weight: 400;
}
.cv textarea { border-radius: 18px; min-height: 132px; resize: vertical; }
.cv input::placeholder, .cv textarea::placeholder { color: #b5b5b5; }
.cv select { appearance: auto; }
.kind { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.kind legend { font-size: 14px; font-weight: 700; padding: 0; }
.choice { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.choice input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: #111;
}
.cv button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  padding: 13px 22px;
  background: #2a2a2a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.cv .note { margin-top: 14px; color: #666; font-size: 13px; }
.site-foot {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 8px 24px 36px;
  font-size: 13px;
}
.site-foot a { color: #555; text-decoration: underline; text-underline-offset: 2px; }
.legal { width: min(720px, calc(100% - 48px)); margin: 36px auto 64px; }
.legal h1 { margin: 0 0 12px; font-size: 26px; }
.legal p, .legal li { line-height: 1.8; }
.legal ul { padding-left: 1.2em; }
.legal .back { display: inline-block; margin-bottom: 18px; }
.cv-closed .watch { margin-top: 22px; }
body:has(.cv) main { padding-bottom: 0; }

@media (max-width: 1100px) {
  .list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(1240px, calc(100% - 48px));
  }
}
@media (max-width: 760px) {
  .top {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 12px;
    padding: 18px 16px 8px;
  }
  .mark { justify-self: start; }
  .filters { justify-self: center; }
  .list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 32px);
    gap: 28px 14px;
  }
  .name { font-size: 14px; }
  .client { font-size: 14px; }
  .phone {
    padding: 3px 3px 4px;
    border-radius: 12px;
  }
  .phone img { border-radius: 9px; }
  .sheet { width: calc(100% - 32px); }
  .sheet dl > div { grid-template-columns: 1fr; gap: 4px; }
  .views { padding: 28px 16px 48px; }
  .cv { margin-top: 48px; padding: 56px 16px; }
  .cv h2 { font-size: 24px; }
}
