/*
Theme Name: Eri Design
Theme URI: https://erichan-design.com/
Author: Eri Design
Description: Eri Design portfolio theme converted from the static HTML/CSS/JavaScript build.
Version: 1.0.25
Text Domain: eri-design
*/

:root {
  --cream: #fef9f5;
  --pink: #ffe4e4;
  --accent: #ecbfc0;
  --red: #cb391f;
  --yellow: #fdda59;
  --mint: #bdd9d7;
  --brown: #5e5249;
  --line: #d8c4bd;
  --text: #5e5249;
  --white: #ffffff;
  --container: 1140px;
  --hover-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hover-shadow: 0 8px 22px rgba(94, 82, 73, 0.12);
  --hover-y: -3px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

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

.reveal-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease-out, transform 0.72s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.reveal-deco {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.78s ease-out, transform 0.78s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-deco.is-visible {
  animation: decoFloat 4.8s ease-in-out 0.9s infinite alternate;
  opacity: 1;
  transform: translateY(0);
}

@keyframes decoFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-card,
  .reveal-deco {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  margin: 0 auto;
  max-width: 1440px;
  padding: 20px 48px 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 20;
}

.logo {
  display: block;
  height: 88px;
  overflow: hidden;
  transition: opacity 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
  width: 152px;
}

.logo:hover,
.logo:focus-visible {
  opacity: 0.86;
  transform: translateY(var(--hover-y));
}

.logo img {
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  width: 100%;
}

.global-nav {
  align-items: center;
  display: flex;
  gap: 34px;
  font-family: "Comfortaa", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.global-nav > a {
  transition: color 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.global-nav > a:hover,
.global-nav > a:focus-visible {
  color: var(--red);
  transform: translateY(var(--hover-y));
}

.social-links,
.profile-social,
.footer-social {
  display: flex;
  gap: 8px;
}

.social-links a,
.profile-social a,
.footer-social a {
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  transition: box-shadow 0.26s var(--hover-ease), opacity 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
  width: 42px;
}

.social-links a:hover,
.social-links a:focus-visible,
.profile-social a:hover,
.profile-social a:focus-visible {
  box-shadow: var(--hover-shadow);
  opacity: 0.9;
  transform: translateY(var(--hover-y));
}

.social-links img,
.profile-social img,
.footer-social img {
  height: 55%;
  object-fit: contain;
  width: 55%;
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.menu-toggle span {
  background: var(--brown);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin: 6px 0;
  transition: opacity 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.section-soft {
  background: var(--cream);
}

.hero {
  overflow: hidden;
  padding: 154px 48px 105px;
  position: relative;
}

.hero-deco {
  opacity: 0.75;
  position: absolute;
  right: -140px;
  top: -236px;
  transform: rotate(-85deg);
  width: 560px;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(420px, 455px) minmax(420px, 613px);
  justify-content: center;
  margin: 0 auto;
  max-width: var(--container);
  min-height: 430px;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  display: grid;
  gap: 8px;
  margin: 0 0 32px;
}

.hero-copy h1 span {
  background: var(--accent);
  color: var(--brown);
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.65;
  padding: 0 18px 0 8px;
  white-space: nowrap;
  width: fit-content;
}

.hero-copy h1 .hero-copy-sub {
  font-size: 32px;
}

.hero-copy p {
  font-size: 16px;
  line-height: 1.95;
  margin: 0;
}

.hero-copy p + p {
  margin-top: 6px;
}

.hero-visual {
  height: 425px;
  overflow: hidden;
}

.hero-visual img {
  height: 186%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: translateY(-22%);
  width: 100%;
}

.section-inner {
  margin: 0 auto;
  max-width: var(--container);
  position: relative;
  width: min(calc(100% - 48px), var(--container));
  z-index: 1;
}

h2 {
  color: var(--red);
  font-family: "Comfortaa", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  text-align: center;
}

.section-pink {
  background: var(--cream);
  padding: 80px 0;
  position: relative;
}

.wave {
  background-image: url("assets/works-wave-top.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: block;
  height: 138px;
  position: relative;
  width: 100%;
}

.wave-top {
  margin-bottom: -1px;
}

.wave-bottom {
  margin-top: -1px;
  transform: rotate(180deg);
}

.works .section-inner {
  background: var(--pink);
  display: grid;
  gap: 56px;
  justify-items: center;
  max-width: none;
  padding: 100px 24px;
  width: 100%;
}

.works-grid,
.service-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.works-grid {
  max-width: var(--container);
}

.work-card {
  margin: 0;
}

.work-thumb {
  aspect-ratio: 360 / 458;
  background: #d9d9d9;
  display: grid;
  margin-bottom: 18px;
  overflow: hidden;
  place-items: center;
  width: 100%;
}

.work-thumb img,
.archive-work-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.work-detail-visual img {
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.work-card p,
.work-card h3 {
  font-size: 16px;
  line-height: 2;
  margin: 0;
}

.work-card h3 {
  font-weight: 700;
}

.round-button {
  align-items: center;
  background: var(--white);
  border-radius: 32px;
  display: inline-flex;
  font-size: 20px;
  font-weight: 500;
  gap: 4px;
  justify-content: center;
  min-width: 0;
  padding: 20px 80px;
  transition: box-shadow 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.round-button:hover,
.round-button:focus-visible {
  box-shadow: var(--hover-shadow);
  transform: translateY(var(--hover-y));
}

.round-button img {
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

.service {
  overflow: visible;
  padding: 100px 0 98px;
  position: relative;
}

.service .section-inner {
  display: grid;
  gap: 74px;
}

.paw-deco {
  height: auto;
  left: max(28px, calc(50% - 670px));
  position: absolute;
  top: -372px;
  width: 245px;
  z-index: 1;
}

.paw-deco.reveal-deco,
.profile-yarn.reveal-deco {
  opacity: 0;
  transform: translateY(24px);
}

.paw-deco.reveal-deco.is-visible,
.profile-yarn.reveal-deco.is-visible {
  animation: decoFloat 4.8s ease-in-out 0.9s infinite alternate;
  opacity: 1;
  transform: translateY(0);
}

.service-card img {
  aspect-ratio: 360 / 266;
  background: var(--white);
  height: 266px;
  margin-bottom: 18px;
  object-fit: cover;
  width: 100%;
}

.service-card:nth-child(1) img {
  object-position: 50% 56%;
}

.service-card:nth-child(2) img {
  object-position: 50% 68%;
}

.service-card:nth-child(3) img {
  object-position: 50% 57%;
}

.service-card-heading {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
}

.service-card-heading::after {
  background: #ecbfc0;
  content: "";
  height: 2px;
  margin-top: 12px;
  width: 100%;
}

.service-card h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

.service-card:nth-child(2) .service-card-heading::after {
  background: #fdda59;
}

.service-card:nth-child(3) .service-card-heading::after {
  background: #b9dad5;
}

.service-card .service-price {
  color: var(--brown);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.service-card p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.news-profile {
  background: var(--pink);
  overflow: hidden;
  padding: 100px 0 0;
  position: relative;
}

.news-block {
  align-items: flex-start;
  display: grid;
  gap: 132px;
  grid-template-columns: 190px 644px;
  justify-content: end;
  margin: 0 auto;
  max-width: 1120px;
  padding-bottom: 118px;
  position: relative;
  transform: translateX(44px);
  width: min(calc(100% - 48px), 1120px);
  z-index: 1;
}

.news-heading {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-heading h2 {
  text-align: left;
}

.news-heading-filter {
  display: grid;
  gap: 2px;
  padding-left: 3px;
}

.news-heading-filter a {
  color: var(--red);
  font-family: "Comfortaa", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  transition: opacity 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.news-heading-filter a:hover,
.news-heading-filter a:focus-visible {
  opacity: 0.72;
  transform: translateX(3px);
}

.news-list {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.news-list .round-button {
  margin-top: 52px;
}

.news-item {
  align-items: center;
  border-bottom: 2px solid #fef9f5;
  display: grid;
  gap: 32px;
  grid-template-columns: 118px 1fr;
  padding-bottom: 18px;
  width: 100%;
}

.news-item img {
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 41%;
}

.news-item time {
  display: block;
  font-family: "Comfortaa", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.news-item h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0;
}

.profile-block {
  background: var(--cream);
  margin: 0;
  max-width: none;
  min-height: 820px;
  overflow: hidden;
  padding: 120px 0 120px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.profile-block::before {
  background-image: url("assets/news-profile-curve.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
  height: 235px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}

.profile-cats {
  position: absolute;
  right: max(24px, calc((100vw - 1140px) / 2 + 52px));
  top: 54px;
  width: 332px;
  z-index: 2;
}

.profile-yarn {
  position: absolute;
  left: max(678px, calc((100vw - 1140px) / 2 + 682px));
  top: 672px;
  width: 88px;
  z-index: 2;
}

.profile-card {
  align-items: flex-start;
  background: url("assets/profile-circle.png") center / 100% 100% no-repeat;
  display: flex;
  flex-direction: column;
  height: 648px;
  justify-content: flex-start;
  margin-left: max(16px, calc((100vw - 1140px) / 2 + 26px));
  padding: 96px 104px 72px;
  position: relative;
  width: 648px;
  z-index: 1;
}

.profile-card h2 {
  align-self: center;
  margin-bottom: 58px;
}

.profile-intro {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 382px) 104px;
  width: 100%;
}

.profile-intro > img {
  border-radius: 50%;
  height: 104px;
  object-fit: contain;
  width: 104px;
}

.profile-name {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.profile-name h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  white-space: nowrap;
}

.profile-name span {
  font-family: "Comfortaa", sans-serif;
}

.profile-social a,
.footer-social a {
  height: 28px;
  width: 28px;
}

.profile-intro p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 8px;
}

.tools {
  align-items: start;
  border-top: 2px solid var(--line);
  display: grid;
  gap: 26px;
  grid-template-columns: auto 1fr;
  margin-top: 10px;
  padding-top: 18px;
  width: 100%;
}

.tools h3 {
  color: var(--red);
  font-family: "Comfortaa", sans-serif;
  font-size: 20px;
  margin: 0;
}

.tools ul {
  columns: 2;
  font-family: "Comfortaa", sans-serif;
  font-size: 14px;
  line-height: 1.75;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tools li::before {
  content: "・";
}

.contact {
  background: var(--cream);
  overflow: hidden;
  padding: 236px 24px 100px;
  position: relative;
}

.contact::before {
  background: var(--mint);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 220px;
  width: 100%;
  z-index: 0;
}

.contact-curve {
  background: var(--mint);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  height: 268px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 150vw;
  z-index: 1;
}

.contact-inner {
  margin: 0 auto;
  max-width: 599px;
  position: relative;
  z-index: 2;
}

.contact h2 {
  color: var(--red);
  margin-bottom: 36px;
}

.contact-inner > p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 40px;
  max-width: 520px;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 24px;
}

.contact-form label {
  display: grid;
  gap: 5px;
}

.contact-form span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.contact-form em {
  background: var(--red);
  border-radius: 2px;
  color: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  margin-left: 8px;
  padding: 2px 5px;
}

.contact-form input,
.contact-form textarea {
  background: var(--white);
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  color: var(--brown);
  min-height: 52px;
  padding: 14px 20px;
  width: 100%;
}

.contact-form textarea {
  min-height: 200px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a8a8a8;
}

.contact-form button {
  background: var(--red);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  min-height: 60px;
  transition: background 0.26s var(--hover-ease), box-shadow 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: #b72d17;
  box-shadow: var(--hover-shadow);
  transform: translateY(var(--hover-y));
}

.site-footer {
  align-items: flex-start;
  background: var(--cream);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(150px, 260px) 1fr auto;
  min-height: 300px;
  padding: 32px clamp(48px, 8.6vw, 124px) 14px;
  position: relative;
}

.footer-logo {
  display: block;
  height: auto;
  object-fit: contain;
  transform: none;
  width: 150px;
}

.footer-brand {
  overflow: visible;
}

.footer-brand p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  margin: 8px 0 36px;
}

.footer-social {
  gap: 18px;
}

.footer-social a {
  background: transparent;
  border: 0;
  border-radius: 0;
  height: 36px;
  transition: opacity 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
  width: 36px;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  opacity: 0.82;
  transform: translateY(var(--hover-y));
}

.footer-social img {
  height: 100%;
  object-fit: contain;
  transform: none;
  width: 100%;
}

.footer-nav {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: flex-end;
  margin-top: 48px;
}

.footer-nav a {
  font-family: "Comfortaa", sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.26s var(--hover-ease), color 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--red);
  transform: translateY(var(--hover-y));
}

.footer-contact {
  background: var(--accent);
  border-radius: 999px;
  padding: 10px 32px;
}

.footer-contact:hover,
.footer-contact:focus-visible {
  background: #f0c9ca;
  color: var(--brown);
}

.footer-top {
  align-self: end;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: transform 0.26s var(--hover-ease);
}

.footer-top:hover,
.footer-top:focus-visible {
  transform: translateY(var(--hover-y));
}

.footer-top.is-flying {
  transform: translateY(-18px) scale(1.04);
}

.footer-cat {
  display: block;
  height: 159px;
  object-fit: contain;
  width: 108px;
}

.footer-legal {
  align-items: center;
  bottom: 16px;
  display: flex;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  gap: 20px;
  left: 50%;
  margin: 0;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.footer-legal a {
  transition: color 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--red);
  transform: translateY(var(--hover-y));
}

@media (max-width: 1100px) {
  .site-header {
    padding: 18px 28px 0;
  }

  .global-nav {
    gap: 20px;
  }

  .hero {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-inner {
    gap: 44px;
    grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  }

  .profile-cats {
    right: max(24px, calc((100vw - 980px) / 2 + 60px));
    width: 300px;
  }

  .profile-yarn {
    left: auto;
    right: 28%;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 21;
  }

  .global-nav {
    align-items: flex-start;
    background: rgba(254, 249, 245, 0.96);
    border: 1px solid var(--accent);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(94, 82, 73, 0.12);
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    position: absolute;
    right: 24px;
    top: 90px;
    width: min(280px, calc(100vw - 48px));
  }

  .global-nav.is-open {
    display: flex;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    max-width: 680px;
    min-height: 0;
  }

  .hero-copy {
    max-width: 430px;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-visual {
    height: auto;
  }

  .hero-visual img {
    height: auto;
    transform: none;
  }

  .works-grid,
  .service-grid {
    grid-template-columns: 1fr;
    margin: 0 auto;
    max-width: 520px;
  }

  .work-thumb {
    aspect-ratio: 4 / 3;
  }

  .news-block {
    gap: 36px;
    grid-template-columns: 1fr;
    justify-content: center;
    transform: none;
  }

  .news-heading {
    align-items: center;
    justify-content: center;
  }

  .news-heading h2 {
    text-align: center;
  }

  .profile-block {
    min-height: 0;
    padding-bottom: 80px;
    padding-top: 72px;
  }

  .profile-cats {
    margin: 0 auto 20px;
    position: relative;
    right: auto;
    top: auto;
    width: min(360px, 80vw);
  }

  .profile-yarn {
    display: none;
  }

  .profile-card {
    background: #ffe2e2;
    border-radius: 36px;
    height: auto;
    margin: 0 auto;
    max-width: 680px;
    padding: 56px 36px;
    width: 100%;
  }

  .profile-card h2 {
    margin-bottom: 36px;
  }

  .profile-intro {
    grid-template-columns: 1fr;
  }

  .profile-intro > img {
    grid-row: 1;
  }

  .profile-name {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 0;
  }

  .footer-top {
    justify-self: end;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 16px 18px 0;
  }

  .logo {
    height: 74px;
    width: 128px;
  }

  .hero {
    padding: 124px 20px 72px;
  }

  .hero-deco {
    right: -88px;
    top: -158px;
    width: 340px;
  }

  .hero-inner {
    gap: 32px;
  }

  .hero-copy h1 span {
    font-size: 25px;
    line-height: 1.55;
  }

  .hero-copy h1 .hero-copy-sub {
    font-size: 22px;
  }

  h2 {
    font-size: 38px;
  }

  .section-inner {
    width: min(calc(100% - 36px), var(--container));
  }

  .section-pink,
  .service,
  .news-profile {
    padding-top: 72px;
  }

  .works .section-inner {
    gap: 42px;
    padding-top: 80px;
  }

  .round-button {
    font-size: 16px;
    padding: 14px 42px;
  }

  .round-button img {
    height: 16px;
    width: 16px;
  }

  .service .section-inner {
    gap: 48px;
  }

  .service-card h3 {
    font-size: 21px;
    white-space: normal;
  }

  .service-card .service-price {
    font-size: 21px;
  }

  .news-block {
    width: min(calc(100% - 36px), 1000px);
  }

  .news-item {
    gap: 18px;
    grid-template-columns: 82px 1fr;
  }

  .news-item time,
  .news-item h3 {
    font-size: 14px;
  }

  .profile-card {
    padding: 46px 24px;
  }

  .profile-name h3 {
    font-size: 20px;
    white-space: normal;
  }

  .tools {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .tools ul {
    columns: 1;
  }

  .contact {
    padding: 154px 18px 72px;
  }

  .contact::before {
    top: 104px;
  }

  .contact-curve {
    height: 126px;
  }

  .site-footer {
    padding: 32px 24px 68px;
  }

  .footer-nav {
    gap: 16px 22px;
  }

  .footer-legal {
    bottom: 20px;
    flex-wrap: wrap;
    gap: 8px 16px;
    left: 24px;
    transform: none;
    white-space: normal;
  }
}

.works-page {
  background: var(--cream);
}

.works-page .page-header {
  height: 140px;
  padding: 24px 48px;
  position: relative;
}

.works-page .global-nav > a[aria-current="page"],
.works-page .footer-nav > a[aria-current="page"] {
  color: var(--red);
}

.works-archive-hero {
  background: var(--cream);
  padding: 112px 24px 111px;
}

.works-archive-inner {
  margin: 0 auto;
  max-width: var(--container);
  width: min(calc(100% - 48px), var(--container));
}

.works-archive-hero .works-archive-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.works-archive-title {
  display: grid;
  gap: 10px;
  width: 257px;
}

.works-archive-title h1 {
  color: var(--red);
  font-family: "Comfortaa", sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.works-archive-title p {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.works-archive-cats {
  height: 208px;
  object-fit: cover;
  object-position: 50% 38%;
  width: 253px;
}

.works-archive {
  background: var(--cream);
  padding: 80px 24px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.category-pill {
  align-items: center;
  background: #f7f7f7;
  border: 0;
  border-radius: 999px;
  color: var(--brown);
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  min-width: 115px;
  padding: 5px 15px;
  transition: background 0.26s var(--hover-ease), box-shadow 0.26s var(--hover-ease), color 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.category-pill.is-active,
.category-pill:hover,
.category-pill:focus-visible {
  background: var(--accent);
  color: var(--white);
  transform: translateY(var(--hover-y));
}

.category-pill:hover,
.category-pill:focus-visible {
  box-shadow: var(--hover-shadow);
}

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

.archive-work-card {
  display: grid;
  gap: 32px;
  transition: opacity 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.archive-work-card:hover,
.archive-work-card:focus-visible {
  opacity: 0.9;
  transform: translateY(var(--hover-y));
}

.archive-work-thumb {
  aspect-ratio: 360 / 458;
  background: #d9d9d9;
  display: grid;
  place-items: center;
  width: 100%;
}

.archive-work-thumb span,
.work-detail-visual span {
  color: rgba(94, 82, 73, 0.34);
  font-family: "Comfortaa", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.archive-work-body {
  align-items: flex-start;
  display: grid;
  gap: 10px;
}

.archive-work-body p,
.archive-work-body h2 {
  color: var(--brown);
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  margin: 0;
  text-align: left;
}

.archive-work-body p {
  font-weight: 400;
}

.archive-work-body h2 {
  font-weight: 700;
}

.archive-work-body span {
  background: var(--accent);
  border-radius: 999px;
  color: var(--brown);
  display: inline-flex;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 16px;
  justify-self: start;
  line-height: 1;
  min-width: 44px;
  padding: 7px 13px;
  place-content: center;
}

.archive-work-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.archive-work-meta small,
.work-period {
  color: var(--brown);
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.archive-empty {
  font-size: 16px;
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

.pagination {
  align-items: flex-end;
  display: flex;
  font-family: "Comfortaa", sans-serif;
  font-size: 18px;
  font-weight: 500;
  gap: 20px;
  justify-content: center;
  margin-top: 80px;
}

.pagination a,
.pagination span {
  min-width: 14px;
  position: relative;
  text-align: center;
}

.pagination a {
  transition: color 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.pagination a:hover,
.pagination a:focus-visible {
  color: var(--red);
  transform: translateY(var(--hover-y));
}

.pagination .is-current {
  color: #e2750f;
}

.pagination .is-current::after {
  background: #e2750f;
  bottom: -7px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 18px;
}

.pagination-next img {
  height: 13px;
  margin-bottom: 2px;
  width: 8px;
}

.archive-contact {
  background: #bdd9d7;
  padding: 80px 24px;
}

.archive-contact-card {
  align-items: center;
  background: var(--white);
  border-radius: 30px;
  display: grid;
  gap: 32px;
  justify-items: center;
  margin: 0 auto;
  max-width: var(--container);
  min-height: 304px;
  padding: 44px 48px 36px;
  text-align: center;
  width: min(calc(100% - 48px), var(--container));
}

.archive-contact-card h2 {
  color: var(--red);
  font-size: 30px;
  line-height: 1.2;
}

.archive-contact-card p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.archive-contact-card a {
  align-items: center;
  background: var(--red);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  height: 60px;
  justify-content: center;
  min-width: 362px;
  padding: 10px 32px;
  transition: background 0.26s var(--hover-ease), box-shadow 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.archive-contact-card a:hover,
.archive-contact-card a:focus-visible {
  background: #b72d17;
  box-shadow: var(--hover-shadow);
  transform: translateY(var(--hover-y));
}

.work-detail-main {
  background: var(--cream);
  padding: 80px 24px;
}

.work-detail-content {
  display: grid;
  gap: 28px;
  margin: 0 auto;
  max-width: 910px;
  width: min(calc(100% - 48px), 910px);
}

.work-detail-heading {
  display: grid;
  gap: 15px;
}

.work-detail-tag {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: var(--brown);
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  justify-self: start;
  line-height: 1;
  min-width: 44px;
  padding: 7px 13px;
  place-content: center;
}

.work-detail-heading h1 {
  color: #090909;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.work-detail-heading p {
  color: #595757;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.work-detail-visual {
  background: transparent;
  border-radius: 20px;
  display: grid;
  margin-inline: auto;
  max-width: 540px;
  min-height: 320px;
  overflow: visible;
  place-items: center;
  width: 100%;
}

.work-detail-summary {
  display: grid;
  gap: 0;
}

.work-detail-summary p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  margin: 0;
}

.work-detail-point {
  display: grid;
  gap: 20px;
}

.work-detail-point h2,
.work-detail-section h2 {
  background: linear-gradient(90deg, var(--brown) 0 5px, var(--accent) 5px 100%);
  border-radius: 5px;
  color: var(--brown);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  min-height: 54px;
  padding: 9px 20px;
  text-align: left;
}

.work-detail-section {
  display: grid;
  gap: 20px;
}

.work-detail-point ul {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  margin: 0;
  padding-left: 24px;
}

.work-site-button {
  align-items: center;
  background: var(--red);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  justify-self: start;
  min-height: 48px;
  padding: 10px 28px;
  transition: background 0.26s var(--hover-ease), box-shadow 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.work-site-button:hover,
.work-site-button:focus-visible {
  background: #b72d17;
  box-shadow: var(--hover-shadow);
  color: var(--white);
  transform: translateY(var(--hover-y));
}

.work-site-button img {
  filter: brightness(0) invert(1);
  height: 12px;
  width: 8px;
}

.work-scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.work-scope-list li {
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  padding: 7px 14px;
}

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

.work-gallery-item {
  background: #fff;
  border: 1px solid rgba(94, 82, 73, 0.12);
  border-radius: 12px;
  display: block;
  overflow: hidden;
  padding: 12px;
  transition: box-shadow 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.work-gallery-item:hover,
.work-gallery-item:focus-visible {
  box-shadow: var(--hover-shadow);
  transform: translateY(var(--hover-y));
}

.work-gallery-item img {
  display: block;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  width: 100%;
}

.work-detail-nav {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 20px;
}

.work-detail-nav a {
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  transition: background 0.26s var(--hover-ease), box-shadow 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.work-detail-nav a:hover,
.work-detail-nav a:focus-visible {
  background: var(--accent);
  box-shadow: var(--hover-shadow);
  transform: translateY(var(--hover-y));
}

.back-to-works {
  align-items: center;
  background: var(--accent);
  border-radius: 32px;
  display: inline-flex;
  gap: 4px;
  justify-self: center;
  margin-top: 52px;
  padding: 20px 80px;
  transition: box-shadow 0.26s var(--hover-ease), opacity 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.back-to-works:hover,
.back-to-works:focus-visible {
  box-shadow: var(--hover-shadow);
  opacity: 0.9;
  transform: translateY(var(--hover-y));
}

.back-to-works img {
  height: 20px;
  width: 20px;
}

.back-to-works span {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.blog-page .global-nav > a[aria-current="page"],
.blog-page .footer-nav > a[aria-current="page"] {
  color: var(--red);
}

.blog-archive-hero {
  background: var(--cream);
  padding: 112px 24px 111px;
}

.blog-archive-hero .works-archive-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.blog-archive-cats {
  height: 260px;
  object-fit: contain;
  object-position: center;
  width: 320px;
}

.blog-archive {
  background: var(--cream);
  padding: 80px 24px;
}

.blog-archive-grid {
  display: grid;
  gap: 60px 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  display: grid;
  gap: 16px;
  transition: opacity 0.26s var(--hover-ease), transform 0.26s var(--hover-ease);
}

.blog-card:hover,
.blog-card:focus-visible {
  opacity: 0.9;
  transform: translateY(var(--hover-y));
}

.blog-card-thumb {
  aspect-ratio: 360 / 230;
  background: #d9d9d9;
  width: 100%;
}

.blog-card-body {
  color: #505050;
  display: grid;
  gap: 10px;
}

.blog-card-body h2 {
  color: #505050;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-align: left;
}

.blog-card-body p {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 16px;
  line-height: 1.25;
  margin: 0;
}

.blog-card-body time,
.blog-card-body span {
  white-space: nowrap;
}

.blog-detail-main {
  padding: 80px 10px;
}

.blog-detail-content {
  gap: 54px;
}

.blog-detail-heading h1 {
  color: var(--brown);
}

.blog-detail-body {
  display: grid;
  gap: 0;
}

.blog-detail-body p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  margin: 0;
}

.blog-detail-visual {
  margin-top: -14px;
}

@media (max-width: 1100px) {
  .works-page .page-header {
    padding-left: 28px;
    padding-right: 28px;
  }

  .works-archive-hero {
    padding-top: 86px;
  }

  .blog-archive-hero {
    padding-top: 86px;
  }
}

@media (max-width: 900px) {
  .works-page .page-header {
    height: 112px;
  }

  .works-archive-hero {
    padding: 64px 0 56px;
  }

  .blog-archive-hero {
    padding: 64px 0 56px;
  }

  .works-archive-hero .works-archive-inner,
  .blog-archive-hero .works-archive-inner {
    align-items: flex-start;
    gap: 32px;
  }

  .works-archive-title h1 {
    font-size: 48px;
  }

  .works-archive-title p {
    font-size: 18px;
  }

  .works-archive-cats {
    height: 160px;
    width: 195px;
  }

  .blog-archive-cats {
    height: 204px;
    width: 250px;
  }

  .works-archive,
  .blog-archive {
    padding: 56px 0 72px;
  }

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

@media (max-width: 600px) {
  .works-archive-inner,
  .archive-contact-card {
    width: min(calc(100% - 36px), var(--container));
  }

  .works-archive-hero .works-archive-inner,
  .blog-archive-hero .works-archive-inner {
    flex-direction: column;
  }

  .works-archive-title {
    width: auto;
  }

  .works-archive-cats {
    align-self: flex-end;
    height: 136px;
    width: 166px;
  }

  .blog-archive-cats {
    align-self: flex-end;
    height: 164px;
    width: 204px;
  }

  .category-tabs {
    gap: 10px;
  }

  .category-pill {
    font-size: 14px;
    height: 36px;
    min-width: 96px;
  }

  .works-archive-grid,
  .blog-archive-grid {
    gap: 48px;
    grid-template-columns: 1fr;
  }

  .archive-work-card {
    gap: 22px;
  }

  .archive-work-thumb {
    aspect-ratio: 4 / 3;
  }

  .pagination {
    gap: 16px;
    margin-top: 56px;
  }

  .archive-contact {
    padding: 56px 0;
  }

  .archive-contact-card {
    border-radius: 22px;
    gap: 24px;
    min-height: 0;
    padding: 36px 24px;
  }

  .archive-contact-card p {
    font-size: 15px;
    text-align: left;
  }

  .archive-contact-card a {
    font-size: 16px;
    min-width: 0;
    width: 100%;
  }

  .work-detail-main {
    padding: 56px 0;
  }

  .work-detail-content {
    width: min(calc(100% - 36px), 910px);
  }

  .work-detail-heading h1 {
    font-size: 28px;
  }

  .work-detail-visual {
    border-radius: 16px;
  }

  .work-detail-point h2 {
    font-size: 21px;
  }

  .work-detail-summary p,
  .work-detail-point ul {
    font-size: 14px;
  }

  .work-gallery-grid {
    grid-template-columns: 1fr;
  }

  .work-detail-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .back-to-works {
    margin-top: 32px;
    padding: 14px 42px;
  }

  .back-to-works img {
    height: 16px;
    width: 16px;
  }

  .back-to-works span {
    font-size: 16px;
  }

  .blog-detail-main {
    padding: 56px 0;
  }

  .blog-detail-content {
    gap: 40px;
  }

.blog-detail-body p {
  font-size: 14px;
}
}

.privacy-page {
  background: var(--cream);
}

.privacy-hero {
  background: var(--cream);
  padding: 80px 0 0;
}

.privacy-hero-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--container);
  width: min(calc(100% - 48px), var(--container));
}

.privacy-title {
  display: grid;
  gap: 12px;
}

.privacy-title h1 {
  color: var(--red);
  font-family: "Comfortaa", sans-serif;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
  white-space: nowrap;
}

.privacy-title p {
  color: var(--brown);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.privacy-cats {
  display: block;
  height: auto;
  object-fit: contain;
  width: 340px;
}

.privacy-content {
  color: var(--brown);
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 auto;
  max-width: 910px;
  padding: 80px 0;
  width: min(calc(100% - 48px), 910px);
}

.privacy-content h2 {
  color: var(--brown);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 24px 0 0;
  text-align: left;
}

.privacy-content p,
.privacy-content li {
  color: var(--brown);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  margin: 0;
}

.privacy-content ul {
  margin: 0;
  padding-left: 24px;
}

.privacy-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .privacy-hero {
    padding-top: 64px;
  }

  .privacy-hero-inner {
    gap: 32px;
  }

  .privacy-title h1 {
    font-size: 44px;
  }

  .privacy-cats {
    width: 280px;
  }

  .privacy-content {
    padding: 64px 0 72px;
  }
}

@media (max-width: 600px) {
  .privacy-hero-inner {
    align-items: flex-start;
    flex-direction: column;
    width: min(calc(100% - 36px), var(--container));
  }

  .privacy-title h1 {
    font-size: 36px;
    white-space: normal;
  }

  .privacy-title p {
    font-size: 18px;
  }

  .privacy-cats {
    align-self: flex-end;
    width: 230px;
  }

  .privacy-content {
    padding: 56px 0 64px;
    width: min(calc(100% - 36px), 910px);
  }

  .privacy-content h2 {
    font-size: 18px;
    margin-top: 22px;
  }

  .privacy-content p,
  .privacy-content li {
    font-size: 14px;
  }
}

.work-card a,
.news-item a {
  color: inherit;
  display: contents;
}

.work-thumb,
.archive-work-thumb,
.blog-card-thumb,
.work-detail-visual {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.pagination .nav-links {
  align-items: flex-end;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.pagination .page-numbers {
  min-width: 14px;
  position: relative;
  text-align: center;
}

.pagination .page-numbers.current {
  color: #e2750f;
}

.pagination .page-numbers.current::after {
  background: #e2750f;
  bottom: -7px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 18px;
}

.work-detail-editor {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

.work-detail-editor > *:first-child,
.blog-detail-body > *:first-child,
.privacy-content > *:first-child {
  margin-top: 0;
}

.work-detail-editor > *:last-child,
.blog-detail-body > *:last-child,
.privacy-content > *:last-child {
  margin-bottom: 0;
}
