/* =========================================================
   Usagi no OneKeri - style.css
   整理版：見た目・レイアウトを維持しつつ重複を整理
========================================================= */

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: #333;
  background: #f8f7f4;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;

  /* ページ全体を画面の高さまで使う */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

section {
  width: 100%;
}

/* =========================
   HEADER
========================= */

.header {
  height: 116px;
  padding: 0 65px 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f7d5b9;
  position: relative;
  z-index: 100;
}

.logo a {
  color: #7a3f32;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 3px;
}

.header nav ul {
  display: flex;
  align-items: center;
  gap: 46px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header nav ul li a {
  color: #7a3f32;
  font-weight: 500;
  letter-spacing: 3px;
}

nav ul {
  list-style: none;
}

nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: opacity 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: #333;
  border-radius: 10px;
  transition: width 0.3s ease;
}

nav a:hover {
  opacity: 0.6;
}

nav a:hover::after {
  width: 100%;
}

/* CONTACTボタン */

.contact-button {
  border: none !important;
}

.contact-button::after,
.contact-button a::after {
  display: none !important;
  content: none !important;
}

.contact-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 62px;
  padding: 0 26px;
  background-color: #4a3428;
  color: #fff !important;
  border: none !important;
  border-radius: 14px;
  text-decoration: none !important;
  letter-spacing: 3px;
  transition: background-color 0.3s ease;
}

.contact-button a:hover {
  background-color: #624638;
  border: none !important;
  text-decoration: none !important;
}

/* =========================
   HAMBURGER
========================= */

.hamburger {
  display: none;
}

/* =========================
   TOP VISUAL
========================= */

.top {
  position: relative;
  width: 100%;
  min-height: 720px;
  padding: 100px 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #eeece6;
}

.top-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.top-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  text-align: center;
}

.top-content p:first-child {
  margin-bottom: 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.top-content h1 {
  margin-bottom: 35px;
  font-size: clamp(50px, 8vw, 110px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  animation: fadeIn 1.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =========================
   SCROLL ARROW
========================= */

.scroll-arrow {
  margin-top: 35px;
  font-size: 60px;
  font-weight: 700;
  color: #8b4a3a;
  animation: float-arrow 2s ease-in-out infinite;
}

@keyframes float-arrow {
  0% {
    transform: translateY(-6px);
  }

  50% {
    transform: translateY(6px);
  }

  100% {
    transform: translateY(-6px);
  }
}

/* =========================
   ABOUT
========================= */

.about {
  max-width: 1100px;
  margin: 0 auto;
  padding: 160px 6%;
}

.about h2,
.works-preview h2,
.contact-preview h2 {
  margin-bottom: 35px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.about p {
  max-width: 650px;
  font-size: 18px;
  line-height: 2.2;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.about-text {
  flex: 1;
}

.about-icon {
  width: 260px;
  height: 260px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.about-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   ILLUSTRATION PREVIEW
========================= */

.works-preview {
  position: relative;
  padding: 160px 6%;
  background: #fff;
  text-align: center;
  border-radius: 0;
  overflow: hidden;
}

.works-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/topimage.jpg") center / cover no-repeat;
  opacity: 0.18;
  filter: brightness(0.65);
  z-index: 0;
}

.works-content {
  position: relative;
  z-index: 1;
}

.works-preview h2 {
  margin-bottom: 25px;
}

.works-preview p {
  margin-bottom: 45px;
  font-size: 15px;
}

.works-preview a,
.goods-preview a,
.goods-shop a {
  display: inline-block;
  border: 1px solid #333;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.works-preview a,
.goods-preview a {
  padding: 13px 28px;
}

.works-preview a:hover,
.goods-preview a:hover,
.goods-shop a:hover {
  background: #333;
  color: #fff;
  transform: translateY(-3px);
}

/* =========================
   GOODS PREVIEW
========================= */

.goods-preview {
  position: relative;
  padding: 160px 6%;
  text-align: center;
  border-radius: 0;
  overflow: hidden;
}

.goods-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/gazai.png") center / cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.goods-content {
  position: relative;
  z-index: 1;
}

.goods-preview h2 {
  margin-bottom: 25px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.goods-preview p {
  margin-bottom: 45px;
  font-size: 15px;
}

/* =========================
   ILLUSTRATION FILTER
========================= */

.illustration-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
}

.filter-button {
  padding: 9px 23px;
  border: 1px solid #8b4a3a;
  border-radius: 50px;
  background: transparent;
  color: #8b4a3a;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.filter-button:hover,
.filter-button.active {
  background-color: #8b4a3a;
  color: #fff;
}

.filter-button:hover {
  transform: translateY(-2px);
}

/* =========================
   GUIDELINES
========================= */

.guidelines {
  max-width: 1100px;
  margin: 0 auto;
  padding: 160px 6%;
}

.guidelines .section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title p {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

.guidelines-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guideline-card {
  padding: 35px 40px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.guideline-card h3 {
  margin-bottom: 15px;
  color: #e58a4f;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.guideline-card p {
  margin-bottom: 15px;
  color: #666;
  font-size: 14px;
  line-height: 2;
}

.guideline-card p:last-child {
  margin-bottom: 0;
}

/* =========================
   CONTACT PREVIEW
========================= */

.contact-preview {
  padding: 160px 6%;
  background: #333;
  color: #fff;
  text-align: center;
  border-radius: 0;
}

.contact-preview h2 {
  margin-bottom: 25px;
}

.contact-preview p {
  margin-bottom: 45px;
  font-size: 15px;
}

.contact-preview .button {
  display: inline-block;
  padding: 16px 35px;
  background: #e58a4f;
  color: #fff;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.contact-preview .button:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

/* =========================
   SUB PAGE BACKGROUND
========================= */

.illustration-page,
.goods-page,
.contact-page {
  position: relative;
  width: 100%;
  background-image:
    linear-gradient(rgba(248, 247, 244, 0.15), rgba(248, 247, 244, 0.15)),
    url("../images/gazai.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

.illustration-page::before,
.goods-page::before,
.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 247, 244, 0.9);
  z-index: -1;
}

.illustration-page > *,
.goods-page > *,
.contact-page > *,
main > div,
main > section,
.guidelines {
  position: relative;
  z-index: 2;
}

/* =========================
   CONTACT PAGE BUTTONS
========================= */

.contact-page a,
.contact-page button,
.contact-page [class*="button"],
.contact-page [class*="icon"] {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.contact-page .contact-buttons .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 54px;
  margin: 10px;
  padding: 0 30px;
  background-color: #4a3428 !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(74, 52, 40, 0.15);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.contact-page .contact-buttons .button:hover {
  background-color: #624638 !important;
  transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */

footer,
.footer {
  padding: 35px 6%;
  background: #333;
  color: #aaa;
  text-align: center;
}

footer p,
.footer p {
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* =========================
   SOCIAL LINKS
========================= */

.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.social-links li {
  width: 60px;
  height: 60px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.social-links img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.social-links a:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* =========================
   PAGE TOP BUTTON
========================= */

.page-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #e58a4f;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 2147483647;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.page-top.show {
  opacity: 1;
  visibility: visible;
}

.page-top:hover {
  transform: translateY(-5px);
}

/* =========================
   ILLUSTRATION PAGE
========================= */

.illustration-page .page-title,
.goods-page .page-title,
.contact-page .page-title {
  padding: 150px 6% 100px;
  text-align: center;
}

.page-title > p:first-child {
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.page-title h1 {
  margin-bottom: 25px;
  font-size: clamp(55px, 8vw, 100px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.page-title > p:last-child {
  font-size: 14px;
}

.illustration-page .page-title,
.illustration-page .illustration-filter,
.illustration-page .illustration-list {
  background: transparent;
}

.illustration-list {
  padding: 0 6% 160px;
}

.illustration-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px 40px;
}

.illustration-item {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.illustration-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.illustration-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.illustration-item:hover img {
  transform: scale(1.03);
}

.illustration-info {
  padding: 25px 30px 30px;
}

.illustration-info h2 {
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.illustration-info p {
  color: #888;
  font-size: 13px;
}

.illustration-info h2 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.illustration-info h2 a:hover {
  color: #e58a4f;
  opacity: 0.8;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-page {
  padding-bottom: 20px !important;
}

.contact-item {
  max-width: 700px;
  margin: 0 auto 45px;
}

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

.contact-item h2 {
  margin-bottom: 15px;
  font-size: 28px;
  font-weight: 700;
}

.contact-item p {
  margin-bottom: 12px;
  color: #666;
  font-size: 14px;
  line-height: 2;
}

.request-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 0;
}

.flow-item {
  position: relative;
  min-height: 200px;
  padding: 30px 35px;
  padding-right: 230px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.flow-item.show {
  opacity: 1;
  transform: translateX(0);
}

.flow-image {
  position: absolute;
  top: 50%;
  right: 30px;
  width: 200px;
  height: 170px;
  max-width: 200px;
  max-height: 170px;
  object-fit: contain;
  object-position: center;
  transform: translateY(-50%);
}

.flow-item span {
  display: block;
  margin-bottom: 8px;
  color: #e58a4f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.flow-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}

.flow-item p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.9;
}

/* =========================
   GOODS PAGE
========================= */

.goods-page .page-title > p:first-child {
  margin-bottom: 20px;
  color: #8b4a3a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.goods-page .page-title h1 {
  margin-bottom: 25px;
}

.goods-page .page-title > p:last-child {
  font-size: 16px;
}

.goods-list {
  padding: 0 0 160px;
}

.goods-slider {
  width: 100%;
  padding: 20px 0;
  overflow: hidden;
}

.goods-track {
  display: flex;
  width: max-content;
  animation: goods-marquee 40s linear infinite;
}

.goods-set {
  display: flex;
  gap: 35px;
  flex-shrink: 0;
  padding-right: 35px;
}

@keyframes goods-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.goods-slider:hover .goods-track {
  animation-play-state: paused;
}

.goods-item {
  flex: 0 0 320px;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.goods-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.goods-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eeece6;
}

.goods-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.goods-item:hover .goods-image img {
  transform: scale(1.03);
}

.goods-info {
  padding: 25px 30px 30px;
}

.goods-info h2 {
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.goods-info p {
  color: #888;
  font-size: 13px;
}

.goods-shop {
  margin-top: 80px;
  text-align: center;
}

.goods-shop a {
  padding: 15px 32px;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(30, 30, 30, 0.85);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 20px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 10000;
  border: none;
  background: none;
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 0.6;
}

.lightbox-image {
  cursor: zoom-in;
}

/* =========================================================
   MOBILE - 768px以下
========================================================= */

@media screen and (max-width: 768px) {
  /* HEADER */

  .header {
    width: 100%;
    height: 80px;
    padding: 0 20px;
  }

  .logo a {
    font-size: 20px;
    letter-spacing: 1.5px;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: absolute;
    right: 20px;
    z-index: 200;
  }

  .hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #7a3f32;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
    transform-origin: center;
  }

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

  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }

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

  .header nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7d5b9;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
  }

  .header nav.is-active {
    right: 0;
  }

  .header nav ul {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .header nav ul li a {
    font-size: 18px;
  }

  .contact-button a {
    min-width: 110px;
    height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  nav a::after {
    display: none;
  }

  /* TOP */

  .top {
    min-height: 600px;
    padding: 80px 6%;
  }

  .top-content p:first-child {
    margin-bottom: 25px;
  }

  .top-content h1 {
    font-size: 52px;
    line-height: 1.1;
  }

  .top-content p:last-child {
    font-size: 13px;
  }

  /* ABOUT */

  .about {
    padding: 100px 8%;
  }

  .about h2 {
    margin-bottom: 25px;
  }

  .about p {
    font-size: 16px;
    line-height: 2;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 35px;
    width: 100%;
  }

  .about-icon {
    order: 1;
    width: 220px;
    height: 220px;
    margin: 0 auto;
  }

  .about-text {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 10px;
    margin: 0;
    overflow-wrap: break-word;
  }

  .about-text h2 {
    width: 100%;
    margin: 0 0 25px;
  }

  .about-text p {
    width: 100%;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 0;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  /* PREVIEWS */

  .works-preview,
  .goods-preview,
  .contact-preview {
    padding: 100px 8%;
  }

  .works-preview p,
  .goods-preview p {
    font-size: 14px;
  }

  .contact-preview p {
    font-size: 13px;
  }

  /* GUIDELINES */

  .guidelines {
    display: block;
    padding: 100px 8%;
  }

  .guidelines .section-title {
    margin-bottom: 60px;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .guidelines-content h3 {
    font-size: 15px;
  }

  .guidelines-content p,
  .guidelines-content li {
    font-size: 13px;
  }

  /* FOOTER */

  footer,
  .footer {
    padding: 30px 6%;
  }

  /* PAGE TOP */

  .page-top {
    right: 18px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  /* SUB PAGE TITLE */

  .illustration-page .page-title,
  .goods-page .page-title,
  .contact-page .page-title {
    padding: 100px 8% 70px;
  }

  .page-title h1,
  .goods-page .page-title h1 {
    font-size: 58px;
  }

  .page-title > p:last-child,
  .goods-page .page-title > p:last-child {
    font-size: 13px;
  }

  /* ILLUSTRATION */

  .illustration-list {
    padding: 0 8% 100px;
  }

  .illustration-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .illustration-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .illustration-info {
    padding: 22px 24px 25px;
  }

  /* LIGHTBOX */

  .lightbox {
    padding: 20px;
  }

  .lightbox img {
    max-width: 94vw;
    max-height: 85vh;
    border-radius: 15px;
  }

  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 40px;
  }

  /* CONTACT */

  .contact-item h2 {
    font-size: 24px;
  }

  .contact-item p {
    font-size: 13px;
  }

 .contact-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 30px auto 0;
}

.contact-button-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-button-label {
  margin: 0 0 4px;
  color: #7a3f32;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.contact-button-group .button {
  margin: 0 !important;
}

  .contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-buttons .button {
    width: 100%;
    max-width: 424px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-buttons .button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    min-height: 58px;
    margin: 0 !important;
    padding: 0 20px !important;
  }

  .flow-item {
    min-height: auto;
    padding: 25px;
    padding-right: 25px;
  }

  .flow-image {
    display: none;
  }

  /* SOCIAL / SERVICES */

  .social-links {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: center;
    justify-items: center;
    gap: 18px 12px !important;
    width: 100%;
    max-width: 330px;
    margin: 30px auto 0;
    padding: 0;
  }

  .social-links li {
    width: 65px;
    height: 65px;
  }

  .social-links a {
    width: 65px;
    height: 65px;
  }

  .social-links img {
    width: 55px;
    height: 55px;
  }

  /* GOODS */

  .goods-list {
    padding: 0 0 100px;
  }

  .goods-set {
    gap: 20px;
    padding-right: 20px;
  }

  .goods-track {
    animation-duration: 30s;
  }

  .goods-item {
    flex-basis: 260px;
    border-radius: 0;
  }

  .goods-info {
    padding: 22px 24px 25px;
  }

  .goods-info h2 {
    font-size: 15px;
  }

  .goods-info p {
    font-size: 13px;
  }

  .goods-shop {
    margin-top: 60px;
  }

  /* FILTER */

  .illustration-filter {
    margin-bottom: 50px;
    gap: 10px;
  }

  .filter-button {
    padding: 9px 23px;
    font-size: 12px;
  }
}

/* =========================
   下層ページの背景とモヤの設定（完成版）
========================= */

/* =========================================================
   PC - 769px以上
========================================================= */

@media screen and (min-width: 769px) {
  /* ILLUSTRATION GRID */

  .illustration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* CONTACT FLOW */

  .flow-item {
    min-height: 200px;
    padding: 30px 250px 30px 35px;
    overflow: visible;
  }

  .flow-image {
    position: absolute;
    top: 50%;
    right: 30px;
    width: 190px;
    height: 150px;
    max-width: 190px;
    max-height: 150px;
    object-fit: contain;
    object-position: center;
    margin: 0;
    transform: translateY(-50%);
  }
}

/* =========================================================
   MOBILE DEVICE SUPPORT - 430px以下
========================================================= */

@media screen and (max-width: 430px) {
  .header {
    height: 72px;
    padding: 0 18px;
  }

  .logo a {
    font-size: 18px;
  }

  .hamburger {
    width: 44px;
    height: 44px;
  }

  .header nav ul {
    gap: 12px;
  }

  .header nav a {
    font-size: 16px;
  }

  .page-title {
    padding: 90px 20px 50px;
  }

  .page-title h1 {
    font-size: 36px;
  }

  .page-title p {
    font-size: 14px;
  }

  .contact-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-item {
    padding: 30px 20px;
  }

  .contact-item h2 {
    font-size: 25px;
  }

  .contact-item p {
    font-size: 14px;
  }

  .social-links {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px 12px !important;
    max-width: 330px;
  }

  .social-links li,
  .social-links a {
    width: 65px;
    height: 65px;
  }

  .social-links img {
    width: 55px;
    height: 55px;
  }

  .request-flow {
    width: 100%;
  }

  .flow-item {
    width: 100%;
    padding: 25px 20px;
    min-height: auto;
  }

  .flow-image {
    display: none !important;
  }

  .goods-page {
    width: 100%;
    overflow: hidden;
  }

  .goods-item {
    width: 280px;
    flex-shrink: 0;
  }

  .goods-image {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .goods-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .illustration-page {
    width: 100%;
    overflow: hidden;
  }

  .illustration-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .illustration-item img {
    width: 100%;
    height: auto;
  }
}

/* =========================================================
   SMALL MOBILE - 375px以下
========================================================= */

@media screen and (max-width: 375px) {
  .header {
    padding: 0 14px;
  }

  .logo a {
    font-size: 16px;
  }

  .page-title {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-title h1 {
    font-size: 32px;
  }

  .contact-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .contact-item {
    padding: 25px 16px;
  }

  .contact-item h2 {
    font-size: 23px;
  }

  .social-links {
    gap: 16px 8px !important;
    max-width: 300px;
  }

  .social-links li,
  .social-links a {
    width: 60px;
    height: 60px;
  }

  .social-links img {
    width: 50px;
    height: 50px;
  }

  .goods-item {
    width: 260px;
  }
}

/* =========================
   PRIVACY POLICY LINK
========================= */

.privacy-link {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
}

.privacy-link a {
  color: #f7d5b9;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.privacy-link a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* =========================
   NEWS / お知らせ
========================= */

.news-section {
  position: relative;
  width: 100%;
  padding: 65px 24px;
  background: #f8f4ef;
  color: #49362e;
}

.news-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.news-label {
  margin-bottom: 4px;
  color: #a47763;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.news-title {
  margin-bottom: 25px;
  color: #7a3f32;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
}

.news-title span {
  font-size: 17px;
  font-weight: 500;
}

.news-list {
  max-height: 280px;
  overflow-y: scroll;
  overflow-x: hidden;
  border-top: 1px solid #e2d3c7;
  border-bottom: 1px solid #e2d3c7;

  /* スクロールバーの色 */
  scrollbar-width: auto;
  scrollbar-color: #999999 #f8f4ef;
}

/* Chrome・Edge・Safari用 */
.news-list::-webkit-scrollbar {
  width: 14px;
}

.news-list::-webkit-scrollbar-track {
  background: #f8f4ef;
}

.news-list::-webkit-scrollbar-thumb {
  background: #999999;
  border-radius: 10px;
  border: 3px solid #f8f4ef;
}

.news-list::-webkit-scrollbar-thumb:hover {
  background: #7a3f32;
}

.news-item {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 20px 12px;
  border-bottom: 1px solid #e2d3c7;
}

.news-date {
  padding-top: 2px;
  color: #a47763;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.news-text {
  color: #49362e;
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

/* スマートフォン対応 */
@media screen and (max-width: 768px) {
  .news-section {
    padding: 45px 20px;
  }

  .news-title {
    margin-bottom: 18px;
    font-size: 26px;
  }

  .news-title span {
    font-size: 15px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 17px 6px;
  }

  .news-date {
    font-size: 13px;
  }

  .news-text {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* NEWSのリンク設定 */
.news-item {
  display: block;
  padding: 0;
}

.news-link {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  width: 100%;
  min-width: 0;
  padding: 20px 12px;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.news-link .news-date {
  display: block;
  min-width: 0;
  white-space: nowrap;
}

.news-link .news-text {
  display: block;
  min-width: 0;
  width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  writing-mode: horizontal-tb;
  word-break: normal;
  line-height: 1.9;
}

.news-link:hover {
  background-color: rgba(122, 63, 50, 0.07);
}

.news-link:hover .news-text {
  color: #7a3f32;
}

/* スマートフォン対応 */
@media screen and (max-width: 768px) {
  .news-link {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 17px 6px;
  }
}
/* =========================
   MOBILE FIXED GLASS HEADER
========================= */

@media screen and (max-width: 768px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    /* ガラス風 */
    background: rgba(247, 213, 185, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* ほんのり境界線 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);

    /* 控えめな影 */
    box-shadow: 0 2px 12px rgba(122, 63, 50, 0.08);
  }
}
/* =========================
   CONTACT PAGE - TOP SPACING
========================= */

.contact-page {
  padding-top: 60px;
}

/* モバイル */
@media screen and (max-width: 768px) {
  .contact-page {
    padding-top: 90px;
  }
}
