/*
Theme Name: tea-workshop-lp
Theme URI: https://sumai-niigata.net/
Author: PROGREX Inc.
Description: Landing page theme for Aroma Workshop at Sumai net Niigata LOUNGE.
Version: 1.0.0
Text Domain: tea-workshop-lp
*/

:root {
  /* ---- 2026年10月ハーブティー版パレット（SVGデザインより抽出） ---- */
  --color-primary: #a1506f;        /* 文字・ボタン・罫線（旧 #7db47f） */
  --color-primary-dark: #6e3549;   /* 影用の濃いプラム（SVGに該当色なしのため派生） */
  --color-page: #f0c8a0;           /* ページ地色（旧 #f0ebbf） */
  --color-panel: #f0e1b5;          /* 「このWSについて」「講師紹介」帯（旧 #fff3d3） */
  --color-production: #d69872;     /* 「製作内容」帯（#cb845e を不透明度70%で地色に合成した値） */
  --color-surface: #f8eedc;        /* カード・おすすめピル（旧 #faf8f0） */
  --color-form-control: #faf1d0;   /* 入力欄・ご予約後の流れ（旧 #faf8f0） */
  --color-footer-text: #ffeab3;    /* フッターのコピーライト（旧 #fff） */

  /* ---- 派生カラー（primary からの透過バリエーション） ---- */
  --color-primary-rgb: 161 80 111;
  --color-line: rgb(var(--color-primary-rgb) / 55%);      /* セクション区切り罫線 */
  --color-hero-tint: rgb(var(--color-primary-rgb) / 15%); /* MV の乗算オーバーレイ */
  --color-hero-shadow: rgb(110 53 73 / 45%);              /* MV テキストの影 */
  --color-hero-glow: 199 151 156;                         /* SP タイトルのグロー */

  /* ---- 装飾用アクセント（SVGの背景シェイプ由来／現状CSS未使用） ---- */
  --color-accent-mauve: #c7979c;
  --color-accent-red: #dc5245;

  --font-gothic: "PAotoGothicStdN", "A-OTF Gothic BBB Pr6N", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

body {
  margin: 0;
  color: var(--color-primary);
  background: var(--color-page);
  font-family: "PShuei5pProN", "A P-OTF Shuei Min Pr6N", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  line-height: 1.9;
}


html,
body {
  overflow-x: hidden;
}

main {
  /* max-width: 880px; */
  margin: 0 auto;
  /* padding: 48px 24px 80px; */
}

section {
  padding: 150px 0;
  /* border-bottom: 1px solid var(--color-line); */
}

h1,
h2,
h3 {
  margin: 0 0 24px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 28px;
  text-align: center;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0;
  padding-left: 1.4em;
}

dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 20px;
  margin: 0;
}

dt {
  font-weight: 400;
}

dd {
  margin: 0;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-hero-tint);
  background-image: url(img/mv.webp);
  background-blend-mode: multiply;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}

.hero__decor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: clamp(220px, 36vw, 430px);
  height: auto;
  mix-blend-mode: overlay;
  pointer-events: none;
  user-select: none;
}

.hero__content {
  position: relative;
  top: 20px;
  width: min(86vw, 900px);
}

.hero__badge,
.hero__heading,
.hero__date,
.hero__place-text {
  opacity: 0;
  animation: hero-element-fade-in 1.4s ease-out 0.7s forwards;
}

@keyframes hero-element-fade-in {
  to {
    opacity: 1;
  }
}

.hero__lead,
.hero__place {
  color: #fff;
  text-align: center;
  letter-spacing: 0.14em;
  text-shadow: 0 2px 8px var(--color-hero-shadow);
}

.hero__lead {
  margin: 0 0 22px;
  font-size: 42px;
  line-height: 1.5;
}

.hero__place {
  position: relative;
  display: inline-block;
  min-width: min(460px, 100%);
  margin: 0;
  padding: 15px 34px;
  font-size: 28px;
  line-height: 1.6;
  background: transparent;
  border-radius: 999px;
}

.hero__place::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--color-primary);
  opacity: 0.01;
  mix-blend-mode: multiply;
  pointer-events: none;
  will-change: opacity;
  animation: hero-place-multiply-fade-in 1.4s ease-out 0.7s forwards;
}

@keyframes hero-place-multiply-fade-in {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge,
  .hero__heading,
  .hero__date,
  .hero__place-text {
    opacity: 1;
    animation: none;
  }

  .hero__place::before {
    opacity: 1;
    animation: none;
  }
}

/* 日付 */
.hero__date {
  display: none;
  margin: 0;
  color: #fff;
  text-align: center;
  line-height: 1;
  text-shadow: 0 2px 8px var(--color-hero-shadow);
}

/* オープニング中は非表示にし、ロゴ・会場名と同じタイミングでフェードイン */
.opening-is-active .hero__date {
  opacity: 0;
  animation: none;
  transition: opacity 1.1s ease-out;
}

.opening-is-active.opening-hero-visible .hero__date,
.opening-is-complete .hero__date {
  opacity: 1;
}

.opening-is-complete .hero__date {
  animation: none;
}

.hero__date-main,
.hero__date-time {
  display: block;
}

.hero__date-month {
  font-size: 0.6em;
}

.hero__date-week {
  margin-left: 0.12em;
  font-size: 0.7em;
  letter-spacing: 0.04em;
}

.hero__date-note {
  font-size: 0.62em;
}

.hero__place-text {
  position: relative;
  z-index: 1;
  display: block;
}

@media (min-width: 641px) {
  .hero__place {
    line-height: 1.45;
  }

  /* PCは日付と時間を1行で表示 */
  .hero__date {
    display: block;
    margin: -10px 0 36px;
    white-space: nowrap;
    /* ロゴ（mv-txt.svg）のシャドウ #6e3549 に合わせる */
    text-shadow:
      0 0 8px rgb(110 53 73 / 90%),
      0 0 3px rgb(110 53 73 / 50%);
  }

  .hero__date-main,
  .hero__date-time {
    display: inline;
  }

  .hero__date-main {
    font-size: clamp(36px, 6.84vw, 87px);
  }

  .hero__date-day {
    font-size: 0.8em;
  }

  .hero__date-week {
    font-size: 0.56em;
  }

  .hero__date-time {
    margin-left: 0.6em;
    font-size: clamp(18px, 3.27vw, 41px);
    letter-spacing: 0.02em;
  }
}

/* 会場名の下の補足（S.H.S鳥屋野店内） */
.hero__place-detail {
  display: block;
  font-size: 0.83em;
  letter-spacing: 0.08em;
}

.hero__badge {
  position: absolute;
  top: -65px;
  right: -15px;
  z-index: 2;
  width: 161.5px;
  height: auto;
}

.hero__heading {
  display: flex;
  justify-content: center;
  margin: 0 0 60px;
}

.hero__heading picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero__title {
  flex: 0 0 auto;
  display: block;
  width: 104.18625%;
  max-width: none;
  height: auto;
  margin: 0 auto;
}

@media (min-width: 641px) {
  .hero__heading {
    position: relative;
    top: 16px;
    margin-bottom: 0;
  }
}

.container {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.lead-overview {
  position: relative;
  background-color: var(--color-page);
  background-image: url(img/sec1bg.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: visible;
}

.lead-overview .container {
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.box1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 520px;
  margin: 0 auto;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.08em;
}

.box1 h2 {
  margin: 0 0 0 clamp(40px, 6.8vw, 84px);
  font-size: clamp(22px, 2.45vw, 30px);
  line-height: 1.8;
  text-align: center;
  writing-mode: horizontal-tb;
}

.box1__heading-text {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: .3rem;
}

.box1__heading-text > span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.text-combine-upright {
  -webkit-text-combine: horizontal;
  text-combine-upright: all;
}

.js [data-reveal="stagger-copy"] > h2,
.js [data-reveal="stagger-copy"] > p {
  opacity: 0;
  transition: opacity 1.2s ease-out;
}

.js [data-reveal="stagger-copy"].is-heading-visible > h2,
.js [data-reveal="stagger-copy"].is-body-visible > p {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal="stagger-copy"] > h2,
  .js [data-reveal="stagger-copy"] > p {
    opacity: 1;
    transition: none;
  }
}

.js [data-reveal="section"] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 1.2s ease-out,
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal="section"][data-reveal-delay="intro"] {
  transition-delay: 0.8s;
}

.js [data-reveal="section"].is-section-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal="section"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 641px) {
  .box1__heading-text {
    letter-spacing: 0.05em;
  }

  .box1 p {
    letter-spacing: 0.03em;
  }
}

.vertical-quote {
  display: inline;
}

.vertical-quote::before {
  content: "〝";
  font-size: 0.7em;
  line-height: 1;
}

.vertical-quote::after {
  content: "〟";
  font-size: 0.7em;
  line-height: 1;
}

.box1 p {
  margin: 0 0 0 clamp(16px, 2.6vw, 32px);
  font-size: clamp(15px, 1.65vw, 20px);
  line-height: 1.9;
}

.overview-block {
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

.wave-line {
  display: block;
  width: calc(100% + 2px);
  height: auto;
  margin-left: -1px;
  pointer-events: none;
}

.overview-inner {
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 100px auto;
  text-align: center;
}

.overview-inner h2 {
  margin-bottom: 26px;
  font-size: 28px;
}

.overview-inner dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
  font-size: 19px;
  line-height: 1.8;
}

.overview-inner dt {
  font-weight: 400;
}

.overview-inner dd {
  letter-spacing: .08em;
}

.overview-inner a {
  color: inherit;
  text-underline-offset: 4px;
  transition: opacity 0.3s;
}

.overview-inner a:hover {
  opacity: 0.7;
}

.overview-inner .note {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  color: var(--color-primary);
  font-size: 19px;
  text-align: left;
}

.overview-action {
  display: flex;
  justify-content: center;
  padding: 48px 0 28px;
}

.sec1line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  max-width: none;
  pointer-events: none;
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 20px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
}

.button-text {
  display: inline-block;
  min-width: 300px;
  padding: 12px 40px;
  box-sizing: border-box;
  color: #fff;
  background: var(--color-primary);
  border-radius: 6px;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s;
}

.button-text:hover {
  opacity: 0.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.card {
  padding: 18px;
  text-align: center;
  background: var(--color-surface);
  border-radius: 8px;
}

.form-list {
  list-style: none;
  padding: 0;
}

.workshop-about {
  position: relative;
  overflow: visible;
  background: var(--color-panel);
}

.workshop-about .container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.section-bridge-decor {
  position: absolute;
  z-index: 1;
  mix-blend-mode: overlay;
  pointer-events: none;
  user-select: none;
}

.section-bridge-decor--wh1 {
  top: -390px;
  left: 0;
  width: clamp(250px, 42vw, 890px);
  height: auto;
}

.section-bridge-decor--wh0 {
  top: -280px;
  right: 0;
  left: auto;
  z-index: 0;
  width: clamp(460px, 60vw, 800px);
  height: auto;
  transform: none;
}

.workshop-about__intro {
  display: grid;
  grid-template-columns: max-content 500px;
  gap: 64px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 68px;
}

.workshop-about__text {
  max-width: 440px;
}

.workshop-about__text h2,
.recommend h2 {
  text-align: left;
  font-size: 36px;
}

.workshop-about__text h2 {
  margin-bottom: 52px;
  white-space: nowrap;
}

.workshop-about__text h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 28px;
  background: var(--color-primary);
}

.workshop-about__text p {
  font-size: 19px;
}

.workshop-about__text p.workshop-about__copy {
  display: block;
  margin: 0;
}

.workshop-about__text p.workshop-about__copy + p.workshop-about__copy {
  margin-top: 42px;
}

.workshop-about__images {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
}

.workshop-about__image {
  display: block;
  max-width: 90%;
}

.workshop-about__image--large {
  margin-left: auto;
}

.recommend {
  padding: 62px 0 26px;
  border-top: 1px solid var(--color-line);
}

.recommend h2 {
  margin-bottom: 42px;
  text-align: center;
}

.recommend__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 42px;
}

.recommend__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 58px;
  padding: 18px 28px;
  font-size: 20px;
  text-align: center;
  line-height: 1.5;
  background: var(--color-surface);
  border-radius: 999px;
  box-shadow: 7px 8px 12px rgb(0 0 0 / 24%);
}

.production-section {
  position: relative;
  overflow: visible;
  color: #fff;
  background-color: var(--color-production);
  background-image: url(img/sec3bg.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.production-section .container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.section-bridge-decor--wh3 {
  top: 300px;
  right: 0;
  bottom: auto;
  width: clamp(299px, 43.7vw, 575px);
  height: auto;
}

.production-section__inner {
  display: grid;
  grid-template-columns: 520px max-content;
  gap: 90px;
  align-items: center;
  justify-content: center;
  min-height: 620px;
}

.production-section__title-sp {
  display: none;
}

.production-section__image img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.production-section__text {
  max-width: 560px;
}

.production-section__text h2 {
  margin-bottom: 52px;
  color: #fff;
  text-align: left;
  font-size: 36px;
}

.production-section__text h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 28px;
  background: rgb(255 255 255 / 82%);
}

.production-section__text p {
  font-size: 19px;
  white-space: nowrap;
}

.teacher-section {
  position: relative;
  overflow: hidden;
  background: var(--color-panel);
}

.teacher-section__bg {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 170px;
  background-image: url(img/sec4bg.png);
  background-position: bottom center;
  background-size: max(1904px, 100%) auto;
  background-repeat: no-repeat;
  pointer-events: none;
}

.teacher-section .container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.teacher-section__title {
  margin: 0;
  padding: 22px 0 36px;
  border-bottom: 1px solid var(--color-line);
  font-size: 36px;
  text-align: center;
}

.teacher-section__inner {
  display: grid;
  grid-template-columns: max-content 500px;
  gap: 130px;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  padding: 56px 0 110px;
}

.teacher-section__text {
  max-width: 420px;
}

.teacher-section__text h3 {
  margin-bottom: 46px;
  font-size: 36px;
  line-height: 1.35;
}

.teacher-section__name-kana {
  position: relative;
  top: -6px;
  font-size: 19px;
  white-space: nowrap;
}

.teacher-section__text h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 28px;
  background: var(--color-primary);
}

.teacher-section__text p {
  font-size: 19px;
}

.teacher-section__image img {
  display: block;
  width: 90%;
  max-width: 100%;
}

.venue-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
  overflow: visible;
  background: var(--color-page);
}

.venue-section .container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.section-bridge-decor--wh4 {
  top: -220px;
  left: 0;
  width: clamp(260px, 42vw, 600px);
  height: auto;
}

.venue-section__title {
  margin-bottom: 58px;
  font-size: 36px;
  text-align: center;
}

.venue-section__intro {
  display: grid;
  grid-template-columns: 560px max-content;
  gap: 72px;
  align-items: center;
  justify-content: start;
  margin-bottom: 72px;
}

.venue-section__image {
  margin-left: calc(((min(100vw, 1100px) - 100vw) / 2) - 23px);
}

.venue-section__image img {
  display: block;
  width: calc(560px + ((100vw - min(100vw, 1100px)) / 2) + 23px);
  max-width: none;
  border-radius: 0 20px 20px 0;
  box-shadow: 7px 8px 12px rgb(0 0 0 / 24%);
}

.venue-section__text {
  max-width: 380px;
}

.venue-section__text h3 {
  margin-bottom: 28px;
  font-size: 28px;
  white-space: nowrap;
}

.venue-section__text p {
  font-size: 19px;
}

@media (min-width: 641px) {
  .overview-inner h2 {
    font-size: 32px;
  }

  .reservation-cautions > p:first-child {
    font-size: 22px;
    text-align: center;
  }

  .reservation-cautions__body {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  .workshop-about__text p,
  .production-section__text p,
  .teacher-section__text p {
    margin: 0;
  }

  .workshop-about__text p,
  .production-section__text p {
    line-height: 1.9;
    white-space: nowrap;
  }

  .workshop-about__text p + p,
  .production-section__text p + p {
    margin-top: 8px;
  }

  /* 講師紹介（1行ごと 1.9 + 8px）と同じ行送りに揃える */
  .workshop-about__text p.workshop-about__copy {
    line-height: calc(1.9em + 8px);
  }

  .workshop-about__text p.workshop-about__copy + p.workshop-about__copy {
    margin-top: 34px;
  }

  .teacher-section__text p {
    line-height: 1.9;
    white-space: nowrap;
  }

  .teacher-section__line {
    display: block;
  }

  .teacher-section__line + .teacher-section__line {
    margin-top: 8px;
  }

  .teacher-section__line:nth-child(9) {
    margin-top: 42px;
  }

  .venue-section__text p {
    margin: 0;
    line-height: 1.9;
  }

  .venue-section__text p + p {
    margin-top: 8px;
  }

  .venue-section__text p:nth-of-type(5) {
    margin-top: 42px;
  }

  .venue-section__text p:last-child {
    margin-top: 20px;
  }
}

.venue-section a {
  color: inherit;
  text-underline-offset: 4px;
  transition: opacity 0.3s;
}

.venue-section a:hover {
  opacity: 0.7;
}

.venue-overview {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.reservation-note {
  width: fit-content;
  max-width: 980px;
  margin: 82px auto 0;
  padding: 48px 72px;
  box-sizing: border-box;
  background: var(--color-form-control);
  border-radius: 16px;
}

.reservation-note h2 {
  margin-bottom: 26px;
  font-size: 28px;
}

.reservation-note ul {
  list-style: none;
  padding-left: 0;
}

.reservation-note li {
  position: relative;
  margin-bottom: 26px;
  padding-left: 1.4em;
  font-size: 17px;
  line-height: 1.5;
  text-indent: -1.4em;
}

.reservation-note li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 1.5em;
  bottom: -18px;
  left: 0.5em;
  border-left: 1px solid currentColor;
}

.reservation-note li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: calc(0.5em - 3px);
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.reservation-note li:last-child {
  margin-bottom: 0;
}

.reservation-cautions p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.6;
}

.reservation-cautions p:last-child {
  margin-bottom: 0;
}

.reservation-cautions__body p {
  padding-left: 0.5em;
  text-indent: -0.5em;
}

.reservation-cautions__phone {
  color: inherit;
  text-underline-offset: 0.15em;
  transition: opacity 0.3s;
}

.reservation-cautions__phone:hover {
  opacity: 0.7;
}

.workshop-about__text p,
.production-section__text p,
.teacher-section__text p,
.venue-section__text p,
.reservation-cautions p,
.reservation-confirm,
.privacy-box h3,
.privacy-box p,
.privacy-check {
  letter-spacing: .08em;
}

.reservation-note li,
.reservation-cautions p,
.reservation-confirm,
.form-row label,
.privacy-box h3,
.privacy-box p,
.privacy-check {
  font-family: var(--font-gothic);
  font-weight: 500;
}

.form-section {
  padding-top: 40px;
  background: var(--color-page);
}

.form-section .container {
  max-width: 920px;
}

.form-section__title {
  margin-bottom: 44px;
  font-size: 30px;
  text-align: center;
}

.reservation-confirmation-panel {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 46px 21px 40px;
  box-sizing: border-box;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.reservation-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 32px auto 0;
  font-size: 17px;
  line-height: 1.6;
  cursor: pointer;
}

.reservation-confirm input {
  position: relative;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  margin: 0;
  appearance: none;
  box-sizing: border-box;
  border: 1px solid #767676;
  border-radius: 2px;
  background: #fff;
}

.reservation-confirm input::before {
  content: "";
  position: absolute;
  top: 44%;
  left: 50%;
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.reservation-confirm input:checked::before {
  opacity: 1;
}

.reservation-confirm input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.reservation-form-gate {
  min-width: 0;
  margin: 52px 0 0;
  padding: 0;
  border: 0;
  transition: opacity 0.3s;
}

.reservation-form-gate.is-locked {
  opacity: 0.45;
}

.reservation-form-gate.is-locked .reservation-form {
  pointer-events: none;
}

.reservation-cautions {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  border-radius: 16px;
}

.reservation-form {
  display: grid;
  gap: 24px;
}

.reservation-form p {
  margin: 0;
}

.reservation-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 28px;
  table-layout: fixed;
}

.reservation-table th,
.reservation-table td {
  padding: 0;
  border: 0;
  vertical-align: middle;
}

.reservation-table th {
  width: 150px;
  padding-right: 22px;
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.reservation-table td {
  width: auto;
}

.reservation-table .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.reservation-form > p:has(input:not([type="submit"]):not([type="checkbox"]):not([type="hidden"])),
.reservation-form > p > label {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
}

.reservation-form > p > label {
  grid-column: 1 / -1;
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.reservation-form > p > label > br {
  display: none;
}

.reservation-form > p:has(.submit-button),
.reservation-form > p:has(.wpcf7-submit) {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
}

.form-row label {
  font-size: 18px;
  text-align: right;
  white-space: nowrap;
}

.form-row > label:has(.wpcf7-form-control-wrap) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
}

.form-row > label:has(.wpcf7-form-control-wrap) > br {
  display: none;
}

.form-row input,
.reservation-table input,
.reservation-form input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]),
.form-row textarea,
.reservation-table textarea,
.reservation-form textarea {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 4px;
  background: var(--color-form-control);
  color: var(--color-primary);
  font: inherit;
  padding: 0 14px;
}

.form-row input,
.reservation-table input,
.reservation-form input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]) {
  height: 48px;
}

.reservation-form input:-webkit-autofill,
.reservation-form input:-webkit-autofill:hover,
.reservation-form input:-webkit-autofill:focus,
.reservation-form input:autofill {
  box-shadow: 0 0 0 1000px var(--color-form-control) inset;
  -webkit-text-fill-color: var(--color-primary);
  caret-color: var(--color-primary);
}

.form-row textarea,
.reservation-table textarea,
.reservation-form textarea {
  min-height: 126px;
  padding: 12px 14px;
  resize: vertical;
}

.form-row .wpcf7-form-control-wrap,
.form-row > label:has(.wpcf7-form-control-wrap) .wpcf7-form-control-wrap,
.reservation-form > p > label .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

/* アレルギーの注意書き */
.reservation-allergy-note {
  margin: 12px 0 0;
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.7;
}

/* 年齢などの選択式（チェックボックス／ラジオ） */
.reservation-table .wpcf7-checkbox,
.reservation-table .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 12px 0;
}

.reservation-table .wpcf7-list-item {
  margin: 0;
}

.reservation-table .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-gothic);
  font-size: 17px;
  line-height: 1.4;
  cursor: pointer;
}

.reservation-table .wpcf7-list-item input[type="checkbox"],
.reservation-table .wpcf7-list-item input[type="radio"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--color-primary);
}

.reservation-table .wpcf7-list-item input[type="checkbox"] {
  position: relative;
  flex-basis: 20px;
  min-width: 20px;
  max-width: 20px;
  appearance: none;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #767676;
  border-radius: 2px;
  background: #fff;
}

.reservation-table .wpcf7-list-item input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 44%;
  left: 50%;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.reservation-table .wpcf7-list-item input[type="checkbox"]:checked::before {
  opacity: 1;
}

.reservation-table .wpcf7-list-item input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.privacy-box {
  margin-top: 52px;
  padding: 34px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  text-align: center;
}

.privacy-box h3 {
  margin-bottom: 22px;
  font-size: 20px;
}

.sp-only {
  display: none;
}

.privacy-box p {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.8;
}

.privacy-box h3,
.privacy-box p {
  letter-spacing: 0.02rem;
}

.privacy-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 18px;
}

.privacy-check .wpcf7-form-control-wrap,
.privacy-check .wpcf7-acceptance,
.privacy-check .wpcf7-list-item {
  display: flex;
  justify-content: center;
  margin: 0;
  width: 100%;
}

.privacy-check .wpcf7-list-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.reservation-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-family: var(--font-gothic);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.reservation-form .wpcf7-response-output {
  margin: 8px 0 0;
  font-family: var(--font-gothic);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.submit-button {
  justify-self: center;
  min-width: 300px;
  margin-top: 26px;
  margin-right: auto;
  margin-left: auto;
  padding: 12px 34px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--color-primary);
  font: inherit;
  font-size: 18px;
  text-align: center;
  transition: opacity 0.3s;
  cursor: pointer;
}

.submit-button:hover {
  opacity: 0.7;
}

.reservation-form:has(.wpcf7-acceptance input:not(:checked)) .submit-button {
  opacity: 0.7;
}

.reservation-form:has(.wpcf7-acceptance input:checked) .submit-button {
  opacity: 1;
}

.reservation-form:has(.wpcf7-acceptance input:checked) .submit-button:hover {
  opacity: 0.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  color: var(--color-footer-text);
  background: var(--color-primary);
  text-align: center;
}

.site-footer small {
  font-size: 10px;
  letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
  .workshop-about__intro,
  .production-section__inner,
  .teacher-section__inner,
  .venue-section__intro {
    max-width: 100%;
    box-sizing: border-box;
  }

  .workshop-about__intro {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 42vw);
    gap: 36px;
  }

  .production-section__inner {
    grid-template-columns: minmax(220px, 38vw) minmax(0, 1fr);
    gap: 44px;
  }

  .production-section__text p {
    white-space: normal;
  }

  .teacher-section__inner {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 42vw);
    gap: 56px;
  }

  .venue-section__intro {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 36vw);
    gap: 44px;
  }

  .venue-section__image {
    margin-left: -15px;
  }

  .venue-section__image img {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 960px) {
  .workshop-about__text h2 {
    position: relative;
    z-index: 3;
    width: max-content;
    max-width: none;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  section {
    padding: 40px 0;
  }

  .venue-section {
    padding-top: 0;
    padding-bottom: 32px;
  }

  .form-section {
    padding-top: 32px;
  }

  .form-section .container {
    max-width: 100%;
    overflow: hidden;
  }

  .hero {
    min-height: 600px;
    background-color: rgba(0, 0, 0, 0.25);
    background-image: url(img/mv-sp.webp);
    background-position: center top;
  }

  .hero__decor {
    top: 0;
    left: 0;
    width: clamp(171px, 49vw, 270px);
  }

  .hero__content {
    width: min(92vw, 380px);
  }

  .hero__badge {
    top: -100px;
    right: 20px;
    width: 90px;
  }

  .hero__lead {
    font-size: 22px;
    line-height: 1.5;
  }

  .hero__heading {
    margin-bottom: 0;
  }

  .hero__date {
    display: block;
    margin-bottom: 22px;
  }

  .hero__date-main {
    font-size: clamp(48px, 15vw, 60px);
  }

  .hero__date-day {
    font-size: 0.85em;
  }

  .hero__date-week {
    font-size: 0.595em;
  }

  .hero__date-time {
    margin-top: 6px;
    font-size: clamp(18px, 5.6vw, 22px);
    letter-spacing: 0.02em;
  }

  .hero__title {
    width: min(115%, calc(100vw - 30px));
  }

  .hero__place {
    min-width: 0;
    width: min(86vw, 320px);
    padding: 12px 18px;
    font-size: 17px;
    line-height: 1.5;
    white-space: normal;
  }

  .overview-block {
    overflow: hidden;
  }

  .overview-inner {
    margin: 60px auto;
  }

  .overview-inner dl,
  .overview-inner .note {
    font-size: 14px;
  }

  .overview-inner dd a {
    display: block;
    width: fit-content;
  }

  .overview-inner .note {
    width: min(100%, 352px);
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .wave-line {
    width: 190%;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .box1 {
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    min-height: 520px;
    writing-mode: horizontal-tb;
  }

  .box1 h2 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-basis: 100%;
    width: 100%;
    margin: 0 0 36px;
    font-size: 19px;
    text-align: center;
    writing-mode: horizontal-tb;
  }

  .box1__heading-text {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .box1__heading-text > span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }

  .box1 p {
    margin: 0 8px;
    font-size: 14px;
    line-height: 1.9;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }

  .workshop-about__intro {
    grid-template-columns: minmax(0, 1fr) min(40vw, 158px);
    gap: 18px;
    align-items: center;
    padding-bottom: 48px;
  }

  .section-bridge-decor--wh1 {
    top: -80px;
    left: -34px;
    width: clamp(220px, 60vw, 364px);
    max-width: none;
  }

  .section-bridge-decor--wh0 {
    top: -120px;
    right: 0;
    left: auto;
    width: clamp(280px, 76vw, 500px);
    max-width: none;
    transform: none;
  }

  .workshop-about__text {
    max-width: none;
    text-align: justify;
  }

  .workshop-about__text h2,
  .recommend h2,
  .production-section__text h2,
  .teacher-section__title,
  .teacher-section__text h3,
  .venue-section__title,
  .form-section__title,
  .overview-inner h2,
  .reservation-note h2 {
    font-size: 24px;
  }

  .production-section__text h2 {
    margin-bottom: 24px;
  }

  .workshop-about__text h2 {
    margin-bottom: 24px;
    white-space: normal;
  }

  .workshop-about__text h2::after {
    margin-right: auto;
    margin-left: auto;
  }

  .workshop-about__text p {
    display: inline;
    margin: 0;
    font-size: 14px;
    line-height: 24px;
  }

  .workshop-about__text p.workshop-about__copy + p.workshop-about__copy {
    margin-top: 24px;
  }

  .production-section__text p,
  .teacher-section__text p,
  .venue-section__text p {
    font-size: 14px;
  }

  .production-section__text p {
    display: inline;
    margin: 0;
    font-size: 14px;
    line-height: 31px;
  }

  .workshop-about__images {
    min-height: auto;
  }

  .workshop-about__image {
    max-width: 100%;
  }

  .workshop-about__image--large {
    width: min(40vw, 158px);
    margin: 0 auto;
  }

  .recommend {
    padding-top: 44px;
  }

  .recommend__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    justify-content: stretch;
  }

  .recommend__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 78px;
    padding: 0 12px;
    font-size: 12px;
    box-shadow: 5px 6px 10px rgb(0 0 0 / 16%);
  }

  /* 項目数が奇数のときだけ最後を全幅に（10月は6項目なので効かない） */
  .recommend__item:nth-child(odd):last-child {
    grid-column: 1 / -1;
  }

  .production-section__inner {
    grid-template-columns: min(40vw, 158px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: auto;
    padding: 24px 0;
  }

  .production-section__title-sp {
    display: block;
    grid-column: 1 / -1;
    margin: 0 0 24px;
    color: #fff;
    font-size: 24px;
    text-align: center;
  }

  .production-section__title-sp::after {
    content: "";
    display: block;
    width: 56px;
    height: 1px;
    margin: 28px auto 0;
    background: rgb(255 255 255 / 82%);
  }

  .production-section__text h2 {
    display: none;
  }

  .production-section {
    background-position: 62% center;
  }

  .section-bridge-decor--wh3 {
    top: 680px;
    right: 0;
    bottom: auto;
    width: clamp(171px, 52vw, 225px);
    max-width: none;
  }

  .production-section__image img {
    width: min(40vw, 158px);
    margin: 0 auto;
  }

  .production-section__text {
    max-width: none;
    font-size: 0;
    text-align: justify;
  }

  .teacher-section__bg {
    height: 96px;
    background-size: auto 100%;
  }

  .teacher-section__inner {
    grid-template-columns: minmax(0, 1fr) min(38vw, 150px);
    gap: 12px 18px;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-height: auto;
    padding: 42px 0 96px;
    box-sizing: border-box;
  }

  .teacher-section__text {
    display: contents;
    max-width: none;
  }

  .teacher-section__text h3 {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 20px;
    text-align: left;
  }

  .teacher-section__name-kana {
    top: -3px;
    font-size: clamp(13px, 4vw, 16px);
    white-space: normal;
  }

  .teacher-section__text h3::after {
    display: none;
  }

  .teacher-section__body {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    text-align: justify;
  }

  .teacher-section__text p {
    display: inline;
    font-size: 14px;
    line-height: 24px;
    margin: 0;
    white-space: normal;
    text-align: inherit;
  }

  .teacher-section__line {
    display: inline;
    margin: 0;
  }

  .teacher-section__image {
    grid-column: 2;
    grid-row: 1;
    order: -1;
  }

  .teacher-section__image img {
    width: min(38vw, 150px);
    margin: 0 auto;
  }

  .venue-section__title {
    margin-bottom: 36px;
  }

  .section-bridge-decor--wh4 {
    top: -110px;
    left: -48px;
    width: clamp(190px, 62vw, 260px);
    max-width: none;
  }

  .venue-section__intro {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 54px;
    min-width: 0;
    max-width: 100%;
  }

  .venue-section__image {
    margin-left: 0;
    min-width: 0;
    max-width: 100%;
  }

  .venue-section__image img {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 5px 6px 10px rgb(0 0 0 / 16%);
  }

  .venue-section__text {
    min-width: 0;
    max-width: none;
    text-align: justify;
  }

  .venue-section__text p:nth-of-type(-n + 4) {
    display: inline;
    margin: 0;
    font-size: 14px;
    line-height: 24px;
  }

  .venue-section__text p:nth-of-type(5) {
    margin: 16px 0 0;
  }

  .venue-section__text p:nth-of-type(6),
  .venue-section__text p:nth-of-type(7) {
    display: inline;
    margin: 0;
    font-size: 14px;
    line-height: 24px;
  }

  .venue-section__text p:nth-of-type(7) {
    margin-left: 0.75em;
  }

  .venue-section__text h3 {
    max-width: 100%;
    font-size: 24px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .reservation-note {
    margin-top: 56px;
    padding: 34px 22px;
  }

  .reservation-cautions {
    margin: 0 auto;
    padding: 0;
  }

  .reservation-confirmation-panel {
    padding: 32px 0 28px;
  }

  .reservation-note li,
  .reservation-cautions p {
    font-size: 14px;
  }

  .reservation-cautions > p:first-child {
    font-size: 16px;
    text-align: center;
  }

  .reservation-cautions br {
    display: none;
  }

  .reservation-confirm {
    margin: 28px auto 0;
    font-size: 14px;
  }

  .reservation-form-gate {
    margin-top: 36px;
  }

  .reservation-confirm input {
    width: 18px;
    height: 18px;
  }

  .reservation-form {
    gap: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .reservation-form > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .reservation-table,
  .reservation-table tbody,
  .reservation-table tr,
  .reservation-table th,
  .reservation-table td {
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .reservation-table {
    border-spacing: 0;
  }

  .reservation-table tr {
    margin-bottom: 18px;
  }

  .reservation-table th {
    padding-right: 0;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
  }

  .reservation-table td {
    line-height: 1;
  }

  .reservation-table input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]) {
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    height: 42px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reservation-form > p:has(input:not([type="submit"]):not([type="checkbox"]):not([type="hidden"])),
  .form-row > label:has(.wpcf7-form-control-wrap),
  .reservation-form > p > label {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row label,
  .form-row > label:has(.wpcf7-form-control-wrap),
  .reservation-form > p > label,
  .reservation-table .wpcf7-list-item label {
    font-size: 14px;
    text-align: left;
    white-space: normal;
  }

  .reservation-allergy-note {
    margin-top: 0;
    font-size: 14px;
  }

  .privacy-box {
    margin-top: 34px;
    padding: 28px 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .privacy-box h3 {
    font-size: 18px;
    text-align: center;
  }

  .privacy-box p {
    font-size: 14px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .privacy-check,
  .submit-button {
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
  }

  .privacy-check {
    flex-wrap: wrap;
  }

  .overview-inner dt,
  .overview-inner dd,
  .overview-inner .note,
  .workshop-about__text p,
  .production-section__text p,
  .teacher-section__text p,
  .venue-section__text p,
  .reservation-cautions p,
  .reservation-confirm,
  .privacy-box h3,
  .privacy-box p,
  .privacy-check {
    letter-spacing: 0;
  }

  .sp-only {
    display: block;
  }
}
