/*
Theme Name: botandesign Recruit Test
Theme URI: https://botandesign.net/
Author: botandesign Co., Ltd.
Description: 採用実技確認用のWordPressテーマ。既存CMSの読解・カスタマイズ・デバッグ力を確認するためのテスト環境です。
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: botan-recruit-test
*/

:root {
  --ink: #171916;
  --ink-soft: #4f544d;
  --paper: #f7f4ec;
  --paper-strong: #eee8dc;
  --white: #fffdf8;
  --line: #d7d0c3;
  --accent: #e85d36;
  --accent-dark: #bd3f20;
  --lime: #c7d467;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(23, 25, 22, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, system-ui, -apple-system, sans-serif;
  line-height: 1.85;
  letter-spacing: .02em;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container,
.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(23, 25, 22, .1);
  background: rgba(255, 253, 248, .9);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.site-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand__main {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .12em;
}

.site-brand__sub {
  padding: 4px 8px 3px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform .25s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(760px, calc(100vh - 78px));
  display: grid;
  align-items: center;
  background:
    linear-gradient(rgba(23,25,22,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,25,22,.045) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12vw -42vw auto;
  width: 72vw;
  aspect-ratio: 1;
  border: 1px solid rgba(23,25,22,.16);
  border-radius: 50%;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 72px;
  align-items: center;
  padding-block: 92px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(50px, 7vw, 92px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 800;
}

.hero h1 span {
  color: var(--accent);
}

.hero__lead {
  max-width: 660px;
  margin: 30px 0 28px;
  color: var(--ink-soft);
  font-size: 16px;
}

.hero__visual {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  justify-self: end;
}

.hero-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 168px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) rotate(-7deg);
  border-radius: 42% 58% 54% 46% / 48% 42% 58% 52%;
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow);
  font-family: Georgia, serif;
  font-size: 90px;
  font-style: italic;
}

.hero-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgba(23, 25, 22, .26);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-orbit--one {
  width: 68%;
  aspect-ratio: 1;
}

.hero-orbit--two {
  width: 96%;
  aspect-ratio: 1;
}

.hero-chip {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 84px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.hero-chip--web {
  top: 12%;
  right: 0;
  transform: rotate(6deg);
}

.hero-chip--print {
  bottom: 20%;
  left: -2%;
  transform: rotate(-8deg);
}

.hero-chip--photo {
  right: 3%;
  bottom: 6%;
  background: var(--lime);
  transform: rotate(4deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
}

.text-link--arrow::after {
  content: "↘";
  font-size: 15px;
}

.section {
  padding: 116px 0;
}

.section--intro {
  background: var(--white);
}

.display-title {
  margin: 0;
  font-size: clamp(34px, 4.7vw, 64px);
  line-height: 1.22;
  letter-spacing: -.04em;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 90px;
  align-items: start;
}

.intro-copy__lead {
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: 17px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-list span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.section--dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.section--dark::before {
  content: "TEAM";
  position: absolute;
  top: 8px;
  right: -10px;
  color: rgba(255, 253, 248, .035);
  font-size: clamp(120px, 22vw, 340px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.08em;
}

.section-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.section-heading--light > p {
  color: rgba(255, 253, 248, .68);
}

.section-heading--light .eyebrow {
  color: var(--lime);
}

.staff-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.person-card {
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, .14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .04);
}

.person-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #292c28;
}

.person-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(.95);
  opacity: .82;
}

.person-card__number {
  position: absolute;
  right: 14px;
  bottom: 8px;
  color: rgba(255,255,255,.65);
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

.person-card__body {
  padding: 24px;
}

.person-card__role {
  margin: 0 0 5px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.person-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.person-card__body > p:last-child {
  margin: 0;
  color: rgba(255, 253, 248, .66);
  font-size: 13px;
}

.section--works {
  background: var(--paper);
}

.work-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 34px;
}

.work-filter__button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.work-filter__button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.work-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 25, 22, .035);
}

.work-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-strong);
}

.work-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.75,.2,1);
}

.work-card:hover .work-card__image {
  transform: scale(1.025);
}

.work-card__index {
  position: absolute;
  top: 12px;
  right: 14px;
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 248, .9);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.work-card__body {
  padding: 24px;
}

.work-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: #777a73;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.45;
}

.work-card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 13px;
}

.work-note {
  margin-top: 42px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-note p {
  margin: 0;
}

.work-note__label {
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.closing {
  background: var(--accent);
  color: var(--white);
}

.closing .eyebrow {
  color: var(--white);
  opacity: .72;
}

.closing__inner {
  display: grid;
  grid-template-columns: minmax(0, .6fr) minmax(0, 1.2fr) minmax(260px, .7fr);
  gap: 44px;
  align-items: start;
}

.closing h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.18;
  letter-spacing: -.05em;
}

.closing__inner > p:last-child {
  margin: 4px 0 0;
  font-size: 14px;
  opacity: .88;
}

.site-footer {
  padding: 34px 0;
  color: var(--white);
  background: var(--ink);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
}

.site-footer p {
  margin: 0;
}

.site-footer__brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.site-footer__note,
.site-footer__copy {
  margin-top: 4px !important;
  color: rgba(255,253,248,.48);
  font-size: 10px;
}

.archive-page {
  min-height: 70vh;
  background: var(--paper);
}

.archive-list {
  margin-top: 48px;
}

.archive-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.archive-item__date {
  color: var(--ink-soft);
  font-size: 11px;
}

.archive-item h2 {
  margin: 5px 0;
}

@media (max-width: 920px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    width: min(72vw, 430px);
    justify-self: center;
  }

  .intro-grid,
  .section-heading,
  .closing__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .staff-grid,
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container,
  .site-header__inner,
  .site-footer__inner {
    width: min(calc(100% - 36px), var(--max));
  }

  .site-header__inner {
    min-height: 68px;
  }

  .site-brand__sub {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__layout {
    padding-block: 70px 62px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .hero__visual {
    width: min(82vw, 350px);
  }

  .section {
    padding: 80px 0;
  }

  .display-title {
    font-size: clamp(32px, 10vw, 46px);
  }

  .intro-copy__lead {
    font-size: 15px;
  }

  .staff-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    align-items: start;
  }

  .work-card {
    min-inline-size: 372px;
  }

  .work-card__body {
    padding: 20px;
  }

  .work-note {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-inline: 0;
  }

  .site-footer__inner {
    display: block;
  }

  .site-footer__copy {
    margin-top: 14px !important;
  }
}

@media (max-width: 420px) {
  .hero-chip {
    min-width: 72px;
    padding: 8px 11px;
    font-size: 9px;
  }

  .work-filter {
    gap: 6px;
  }

  .work-filter__button {
    padding: 7px 10px;
  }
}
