/* ========================================
   CSS Reset & Base Styles
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: #111;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ========================================
   Utility Classes
   ======================================== */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.mobile-break {
  display: inline;
}

.spacer {
  display: block;
}

.spacer--4 { height: 4px; }
.spacer--8 { height: 8px; }
.spacer--12 { height: 12px; }
.spacer--16 { height: 16px; }
.spacer--18 { height: 18px; }
.spacer--20 { height: 20px; }
.spacer--24 { height: 24px; }
.spacer--32 { height: 32px; }
.spacer--48 { height: 48px; }
.spacer--70 { height: 70px; }
.spacer--16-20 { height: 24px; }

/* ========================================
   Header
   ======================================== */
.header {
  background: #f5f7fa;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 300;
}

.header__container {
  max-width: 100%;
  margin: 0 auto;
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 48px;
}

.header__logo {
  width: 255px;
  height: 40px;
  object-fit: cover;
}

.header__logo-sp {
  width: 200px;
  height: 31px;
  object-fit: cover;
}

.header__menu-button {
  width: 38px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__item {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  padding: 16px 8px;
  transition: opacity 0.2s;
}

.nav__item:hover {
  opacity: 0.65;
}

/* ========================================
   Mobile Navigation Overlay
   ======================================== */
.sp-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  background-image: 
  linear-gradient(to bottom, #fff 0%,#fff 40%, rgba(255,255,255,0) 100%),
  radial-gradient(circle, rgba(107,114,128,0.4) 1px, transparent 1px); 
  background-size: 100% 100%, 20px 20px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sp-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.sp-nav__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  padding: 0 ;
  position: relative;
}

.sp-nav__close {
  width: 38px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-nav__menu {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 52px 48px 48px 48px;
  padding: 24px;
  border-radius: 8px;
}

.sp-nav__item {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 4px 8px;
  transition: opacity 0.2s;
}

.sp-nav__item:hover {
  opacity: 0.65;
}

.sp-nav__cta {
  margin-top: 68px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

/* ========================================
   Buttons
   ======================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.7px;
  border-radius: 4px;
  transition: opacity 0.2s;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  opacity: 0.85;
}

.button--primary {
  background: #111;
  color: #fff;
  padding: 8px 20px;
  font-size: 14px;
  border-color: #111;
}

.button--secondary {
  background: #fff;
  color: #111;
  padding: 12px 20px;
  font-size: 14px;
  border: 1px solid #e5e7eb;
}

.button--large {
  padding: 10px 16px;
  font-size: 14px;
}

.button__icon {
  width: 27px;
  height: 27px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: linear-gradient(236.405deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 36.684%, rgb(255, 255, 255) 60.225%);
  background-image: 
    linear-gradient(236.405deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 36.684%, rgb(255, 255, 255) 60.225%),
    radial-gradient(circle, rgba(107,114,128,0.6) 1px, transparent 1px);
  background-size: auto, 24px 24px;
  background-position: center, top right;
  border-bottom: 1px solid #e5e7eb;
  padding: 120px 0 180px;
}

.hero__container {
  max-width: 1096px;
  margin: 0 auto;
  padding: 26px 48px;
}

.hero__content {
  max-width: 100%;
}

.hero__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.56px;
  line-height: 1.5;
  text-align: left;
}

.hero__title-accent {
  color: rgba(59, 130, 246, 0.8);
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.8px;
  line-height: 1.5;
}

.hero__description {
  font-size: 15px;
  font-weight: 400;
  color: #6b7280;
  letter-spacing: 0.75px;
  line-height: 1.6;
}

.hero__button-frame {
  display: flex;
  align-items: flex-start;
}

/* ========================================
   Section Base Styles
   ======================================== */
.section {
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.section__container {
  max-width: 1072px;
  margin: 0 auto;
  padding: 0 96px;
}

.section__container-works {
  max-width: 1192px;
  margin: 0 auto;
  padding: 0 48px;
}

.section__content {
  max-width: 100%;
}

.section__content-works {
  max-width: 100%;
}

.section__content-pricing {
  max-width: 100%;
  padding: 22px 0;
}

.section__content-profile {
  display: flex;
  gap: 64px;
  align-items: center;
  max-width: 100%;
}

.section__header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.section__bar {
  width: 2px;
  height: 20px;
  background: #3b82f6;
  flex-shrink: 0;
  margin-top: 10px;
}

.section__title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1.2px;
  line-height: 1.5;
  color: #111;
}

.section__title--profile {
  font-size: 24px;
  font-weight: 700;
}

/* ========================================
   Section: Reason
   ======================================== */
.section--reason {
  padding: 96px 0;
  background: linear-gradient(236.405deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 36.684%, rgb(255, 255, 255) 60.225%);
  background-image: 
    linear-gradient(236.405deg, rgba(255, 255, 255, 1) 0%, rgb(255, 255, 255) 66.684%, rgb(255, 255, 255, 0) 100%),
    radial-gradient(circle, rgba(107,114,128,0.6) 1px, transparent 1px);
  background-size: auto, 24px 24px;
  background-position: center, top right;
  border-bottom: 1px solid #e5e7eb;
}

.reason__article {
  max-width: 100%;
}

.reason__article-title {
  font-size: 15px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.75px;
  line-height: 1.5;
}

.reason__article-text {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.5;
}

/* ========================================
   Section: Empathy
   ======================================== */
.section--empathy {
  background: #f5f7fa;
  padding: 80px 0;
}

.empathy__text {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.6;
}

.empathy__list {
  display: flex;
  /* justify-content: center; */
  padding: 0 16px;
}

.empathy__list-text {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.65;
  max-width: 377px;
}

/* ========================================
   Section: Concept
   ======================================== */
.section--concept {
  padding: 96px 0;

  background-color: #ffffff;
}

.concept__lead {
  font-size: 22px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 1.1px;
  line-height: 1.5;
}

.concept__text {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.5;
}

.concept__text--bold {
  font-weight: 700;
  line-height: 1.65;
}

/* ========================================
   Section: System
   ======================================== */
.section--system {
  padding: 80px 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255, 1) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%),
    linear-gradient(rgba(107,114,128,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,114,128,0.1) 1px, transparent 1px);
  background-size:
    100% 100%,
    24px 24px,
    24px 24px;
}

.system__lead {
  font-size: 22px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 1.1px;
  line-height: 1.5;
}

.system__text {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.5;
}

.system__list {
  display: flex;
  /* justify-content: center; */
  padding: 0 16px;
}

.system__list-text {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.7;
  max-width: 377px;
}

/* ========================================
   Section: Model
   ======================================== */
.section--model {
  padding: 96px 0;
}

.model__lead {
  font-size: 22px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 1.1px;
  line-height: 1.5;
}

.model__text {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.6;
}

/* ========================================
   Section: Pricing
   ======================================== */
.section--pricing {
  padding: 96px 0;

  background-image:
    /* linear-gradient(to bottom, rgba(255,255,255, 0) 0%, rgba(255,255,255,1) 90%, rgba(255,255,255,1) 100%), */
    linear-gradient(rgba(107,114,128,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,114,128,0.05) 1px, transparent 1px);
  background-size:
    /* 100% 100%, */
    24px 24px,
    24px 24px;
}

.price-card {
  background: #fff;
  border-radius: 0;
  max-width: 100%;
}

.price-card--standard {
  border: 2px solid #111;
}

.price-card--minimal {
  background: #fafafa;
  border: 1px solid #e5e7eb;
}

.price-card--premium {
  border: 1px solid #111;
}

.price-card__content {
  padding: 16px 32px;
}

.price-card--minimal .price-card__content,
.price-card--premium .price-card__content {
  padding: 16px 24px;
}

.price-card__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.9px;
  line-height: 1.5;
  color: #111;
}

.price-card__name--simple {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
}

.price-card__name-main {
  font-size: 18px;
  font-weight: 800;
}

.price-card__badge {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  margin-left: 4px;
}

.price-card__badge--recommend {
  color: #6b7280;
}

.price-card__label {
  font-size: 15px;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.5;
}

.price-card__price {
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 1.5px;
  line-height: 1.5;
}

.price-card__price--large {
  font-size: 30px;
}

.price-card__price--medium {
  font-size: 28px;
  letter-spacing: 1.4px;
}

.price-card__price--small {
  font-size: 24px;
  letter-spacing: 1.2px;
}

.price-card__description {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.5;
}

.price-card__maintenance {
  padding: 0 24px;
}

.price-card__note {
  font-size: 13px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.65px;
  line-height: 1.5;
}

.price-card__option {
  font-size: 16px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.8px;
  line-height: 1.5;
}

/* ========================================
   Section: Quality
   ======================================== */
.section--quality {
  padding: 80px 0;
}

.quality__text {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.5;
}

.quality__list {
  display: flex;
  padding: 0 16px;
}

.quality__list-text {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.7;
  max-width: 377px;
  height: 101px;
  display: flex;
  align-items: center;
}

/* ========================================
   Section: Works
   ======================================== */
.section--works {
  padding: 96px 0;
}

.works__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.works__card {
  width: 320px;
  text-align: center;
}

.works__card--bigger {
  width: 391px;
}

.works__thumbnail {
  width: 100%;
  aspect-ratio: 160 / 90;
  background: #d9d9d9;
}

.works__thumbnail--bigger {
  width: 391px;
  height: 220px;
}

.works__thumb-wrap {
  position: relative;
}

.works__tag {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  border-radius: 2px;
  border: 1px solid transparent;
}

.works__tag--minimal {
  background: rgba(107, 114, 128, 0.5);
  color: #ffffff;
}

.works__tag--standard {
  background: rgba(107, 114, 128, 0.5);
  color: #ffffff;
}

.works__tag--premium {
  background: rgba(107, 114, 128, 0.5);
  color: #ffffff;
}

@media (max-width: 767px) {
  .works__tag {
    top: 10px;
    right: 10px;
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
  }
}

.works__title {
  font-size: 15px;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.5;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.works__title--bigger {
  font-size: 18px;
  letter-spacing: 0.9px;
}

.works__description {
  font-size: 13px;
  font-weight: 350;
  color: #111;
  letter-spacing: 0.65px;
  line-height: 1.7;
}

.works__button-frame {
  display: flex;
  justify-content: center;
}

/* ========================================
   Section: Profile
   ======================================== */
.section--profile {
  background: #f5f7fa;
  padding: 80px 0;
}

.profile__image {
  width: 240px;
  flex-shrink: 0;
}

.profile__photo {
  width: 240px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  background: #d9d9d9;
}

.profile__text {
  flex: 1;
}

.profile__description {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.6;
}

.profile__history {
  max-width: 353px;
}

.profile__history-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.6;
  height: 45px;
  display: flex;
  align-items: center;
}

.profile__history-list {
  padding: 0 16px;
}

.profile__history-item {
  font-size: 13px;
  color: #111;
  letter-spacing: 0.65px;
  line-height: 1.6;
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.profile__history-item:last-child {
  margin-bottom: 0;
}

.profile__history-date {
  font-weight: 500;
  flex-shrink: 0;
}

.profile__history-text {
  font-weight: 400;
}

.profile__name {
  max-width: 316px;
}

.profile__name-label {
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
  letter-spacing: 0.65px;
  line-height: 1.6;
}

.profile__name-main {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.8px;
  line-height: 1.6;
  margin-top: 4px;
}

/* ========================================
   Section: Closing
   ======================================== */
.section--closing {
  background: #fff;
  background-image: 
  linear-gradient(to right, #fff 0%,#fff 40%, rgba(255,255,255,0) 100%),
  radial-gradient(circle, rgba(107,114,128,0.4) 1px, transparent 1px); 
  background-size: 100% 100%, 20px 20px;
  padding: 96px 0;
}

.closing__text {
  font-size: 15px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.75px;
  line-height: 1.6;
}

.closing__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #f5f7fa;
  border-top: 1px solid #e5e7eb;
  padding: 48px 0 24px;
}

.footer__container {
  max-width: 1072px;
  margin: 0 auto;
  padding: 0 96px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  gap: 64px;
}

.footer__info {
  max-width: 400px;
}

.footer__logo {
  width: 200px;
  height: auto;
}

.footer__brand {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.7px;
  line-height: 1.6;
}

.footer__text {
  font-size: 13px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.65px;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav-item {
  font-size: 13px;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.65px;
  line-height: 1.5;
  padding: 4px 8px;
  transition: opacity 0.2s;
}

.footer__nav-item:hover {
  opacity: 0.6;
}

.footer__bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
  margin-top: 32px;
}

.footer__copyright {
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  letter-spacing: 0.6px;
}

/* ========================================
   Responsive Styles (Mobile < 1000px)
   ======================================== */
@media (max-width: 1000px) {
  /* Utility Classes */
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .mobile-break::before {
    content: '\A';
    white-space: pre;
  }

  /* Header */
  .header__content {
    height: 64px;
    padding: 0 20px;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: 720px;
    padding: 80px 0 64px;
    background: linear-gradient(231.573deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 47.29%, rgb(255, 255, 255) 99.249%);
  }

  .hero__container {
    max-width: 1056px;
    padding: 0 16px;
  }

  .hero__title {
    font-size: 24px;
    letter-spacing: 0.96px;
  }

  .hero__subtitle {
    font-size: 16px;
    font-weight: 500;
  }

  .hero__description {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .hero__button-frame {
    justify-content: center;
  }

  .spacer--16-20 {
    height: 20px;
  }

  /* Sections */
  .section__container {
    padding: 0 16px;
  }

  .section__container-works {
    padding: 64px 16px;
  }

  .section--reason {
    padding: 64px 0;
  }

  .section--empathy {
    padding: 64px 0;
  }

  .section--concept {
    padding: 64px 0;
    background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 100%);
  }

  .section--system {
    padding: 64px 0;
  }

  .section--model {
    padding: 64px 0;
  }

  .section--pricing {
    padding: 64px 0;
  }

  .section--quality {
    padding: 64px 0;
  }

  .section--works {
    padding: 64px 0;
  }

  .section--profile {
    padding: 64px 0;
  }

  .section--closing {
    padding: 64px 0;
  }

  .section__header {
    gap: 12px;
  }

  .section__bar {
    height: 16px;
    margin-top: 7px;
  }

  .section__title {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .section__content-profile {
    flex-direction: column;
    gap: 32px;
  }

  /* Reason */
  .reason__article-title {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .reason__article-text {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  /* Empathy */
  .empathy__text {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .empathy__list-text {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  /* Concept */
  .concept__lead {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.9px;
  }

  .concept__text {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  /* System */
  .system__lead {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.9px;
  }

  .system__text {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .system__list-text {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  /* Model */
  .model__lead {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.9px;
  }

  .model__text {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  /* Pricing */
  .price-card {
    margin: 0 auto;
  }

  .price-card__content {
    padding: 16px;
  }

  .price-card__name {
    font-size: 16px;
  }

  .price-card__price--medium {
    font-size: 24px;
  }

  .price-card__price--small {
    font-size: 20px;
  }

  .price-card__description {
    font-size: 14px;
  }

  /* Quality */
  .quality__text {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .quality__list-text {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  /* Works */
  .works__grid {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .works__card {
    width: 100%;
    max-width: 390px;
  }

  .works__card--bigger {
    width: 100%;
    max-width: 390px;
  }

  .works__thumbnail--bigger {
    width: 100%;
    height: auto;
  }

  /* Profile */
  .profile__image {
    width: 100%;
  }

  .profile__photo {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .profile__description {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .profile__history {
    max-width: 100%;
  }

  .profile__history-title {
    font-size: 14px;
  }

  .profile__name {
    max-width: 100%;
  }

  /* Closing */
  .closing__text {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .closing__buttons {
    flex-direction: column;
    align-items: center;
  }

  .closing__buttons .button {
    width: 100%;
    max-width: 320px;
  }

  /* Footer */
  .footer__container {
    padding: 0 16px;
  }

  .footer__content {
    flex-direction: column;
    gap: 32px;
  }

  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ========================================
   Tablet Optimization (768px - 1439px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1439px) {
  .section__container {
    padding: 80px 48px;
  }

  .hero__container {
    padding: 0 48px;
  }
}
.u-tax__size {
  font-size: 16px;
}

.sp-nav__header{
  height: 64px;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
}

/* ========================================
   WordPress Helpers
   ======================================== */
:root{--header-height:72px;}
/* html{scroll-padding-top:var(--header-height);} */
section{scroll-margin-top:var(--header-height);}
.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;}
.works__thumbnail-link{display:block;color:inherit;}
.works__thumbnail img{width:100%;height:100%;object-fit:cover;}
.works__thumbnail--placeholder{display:flex;align-items:center;justify-content:center;background:#f5f7fa;color:#6b7280;font-size:14px;}
.footer__nav-item.current-menu-item,.footer__nav-item.current_page_item,.nav__item.current-menu-item,.nav__item.current_page_item{opacity:.7;}
.archive-page{padding:120px 0 96px;}
.archive-page__container{max-width:1192px;margin:0 auto;padding:0 48px;}
.archive-page__title{font-size:32px;line-height:1.4;letter-spacing:1.2px;font-weight:700;color:#111;}
.archive-page__lead{font-size:15px;color:#6b7280;line-height:1.8;}
.archive-page__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.archive-page__card{border:1px solid #e5e7eb;background:#fff;}
.archive-page__thumb{aspect-ratio:16/9;background:#f5f7fa;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.archive-page__thumb img{width:100%;height:100%;object-fit:cover;}
.archive-page__body{padding:16px;}
.archive-page__meta{font-size:12px;color:#6b7280;letter-spacing:.04em;}
.archive-page__card-title{font-size:18px;line-height:1.6;font-weight:700;color:#111;}
.archive-page__excerpt{font-size:14px;line-height:1.9;color:#111;}
.pagination{display:flex;gap:8px;justify-content:center;margin-top:40px;}.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;border:1px solid #e5e7eb;padding:0 12px;background:#fff;}.pagination .current{background:#111;color:#fff;border-color:#111;}
.single-page{padding:120px 0 96px;}
.single-page__container{max-width:900px;margin:0 auto;padding:0 48px;}
.single-page__title{font-size:32px;line-height:1.5;font-weight:700;color:#111;}
.single-page__meta{font-size:13px;color:#6b7280;display:flex;gap:12px;flex-wrap:wrap;}
.single-page__thumb{margin-top:32px;border:1px solid #e5e7eb;background:#f5f7fa;}
.single-page__thumb img{width:100%;height:auto;display:block;}
.single-page__content{margin-top:40px;font-size:16px;line-height:2;color:#111;}
.single-page__content > * + *{margin-top:1.2em;}
.single-page__content h2,.single-page__content h3,.single-page__content h4{margin-top:2em;line-height:1.5;}
.single-page__content img{height:auto;}
.single-page__back{margin-top:48px;}
@media (max-width: 767px){.archive-page{padding:88px 0 64px;}.archive-page__container,.single-page__container{padding:0 16px;}.archive-page__grid{grid-template-columns:1fr;gap:24px;}.archive-page__title,.single-page__title{font-size:24px;}.single-page{padding:88px 0 64px;}}


/* ========================================
   Mobile Menu Button
   ======================================== */
.header__menu-button {
  width: 38px;
  height: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 300;
}

.header__menu-line {
  display: block;
  width: 28px;
  height: 2px;
  background: rgba(59, 130, 246, 0.8);
  border-radius: 999px;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease,
    background-color 0.25s ease;
  transform-origin: center;
}

/* 開いたときにXにする */
.header__menu-button.is-open .header__menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__menu-button.is-open .header__menu-line:nth-child(2) {
  opacity: 0;
}

.header__menu-button.is-open .header__menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   Mobile Navigation Overlay
   ======================================== */
.sp-nav {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background: #fff;
  background-image:
    linear-gradient(to bottom, #fff 0%, #fff 40%, rgba(255,255,255,0) 100%),
    radial-gradient(circle, rgba(107,114,128,0.4) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px;
  z-index: 200;

  /* ここを変更 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition:
    transform 0.45s ease,
    opacity 0.3s ease,
    visibility 0.3s ease;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.sp-nav__content {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}

.sp-nav__header {
  height: 64px;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-nav__menu {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 52px 48px 0 48px;
  padding: 24px 0;
  border-radius: 8px;
}

.sp-nav__item {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 4px 8px;
  transition: opacity 0.2s;
}

.sp-nav__cta {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  padding-top: 32px;
}

/*制作事例3列3行対応 */
.works__thumbnail,
.works__thumbnail--bigger {
  object-fit: cover;
}

.works__grid--archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

.works__card {
  background: #fff;
}

.works__link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.works__link:hover {
  opacity: 0.72;
  transform: translateY(-2px);
}

.works__thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #f5f7fa;
}

.works__thumbnail--placeholder {
  border: 1px solid #e5e7eb;
}

.works__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #111;
}

.works__description {
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
}

.pagination {
  margin-top: 16px;
}

.pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  color: #111;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  background: #fff;
}

.pagination .current {
  border-color: #111;
  background: #111;
  color: #fff;
}

.pagination a:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
  .works__grid--archive {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pagination .page-numbers {
    flex-wrap: wrap;
  }
}

.menu-button.is-open .menu-line:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0);
}