:root {
  --primary-color: #0f2350;
  --accent-color: #f3f8fa;
  --base-color: #fcfcfc;
  --white-color: #ffffff;
  --font-family: "Noto Serif JP", serif;
}

/* ------------------------------ */
/* ベーススタイル */
/* ------------------------------ */
body {
  font-family: var(--font-family);
  color: var(--primary-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------ */
/* アニメーション */
/* ------------------------------ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

/* テキスト浮かび上がりアニメーション */
.text-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1.2s ease-out,
    transform 1.2s ease-out;
}

.text-fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------ */
/* ヘッダー */
/* ------------------------------ */
.header {
  padding: 20px;
  display: flex;
  justify-content: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

/* ------------------------------ */
/* ヒーロースライドショー */
/* ------------------------------ */
.hero-slider {
  width: 100%;
  margin-bottom: 0;
}

.hero-slider__container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider__wrapper {
  position: relative;
  width: 100%;
  height: 600px;
}

@media screen and (min-width: 1080px) {
  .hero-slider__wrapper {
    height: 800px;
  }
}

.hero-slider__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider__item--active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 35, 80, 0.3) 0%,
    rgba(15, 35, 80, 0.1) 50%,
    rgba(15, 35, 80, 0.4) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-slider__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  opacity: 0;
  animation: fadeInUp 1.5s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-slider__subtitle {
  color: var(--white-color);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.9;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 768px) {
  .hero-slider__subtitle {
    font-size: 18px;
  }
}

@media screen and (min-width: 1080px) {
  .hero-slider__subtitle {
    font-size: 24px;
  }
}

.hero-slider__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  opacity: 0;
  animation: fadeIn 2s ease-out 1.5s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-slider__scroll-text {
  font-size: 12px;
  color: var(--white-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-slider__scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--white-color);
  border-bottom: 2px solid var(--white-color);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-10px) rotate(45deg);
  }
  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}

.header__menu-toggle {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .header__menu-toggle {
    width: 50px;
  }
}

.header__menu-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  position: absolute;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.header__menu-line:first-child {
  top: 4px;
}

.header__menu-line:last-child {
  bottom: 4px;
}

.header__menu-toggle--active .header__menu-line:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  background: var(--white-color);
}

.header__menu-toggle--active .header__menu-line:last-child {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
  background: var(--white-color);
}

.header__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 99;
}

.header__nav--active {
  opacity: 1;
  visibility: visible;
}

.header__nav a {
  color: var(--white-color);
  font-size: 16px;
  line-height: 1.8;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 768px) {
  .header__nav a {
    font-size: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .header__nav a {
    font-size: 36px;
  }
}

.header__nav a:hover {
  opacity: 0.7;
}

/* ------------------------------ */
/* ニュースセクション */
/* ------------------------------ */
.news {
  padding: 60px 0;
}

.news__item {
  display: block;
  background-color: var(--accent-color);
  padding: 15px;
  box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.news__item:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.news__item:not(:first-child) {
  margin-top: 15px;
}

.news__item-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news__date {
  display: block;
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

@media screen and (min-width: 768px) {
  .news__date {
    font-size: 20px;
  }
}

.news__category {
  display: inline-block;
  font-size: 12px;
  color: var(--primary-color);
  padding: 4px 12px;
  border: 1px solid var(--primary-color);
  margin-bottom: 8px;
  border-radius: 2px;
}

@media screen and (min-width: 768px) {
  .news__category {
    font-size: 18px;
  }
}

.news__text {
  font-size: 14px;
  margin-top: 8px;
}

@media screen and (min-width: 768px) {
  .news__text {
    font-size: 24px;
  }
}

.news__link {
  display: inline-block;
  color: var(--primary-color);
  margin-top: 40px;
  position: relative;
}

@media screen and (min-width: 768px) {
  .news__link {
    font-size: 24px;
  }
}

.news__link::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 150px;
  height: 0.5px;
  background: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .news__link::before {
    width: 300px;
  }
}

.news__link::after {
  content: "";
  position: absolute;
  top: 120%;
  left: 0;
  width: 100px;
  height: 0.5px;
  background: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .news__link::after {
    width: 200px;
  }
}

/* ------------------------------ */
/* ニュースページ */
/* ------------------------------ */
.news-page {
  padding: 100px 0 60px;
  min-height: calc(100vh - 200px);
}

.news-page__nav {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--primary-color);
}

.news-page__nav-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news-page__nav-link:hover {
  opacity: 0.7;
}

.news-page__nav-separator {
  margin: 0 6px;
  color: var(--primary-color);
}

.news-page__nav-current {
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .news-page__nav {
    font-size: 14px;
  }
}

.news-page__title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 40px;
}

@media screen and (min-width: 1080px) {
  .news-page__title {
    font-size: 36px;
  }
}

.news-page__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.news-page__item {
  display: block;
  background-color: var(--accent-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.news-page__item:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.news-page__item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.news-page__date {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: normal;
}

@media screen and (min-width: 1080px) {
  .news-page__date {
    font-size: 20px;
  }
}

.news-page__category {
  display: inline-block;
  font-size: 12px;
  color: var(--primary-color);
  padding: 4px 12px;
  border: 1px solid var(--primary-color);
  border-radius: 2px;
}

@media screen and (min-width: 1080px) {
  .news-page__category {
    font-size: 18px;
  }
}

.news-page__text {
  font-size: 14px;
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .news-page__text {
    font-size: 24px;
  }
}

.news-page__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
}

.news-page__pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 8px 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

@media screen and (min-width: 1080px) {
  .news-page__pagination-button {
    font-size: 24px;
  }
}

.news-page__pagination-button:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.news-page__pagination-button--active {
  background-color: var(--accent-color);
}

.news-page__pagination-button--disabled {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

.news-page__pagination-button--disabled:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

.news-page__pagination-dots {
  color: var(--primary-color);
  font-size: 16px;
  padding: 0 5px;
}

/* ------------------------------ */
/* ニュース詳細ページ */
/* ------------------------------ */
.news-single-page {
  padding: 60px 0 60px;
  min-height: calc(100vh - 200px);
  background-color: var(--accent-color);
}

.news-single-page__nav {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--primary-color);
}

.news-single-page__nav-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news-single-page__nav-link:hover {
  opacity: 0.7;
}

.news-single-page__nav-separator {
  margin: 0 6px;
  color: var(--primary-color);
}

.news-single-page__nav-current {
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .news-single-page__nav {
    font-size: 14px;
  }
}

.news-single-page__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.news-single-page__date {
  font-size: 14px;
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .news-single-page__date {
    font-size: 20px;
  }
}

.news-single-page__category {
  font-size: 12px;
  color: var(--primary-color);
  padding: 4px 12px;
  border: 1px solid var(--primary-color);
  border-radius: 2px;
}

@media screen and (min-width: 1080px) {
  .news-single-page__category {
    font-size: 18px;
  }
}

.news-single-page__title {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 14px;
}

@media screen and (min-width: 1080px) {
  .news-single-page__title {
    font-size: 24px;
  }
}

.news-single-page__divider {
  width: 100%;
  margin: 0 auto;
  height: 0.5px;
  background: var(--primary-color);
  margin-bottom: 30px;
}

.news-single-page__image {
  width: 100%;
  margin-bottom: 30px;
  background: var(--white-color);
}

.news-single-page__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.news-single-page__content {
  margin-bottom: 30px;
}

.news-single-page__content img {
  max-width: 100%;
  height: auto;
}

.news-single-page__text {
  font-size: 14px;
  color: var(--primary-color);
  margin-top: 15px;
}

@media screen and (min-width: 1080px) {
  .news-single-page__text {
    font-size: 24px;
  }
}

.news-single-page__separator {
  color: var(--primary-color);
  margin: 25px 0;
}

@media screen and (min-width: 1080px) {
  .news-single-page__separator {
    font-size: 24px;
  }
}

.news-single-page__content-en {
  margin-bottom: 60px;
}

.news-single-page__text-en {
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

@media screen and (min-width: 1080px) {
  .news-single-page__text-en {
    font-size: 24px;
  }
}

.news-single-page__back {
  text-align: center;
  margin-top: 60px;
}

.news-single-page__back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 1080px) {
  .news-single-page__back-link {
    font-size: 24px;
  }
}

.news-single-page__back-link:hover {
  opacity: 0.7;
}

.news-single-page__back-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

@media screen and (min-width: 1080px) {
  .news-single-page__back-lines {
    gap: 10px;
  }
}

.news-single-page__back-lines::before,
.news-single-page__back-lines::after {
  content: "";
  width: 150px;
  height: 0.5px;
  background: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .news-single-page__back-lines::before,
  .news-single-page__back-lines::after {
    width: 300px;
  }
}

.news-single-page__back-lines::after {
  width: 100px;
}

@media screen and (min-width: 1080px) {
  .news-single-page__back-lines::after {
    width: 200px;
  }
}

/* ------------------------------ */
/* 藍染とはセクション */
/* ------------------------------ */
.about {
  padding: 60px 0;
  background: var(--base-color);
}

.about__title {
  font-size: 20px;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .about__title {
    font-size: 24px;
  }
}

.about__text_first {
  margin-top: 50px;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .about__text_first {
    font-size: 24px;
  }
}

.about__text_second {
  margin-top: 25px;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .about__text_second {
    font-size: 24px;
  }
}

.about__text_third {
  margin-top: 25px;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .about__text_third {
    font-size: 24px;
  }
}

.about__text_fourth {
  margin-top: 25px;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .about__text_fourth {
    font-size: 24px;
  }
}

.about__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__image-item {
  height: 150px;
  object-fit: cover;
  display: block;
  margin-top: 50px;
}

@media screen and (min-width: 1080px) {
  .about__image-item {
    height: 300px;
  }
}

/* ------------------------------ */
/* 作品集ギャラリーセクション */
/* ------------------------------ */
.gallery {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* OTOBUTAI about__backgrounds 風：複数背景レイヤーを重ね、スクロールでフェード切り替え（写真は常時表示） */
.gallery__backgrounds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  visibility: visible;
}

.gallery__background-item {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
}

.gallery__background-item-inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.gallery__background-item-inner.is-active {
  opacity: 1;
}

.gallery__background-item-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery__backgrounds::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.gallery__background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.gallery__background.is-active {
  opacity: 1;
}

@media screen and (max-width: 1080px) {
  .gallery__backgrounds {
    position: absolute;
    height: 100%;
  }
}

.gallery .container,
.gallery__content {
  position: relative;
  z-index: 2;
}

.gallery__title {
  padding: 100px 0 0 0;
  font-size: 24px;
  color: var(--white-color);
  text-align: center;
  position: relative;
}

@media screen and (min-width: 768px) {
  .gallery__title {
    font-size: 36px;
    margin-top: 100px;
  }
}

.gallery__title::before {
  content: "";
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 0.5px;
  background: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .gallery__title::before {
    width: 300px;
  }
}

.gallery__text_first {
  padding: 160px 0 0 0;
  color: var(--white-color);
  line-height: 1.8;
  height: 1000px;
}

@media screen and (min-width: 768px) {
  .gallery__text_first {
    font-size: 24px;
    height: 800px;
  }
}

.gallery__text_second {
  margin-top: 40px;
  color: var(--white-color);
  line-height: 1.8;
  height: 1000px;
}

@media screen and (min-width: 768px) {
  .gallery__text_second {
    font-size: 24px;
    height: 1000px;
  }
}

.gallery__text_third {
  margin-top: 40px;
  color: var(--white-color);
  line-height: 1.8;
  height: 1000px;
}

@media screen and (min-width: 768px) {
  .gallery__text_third {
    font-size: 24px;
    height: 800px;
  }
}

.gallery__text_fourth {
  margin-top: 40px;
  color: var(--white-color);
  line-height: 1.8;
  height: 1000px;
}

@media screen and (min-width: 768px) {
  .gallery__text_fourth {
    font-size: 24px;
    height: 800px;
  }
}

.gallery__text_fifth {
  margin-top: 40px;
  color: var(--white-color);
  line-height: 1.8;
  height: 1000px;
}

@media screen and (min-width: 768px) {
  .gallery__text_fifth {
    font-size: 24px;
    height: 800px;
  }
}

.gallery__link {
  padding: 0 0 200px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-color);
  text-decoration: underline;
  padding-bottom: 100px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.gallery__link:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

@media screen and (min-width: 768px) {
  .gallery__link {
    font-size: 36px;
    padding-bottom: 250px;
  }
}

/* ------------------------------ */
/* アーティストセクション */
/* ------------------------------ */
.artist {
  padding: 100px 0;
  background: var(--base-color);
}

@media screen and (min-width: 768px) {
  .artist {
    padding: 200px 0;
  }
}

.artist__title {
  font-size: 24px;
  color: var(--primary-color);
  text-align: right;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .artist__title {
    font-size: 36px;
  }
}

.artist__title::before {
  content: "";
  position: absolute;
  top: 110%;
  right: 0;
  width: 50%;
  height: 0.5px;
  background: var(--primary-color);
}

.artist__content {
  margin-top: 25px;
}

@media screen and (min-width: 1080px) {
  .artist__content {
    display: flex;
  }
}

.artist__image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition:
    transform 0.4s ease,
    opacity 0.8s ease;
}

.artist__image.animated {
  opacity: 1;
  transform: translateY(0);
}

.artist__image:hover {
  transform: scale(1.02);
}

@media screen and (min-width: 1080px) {
  .artist__image {
    height: 100%;
  }
}

.artist__name {
  font-size: 20px;
  text-align: center;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .artist__name {
    font-size: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .artist__name {
    font-size: 32px;
    text-align: left;
    margin-left: 50px;
    margin-top: 150px;
  }
}

.artist__text {
  margin-top: 25px;
}

@media screen and (min-width: 768px) {
  .artist__text {
    font-size: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .artist__text {
    margin-top: 50px;
    margin-left: 50px;
    font-size: 24px;
  }
}

.artist__link {
  display: inline-block;
  color: var(--primary-color);
  margin-top: 35px;
  position: relative;
}

.artist__link:hover {
  transform: translateX(5px);
  opacity: 0.8;
}

@media screen and (min-width: 768px) {
  .artist__link {
    font-size: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .artist__link {
    margin-left: 50px;
    font-size: 24px;
    margin-top: 50px;
  }
}

.artist__link:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 150px;
  height: 0.5px;
  background: var(--primary-color);
}

.artist__link:before {
  content: "";
  position: absolute;
  top: 120%;
  left: 0;
  width: 100px;
  height: 0.5px;
  background: var(--primary-color);
}

/* ------------------------------ */
/* お問い合わせセクション */
/* ------------------------------ */
.contact {
  padding: 60px 0;
  background: var(--white-color);
}

.contact__text {
  font-size: 14px;
  margin-top: 70px;
  text-align: center;
  position: relative;
}

@media screen and (min-width: 768px) {
  .contact__text {
    font-size: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .contact__text {
    font-size: 24px;
    margin-top: 100px;
  }
}

.contact__text::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 0.5px;
  background: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .contact__text::before {
    width: 700px;
  }
}

.contact__text--en {
  color: var(--primary-color);
  margin-top: 50px;
  text-align: center;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .contact__text--en {
    font-size: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .contact__text--en {
    font-size: 24px;
  }
}

.contact__button {
  display: block;
  width: 300px;
  margin: 50px auto 20px;
  padding: 15px 30px;
  border: 1px solid var(--primary-color);
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .contact__button {
    font-size: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .contact__button {
    width: 400px;
    margin: 100px auto 20px;
    font-size: 24px;
  }
}

.contact__button:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 35, 80, 0.3);
}

.contact__email {
  text-align: center;
  font-size: 14px;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .contact__email {
    font-size: 20px;
  }
}

@media screen and (min-width: 1080px) {
  .contact__email {
    font-size: 20px;
  }
}

/* ------------------------------ */
/* フッター */
/* ------------------------------ */
.footer {
  background: var(--primary-color);
  color: var(--white-color);
}

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

@media screen and (min-width: 1080px) {
  .footer__nav-item {
    flex-direction: row;
    gap: 60px;
  }
}

.footer__nav {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media screen and (min-width: 1080px) {
  .footer__nav {
    padding: 100px 0;
  }
}

.footer__nav a {
  color: var(--white-color);
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .footer__nav a {
    font-size: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .footer__nav a {
    font-size: 24px;
  }
}

.footer__nav a:hover {
  opacity: 0.7;
}

.footer__copyright {
  text-align: center;
  font-size: 10px;
  color: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .footer__copyright {
    font-size: 14px;
  }
}

/* ------------------------------ */
/* お問い合わせページ */
/* ------------------------------ */
.contact-page {
  padding: 100px 0 60px;
}

.contact-page__title {
  font-size: 24px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .contact-page__title {
    font-size: 32px;
  }
}

@media screen and (min-width: 1080px) {
  .contact-page__title {
    font-size: 36px;
  }
}

/* contact.html：導入（dl） */
.contact-page__intro {
  margin-bottom: 60px;
}

.contact-page__intro dt,
.contact-page__intro dd {
  margin: 0;
}

.contact-page__intro-dt {
  font-size: 12px;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.contact-page__intro-dd {
  margin: 0;
}

.contact-page__intro-dd .contact-page__intro-text,
.contact-page__intro-dd .contact-page__intro-text-en {
  margin-top: 0;
}

.contact-page__intro-text,
.contact-page__intro-text-en {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 15px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
}

.contact-page__intro-text:last-child,
.contact-page__intro-text-en:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .contact-page__intro-text,
  .contact-page__intro-text-en {
    font-size: 18px;
  }
}

@media screen and (min-width: 1080px) {
  .contact-page__intro-text,
  .contact-page__intro-text-en {
    font-size: 24px;
  }
}

.contact-page__form {
  max-width: 800px;
  margin: 0 auto 30px;
}

/* contact.html：フォーム（form内dl） */

.contact-page__form-dl {
  margin: 0 auto;
  max-width: 800px;
}

.contact-page__form-dt {
  font-size: 14px;
  color: var(--primary-color);
  margin-top: 30px;
}

.contact-page__form-dt label {
  cursor: pointer;
}

.contact-page__form-dd {
  max-width: 800px;
}

.contact-page__form-dd .contact-page__radio-group {
  margin-top: 15px;
}

.contact-page__form-dd .contact-page__privacy {
  margin-bottom: 0;
}

.contact-page__submit-wrap {
  margin: 32px 0 0;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .contact-page__form-dt {
    font-size: 18px;
    min-width: 180px;
  }
}

.contact-page__form-row {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.contact-page__label {
  font-size: 14px;
  color: var(--primary-color);
  min-width: 150px;
}

@media screen and (min-width: 768px) {
  .contact-page__label {
    font-size: 18px;
  }
}

.contact-page__input {
  padding: 10px 5px;
  border: 1px solid var(--primary-color);
  font-size: 14px;
  color: var(--primary-color);
  width: 100%;
  margin-top: 10px;
}

.contact-page__input::placeholder {
  color: #999;
}

.contact-page__form-group {
  margin-bottom: 40px;
}

.contact-page__form-title {
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: normal;
}

@media screen and (min-width: 768px) {
  .contact-page__form-title {
    font-size: 18px;
  }
}

.contact-page__radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-page__radio-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--primary-color);
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .contact-page__radio-label {
    font-size: 18px;
  }
}

.contact-page__radio {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  position: relative;
  z-index: 1;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.contact-page__radio:checked {
  background-color: var(--primary-color);
  box-shadow: inset 0 0 0 3px var(--white-color);
}

.contact-page__textarea {
  width: 100%;
  margin-top: 10px;
  padding: 15px;
  border: 1px solid var(--primary-color);
  font-size: 14px;
  color: var(--primary-color);
  resize: vertical;
  min-height: 200px;
}

@media screen and (min-width: 768px) {
  .contact-page__textarea {
    font-size: 18px;
  }
}

.contact-page__privacy {
  margin-bottom: 40px;
}

.contact-page__privacy-text {
  margin-bottom: 10px;
  margin-top: 10px;
}

.contact-page__checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary-color);
  cursor: pointer;
}

.contact-page__checkbox {
  margin-right: 10px;
  margin-top: 20px;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--primary-color);
  position: relative;
  z-index: 1;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.contact-page__checkbox:checked {
  background-color: var(--primary-color);
}

.contact-page__checkbox:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--white-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-page__checkbox-text {
  cursor: pointer;
}

.contact-page__privacy .contact-page__privacy-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-color);
  text-decoration: underline;
}

.contact-page__privacy-link:hover {
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .contact-page__checkbox-label {
    font-size: 18px;
  }
}

.contact-page__submit {
  display: block;
  width: 300px;
  margin: 0 auto;
  padding: 15px 30px;
  border: 1px solid var(--primary-color);
  background: var(--white-color);
  color: var(--primary-color);
  font-size: 16px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media screen and (min-width: 768px) {
  .contact-page__submit {
    font-size: 24px;
    width: 400px;
  }
}

.contact-page__submit:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/* contact.html：メール（dl） */
.contact-page__email {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 0.5em;
  max-width: 800px;
  margin: 0 auto;
}

.contact-page__email dt,
.contact-page__email dd {
  margin: 0;
}

.contact-page__email-dt,
.contact-page__email-dd {
  font-size: 14px;
  color: var(--primary-color);
}

.contact-page__email-label {
  font-size: 14px;
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .contact-page__email-dt,
  .contact-page__email-dd,
  .contact-page__email-label {
    font-size: 18px;
  }
}

.contact-page__email-address {
  font-size: 14px;
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .contact-page__email-address {
    font-size: 18px;
  }
}

/* contact.html：注意文（dl） */
.contact-page__under {
  margin-top: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding-bottom: 50px;
}

.contact-page__under dt,
.contact-page__under dd {
  margin: 0;
}

.contact-page__under-dt {
  text-align: center;
  font-size: 14px;
  color: var(--primary-color);
  line-height: 1.8;
}

.contact-page__under-dd {
  margin-top: 24px;
}

.contact-page__under-text {
  text-align: center;
  font-size: 14px;
}

@media screen and (min-width: 1080px) {
  .contact-page__under-dt,
  .contact-page__under-text {
    font-size: 18px;
  }
}

.contact-page__under-text-en {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: var(--primary-color);
  line-height: 1.8;
}

@media screen and (min-width: 1080px) {
  .contact-page__under-text-en {
    font-size: 18px;
  }
}

/* Contact Form 7 用（表示崩れ防止・テーマに合わせる） */
.contact-page .wpcf7 {
  max-width: 1000px;
  margin: 0 auto 30px;
}

.contact-page .wpcf7-form p {
  display: flex;
  flex-direction: column;
}

.contact-page .wpcf7-form label {
  font-size: 14px;
  color: var(--primary-color);
  min-width: 150px;
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .contact-page .wpcf7-form label {
    font-size: 18px;
  }
}

.contact-page .wpcf7-form input[type="text"],
.contact-page .wpcf7-form input[type="email"],
.contact-page .wpcf7-form input[type="tel"],
.contact-page .wpcf7-form input[type="url"] {
  flex: 1;
  min-width: 200px;
  padding: 10px 5px;
  border: 1px solid var(--primary-color);
  font-size: 14px;
  color: var(--primary-color);
  font-family: var(--font-family);
}

.contact-page .wpcf7-form input::placeholder {
  color: #999;
}

.contact-page .wpcf7-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px 5px;
  border: 1px solid var(--primary-color);
  font-size: 14px;
  color: var(--primary-color);
  font-family: var(--font-family);
  box-sizing: border-box;
}

.contact-page .wpcf7-form textarea::placeholder {
  color: #999;
}

.contact-page .wpcf7-form input[type="submit"] {
  display: block;
  width: 300px;
  margin: 0 auto;
  padding: 15px 30px;
  border: 1px solid var(--primary-color);
  background: var(--white-color);
  color: var(--primary-color);
  font-size: 16px;
  font-family: var(--font-family);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-page .wpcf7-form input[type="submit"]:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

@media screen and (min-width: 768px) {
  .contact-page .wpcf7-form input[type="submit"] {
    width: 400px;
    font-size: 24px;
  }
}

/* バリデーション・メッセージエリアの崩れ防止 */
.contact-page .wpcf7-not-valid-tip {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 12px;
  color: #c00;
}

.contact-page .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px;
  border: 1px solid var(--primary-color);
  font-size: 14px;
  color: var(--primary-color);
}

.contact-page .wpcf7-form .wpcf7-radio .wpcf7-list-item-label,
.contact-page .wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label {
  font-size: 14px;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .contact-page .wpcf7-form .wpcf7-radio .wpcf7-list-item-label,
  .contact-page .wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label {
    font-size: 18px;
  }
}

/* ------------------------------ */
/* 作品詳細ページ */
/* ------------------------------ */
.works-single-page {
  padding: 100px 0 60px;
  min-height: calc(100vh - 200px);
}

.works-single-page__background {
  background: var(--base-color);
  padding: 30px 0;
}

.works-single-page__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  font-size: 12px;
  color: var(--primary-color);
}

.works-single-page__nav-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 1080px) {
  .works-single-page__nav-link {
    font-size: 24px;
  }
}

.works-single-page__nav-link:hover {
  opacity: 0.7;
}

.works-single-page__nav-current {
  color: var(--primary-color);
}

.works-single-page__header {
  margin-bottom: 40px;
}

.works-single-page__title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

@media screen and (min-width: 1080px) {
  .works-single-page__title {
    font-size: 36px;
  }
}

.works-single-page__lines {
  width: 100%;
  height: 0.5px;
  background: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
}

.works-single-page__lines::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  height: 0.5px;
  background: var(--primary-color);
}

.works-single-page__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 12px;
  color: var(--primary-color);
}

.works-single-page__nav-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.works-single-page__nav-link:hover {
  opacity: 0.7;
}

.works-single-page__nav-separator {
  margin: 0 5px;
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .works-single-page__nav-separator {
    font-size: 24px;
  }
}

.works-single-page__nav-current {
  color: var(--primary-color);
}

.works-single-page__images {
  margin-bottom: 20px;
}

@media screen and (min-width: 1080px) {
  .works-single-page__images {
    margin-bottom: 60px;
  }
}

.works-single-page__main-image {
  width: 100%;
  margin-bottom: 20px;
  background: var(--accent-color);
}

/* メイン画像スライダー */
.works-single-page__main-image-wrapper {
  width: 100%;
  margin-bottom: 10px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.works-single-page__main-image-slider {
  position: relative;
  width: 100%;
  min-height: 330px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.works-single-page__main-image-slide {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.works-single-page__main-image-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* 最初のスライドは常に相対配置で高さを確保 */
.works-single-page__main-image-slider
  > .works-single-page__main-image-slide:first-child {
  position: relative;
  opacity: 1;
  z-index: 0;
}

@media screen and (min-width: 1080px) {
  .works-single-page__images-container {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
  }
}

.works-single-page__main-image-item {
  width: 330px;
  height: 330px;
  display: block;
  object-fit: cover;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .works-single-page__main-image-item {
    width: 400px;
    height: 400px;
  }
}

@media screen and (min-width: 1080px) {
  .works-single-page__main-image-item {
    width: 500px;
    height: 500px;
  }
}

.works-single-page__thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.works-single-page__thumbnail {
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  opacity: 0.7;
  position: relative;
}

.works-single-page__thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.works-single-page__thumbnail.active {
  opacity: 1;
}

.works-single-page__thumbnail.active::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 1px solid var(--primary-color);
  pointer-events: none;
}

.works-single-page__thumbnail.hidden {
  display: none;
}

.works-single-page__thumbnail-item {
  width: 103px;
  height: 103px;
  display: block;
  object-fit: cover;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .works-single-page__thumbnail-item {
    width: 127px;
    height: 127px;
  }
}

@media screen and (min-width: 1080px) {
  .works-single-page__thumbnail-item {
    width: 160px;
    height: 160px;
  }
}

.works-single-page__content {
  margin-bottom: 60px;
  max-width: 400px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

@media screen and (min-width: 768px) {
  .works-single-page__content {
    padding: 0;
  }
}

@media screen and (min-width: 1080px) {
  .works-single-page__content {
    padding: 0 30px;
  }
}

.works-single-page__text {
  font-size: 14px;
  margin-bottom: 20px;
}

@media screen and (min-width: 1080px) {
  .works-single-page__text {
    font-size: 20px;
    margin-left: 30px;
    margin-top: 10px;
  }
}

.works-single-page__text-en {
  font-size: 14px;
  margin-bottom: 20px;
}

@media screen and (min-width: 1080px) {
  .works-single-page__text-en {
    font-size: 20px;
    margin-left: 30px;
  }
}

.works-single-page__divider {
  width: 100%;
  height: 0.5px;
  background: var(--primary-color);
  margin-bottom: 40px;
  position: relative;
}

.works-single-page__divider::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  height: 0.5px;
  background: var(--primary-color);
}

.works-single-page__back {
  text-align: center;
  margin-bottom: 60px;
}

.works-single-page__back-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 1080px) {
  .works-single-page__back-link {
    font-size: 24px;
  }
}

.works-single-page__back-link:hover {
  opacity: 0.7;
}

/* ------------------------------ */
/* 作品ページ */
/* ------------------------------ */

.title_text {
  margin-top: 60px;
  margin-bottom: 120px;
  position: relative;
}

.title_text::before {
  content: "";
  position: absolute;
  top: 200%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  border: 0.5px solid var(--primary-color);
}

@media screen and (min-width: 768px) {
  .title_text::before {
    width: 600px;
  }
}

.works-page__main-text {
  font-size: 24px;
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .works-page__main-text {
    font-size: 36px;
  }
}

.works-page {
  padding: 40px 0 20px;
  min-height: calc(100vh - 200px);
  background-color: var(--base-color);
}

.works-page__main-title {
  font-size: 24px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  margin: 0 auto 20px;
  line-height: 1.2;
}

.works-page__category {
  margin-bottom: 80px;
}

.works-page__category-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .works-page__category-title {
    font-size: 24px;
  }
}

.works-page__items {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0 auto 40px;
  max-width: 370px;
}

@media screen and (min-width: 768px) {
  .works-page__items {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
    max-width: 100%;
  }
}

@media screen and (min-width: 1080px) {
  .works-page__items {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
    max-width: 100%;
  }
}

/* 3列で揃う幅のときは4番目の作品を非表示（3件表示） */
@media screen and (min-width: 1400px) {
  .works-page__items .works-page__item:nth-child(4) {
    display: none;
  }
}

.works-page__item {
  display: flex;
  flex-direction: column;
  background-color: var(--accent-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition:
    transform 1.2s ease-out,
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 1.2s ease-out;
  opacity: 0;
  transform: translateY(30px);
}

.works-page__item.animated {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (min-width: 1080px) {
  .works-page__item {
    max-width: 440px;
  }
}

.works-page__item:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px 20px 0 rgba(0, 0, 0, 0.2);
}

.works-page__item-image {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  background: var(--accent-color);
}

@media screen and (min-width: 768px) {
  .works-page__item-image {
    justify-content: center;
    align-items: center;
    display: flex;
  }
}

.works-item-image {
  width: 330px;
  height: 330px;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.works-item-image:hover {
  transform: scale(1.05);
}

@media screen and (min-width: 1080px) {
  .works-item-image {
    width: 400px;
    height: 400px;
  }
}

.works-page__item-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-bottom: 20px solid var(--primary-color);
}

.works-page__item-title {
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
  .works-page__item-title {
    font-size: 24px;
  }
}

.works-page__item-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .works-page__item-text {
    font-size: 18px;
  }
}

.works-page__item-text-en {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .works-page__item-text-en {
    font-size: 18px;
  }
}

.works-page__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
}

.works-page__pagination-button {
  background: var(--accent-color);
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

@media screen and (min-width: 1080px) {
  .works-page__pagination-button {
    font-size: 24px;
  }
}

.works-page__pagination-button:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.works-page__pagination-button--active {
  background-color: var(--accent-color);
}

.works-page__pagination-button--disabled {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

.works-page__pagination-button--disabled:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

.works-page__pagination-dots {
  color: var(--primary-color);
  font-size: 16px;
  padding: 0 5px;
}

.works-page__cta {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 60px;
  position: relative;
}

.works-page__cta::before {
  content: "";
  position: absolute;
  top: -120%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 0.5px;
  background: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .works-page__cta::before {
    width: 600px;
  }
}

.works-page__cta-button {
  display: block;
  width: 300px;
  margin: 0 auto;
  padding: 15px 30px;
  border: 1px solid var(--primary-color);
  background: var(--white-color);
  color: var(--primary-color);
  text-decoration: none;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

@media screen and (min-width: 768px) {
  .works-page__cta-button {
    width: 400px;
    font-size: 24px;
  }
}

.works-page__cta-button:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.works-page__sidebar {
  margin-top: 60px;
}

@media screen and (min-width: 768px) {
  .works-page__sidebar {
    display: flex;
    gap: 100px;
    justify-content: center;
    margin-top: 100px;
  }
}

.works-page__sidebar-title {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.works-page__sidebar-title-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.works-page__sidebar-title-link:hover {
  opacity: 0.7;
}

@media screen and (min-width: 768px) {
  .works-page__sidebar-title {
    font-size: 20px;
  }
}

.works-page__sidebar-category {
  margin-bottom: 30px;
}

.works-page__sidebar-category-title {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.works-page__sidebar-category-title a,
.works-page__sidebar-category-title-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.works-page__sidebar-category-title a:hover,
.works-page__sidebar-category-title-link:hover {
  opacity: 0.8;
}

@media screen and (min-width: 768px) {
  .works-page__sidebar-category-title {
    font-size: 20px;
  }
}

.works-page__sidebar-list {
  list-style: none;
  padding-left: 0;
}

.works-page__sidebar-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.works-page__sidebar-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.works-page__sidebar-list a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 1080px) {
  .works-page__sidebar-list a {
    font-size: 16px;
  }
}

.works-page__sidebar-list a:hover {
  opacity: 0.7;
}

.works-page__under {
  padding: 70px 0 60px;
  background-color: var(--white-color);
}

/* ------------------------------ */
/* プライバシーポリシーページ */
/* ------------------------------ */
.privacy-page {
  padding: 100px 0 60px;
}

.privacy-page__title {
  font-size: 24px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 60px;
}

.privacy-page__content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-page__section {
  margin-bottom: 50px;
}

.privacy-page__section-title {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .privacy-page__section-title {
    font-size: 20px;
  }
}

.privacy-page__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .privacy-page__text {
    font-size: 18px;
  }
}

.privacy-page__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.privacy-page__link:hover {
  opacity: 0.7;
}

/* ------------------------------ */
/* アーティストページ */
/* ------------------------------ */
.about-page {
  padding: 50px 0;
  min-height: calc(100vh - 200px);
}

.about-page__container {
  max-width: 1300px;
}

.about-page__title-pc {
  display: none;
}

@media screen and (min-width: 1080px) {
  .about-page__title-pc {
    display: flex;
    font-size: 36px;
    justify-content: center;
    align-items: center;
  }
}

.about-page__title {
  font-size: 24px;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .about-page__title {
    font-size: 36px;
  }
}

@media screen and (min-width: 1080px) {
  .about-page__title {
    display: none;
  }
}

.about-page__profile {
  max-width: 500px;
  margin: 0 auto;
}

.about-page__profile-name {
  display: flex;
  flex-direction: column;
  position: relative;
}

.about-page__image {
  width: 100%;
  margin-top: 40px;
}

.about-page__name {
  margin-top: 30px;
  font-size: 24px;
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .about-page__name {
    font-size: 36px;
    margin-top: 60px;
  }
}

.about-page__role {
  font-size: 14px;
  color: var(--primary-color);
}

.about-page__text {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  margin-top: 40px;
}

@media screen and (min-width: 1080px) {
  .about-page__text {
    font-size: 24px;
    margin-top: 50px;
    margin-left: 60px;
  }
}

.about-page__text_first {
  margin-top: 80px;
  margin-left: 0;
}

@media screen and (min-width: 1080px) {
  .about-page__text_first {
    margin-top: 150px;
    margin-left: 0;
  }
}

.about-page__text_second {
  margin-top: 50px;
  margin-left: 0;
}

.about-page__text_third {
  margin-top: 50px;
  margin-left: 0;
}

.about-page__content-text {
  max-width: 500px;
  margin: 0 auto;
}

@media screen and (min-width: 1080px) {
  .about-page__content-text {
    max-width: 1000px;
  }
}

.about-page__content-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-page__image-item {
  margin-top: 40px;
}

@media screen and (min-width: 600px) {
  .about-page__image-item {
    width: 500px;
    height: 600px;
  }
}

.about-page__text-en {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
  margin-top: 20px;
}

@media screen and (min-width: 1080px) {
  .about-page__text-en {
    font-size: 24px;
    margin-left: 60px;
    margin-top: 40px;
  }
}

.about-page__text-en_first {
  margin-top: 100px;
  margin-left: 0;
}

.about-page__text-en_second {
  margin-bottom: 50px;
}

@media screen and (min-width: 1080px) {
  .about-page__text-en_second {
    margin-left: 0;
    margin-top: 50px;
  }
}

.about-page__text-en_third {
  margin-top: 50px;
  margin-left: 0;
}

.about-page__achievements {
  margin-top: 60px;
  width: 300px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
}

@media screen and (min-width: 1080px) {
  .about-page__achievements {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

.about-page__biography-image-item {
  width: 350px;
}

.about-page__section-title {
  margin-top: 30px;
}

@media screen and (min-width: 1080px) {
  .about-page__section-title {
    font-size: 20px;
  }
}

.about-page__section-title_achievements {
  margin-top: 50px;
  text-align: center;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .about-page__section-title_achievements {
    font-size: 20px;
  }
}

.about-page__section-title_achievements::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  width: 30px;
  height: 0.5px;
  background: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .about-page__section-title_achievements::before {
    width: 100px;
  }
}

.about-page__section-title_achievements::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10%;
  width: 30px;
  height: 0.5px;
  background: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .about-page__section-title_achievements::after {
    width: 100px;
  }
}

.about-page__achievement-item {
  display: flex;
  justify-content: space-between;
}

@media screen and (min-width: 1080px) {
  .about-page__achievement-item {
    font-size: 20px;
  }
}

.about-page__workshop {
  margin-top: 60px;
}

.about-page__workshop-title {
  font-size: 18px;
  color: var(--primary-color);
  text-align: center;
  margin-top: 5px;
}

.about-page__workshop-title-en {
  font-size: 14px;
  color: var(--primary-color);
  text-align: center;
  margin-top: 5px;
}

.about-page__workshop-image {
  width: 100%;
  max-width: 500px;
  margin: 30px auto 0;
  background: var(--accent-color);
}

.about-page__workshop-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-page__pricing {
  margin-top: 60px;
}

.about-page__pricing-table {
  width: 100%;
  max-width: 600px;
  margin: 20px auto 0;
  border-collapse: collapse;
}

.about-page__pricing-table td {
  font-size: 14px;
  color: var(--primary-color);
  padding: 10px;
  text-align: center;
}

.about-page__pricing-note {
  font-size: 12px;
  color: var(--primary-color);
  text-align: center;
}

.about-page__cta {
  text-align: center;
  margin-top: 60px;
}

.about-page__cta-button {
  display: block;
  width: 300px;
  margin: 0 auto;
  padding: 15px 30px;
  border: 1px solid var(--primary-color);
  background: var(--white-color);
  color: var(--primary-color);
  text-decoration: none;
  font-size: 16px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.about-page__cta-button:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.about-page__content-block {
  margin-top: 60px;
  max-width: 500px;
  margin: 0 auto;
}

@media screen and (min-width: 1080px) {
  .about-page__content-block {
    max-width: 1000px;
  }
}

@media screen and (min-width: 1080px) {
  .about-page__content-block_first {
    display: flex;
    flex-direction: row-reverse;
  }
}

.about-page__content-images {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1080px) {
  .about-page__content-images {
    margin-top: 30px;
  }
}

.about-page__photo {
  width: 350px;
  height: 350px;
}

@media screen and (min-width: 600px) {
  .about-page__photo {
    width: 500px;
    height: 500px;
  }
}

@media screen and (min-width: 1080px) {
  .about-page__photo {
    margin-top: 100px;
    margin-left: 50px;
  }
}

@media screen and (min-width: 1080px) {
  .about-page__content-block_second {
    display: flex;
    flex-direction: row;
    margin-top: 200px;
  }
}

.about-page__content-block--image {
  height: 400px;
}

.about-page__biography-section {
  background: var(--base-color);
  padding: 50px 0;
}

.about-page__biography-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-page__biography {
  margin-top: 60px;
}

@media screen and (min-width: 1080px) {
  .about-page__biography {
    display: flex;
    flex-direction: row;
    margin-top: 100px;
  }
}

.about-page__biography-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1080px) {
  .about-page__biography-image {
    width: 500px;
    height: 470px;
  }
}

.about-page__timeline {
  margin-top: 10px;
  max-width: 300px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .about-page__timeline {
    max-width: 450px;
  }
}

@media screen and (min-width: 1080px) {
  .about-page__timeline {
    margin-top: 5px;
    padding-left: 60px;
    max-width: 1000px;
  }
}

.about-page__timeline-item {
  display: flex;
  margin-top: 15px;
  font-size: 14px;
  color: var(--primary-color);
}

.about-page__timeline-date {
  min-width: 100px;
  margin-right: 20px;
}

@media screen and (min-width: 1080px) {
  .about-page__timeline-item {
    font-size: 20px;
  }
}

.about-page__timeline-text {
  flex: 1;
}

.about-page__achievement-list {
  margin-top: 30px;
}

.about-page__social-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 250px;
}

@media screen and (min-width: 1080px) {
  .about-page__social-item {
    width: 350px;
  }
}

.about-page__social {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

@media screen and (min-width: 1080px) {
  .about-page__social {
    margin-top: 80px;
  }
}

@media screen and (min-width: 1080px) {
  .about-page__social-title {
    font-size: 20px;
  }
}

.about-page__social-link {
  font-size: 14px;
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 1080px) {
  .about-page__social-link {
    font-size: 20px;
  }
}

.about-page__social-link:hover {
  opacity: 0.7;
}

/* ------------------------------ */
/* ワークショップページ */
/* ------------------------------ */
.workshop-page {
  padding: 100px 0 30px;
  background-color: var(--base-color);
}

@media screen and (min-width: 1080px) {
  .workshop-page__top {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.workshop-page__header {
  text-align: center;
}

.workshop-page__title {
  font-size: 24px;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .workshop-page__title {
    font-size: 36px;
  }
}

.workshop-page__title-en {
  font-size: 14px;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .workshop-page__title-en {
    font-size: 24px;
  }
}

.workshop-page__image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 40px;
  background-color: var(--accent-color);
}

.workshop-page__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.workshop-page__intro {
  margin-bottom: 60px;
}

@media screen and (min-width: 1080px) {
  .workshop-page__intro {
    margin-bottom: 0px;
  }
}

.workshop-page__intro-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .workshop-page__intro-text {
    font-size: 24px;
    padding: 0 60px;
  }
}

.workshop-page__intro-text-en {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .workshop-page__intro-text-en {
    font-size: 24px;
    margin: 0 auto;
    padding: 0 60px;
  }
}

.workshop-page__other-precautions-image-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media screen and (min-width: 1080px) {
  .workshop-page__other-precautions-image-img {
    height: 600px;
  }
}

.workshop-page__section-title {
  font-size: 20px;
  margin-bottom: 30px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.workshop-page__section-title-flow {
  padding: 0;
}

.workshop-page__section-title-en {
  font-size: 14px;
  margin: -30px 0 20px;
  text-align: center;
  opacity: 0.9;
}

@media screen and (min-width: 768px) {
  .workshop-page__section-title-en {
    font-size: 18px;
    margin: -35px 0 24px;
  }
}

@media screen and (min-width: 1080px) {
  .workshop-page__section-title-en {
    text-align: left;
  }
}

@media screen and (min-width: 768px) {
  .workshop-page__section-title {
    font-size: 36px;
  }
}

@media screen and (min-width: 1080px) {
  .workshop-page__section-title {
    text-align: left;
  }
}

.workshop-page__flow-section {
  background-color: var(--accent-color);
}

.workshop-page__flow-container {
  background-color: var(--accent-color);
  padding: 30px 20px;
}

.workshop-page__flow {
  margin-bottom: 60px;
}

.workshop-page__steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

@media screen and (min-width: 1080px) {
  .workshop-page__steps {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
}

.workshop-page__step {
  background-color: var(--base-color);
  border: 1px solid var(--primary-color);
  padding: 20px;
  border-radius: 5px;
}

.workshop-page__step {
  max-width: 600px;
}

@media screen and (min-width: 1080px) {
  .workshop-page__step {
    width: 500px;
    height: 470px;
  }
}

.workshop-page__step-title {
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
  position: relative;
}

@media screen and (min-width: 768px) {
  .workshop-page__step-title {
    font-size: 24px;
  }
}

.workshop-page__step-title::before {
  content: "";
  position: absolute;
  top: 160%;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 0.5px;
  background: var(--primary-color);
}

.workshop-page__step-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .workshop-page__step-text {
    font-size: 20px;
  }
}

.workshop-page__step-text-en {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .workshop-page__step-text-en {
    font-size: 20px;
  }
}

.workshop-page__materials {
  margin-top: 50px;
  margin-bottom: 60px;
}

.workshop-page__materials-intro {
  line-height: 1.8;
  color: var(--primary-color);
  margin-bottom: 10px;
  max-width: 1300px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .workshop-page__materials-intro {
    font-size: 24px;
  }
}

.workshop-page__materials-intro-en {
  line-height: 1.8;
  color: var(--primary-color);
  margin-bottom: 30px;
  max-width: 1300px;
  margin: 20px auto;
}

@media screen and (min-width: 768px) {
  .workshop-page__materials-intro-en {
    font-size: 24px;
  }
}

.workshop-page__materials-list {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

@media screen and (min-width: 768px) {
  .workshop-page__materials-list {
    max-width: 1660px;
    margin: 0 auto;
  }
}

.workshop-page__material-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.workshop-page__material-image {
  width: 150px;
  height: 150px;
  background-color: var(--accent-color);
  margin-bottom: 10px;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .workshop-page__material-image {
    width: 400px;
    height: 400px;
  }
}

.workshop-page__material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.workshop-page__material-name {
  font-size: 14px;
  color: var(--white-color);
  position: absolute;
  top: 80%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 18px;
}

@media screen and (min-width: 768px) {
  .workshop-page__material-name {
    top: 85%;
    font-size: 36px;
  }
}

@media screen and (min-width: 1080px) {
  .workshop-page__material-name {
    font-size: 36px;
  }
}

.dyeing-request-second_page {
  background-color: var(--base-color);
  padding: 30px 0;
}

@media screen and (min-width: 768px) {
  .dyeing-request-second_page {
    padding: 60px 0;
  }
}

/* 注意事項＋アコーディオン（染色依頼・ワークショップ共通） */
.precautions-section {
  margin-bottom: 60px;
  margin-top: 60px;
}

.precautions-section__header {
  margin-bottom: 20px;
}

.precautions-section__first-title {
  font-size: 24px;
}

@media screen and (min-width: 768px) {
  .precautions-section__first-title {
    font-size: 36px;
  }
}

.precautions-section__title {
  margin-bottom: 30px;
  margin-top: 20px;
  margin-left: 10px;
  position: relative;
  font-size: 20px;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .precautions-section__title {
    font-size: 24px;
  }
}

@media screen and (min-width: 768px) {
  .dyeing-request-second_page {
    font-size: 36px;
  }
}

.precautions-section__title::before {
  content: "";
  position: absolute;
  top: 5%;
  left: -10px;
  width: 0.5px;
  height: 25px;
  background: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .precautions-section__title::before {
    top: -25%;
    height: 50px;
  }
}

.precautions-section__intro-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.precautions-section__intro-text-en {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .precautions-section__intro-text,
  .precautions-section__intro-text-en {
    font-size: 20px;
  }
}

.dyeing-request-second_page .precautions-section__intro-text {
  margin-top: 30px;
}

.dyeing-request-second_page .precautions-section__intro-text-en {
  margin-top: 20px;
}

.precautions-section__accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.precautions-section__accordion-item {
  background-color: var(--base-color);
  border: 1px solid var(--primary-color);
  overflow: hidden;
}

.precautions-section__accordion-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--white-color);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.precautions-section__accordion-button:hover {
  background-color: var(--accent-color);
}

.precautions-section__accordion-title {
  font-size: 14px;
  color: var(--primary-color);
  flex: 1;
}

@media screen and (min-width: 768px) {
  .precautions-section__accordion-title {
    font-size: 20px;
  }
}

.precautions-section__accordion-icon {
  font-size: 20px;
  color: var(--primary-color);
  font-weight: bold;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

@media screen and (min-width: 768px) {
  .precautions-section__accordion-icon {
    font-size: 24px;
  }
}

.precautions-section__accordion-button[aria-expanded="true"]
  .precautions-section__accordion-icon {
  transform: rotate(45deg);
}

.precautions-section__accordion-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  padding: 0 20px;
}

.precautions-section__accordion-button[aria-expanded="true"]
  + .precautions-section__accordion-content {
  max-height: 1000px;
  padding: 0 20px 20px;
}

.precautions-section__accordion-text-title {
  font-size: 14px;
  color: var(--primary-color);
  margin-top: 15px;
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .precautions-section__accordion-text-title {
    font-size: 20px;
  }
}

.precautions-section__accordion-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding-top: 15px;
}

@media screen and (min-width: 768px) {
  .precautions-section__accordion-text {
    font-size: 20px;
  }
}

.precautions-section__accordion-text-en {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
  margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
  .precautions-section__accordion-text-en {
    font-size: 20px;
  }
}

.workshop-page__last-section-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-top: 60px;
  margin-bottom: 20px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .workshop-page__last-section-title {
    margin-top: 120px;
    font-size: 36px;
  }
}

.workshop-page__pricing {
  margin-top: 40px;
  margin-bottom: 60px;
}

.workshop-page__pricing-section {
  margin-bottom: 40px;
}

.workshop-page__pricing-divider {
  width: 100%;
  height: 1px;
  background-color: var(--primary-color);
  margin: 20px 0;
}

.workshop-page__pricing-subtitle {
  color: var(--primary-color);
  text-align: center;
  margin: 20px 0;
  position: relative;
}

@media screen and (min-width: 768px) {
  .workshop-page__pricing-subtitle {
    font-size: 20px;
  }
}

.workshop-page__pricing-subtitle:first-of-type {
  margin-top: 50px;
}

@media screen and (min-width: 768px) {
  .workshop-page__pricing-subtitle:first-of-type {
    margin-top: 100px;
  }
}

.workshop-page__pricing-subtitle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  width: calc(30% - 50px);
  height: 0.5px;
  background: var(--primary-color);
}

.workshop-page__pricing-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: calc(30% - 50px);
  height: 0.5px;
  background: var(--primary-color);
}

.workshop-page__pricing-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--primary-color);
  margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
  .workshop-page__pricing-text {
    font-size: 20px;
  }
}

.workshop-page__pricing-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.workshop-page__pricing-item {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.workshop-page__pricing-item-name {
  font-size: 14px;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .workshop-page__pricing-item-name {
    font-size: 20px;
  }
}

.workshop-page__pricing-item-name-en {
  font-size: 14px;
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .workshop-page__pricing-item-name-en {
    font-size: 20px;
  }
}

.workshop-page__pricing-item-price {
  font-size: 14px;
  color: var(--primary-color);
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .workshop-page__pricing-item-price {
    font-size: 20px;
  }
}

.workshop-page__cta {
  text-align: center;
  padding: 60px 0;
}

.workshop-page__cta-button {
  display: inline-block;
  width: 300px;
  padding: 15px 30px;
  border: 1px solid var(--primary-color);
  background: var(--white-color);
  color: var(--primary-color);
  text-decoration: none;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

@media screen and (min-width: 768px) {
  .workshop-page__cta-button {
    width: 400px;
    font-size: 24px;
    margin-top: 60px;
    margin-bottom: 60px;
  }
}

.workshop-page__cta-button:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/* 染のご依頼ページ - 色見本 */

.dyeing-request-page__title {
  font-size: 24px;
  margin-bottom: 10px;
}

.dyeing-request-page__title-en {
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .dyeing-request-page__title-en {
    font-size: 24px;
  }
}

.dyeing-request-page__image {
  margin-top: 50px;
  margin-bottom: 50px;
}

.dyeing-request-page__image-img {
  background-color: var(--accent-color);
  object-fit: cover;
  object-position: center;
  max-height: 200px;
}

.dyeing-request-page__header {
  text-align: center;
  margin-top: 85px;
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .dyeing-request-page__title {
    font-size: 36px;
  }
  .dyeing-request-page__image-img {
    max-height: 450px;
  }
  .dyeing-request-page__header {
    margin-bottom: 50px;
  }
}

.workshop-page__image {
  margin-top: 50px;
}

.dyeing-request-page__section-title {
  margin-top: 150px;
}

@media screen and (min-width: 768px) {
  .dyeing-request-page__section-title {
    font-size: 36px;
  }
}

.dyeing-request-page__intro-text {
  margin-top: 20px;
  text-align: center;
}

.dyeing-request-page__intro-text-en {
  margin-top: 50px;
  margin-bottom: 100px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .dyeing-request-page__intro-text,
  .dyeing-request-page__intro-text-en {
    font-size: 24px;
    padding: 0 100px;
  }
}

.dyeing-request-page__color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 180px;
}

.dyeing-request-page__color-box {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

.dyeing-request-page__color-label {
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .dyeing-request-page__color-box {
    width: 160px;
    height: 160px;
  }
  .dyeing-request-page__color-label {
    font-size: 16px;
  }
}

.dyeing-request-page__color-samples-subtitle {
  color: var(--primary-color);
  text-align: center;
  position: relative;
}

@media screen and (min-width: 768px) {
  .dyeing-request-page__color-samples-subtitle {
    font-size: 24px;
  }
}

.dyeing-request-page__color-samples-subtitle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  width: calc(30% - 50px);
  height: 0.5px;
  background: var(--primary-color);
}

.dyeing-request-page__color-samples-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: calc(30% - 50px);
  height: 0.5px;
  background: var(--primary-color);
}

.dyeing-request-page__color-samples-text {
  margin-top: 20px;
}

@media screen and (min-width: 768px) {
  .dyeing-request-page__color-samples-text {
    font-size: 24px;
  }
}

.dyeing-request-page__color-samples-text-en {
  margin-top: 20px;
}

@media screen and (min-width: 768px) {
  .dyeing-request-page__color-samples-text-en {
    font-size: 24px;
  }
}

.dyeing-request-third_page {
  margin-top: 150px;
}

.dyeing-request-page__title_third {
  font-size: 20px;
}

@media screen and (min-width: 768px) {
  .dyeing-request-page__title_third {
    font-size: 30px;
  }
}

.dyeing-request-page__title-en_third {
  font-size: 20px;
}

@media screen and (min-width: 768px) {
  .dyeing-request-page__title-en_third {
    font-size: 30px;
  }
}

.dyeing-request-page__color-sample-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .dyeing-request-page__color-sample-img {
    width: 800px;
    height: 500px;
  }
}

/* 404 ページ */
.error-404-page {
  padding: 80px 0 120px;
}

.error-404-page__title {
  font-size: 24px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 24px;
}

.error-404-page__text,
.error-404-page__text-en {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 14px;
}

.error-404-page__text-en {
  margin-bottom: 40px;
  opacity: 0.8;
}

.error-404-page__back {
  text-align: center;
}

.error-404-page__back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.error-404-page__back-link:hover {
  opacity: 0.7;
}

@media screen and (min-width: 768px) {
  .error-404-page__title {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .error-404-page__text,
  .error-404-page__text-en {
    font-size: 16px;
  }

  .error-404-page__back-link {
    font-size: 16px;
  }
}
