/* 

---- 01 TYPOGRAPHY SYSTEM
/*
- FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

- Font weights::
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights:
Default: 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6

- Letter Spacing
.5px
.75px
- 02 COLORS

- Primary: #ffd43b;
- Tints: #ffd8a8
- Tints2: #a6d5fb
- Shades: #459ade
- Accents:
- Greys
#222
#555
#333
--- 05 SHADOWS

--- 06 BORDER-RADIUS
Default: 9px
11px

--- 07 WHITESPACE
*/
:root {
  /* --primary-color: #ffa500;
  --primary-color-shade: #d18b08;
  --primary-color-tints: #e8c990;
  --primary-color-tints-2: #ffd8a8;
  --primary-color-tints-3: #ffc078;
  --secondary-color: #6699cc;
  --secondary-color-tints: #85add6; */

  --primary-color: #ffa500;
  --primary-color-shade: #d18b08;
  --primary-color-tints: #e8c990;
  --primary-color-tints-2: #ffd8a8;
  --primary-color-tints-3: #ffc078;

  --accent-pink: #ff758f;
  --accent-orange: #ffb347;
  --secondary-color: #6699cc;
  --secondary-color-tints: #85add6;

  --detail-pattern-2-color: #beda7c;

  --detail-pattern-1-color: #cbe8e9;
  --detail-border-color: #a3d1d2;
  --detail-text-color: #2c3e50;
  --detail-hover-bg: #dff4f4;
  --detail-note-text: #5d7072;

  /* border radius */
  --border-radius-default: 0.9rem;
  --border-radius-medium: 1.1rem;

  /* font weight */
  --font-weight-default: 400;
  --font-weight-medium: 500;
  --font-weight-semi-bold: 600;
  --font-weight-bold: 700;

  /* line height */
  --line-height-default: 1;
  --line-height-semi-small: 1.2;
  --line-height-small: 1.05;
  --line-height-para-default: 1.6;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #333;
  overflow-x: hidden;
}

/* ******************************* */
/* GENERAL REUSEABLE COMPONENTS */
/* ******************************* */

.container {
  margin: 0 auto;
  max-width: 110rem;
  padding: 0 3.2rem;
}

.heading-primary {
  font-size: 5.2rem;
  line-height: 1.05;
  color: #555;
  margin-bottom: 3.2rem;
}

.heading-primary-img {
  width: 80%;
  max-width: 600px; /* 最大サイズ */
  min-width: 280px; /* 最小サイズ */
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.heading-secondary {
  color: #555;
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
  letter-spacing: 1.5px;
}

.heading-tertiary {
  font-size: 3rem;
  line-height: var(--line-height-small);
}

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: var(--font-weight-semi-bold);
  font-family: rubik, sans-serif;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}

.heading-description {
  font-size: 2rem;
  line-height: var(--line-height-para-default);
}

.heading-description span {
  color: var(--primary-color-shade);
}

.paragraph {
  font-size: 1.8rem;
  line-height: 1.8;
}

.paragraph-2 {
  font-size: 1.8rem;
  line-height: 1.2;
}

.btn-wrapper {
  text-align: center;
}

.btn:link,
.btn:visited {
  font-size: 2rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.2rem;
  display: inline-block;
  padding: 1.6rem 3.2rem;
  border-radius: var(--border-radius-default);
  transition: all 0.3s;
}

.btn--outline:link,
.btn--outline:visited {
  background-color: #fff;
  color: #555;
  box-shadow: 0 0 0 3px var(--primary-color);
}

.btn--outline:hover,
.btn--outline:active {
  background-color: var(--primary-color-tints);
  box-shadow: 0 0 0 3px #fff;
}

.btn--full:link,
.btn--full:visited {
  background-color: var(--primary-color);
  color: #4b2c20; /* 濃いブラウン系で読みやすく */
}

.btn--full:hover,
.btn--full:active {
  background-color: var(--primary-color-shade);
  color: #fff;
}

.btn.btn--detail {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 1.2rem 2.4rem;
  font-size: 1.4rem;
  text-decoration: none;
  border: none;
  border-radius: .6rem;
  text-align: center;
  transition: all 0.2s ease;
  width: auto;
}

.btn.btn--detail:hover,
.btn.btn--detail:active {
  background-color: #2268bb;
  transform: scale(1.03);
}

.fancy-text {
  font-size: 3rem;
  color: #e7345e;
  font-family: sans-serif;
  font-weight: bold;
  text-shadow: -2px -2px 0 white, 2px -2px 0 white, -2px 2px 0 white,
    2px 2px 0 white, 0px -2px 0 white, 2px 0px 0 white, 0px 2px 0 white,
    -2px 0px 0 white;
}

.d-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.d-flex-end {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;
  align-items: center;
}

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

.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-bottom-sm {
  margin-bottom: 1.6rem !important;
}

.margin-bottom-semi-sm {
  margin-bottom: 3.2rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

.margin-top-md {
  margin-top: 4.8rem !important;
}

.margin-top-lg {
  margin-top: 6.8rem !important;
}

.center-text {
  text-align: center !important;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--special-classes {
  column-gap: 3.2rem;
  row-gap: 4.8rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0rem;
}

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.list li {
  font-size: 2rem;
}

/* 共通スタイル */
.status-full,
.status-closed {
  position: relative;
}

.status-full::after,
.status-closed::after {
  position: absolute;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 1);
  font-weight: var(--font-weight-medium);
  text-align: center;
  width: 80%;
  height: 50%;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  line-height: 5;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0 1rem;
}

/* 個別のスタイル（表示テキスト＆背景色） */
.status-full::after {
  content: '満席になりました';
  background: rgba(255, 146, 43, 0.85); /* オレンジ系 */
}

.status-closed::after {
  content: '受付終了しました';
  background: rgba(160, 120, 90, 0.85);
}

.vacancy {
  display: inline-block;
  padding: 0.1em 0.8em;
  font-size: 1.3rem;
  font-weight: normal;
  border-radius: 0.6em;
  letter-spacing: 0.03em;
  vertical-align: middle;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 満席用バッジ（赤色） */
.vacancy--full {
  background-color: #f44336; /* 鮮やかな赤 */
  color: #fff;
}

/* 受付終了バッジ（グレー） */
.vacancy--stop {
  background-color: #999; /* 落ち着いたグレー */
  color: #fff;
}

.workshop-status-message {
  color: #d32f2f;
  font-weight: bold;
  margin-top: .5rem;
  font-size: 1.9rem;
}

/* ******************************* */
/* HEADER */
/* ******************************* */

body.home .header {
  background-image: url(../img/main/hero-background.jpg);
  height: 100vh;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  /* background-attachment: fixed;     */
}

body.detail .header {
  height: 11vh;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 4.8rem;
}

.header-container {
  width: 130rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;

  max-width: 140rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 9.8rem 6.4rem 0;
  text-align: center;
}

.main-nav {
  font-size: 2rem;
  font-weight: 700;
  padding: 0 4.8rem;
  height: 8rem;
  /* display: grid;
    grid-template-columns: 5fr 2fr 4fr;
    align-items: center; */
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .social-icon {
    justify-self: center;
}

.social-icon-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3.2rem;
    
}

.social-icon-link:link,
.social-icon-link:visited {
    text-decoration: none;
    color: #777;
    font-size: 3rem;
    transition: all .3s;
}

.social-icon-link:hover,
.social-icon-link:active {
    color: var(--primary-color);
} */

.main-nav-list {
  justify-self: end;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.8rem;

  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: var(--primary-color-shade);
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius-default);
  background-color: var(--primary-color);
  color: #4b2c20; /* 濃いブラウン系で読みやすく */
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: var(--primary-color-shade);
  color: #fff;
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  width: 4.8rem;
  height: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name='close-outline'] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky .main-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 9.6rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 9999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

/* HERO */

.workshop-logo {
  height: 12.8rem;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 3.2rem;
}

.workshop-img {
  margin-bottom: 1.6rem;
}

.workshop-text {
  font-size: 2rem;
  margin-bottom: 4.8rem;
}

/* ******************************* */
/* 企画講座一覧 */
/* ******************************* */

.section-special-classes {
  padding: 9.6rem 0;
}

.bg-wrapper {
  background-image: url('../img/line-background.png');
  background-size: contain;
}

.workshop-card {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  background-color: #fff;
  transition: all 0.4s;
  border: 3px solid #beda7c;
}

/* .special-class:hover {
  transform: translateY(-1.5rem);
} */

.special-class:hover .class-number {
  color: var(--primary-color);
}

.class-img-container {
  width: 100%;
  height: 24rem;
}

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

.class-img.img-sizechange {
  width: 50%;
}

.class-img.img-sizechange-2 {
  width: 64%;
}

.class-number {
  font-family: rubic, sans-serif;
  font-size: 6.2rem;
  font-weight: var(--font-weight-medium);
  color: #ddd;
  transition: all 0.4s;
}

.class-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1.6rem;
  border-radius: var(--border-radius-medium);
}

.tag--classtimes-nine {
  background-color: #69db7c;
}

.tag--classtimes-six {
  background-color: #38d9a9;
}

.tag--classtimes-two {
  background-color: #ffa94d;
}

.tag--beginner {
  background-color: #a9e34b;
}

.tag--intermediate {
  background-color: #ffd43b;
}

.tag--elementary {
  background-color: #dbfc64;
}

.tag--elementary-upper {
  background-color: #a3d977;
}

.tag--elementary-senior {
  background-color: #69db7c;
}

.tag--elementary-senior-upper {
  background-color: #82c91e;
}

.tag--junior {
  background-color: #6dd2f1;
}

.tag--junior-upper {
  background-color: #748ffc;
}

.tag--adult {
  background-color: #3fdaab;
}

.class-content {
  padding: 2.4rem 1.6rem 3.2rem 1.6rem;
}

.class-header {
  padding-bottom: 1.6rem;
  border-bottom: 1px solid #ddd;
  margin-bottom: 1.6rem;
}

.class-title {
  font-size: 2.7rem;
  color: #333;
  font-weight: var(--font-weight-medium);
  margin-bottom: 1.6rem;
  line-height: var(--line-height-semi-small);
}

.class-subtitle {
  font-size: 1.8rem;
}

.class-pricing {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  margin-bottom: 3.2rem;
}

.pricing-original {
  font-size: 1.8rem;
  line-height: var(--line-height-small);
}

.special-class table td {
  font-size: 1.8rem;
  line-height: var(--line-height-para-default);
  padding: 0.4rem 0.8rem;
}

.class-description {
  font-size: 1.7rem;
  line-height: 1.4;
  margin-bottom: 1.6rem;
}

.class-info-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  font-size: 1.6rem;
  line-height: 1.3;

  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.class-info-list li {
  line-height: 1.5;
}
.classtime-note {
  font-size: 1.8rem;
  line-height: var(--line-height-para-default);
  margin-bottom: 1.2rem;
}

/* ******************************* */
/* Access section */
/* ******************************* */
.section-access {
  padding: 7.2rem 0 7.2rem;
}

.access-imgbox {
  text-align: center;
}

.access-imgbox img {
  width: 80%;
}

.access-place {
  font-size: 2rem;
  line-height: 1.4;
}

.access-note {
  list-style: none;
}

.access-note li {
  font-size: 1.6rem;
  line-height: 1.6;

  display: flex;
  gap: 1.2rem;
  align-items: start;
}

.access-note span {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  background-color: currentColor;
  margin-top: 1rem;
}

/* ******************************* */
/* Q&A section */
/* ******************************* */
.section-faq {
  padding: 9.6rem 0;
}

.accordion {
  list-style: none;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.accordion-item {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  background-color: #fff;
  color: #555;
  font-size: 1.8rem;
  border-radius: var(--border-radius-medium);
}

.accordion-item-header {
  padding: 1.6rem 4.8rem 1.6rem 1.6rem;
  line-height: 1.6;
  font-weight: var(--font-weight-default);
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.accordion-item-header::after {
  content: '\002B';
  font-size: 3rem;
  position: absolute;
  right: 1rem;
  color: #777;
  transition: all 0.3s;
}

/* .accordion-item-header.active {
    transition: all .2s;
    color: var(--primary-color-shade);
} */

.accordion-item-header.active::after {
  color: var(--primary-color-shade);
  transform: rotate(45deg);
}

.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-item-body-content {
  padding: 2.4rem;
  line-height: 1.6;
  border-top: 3px solid;
  border-image: linear-gradient(
      to right,
      var(--primary-color),
      var(--secondary-color-tints)
    )
    1;
}

/* .accordion-item-header.active + .accordion-item-body {
    max-height: 20rem;
} */
/* ******************************* */
/* フッター */
/* ******************************* */
.footer {
  padding: 9.6rem 0;
  border-top: 1px solid #eee;
  color: #555;
}

.footer .container {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 1.2rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: var(--line-height-semi-small);
  margin-bottom: 2.4rem;
}

.address {
  margin-bottom: 1.2rem;
}

.footer-link {
  text-decoration: none;
  font-size: 1.6rem;
  color: #555;
}

.copyright {
  font-size: 1.4rem;
}

/* ******************************* */
/* ワークショップ詳細ページ */
/* ******************************* */

.bread {
  margin: 2.5rem 0 2.5rem 0;
}

.bread ol {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  row-gap: 1rem;
}

.bread li {
  font-size: 1.4rem;
}

.bread li:not(:last-child)::after {
  content: '\003e';
  margin: 0 1.5rem 0;
}

.bread-link:link,
.bread-link:visited {
  transition: all 0.3s;
  text-decoration: none;
  color: #222;
}

.bread-link:hover,
.bread-link:active {
  color: var(--primary-color);
}

.workshop-hero-section {
  padding: 2.4rem 0 4.8rem;
}

.workshop-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 3rem;
}

.workshop-hero-text-box {
  flex: 2;
  padding: 1.5rem calc(0.3rem + 1vw);
}

.workshop-heading {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color-shade);
  border-left: 6px solid var(--primary-color);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.workshop-title {
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ffa500, #ff6f61);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* 念のため */
  color: transparent; /* fallback */
  display: inline-block;
  margin-bottom: 1rem;
}

.workshop-subtitle {
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ffb347, #ff7e6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* 念のため */
  color: transparent; /* fallback */
  display: inline-block;
  margin-bottom: 2rem;
}

.workshop-hero-description {
  font-size: 1.8rem;
  line-height: 1.4;
  padding-bottom: 2rem;
}

.workshop-hero-sessions {
  background-color: #f0f0f0;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-default);
  box-shadow: 0 2px 4px rgba(0,0,0,.0.05);
  border-left: 4px solid var(--accent-orange);
}

.class-sessions-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 1.7rem;
  line-height: 1.6;
  color: var(--text-color-default);
}

.class-sessions-table th {
  text-align: left;
  vertical-align: top;
  padding: 0rem 1rem;
  white-space: nowrap;
  font-weight: bold;
  color: var(--detail-text-color);
}

.class-sessions-table td br {
  line-height: 1.4;
}

.workshop-hero-image-box {
  flex: 2;
  min-width: 0;
  padding: 1rem;
  height: 45vh;
}

.workshop-hero-image-box .swiper {
  width: 100%;
  height: 100%;
}

.workshop-hero-image-box .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.workshop-hero-image-box .workshop-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: solid 3px var(--detail-pattern-2-color);
  border-radius: var(--border-radius-default);
}

.workshop-hero-image-box .swiper-button-next, 
.workshop-hero-image-box .swiper-button-prev {
  color: var(--accent-orange);
  font-weight: bold;
  background-color: #fff;
  border-radius: 50%;
  opacity: .6;
  width: 4rem;
  height: 4rem;
  z-index: 10;

  opacity: 0;
  transition: opactiy .6s ease;
  pointer-events: none;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 2.2rem !important;
  color: var(--accent-orange); /* 色の上書き */
}

.swiper:hover .swiper-button-next, 
.swiper:hover .swiper-button-prev {
  opacity: 1;
  pointer-events: auto;
}

.workshop-hero-image-box .swiper-button-next:hover, 
.workshop-hero-image-box .swiper-button-prev:hover {
  opacity: 1;
  transform: scale(1.1);
  transition: all .3s ease;
}

.workshop-hero-image-box .swiper-button-next::after, 
.workshop-hero-image-box .swiper-button-prev::after {
  font-size: 2rem;
}

/* サムネイルスライダー */
.workshop-hero-image-box .thumb-swiper {
  margin-top: 1rem;
  height: 6rem;
  box-sizing: border-box;
  padding: 0 1rem;
}

/* サムネイルの個々のスライド */
.workshop-hero-image-box .thumb-swiper .swiper-slide {
  width: 10rem;
  height: 100%;
  opacity: .4;
  cursor: pointer;
  transition: opacity .3s ease;
}

.workshop-hero-image-box .thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid var(--detail-pattern-2-color);
}

/* サムネイル内の画像　*/
.workshop-hero-image-box .thumb-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .5rem;
  border: 2px solid transparent;
  border-color: var(--detail-pattern-2-color);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}


/* テーブル装飾（講座詳細） */

.workshop-table-section {
  padding: 3.2rem 0;
}

.workshop-table {
  width: 95%;
  border-collapse: collapse;
  font-size: 1.8rem;
  background-color: var(--detail-pattern-1-color);
  border-radius: 8px;
  overflow: hidden;
  color: var(--detail-text-color);
}

.workshop-table th {
  letter-spacing: 0.2rem;
  width: 20%;
  color: #333;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.3);
}

.workshop-table th,
.workshop-table td {
  padding: 1rem;
  line-height: 1.4;
  border-bottom: 1px solid var(--detail-border-color);
}

.workshop-table tr {
  height: 2.5rem;
  vertical-align: middle;
}

.workshop-table tr:hover {
  background-color: var(--detail-hover-bg);
}

.workshop-table td:first-child {
  white-space: nowrap;
}

/* ****************************** */
/*  Instructors */
/* ****************************** */

.workshop-instructor-section {
  background-color: #f4f4f4;
  padding: 4rem 0;
  border-top: 1px solid #ddd;
}

.instructors-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  grid-gap: 1vh calc(2rem + 1vw);
  max-width: 75rem;
  margin-inline: auto;
}

.instructor-card {
  font-size: 1.8rem;
  display: flex;
  gap: 1.4rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fff;
  border-radius: var(--border-radius-default);
  padding: 3rem 3rem 2rem;
}

.instructor-img-box {
  width: 20rem;
  height: 20rem;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--detail-pattern-2-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.instructor-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.instructor-name {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--detail-text-color);
}

.name-jpn {
  display: block;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.name-eng {
  display: block;
  font-size: 1.4rem;
  color: var(--detail-text-color);
  font-style: italic;
  margin-top: 0.3rem;
}

.instructor-profile-link button {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  font-size: 1.5rem;
  border: 1px solid var(--detail-pattern-2-color);
  border-radius: 99rem;
  background-color: transparent;
  color: var(--detail-text-text);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.instructor-profile-link button:hover {
  background: var(--detail-pattern-2-color);
}

/* ****************************** */
/*  Back to workshops menu  */
/* ****************************** */
.section-back-to-workshops {
  padding: 1.6rem 0 3.2rem;
}

.back-to-workshops-link:link,
.back-to-workshops-link:visited {
  font-size: 1.7rem;
  transition: all 0.5s;
  text-decoration: none;
  color: #333;
}

.section-back-to-workshops ion-icon {
  font-size: 2rem;
}

.back-to-workshops-link:hover,
.back-to-workshops-link:active {
  color: var(--primary-color);
}

.btn.btn--reserve {
  background-color: var(--primary-color);
  color: #2c3e50;
  padding: 1.2rem 2.4rem;
  border-radius: 6px;
  font-size: 1.8rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn--reserve:hover {
  background-color: var(--primary-color-tints);
}

/* ****************************** */
/*  Modal  */
/* ****************************** */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  display: block;
}

/* 既存設定のモーダル（スマホ画面用）*/
.modal {
  position: fixed;
  background: #fff;
  z-index: 99999;

  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.5s ease-in;
  overflow-y: auto;
}

.modal-inner {
  overflow-y: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 2rem;
}

.modal.show {
  transform: translateX(0);
}

/**********************
Modal Content - Base（スマホ用）
**********************/

.modal-content {
  background: linear-gradient(135deg, #f7f7fa 0%, #e9e9ef 100%);
  color: #222;
  border-radius: 1.2rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  padding: 3rem 2.5rem;
  max-width: 60rem;
  margin: 0 auto;
}

.modal-image img {
  width: 20rem;
  height: 20rem;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 3px solid var(--detail-pattern-2-color);
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  background-color: #fff;
}

.modal-name .name-jpn {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3rem;
  color: #333;
  position: relative;
}

.modal-name .name-jpn::after {
  content: '';
  display: block;
  width: 4rem;
  height: 2px;
  background: none;
  border-bottom: 2px solid var(--accent-orange);
  margin: 0.5rem auto 1rem;
}

.modal-name .name-eng {
  font-size: 1.8rem;
  font-style: italic;
  color: var(--accent-color-3-dark);
}

.modal-bio {
  background: rgba(255, 255, 255, 0.6);
  padding: 1.8rem 2rem;
  border-radius: 1rem;
  border: 1px solid #e3e3e3;
  margin-top: 2.5rem;
  font-size: 1.9rem;
  line-height: 1.6;
  text-align: left;
  backdrop-filter: blur(2px);
}

.modal-close {
  position: absolute;
  top: -2rem;
  right: -0.8rem;
  font-size: 5rem;
  border: none;
  background: none;
  color: var(--secondary-color);
  cursor: pointer;
}

.text-close-btn {
  display: inline-block;
  background: none;
  border: none;
  color: var(--accent-color-1);
  font-size: 2rem;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.text-close-btn:hover {
  opacity: 1;
}

/* PC画面用 */
@media screen and (min-width: 768px) {
  .modal {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    pointer-events: none;
    opacity: 0;
    overflow-y: auto;
    max-width: 70rem;
    width: 100%;
    max-height: 75vh;
    overflow: hidden;
    border-radius: 1.2rem;
    padding: 1rem;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .modal-inner {
    max-height: 100%;
    min-height: auto;
    overflow: auto;
    display: block;
    padding: 2rem 4rem;
  }

  .modal-close {
    font-size: 4.5rem;
    top: -3rem;
    right: -4rem;
  }

  .modal.show {
    opacity: 1;
    transform: translate(-50%, -60%) scale(1);
    visibility: visible;
    pointer-events: auto;
  }

  .modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .modal-content {
    padding: 2rem 4rem;
  }

  .modal-image img {
    width: 18rem;
    height: 18rem;
    margin-bottom: 1rem;
  }

  .modal-name .name-jpn {
    font-size: 2rem;
  }

  .modal-name .name-eng {
    font-size: 1.7rem;
  }

  .modal-bio {
    font-size: 1.6rem;
    margin-top: 1.5rem;
    overflow-y: auto;
    max-height: 40vh;
  }

  .text-close-btn {
    font-size: 1.8rem;
  }
}

/* ******************************* */
/* エラー */
/* ******************************* */

.section-error {
  padding: 9.6rem 0 9.6rem;
}

.back-to {
  display: block;
  margin-top: 1.6rem;
  font-size: 1.5rem;
  color: #ad3a3a;
}

/* page-top */
.page-top {
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;

  position: fixed;
  right: 10px;
  bottom: 30px;
  z-index: 100;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--primary-color-tints-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.page-top::before {
  content: '';
  width: 1.2rem;
  height: 1.2rem;
  margin-bottom: -6px;
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  transform: rotate(-45deg);
}

.page-top:hover {
  cursor: pointer;
  transform: scale(1.1);
}

.is-hide {
  pointer-events: none;
}
