/* 

---- 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;

  /* 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: 120rem;
  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);
}

.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;
}

.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;
}

.vacancy {
  display: inline-block;
  padding: 0.2em 0.8em;
  font-size: 1.3rem;
  font-weight: normal;
  border-radius: 0.6em;
  letter-spacing: .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;
}

.d-flex {
  display: flex;
  gap: .8rem;
  justify-content: 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;
}

.classimg-fig {
  position: relative;
}

.classimg-fig::after {
  content: '満席になりました';
  position: absolute;
  font-size: 2.4rem;
  color: rgba(255, 255, 255);
  letter-spacing: 0.05rem;
  font-weight: var(--font-weight-medium);
  text-align: center;
  width: 90%;
  /* height: 85%; */
  height: 50%;
  top: 0px;
  bottom: 0px;
  right: 0px;
  left: 0px;
  background: rgba(255, 146, 43, 0.8);
  margin: auto;
  line-height: 5;
  letter-spacing: 0.05em;
}

.naraigoto-link:link,
.naraigoto-link:visited {
  text-decoration: none;
  color: var(--secondary-color);
  transition: all 0.3s;
}

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

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

.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;
}


.special-class {
  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: 28rem;  
}

.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;
  margin-bottom: 1.2rem;
  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-senior {
  background-color: #69db7c;
}

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

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

.tag--gel {
  background-color: #f783ac;
}

.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: 3rem;
  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);
}

.pricing-discount {
  color: var(--primary-color-shade);
  font-size: 3.6rem;
}

.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.8rem;
  line-height: var(--line-height-para-default);
}

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

/* ******************************* */
/* 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;
}

/* 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;
}
