/*
Theme Name: Aya Branding Design
Author: Ayako Kanbayashi
Version: 1.0
Description: Aya Branding Design LP Theme
*/

/* ==============================
   CSS Variables
============================== */
:root {
  --color-text:        #333333;
  --color-primary:     #91785a;
  --color-accent:      #f48393;
  --color-bg:          #ffffff;
  --color-bg-subtle:   #fbfaf9;
  --color-bg-footer:   #fdf2ed;
  --color-bg-contact:  #fef9fa;
  --font-serif:        'Noto Serif JP', serif;
  --font-sans:         'Noto Sans JP', sans-serif;
  --container-width:   1280px;
  --nav-height:        77px;
}

/* ==============================
   Reset & Base
============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

/* ==============================
   Layout Utilities
============================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading .en {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-text);
  display: block;
  line-height: 1.2;
}

.section-heading .ja {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  display: block;
  margin-top: 6px;
}

/* ==============================
   Header
============================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: #ffffff;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 60px;
  width: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.global-nav__list {
  display: flex;
  gap: 56px;
}

.global-nav__list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.global-nav__list a:hover {
  color: var(--color-primary);
  opacity: 1;
}

.nav-cta {
  background: var(--color-primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0 20px;
  width: 200px;
  height: 40px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-cta:hover {
  opacity: 0.85;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s;
}

/* ==============================
   Hero Section
============================== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: #d9d9d9;
  opacity: 0.15;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 16.67%, 320px);
  padding-left: clamp(20px, 11%, 210px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__tags {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__tag {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  width: 232px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 28px;
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.7;
}

/* ==============================
   Works Section
============================== */
.works-section {
  padding: 80px 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.works-card {
  background: var(--color-bg-subtle);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.works-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-top: 70%; /* 140 / 200 比率（Safariのaspect-ratio+グリッド崩れを避けるため常時この方式を使用） */
  margin: 28px 25px 0;
  background: #d9d9d9;
  min-width: 0;
}

.works-card__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.works-card__no-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #d9d9d9;
}

.works-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text);
  font-size: 16px;
  padding: 40px 0;
}

.works-card__body {
  padding: 20px 25px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.works-card__type {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 4px;
}

.works-card__label {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: auto;
  padding-bottom: 24px;
}

.works-card__link {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  display: inline-block;
  margin-top: auto;
}

/* ==============================
   Service Section
============================== */
.service-section {
  padding: 80px 0;
}

.service-grid {
  background: var(--color-bg-subtle);
  padding: 48px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.service-item + .service-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--color-text);
  opacity: 0.3;
}

.service-item__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
}

.service-item__title {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-item__desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.service-item__link {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==============================
   About Section
============================== */
.about-section {
  padding: 80px 0;
  background: var(--color-bg-subtle);
}

.about-box {
  padding: 60px 60px 60px;
}

.about-box__heading {
  margin-bottom: 48px;
}

.about-body {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 80px;
  align-items: start;
}

.about-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.about-bio {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 25px;
  margin-bottom: 40px;
}

.about-skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-skills__col {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.85;
  white-space: pre-line;
}

/* ==============================
   Voice Section
============================== */
.voice-section {
  padding: 80px 0;
}

.voice-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.voice-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.voice-grid {
  display: flex;
  gap: 21px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.voice-arrow {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.2s;
}

.voice-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.voice-arrow img {
  width: 43px;
  height: 42px;
}

.voice-arrow--prev img {
  transform: rotate(180deg);
}

.voice-card {
  background: var(--color-bg-subtle);
  padding: 24px;
}

.voice-card__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.voice-card__photo {
  width: 70px;
  height: 78px;
  object-fit: cover;
  flex-shrink: 0;
}

.voice-card__photo--placeholder {
  background: #d9d9d9;
}

.voice-card__meta {
  flex: 1;
}

.voice-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  display: block;
  margin-bottom: 6px;
  line-height: 1.4;
}

.voice-card__stars {
  display: flex;
  gap: 3px;
}

.voice-card__stars img {
  width: 20px;
  height: 20px;
  display: block;
}

.voice-card__text {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.6;
}

/* ==============================
   Back to Top
============================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 900;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent);
}

/* ==============================
   Contact Section
============================== */
.contact-section {
  padding: 80px 0;
  background: var(--color-bg-subtle);
}

.contact-box {
  padding: 60px 40px 70px;
}

.contact-tagline {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 60px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding: 0 40px;
}

.contact-card {
  background: var(--color-bg);
  border-radius: 20px;
  padding: 40px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-card__icon {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #ede8e3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.contact-card__icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.contact-card__icon--coconala img {
  width: 124px;
  height: 124px;
}

.contact-card__name {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.contact-card__divider {
  width: 100%;
  height: 1px;
  background: var(--color-text);
  opacity: 0.3;
  margin-bottom: 12px;
}

.contact-card__badge {
  background: var(--color-bg-contact);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 20px;
  white-space: nowrap;
}

.contact-card__desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 25px;
  margin-bottom: 32px;
  flex: 1;
}

.contact-card__btn {
  background: var(--color-accent);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50px;
  width: 100%;
  max-width: 300px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 40px;
  margin-top: auto;
  transition: opacity 0.2s;
}

.contact-card__btn:hover {
  opacity: 0.85;
}

.contact-card__btn-arrow {
  position: absolute;
  right: 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

/* ==============================
   Footer
============================== */
.site-footer {
  background: var(--color-bg-footer);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
  min-height: 408px;
}

.footer-flower {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}

.footer-flower--tl  { top: -15px;  left: -60px;   width: 220px; }
.footer-flower--bl  { bottom: -80px; left: -30px;  width: 340px; }
.footer-flower--tr  { top: -120px;  right: -20px;  width: 340px; }
.footer-flower--br1 { bottom: -100px; right: 200px; width: 340px; }
.footer-flower--br2 { bottom: -110px; right: 450px; width: 340px; }

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.footer-logo {
  margin-bottom: 40px;
}

.footer-logo img {
  width: 300px;
  height: auto;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-nav a {
  font-size: 24px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1;
  padding-right: 20px;
  margin-right: 20px;
}

.footer-nav a + a {
  border-left: 1px solid var(--color-text);
  padding-left: 20px;
}

.footer-contact-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 40px;
}

.footer-contact-box__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-box__header img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.footer-contact-box__header h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--color-text);
}

.footer-contact-box__divider {
  height: 1px;
  background: var(--color-text);
  opacity: 0.3;
  margin-bottom: 24px;
}

.footer-contact-box__row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.footer-contact-icons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.footer-contact-icon {
  position: relative;
  width: 61px;
  height: 61px;
  display: block;
}

.footer-contact-icon__circle {
  width: 61px;
  height: 61px;
  border-radius: 50%;
  background: #ede8e3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-icon__circle img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.footer-contact-icon__circle--coconala img {
  width: 50px;
  height: 50px;
}

.footer-contact-box__desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.7;
}

.footer-bottom {
  text-align: center;
  padding-top: 60px;
  position: relative;
  z-index: 1;
}

.footer-copyright {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
}

/* ==============================
   Responsive — Tablet (≤ 1199px)
============================== */
@media (max-width: 1199px) {
  .header-inner {
    padding: 0 20px;
  }

  .global-nav__list {
    gap: 32px;
  }

  .hero__content {
    padding: 0 20px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 32px 0;
  }

  .service-item + .service-item::before {
    display: none;
  }

  .service-item {
    border-bottom: 1px solid rgba(51,51,51,0.1);
    padding-bottom: 24px;
  }

  .about-body {
    grid-template-columns: 200px 1fr;
    gap: 40px;
  }

  .about-photo {
    width: 200px;
    height: 200px;
  }

  .about-box {
    padding-left: 0;
    padding-right: 0;
  }

  .contact-box {
    padding-left: 0;
    padding-right: 0;
  }

  .contact-cards {
    gap: 32px;
    padding: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-contact-box {
    max-width: 100%;
  }
}

/* ==============================
   Responsive — Nav collapse (≤ 960px)
============================== */
@media (max-width: 960px) {
  .global-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px 32px;
    gap: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .global-nav__list {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .global-nav__list a {
    font-size: 16px;
  }

  .nav-cta {
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==============================
   Responsive — Mobile (≤ 767px)
============================== */
@media (max-width: 767px) {
  :root {
    --nav-height: 64px;
  }

  /* Header */
  .header-inner {
    padding: 0 20px;
  }

  .site-logo img {
    height: 44px;
  }

  /* Hero */
  .hero {
    height: auto;
    aspect-ratio: 750 / 1200;
  }

  .hero__content {
    padding: 30vw 20px 32px;
    justify-content: flex-start;
  }

  .hero__tags {
    gap: 8px;
    margin-bottom: 20px;
  }

  .hero__tag {
    font-size: 14px;
    width: auto;
    padding: 4px 16px;
    height: 36px;
  }

  .hero__title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  /* Section heading */
  .section-heading .en {
    font-size: 24px;
  }

  /* Works */
  .works-section {
    padding: 60px 0;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .works-card__type {
    font-size: 18px;
  }

  /* Service */
  .service-section {
    padding: 60px 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 24px 0;
  }

  .service-item {
    padding: 20px 16px;
  }

  .service-item__title {
    font-size: 18px;
  }

  .service-item__icon {
    width: 48px;
    height: 48px;
  }

  /* About */
  .about-section {
    padding: 60px 0;
  }

  .about-box {
    padding: 40px 20px;
  }

  .about-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .about-skills {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Voice */
  .voice-section {
    padding: 60px 0;
  }

  .voice-wrap {
    gap: 8px;
  }

  /* Contact */
  .contact-section {
    padding: 60px 0;
  }

  .contact-box {
    padding: 40px 20px;
  }

  .contact-tagline {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
  }

  /* Footer */
  .site-footer {
    padding: 48px 0 32px;
  }

  .footer-inner {
    padding: 0 16px;
    grid-template-columns: 1fr;
  }

  .footer-logo img {
    width: 180px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 10px 0;
  }

  .footer-nav a {
    font-size: 13px;
    padding-right: 12px;
    margin-right: 12px;
  }

  .footer-nav a + a {
    padding-left: 12px;
  }

  .footer-contact-box {
    padding: 24px 20px;
  }

  .footer-contact-box__header,
  .footer-contact-box__divider {
    display: none;
  }

  .footer-contact-box__row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer-contact-icons {
    justify-content: center;
  }

  .footer-contact-box__desc {
    text-align: center;
  }

  .footer-copyright {
    font-size: 12px;
  }
}

/* ==============================
   Works Archive Page
============================== */
.works-archive-page {
  min-height: 100vh;
}

.archive-hero {
  padding: 100px 0 48px;
  background-color: var(--color-bg-subtle);
  background-image: var(--hero-bg-pc);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.archive-type-nav {
  background: #fff;
  border-bottom: 1px solid #ede8e2;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}

.archive-type-nav__list {
  display: flex;
  gap: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.archive-type-nav__list::-webkit-scrollbar {
  display: none;
}

.archive-type-nav__item {
  display: block;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.archive-type-nav__item:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.archive-body {
  padding: 64px 0 100px;
}

.archive-type-section {
  margin-bottom: 72px;
}

.archive-type-section__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  border-left: 4px solid var(--color-primary);
  padding-left: 14px;
  margin-bottom: 28px;
}

/* Archive carousel */
.archive-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.archive-carousel__viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.archive-carousel__track {
  display: flex;
  gap: 28px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.archive-arrow {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.2s;
}

.archive-arrow img {
  width: 43px;
  height: 42px;
  display: block;
}

.archive-arrow--prev img {
  transform: rotate(180deg);
}

.archive-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* Archive page: show full image without cropping */
.works-archive-page .works-card__img-wrap {
  position: static;
  aspect-ratio: unset;
  height: auto;
  padding-top: 0;
  margin: 0;
  background: #f8f7f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.works-archive-page .works-card__img-wrap img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: unset;
}

.works-archive-page .works-card__no-image {
  position: static;
  width: 100%;
  height: 160px;
}

.works-archive-page .works-card__body {
  padding: 14px 16px 18px;
}

.works-archive-page .works-card {
  margin: 0;
}

.archive-back {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #ede8e2;
  text-align: center;
}

.archive-back__link {
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.archive-back__link:hover {
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .archive-type-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .archive-hero {
    padding: 80px 0 32px;
    background-image: var(--hero-bg-sp);
  }

  .archive-type-nav__item {
    padding: 12px 20px;
  }

  .archive-body {
    padding: 40px 0 60px;
  }

  .archive-type-section {
    margin-bottom: 48px;
  }

  .archive-type-section__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
