/* ===== CSS Variables ===== */
:root {
  --bg: #FAF7F0;
  --ink: #2B2B2B;
  --acc: #C77D4A;
  --white: #FFFFFF;
  --gray-light: #F5F5F5;
  --gray-medium: #E0E0E0;
  --gray-dark: #666666;
  
  --font-family: 'Noto Sans JP', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  
  --container-max-width: 1200px;
  --container-padding: 1rem;
  
  --radius: 8px;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);
  
  --transition: 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--acc);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--ink);
}

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

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
}

/* ===== Screen Reader Only ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Container ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid var(--acc);
  min-height: 40px;
  min-width: 120px;
}

.btn--primary {
  background: var(--white);
  color: var(--acc);
  border-color: var(--acc);
}

.btn--primary:hover {
  background: var(--acc);
  color: var(--white);
  border-color: var(--acc);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn--outline {
  background: var(--white);
  color: var(--acc);
  border-color: var(--acc);
}

.btn--outline:hover {
  background: var(--acc);
  color: var(--white);
  border-color: var(--acc);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn--white {
  background: var(--white);
  color: var(--acc);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* ===== Section Titles ===== */
.section__title {
  font-size: clamp(24px, 4vw, 32px);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--ink);
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--acc);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.section__title--large {
  font-size: clamp(28px, 5vw, 40px);
}

.section__description {
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 247, 240, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  border-bottom: 1px solid rgba(199, 125, 74, 0.1);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.header__logo {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.header__logo-link {
  color: var(--ink);
  text-decoration: none;
}

.header__logo-link:hover {
  color: var(--acc);
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: 2rem;
}

.header__nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  padding: 0.5rem 0;
  outline: none;
}

.header__nav-link:hover {
  color: var(--acc);
}

.header__nav-link:focus {
  outline: none;
  color: var(--acc);
}

/* ===== Hamburger Menu ===== */
.hamburger {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--acc);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-light);
  transition: all var(--transition);
  z-index: 10000;
}

.hamburger:hover {
  background: var(--acc);
  transform: scale(1.05);
}

.hamburger:hover .hamburger__line {
  background: var(--white);
}

.hamburger__line {
  width: 22px;
  height: 3px;
  background: var(--acc);
  margin: 2px 0;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.hamburger[aria-expanded="true"] {
  background: var(--acc);
  border-color: var(--acc);
}

.hamburger[aria-expanded="true"] .hamburger__line {
  background: var(--white);
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Mobile Drawer ===== */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.drawer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(43, 43, 43, 0.8);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: all 0.4s ease;
}

.drawer__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--white) 0%, var(--bg) 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  border-bottom: 3px solid var(--acc);
}

.drawer.is-open .drawer__content {
  transform: translateY(0);
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(135deg, var(--acc) 0%, #a86340 100%);
  color: var(--white);
  position: relative;
  text-align: center;
}

.drawer__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
}

.drawer__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  text-align: center;
  flex: 1;
}

.drawer__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
  backdrop-filter: blur(10px);
  position: absolute;
  right: 2rem;
}

.drawer__close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg) scale(1.1);
}

.drawer__nav-list {
  padding: 2rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.drawer__nav-link {
  display: block;
  text-align: center;
  padding: 0.75rem 1.5rem;
  color: var(--acc);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid var(--acc);
  border-radius: 50px;
  position: relative;
  margin: 0;
  background: var(--white);
  box-shadow: var(--shadow-light);
  min-width: 130px;
}

.drawer__nav-link:hover {
  color: var(--white);
  background: var(--acc);
  border-color: var(--acc);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.drawer__nav-link:active {
  transform: scale(0.98);
}

/* ===== Top Title Section ===== */
.top-title {
  padding: 2rem 0 1rem;
  background: var(--bg);
}

.top-title__text {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin: 0;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 400px;
  padding: 2rem 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

/* ヒーロー全体 */
.hero {
  width: 100%;
  background: #FAF6F0;
  padding-block: clamp(12px, 3.5vw, 28px);
}

/* テキスト塊と画像の間隔（詰まり防止） */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.5vw, 24px);
  margin-block-end: clamp(14px, 3.5vw, 28px);
}

/* 画像：ノークロップでブラウザ差を消す */
.hero-img {
  object-fit: contain;
  width: 100%;
  height: auto;
  background: #FAF6F0;
  aspect-ratio: 1 / 1;
  display: block;
  margin-inline: auto;
}

/* スマホ：可視領域に追従。vh差はdvhで統一 */
@media (max-width: 640px) {
  .hero__bg-image {
    max-height: 70dvh;
    object-fit: contain;
  }

  .top-title {
    margin-top: 80px;
    padding-top: 1rem;
  }

  .top-title__text {
    display: block;
    visibility: visible;
    font-size: clamp(16px, 4.4vw, 20px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
  }

  .hero-description__text {
    text-align: left !important;
    font-size: clamp(9px, 2.5vw, 12px) !important;
    line-height: 1.4;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    max-width: 100%;
    word-wrap: break-word;
  }

  .section__description {
    text-align: left;
  }
  
  .links-header .section__description {
    text-align: center !important;
  }
  
  .cta__description {
    text-align: left;
  }
  
  .sns-card__description {
    text-align: left !important;
  }
  
  .sns-about__description {
    text-align: left !important;
  }
}

/* タブレット/PC：画像をより大きく（切らずに） */
@media (min-width: 641px) {
  .hero__bg-image {
    width: 100%;
    max-height: 60vh;
    max-width: 800px;
    margin-inline: auto;
    object-fit: contain;
  }
}


.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mobile-nav-btn {
  display: block;
  text-align: center;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  color: var(--acc);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 2px solid var(--acc);
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.mobile-nav-btn:hover {
  background: var(--acc);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}



.hero__content {
  max-width: 600px;
  padding: 2rem 0;
}


.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero .btn {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background: var(--white);
  color: var(--acc);
  border-color: var(--acc);
}

.hero .btn:hover {
  background: var(--acc);
  color: var(--white);
  border-color: var(--acc);
}

/* ===== Hero Description Section ===== */
.hero-description {
  padding: 1rem 0 2rem;
  background: var(--bg);
}

.hero-description__text {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--ink);
  text-align: center;
  margin: 0 auto;
  line-height: 1.6;
  max-width: 600px;
}

.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

.mobile-nav-btn {
  display: block;
  text-align: center;
  padding: 0.6rem 1rem;
  background: var(--white);
  color: var(--acc);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border: 2px solid var(--acc);
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.mobile-nav-btn:hover {
  background: var(--acc);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* ===== Works Preview Section ===== */
.works-preview {
  padding: 4rem 0;
  background: var(--bg);
}

.works-preview .work-card__title {
  font-size: 0.60rem;
}

.works-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

.work-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all var(--transition);
}

.work-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
}

.work-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.work-card__content {
  padding: 1.5rem;
}

.work-card__title {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.work-card__genre {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--acc);
  color: var(--white);
  font-size: 0.875rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.work-card__description {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.5;
}

.works-preview__more {
  text-align: center;
}

/* ===== CTA Section ===== */
.cta {
  padding: 4rem 0;
  background: var(--bg);
  color: var(--ink);
}

.cta__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta__title {
  color: var(--ink);
  margin-bottom: 1rem;
  font-size: clamp(24px, 4vw, 32px);
  text-align: center;
  position: relative;
}

.cta__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--acc);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.cta__description {
  margin-bottom: 2rem;
  opacity: 0.8;
  font-size: 1.1rem;
}

/* ===== Contact Section ===== */
.contact {
  padding: 4rem 0;
  background: var(--bg);
}

.contact__buttons {
  text-align: center;
  margin-top: 2rem;
}

/* ===== SNS Section ===== */
.sns {
  padding: 4rem 0;
  background: var(--bg);
}

.sns__links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sns__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--acc);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--white);
  transition: all var(--transition);
  font-weight: 500;
}

.sns__link:hover {
  background: #a86340;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.sns__icon {
  font-size: 1.25rem;
}

.sns__more {
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer__content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand {
  text-align: center;
}

.footer__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.footer__description {
  opacity: 0.8;
  margin: 0;
}

.footer__nav {
  text-align: center;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}

.footer__nav-link {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer__nav-link:hover {
  opacity: 1;
  color: var(--acc);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
  margin: 0;
  opacity: 0.6;
  font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  
  .header__nav {
    display: block;
  }
  
  .hamburger {
    display: none;
  }
  
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__content {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  
  .footer__brand {
    text-align: left;
  }
  
  .footer__nav {
    text-align: right;
  }
  
  .footer__nav-list {
    justify-content: flex-end;
  }
}

@media (min-width: 1080px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .top-title {
    margin-top: 90px;
  }
}

/* ===== Focus Styles ===== */
*:focus {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}

/* ===== Works Page Specific ===== */
.works-header {
  padding: 6rem 0 2rem;
  background: var(--bg);
}

.works-grid-section {
  padding: 2rem 0 4rem;
  background: var(--bg);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 2px solid var(--acc);
  border-radius: 50px;
  color: var(--acc);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
  font-family: inherit;
  min-width: 80px;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--acc);
  color: var(--white);
  border-color: var(--acc);
}

.grid--works {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  justify-items: center;
  width: 100%;
}

.grid--works .work-card {
  width: 100%;
  max-width: 500px;
  min-height: 400px;
}

.pagination {
  margin-top: 3rem;
  text-align: center;
}

.pagination__info {
  margin-bottom: 1.5rem;
  color: var(--ink);
  opacity: 0.8;
}

.pagination__current {
  font-weight: 600;
  color: var(--acc);
}

.pagination__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination__item {
  display: flex;
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--gray-medium);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition);
}

.pagination__link:hover,
.pagination__link.is-current {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--white);
}

.pagination__link--prev,
.pagination__link--next {
  width: auto;
  padding: 0 1rem;
}

/* ===== Order Section ===== */
.order {
  padding: 4rem 0;
  background: var(--bg);
}

.order__buttons {
  text-align: center;
  margin-top: 2rem;
}

/* ===== Order Page Specific ===== */
.order-header {
  padding: 6rem 0 2rem;
  background: var(--bg);
}

.order-header__description {
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.order-form {
  padding: 2rem 0 4rem;
  background: var(--bg);
}

.form {
  max-width: 600px;
  margin: 0 auto;
}

.form-fieldset {
  border: none;
  margin: 0 0 2rem;
  padding: 0;
}

.form-legend {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
  padding: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--ink);
}

.form-label--required::after {
  content: ' *';
  color: #e74c3c;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-medium);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 2px rgba(199, 125, 74, 0.2);
}

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

.form-error {
  display: none;
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-input.is-invalid,
.form-textarea.is-invalid,
.form-select.is-invalid {
  border-color: #e74c3c;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
  padding-bottom: 3rem;
}

/* ===== Contact Page Specific ===== */
.contact-header {
  padding: 6rem 0 2rem;
  background: var(--bg);
}

.contact-form {
  padding: 2rem 0 4rem;
  background: var(--bg);
}

/* ===== Thanks Page Specific ===== */
.thanks-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.thanks-message {
  text-align: center;
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  margin-bottom: 2rem;
}

.thanks-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.thanks-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.thanks-description strong {
  color: var(--primary);
  font-weight: 700;
}

.thanks-note {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
}

.thanks-note-title {
  text-align: center;
}

.thanks-note-list {
  text-align: left;
}

.thanks-note-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.thanks-note-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.thanks-note-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-light);
}

.thanks-note-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.thanks-actions {
  margin-top: 3rem;
}

.thanks-actions .btn {
  display: inline-block;
  min-width: 200px;
}

/* Responsive adjustments for thanks page */
@media (max-width: 768px) {
  .thanks-content {
    padding: 1rem;
  }
  
  .thanks-message {
    padding: 2rem 1.5rem;
  }
  
  .thanks-title {
    font-size: 1.6rem;
  }
  
  .thanks-description {
    font-size: 1rem;
  }
  
  .thanks-note {
    padding: 1.5rem;
  }
}

@media (max-width: 767px) {
  .thanks-title {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .thanks-description {
    font-size: 1rem;
    text-align: left;
  }
  
  .thanks-note {
    padding: 1.5rem;
  }
  
  .thanks-note-title {
    text-align: center;
  }
  
  .thanks-note-list {
    text-align: left;
  }
  
  .thanks-content {
    text-align: left;
  }
  
  .thanks-message {
    text-align: left;
  }
}

/* ===== Links/SNS Page Specific ===== */
.links-header {
  padding: 6rem 0 2rem;
  background: var(--bg);
}

.links-content {
  padding: 2rem 0 4rem;
  background: var(--bg);
}

.sns-card {
  background: var(--white);
  border: 3px solid;
  border-image: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) 1;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 2rem;
  color: var(--ink);
  position: relative;
}

.sns-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  border-radius: 20px;
  z-index: -1;
}

.sns-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sns-card__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--ink);
  font-weight: 700;
}

.sns-card__description {
  margin-bottom: 1.5rem;
  opacity: 0.8;
  line-height: 1.6;
  color: var(--ink);
}

.sns-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: var(--white);
  color: var(--acc);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
  border: 2px solid var(--acc);
  min-width: 120px;
}

.sns-card__link:hover {
  background: var(--acc);
  color: var(--white);
  border-color: var(--acc);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.sns-about {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
}

.sns-about__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--ink);
  text-align: center;
}

.sns-about__description {
  margin: 0;
  opacity: 0.8;
  line-height: 1.6;
  text-align: center;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

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

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  cursor: pointer;
}

.modal__content {
  background: var(--white);
  border-radius: 20px;
  max-width: 90vw;
  max-height: 95vh;
  width: 100%;
  max-width: 900px;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition);
  cursor: default;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal.is-open .modal__content {
  transform: scale(1);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.modal__close:hover {
  background: var(--white);
  transform: scale(1.1);
}

.modal__close-icon {
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
}

.modal__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modal__image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  min-height: 300px;
  padding: 1rem;
}

.modal__picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.modal__info {
  padding: 2rem 2rem 1.5rem 2rem;
  background: var(--white);
  flex-shrink: 0;
}

.modal__title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal__description {
  display: none;
}

/* Mobile adjustments for modal */
@media (max-width: 768px) {
  .modal__content {
    max-width: 95vw;
    max-height: 95vh;
  }
  
  .modal__body {
    flex-direction: column;
  }
  
  .modal__image-container {
    min-height: 250px;
    padding: 0.5rem;
  }
  
  .modal__image {
    max-height: 50vh;
  }
  
  .modal__info {
    padding: 1.5rem;
  }
  
  .modal__title {
    font-size: 1.1rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  
  .modal__description {
    font-size: 0.85rem;
  }
}

/* ===== Print Styles ===== */
@media print {
  .header,
  .hamburger,
  .drawer,
  .hero__buttons,
  .btn {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}
