:root {
  --base: #f8f5f1;
  --sub-base: #fffdf3;
  --text: #2e2e2e;
  --accent: #df88b7;
  --brown: #8b6f63;
  --serif: "Libre Baskerville", Georgia, serif;
  --serif-sub: "Crimson Text", Georgia, serif;
  --sans: "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--sans);
  background: var(--base);
  letter-spacing: 0;
}

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

.header {
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 10;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(83.34vw, 1200px);
  margin: 0 auto;
}

.logo {
  display: block;
  width: 118px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 50px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease;
}

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

.hero {
  position: relative;
  padding-top: 179px;
  padding-bottom: 150px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(430px, 653px);
  align-items: center;
  width: min(91.32vw, 1315px);
  min-height: 724px;
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 52px;
}

.hero-title {
  font-family: var(--serif);
  font-size: 75px;
  line-height: 1.24;
  font-weight: 400;
  white-space: nowrap;
}

.hero-role {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.25;
}

.hero-line {
  display: block;
  width: 118px;
  height: 2px;
  margin-top: 50px;
  background: var(--accent);
}

.hero-message {
  margin-top: 48px;
  font-size: 40px;
  line-height: 1.35;
}

.hero-description {
  margin-top: 28px;
  font-size: 25px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin-left: -128px;
}

.hero-image {
  display: block;
  width: 653px;
  max-width: 100%;
  animation: floatPortrait 7s ease-in-out infinite;
}

.scroll-indicator {
  position: absolute;
  right: 50%;
  bottom: 52px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.08em;
  transform: translateX(50%);
}

.scroll-indicator__line {
  position: relative;
  width: 1px;
  height: 54px;
  overflow: hidden;
  background: rgba(139, 111, 99, 0.28);
}

.scroll-indicator__line::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--brown);
  animation: scrollLine 1.8s ease-in-out infinite;
}

.about {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 100px;
  text-align: center;
}

.section-heading h2 {
  color: var(--brown);
  font-family: var(--serif);
  font-size: 50px;
  line-height: 1.7;
  font-weight: 700;
}

.section-heading p {
  color: var(--brown);
  font-size: 20px;
  line-height: 1.7;
  font-weight: 700;
}

.about-copy {
  margin-top: 48px;
  font-size: 20px;
  line-height: 1.7;
}

.about-copy p+p {
  margin-top: 4px;
}

.more-link {
  display: inline-flex;
  align-items: center;
  column-gap: 1.2em;
  margin-top: 42px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
}

.more-link__txt {
  height: 1em;
  line-height: 1;
  overflow: hidden;
}

.more-link__txt1,
.more-link__txt2 {
  display: block;
  transition: transform 0.3s ease;
}

.more-link__ico {
  position: relative;
  display: block;
  width: 40px;
  height: 44px;
  overflow: hidden;
}

.more-link__arrow1,
.more-link__arrow2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: left 0.3s ease;
  transform: translate(-50%, -50%);
}

.more-link__arrow2 {
  left: -100%;
}

.more-link:hover .more-link__txt1,
.more-link:hover .more-link__txt2,
.more-link:focus-visible .more-link__txt1,
.more-link:focus-visible .more-link__txt2 {
  transform: translateY(-100%);
}

.more-link:hover .more-link__arrow1,
.more-link:focus-visible .more-link__arrow1 {
  left: 150%;
}

.more-link:hover .more-link__arrow2,
.more-link:focus-visible .more-link__arrow2 {
  left: 50%;
}

.works {
  padding: 48px 35px 138px;
  background: var(--sub-base);
  text-align: center;
}

.work-heading {
  margin-bottom: 42px;
}

.work-group {
  max-width: 1372px;
  margin: 0 auto;
}

.work-group+.work-group {
  margin-top: 80px;
}

.graphic-group {
  max-width: 440px;
}

.work-category {
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.7;
  font-weight: 400;
}

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

.work-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.work-card-link {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.work-image {
  width: 100%;
  aspect-ratio: 440 / 307;
  object-fit: cover;
  border: 1px solid var(--text);
  border-radius: 30px;
}

.work-card h4 {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.7;
  font-weight: 400;
}

.work-card p {
  margin-top: 2px;
  font-family: var(--serif-sub);
  font-size: 24px;
  line-height: 1.7;
}

.work-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 247px;
  min-height: 47px;
  margin-top: 14px;
  padding: 0 24px;
  color: var(--brown);
  font-size: 24px;
  line-height: 1.4;
  background: var(--sub-base);
  border: 2px solid var(--brown);
  border-radius: 999px;
  transition: color 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.work-card:hover span,
.work-card:focus-within span {
  color: var(--base);
  background: var(--brown);
  border-color: transparent;
}

.work-card-single .work-image {
  margin-top: 0;
}

.footer {
  padding: 68px 24px 30px;
  background: var(--sub-base);
  text-align: center;
}

.footer small {
  font-size: 14px;
  line-height: 1.7;
}

.is-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.is-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lower-header {
  position: static;
  padding-top: 30px;
}

.about-page {
  padding: 100px 24px 0;
}

.about-page-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 0 96px;
  border-bottom: 1px solid rgba(139, 111, 99, 0.26);
}

.page-label,
.section-label {
  color: var(--accent);
  font-family: var(--serif-sub);
  font-size: 22px;
  line-height: 1.4;
}

.about-page-hero h1 {
  margin-top: 18px;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 86px;
  line-height: 1.08;
  font-weight: 700;
}

.page-kicker {
  margin-top: 12px;
  color: var(--brown);
  font-size: 20px;
  font-weight: 700;
}

.page-lead {
  margin-top: 64px;
  font-size: 42px;
  line-height: 1.65;
}

.lower-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 0;
  border-bottom: 1px solid rgba(139, 111, 99, 0.26);
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
  gap: 96px;
  align-items: center;
}

.profile-visual {
  display: grid;
  place-items: center;
}

.profile-image {
  width: 440px;
}

.profile-list {
  margin-top: 32px;
}

.profile-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(46, 46, 46, 0.14);
}

.profile-list dt {
  color: var(--brown);
  font-family: var(--serif-sub);
  font-size: 24px;
  font-weight: 600;
}

.profile-list dd {
  font-size: 20px;
  line-height: 1.7;
}

.message-section,
.vision-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
}

.message-body h2,
.vision-box h2,
.lower-heading h2 {
  color: var(--brown);
  font-size: 36px;
  line-height: 1.7;
  font-weight: 500;
}

.message-body p,
.vision-box p {
  max-width: 780px;
  margin-top: 30px;
  font-size: 18px;
  line-height: 2.1;
}

.lower-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

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

.strength-list article {
  padding-top: 28px;
  border-top: 1px solid var(--brown);
}

.strength-list span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.strength-list h3,
.skill-grid h3 {
  margin-top: 26px;
  color: var(--brown);
  font-size: 24px;
  line-height: 1.6;
  font-weight: 500;
}

.strength-list p,
.skill-grid p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 2;
}

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

.skill-grid section {
  min-height: 190px;
  padding: 32px;
  background: var(--sub-base);
  border: 1px solid rgba(139, 111, 99, 0.26);
  border-radius: 30px;
}

.about-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 0 28px;
  text-align: center;
}

.about-cta p {
  color: var(--brown);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.5;
}

.lower-footer {
  background: var(--base);
}

.work-detail-page {
  padding: 96px 24px 0;
}

.work-detail-hero,
.work-detail-visual,
.work-detail-section,
.work-detail-nav {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.work-detail-hero {
  padding: 72px 0 64px;
}

.work-detail-hero h1 {
  margin-top: 18px;
  color: var(--brown);
  font-size: 64px;
  line-height: 1.55;
  font-weight: 500;
}

.work-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.work-detail-meta span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: var(--brown);
  font-size: 18px;
  line-height: 1.4;
  background: var(--sub-base);
  border: 1px solid rgba(139, 111, 99, 0.4);
  border-radius: 999px;
}

.work-detail-visual {
  padding: 48px;
  background: var(--sub-base);
  border: 1px solid rgba(139, 111, 99, 0.24);
  border-radius: 30px;
}

.work-detail-visual img {
  display: block;
  width: 100%;
  border: 1px solid rgba(46, 46, 46, 0.18);
  border-radius: 24px;
}

.work-detail-visual--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.work-detail-visual--grid img {
  height: 100%;
  object-fit: cover;
}

.work-detail-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  padding: 104px 0;
  border-bottom: 1px solid rgba(139, 111, 99, 0.26);
}

.work-detail-heading h2 {
  margin-top: 14px;
  color: var(--brown);
  font-size: 34px;
  line-height: 1.55;
  font-weight: 500;
}

.work-detail-body {
  font-size: 18px;
  line-height: 2.15;
}

.work-detail-body p+p {
  margin-top: 24px;
}

.work-info-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(46, 46, 46, 0.14);
}

.work-info-list div:first-child {
  padding-top: 0;
}

.work-info-list dt {
  color: var(--brown);
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
}

.work-info-list dd {
  font-size: 18px;
  line-height: 1.8;
}

.work-info-list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.work-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.work-process-grid section {
  padding: 36px;
  background: var(--sub-base);
  border: 1px solid rgba(139, 111, 99, 0.26);
  border-radius: 30px;
}

.work-process-grid h3 {
  color: var(--brown);
  font-size: 24px;
  line-height: 1.6;
  font-weight: 500;
}

.work-process-grid ul {
  margin-top: 22px;
}

.work-process-grid li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 2;
}

.work-process-grid li+li {
  margin-top: 12px;
}

.work-process-grid li::before {
  position: absolute;
  top: 0.92em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.work-detail-nav {
  padding: 24px 0 72px;
  text-align: center;
}

@keyframes floatPortrait {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes scrollLine {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(200%);
  }
}

@media (max-width: 1160px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  }

  .hero-title {
    font-size: 60px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-role,
  .hero-message {
    font-size: 32px;
  }

  .hero-description {
    font-size: 20px;
  }

  .hero-image {
    width: 540px;
  }
}

@media (max-width: 900px) {
  .header {
    top: 22px;
  }

  .header-inner {
    width: calc(100% - 48px);
  }

  .logo {
    width: 82px;
  }

  .nav-list {
    gap: 24px;
    font-size: 15px;
  }

  .hero {
    padding: 150px 24px 96px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: auto;
  }

  .hero-copy {
    width: 100%;
    padding-top: 0;
    text-align: center;
  }

  .hero-title {
    font-size: 45px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-role {
    font-size: 28px;
  }

  .hero-line {
    margin-right: auto;
    margin-left: auto;
    margin-top: 32px;
  }

  .hero-message {
    margin-top: 32px;
    font-size: 25px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 34px 0 0;
  }

  .hero-image {
    width: min(100%, 470px);
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .scroll-indicator {
    bottom: 32px;
  }

  .about {
    padding-bottom: 88px;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .about-copy {
    font-size: 16px;
  }

  .works {
    padding-right: 24px;
    padding-left: 24px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .work-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .about-page {
    padding-top: 56px;
  }

  .about-page-hero {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .about-page-hero h1 {
    font-size: 54px;
  }

  .page-lead {
    margin-top: 42px;
    font-size: 30px;
  }

  .lower-section {
    padding: 72px 0;
  }

  .profile-section,
  .message-section,
  .vision-section,
  .work-detail-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-image {
    width: min(100%, 360px);
  }

  .strength-list,
  .skill-grid,
  .work-process-grid,
  .work-detail-visual--grid {
    grid-template-columns: 1fr;
  }

  .work-detail-page {
    padding-top: 56px;
  }

  .work-detail-hero {
    padding-top: 48px;
  }

  .work-detail-hero h1 {
    font-size: 42px;
  }

  .work-detail-visual {
    padding: 24px;
    border-radius: 22px;
  }

  .work-detail-section {
    padding: 72px 0;
  }
}

@media (max-width: 520px) {
  .header-inner {
    width: calc(100% - 32px);
    align-items: flex-start;
  }

  .logo {
    width: 70px;
  }

  .nav-list {
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-role {
    font-size: 23px;
  }

  .hero-message {
    font-size: 21px;
  }

  .hero-description br,
  .about-copy br {
    display: none;
  }

  .work-card h4,
  .work-card p,
  .work-card span {
    font-size: 18px;
  }

  .work-card span {
    width: min(100%, 210px);
    min-width: 0;
  }

  .about-page-hero h1 {
    font-size: 42px;
    overflow-wrap: anywhere;
  }

  .page-lead,
  .message-body h2,
  .vision-box h2,
  .lower-heading h2,
  .work-detail-heading h2 {
    font-size: 24px;
  }

  .profile-list div,
  .work-info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lower-heading {
    display: block;
  }

  .skill-grid section {
    padding: 26px;
  }

  .about-cta p {
    font-size: 26px;
  }

  .work-detail-hero h1 {
    font-size: 32px;
  }

  .work-detail-body,
  .work-info-list dd {
    font-size: 16px;
  }

  .work-process-grid section {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .is-reveal {
    opacity: 1;
    transform: none;
  }
}
