/* Sub-page shared styles */

/* Calendar */
.calendar-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 100%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.calendar-wrapper iframe {
  display: block;
  width: 100%;
  height: 680px;
}

.page-body {
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #f5f3ef;
  color: #1a1a1a;
  min-height: 100vh;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.page-body > main {
  flex: 1;
}

/* Main content area below nav */
.page-main {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 140px 40px 80px;
  box-sizing: border-box;
}

.page-main--wide {
  max-width: 1600px;
}

/* Page header */
.page-header {
  margin-bottom: 60px;
}

.page-label {
  font-size: 12px;
  letter-spacing: 4px;
  color: #ecad29;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-title {
  font-family: "Oswald", sans-serif;
  font-size: 56px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px;
  line-height: 1.1;
}

.page-subtitle {
  font-size: 15px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Nav link overrides for sub-pages (already in style.css, kept for specificity) */
nav a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
}

nav a:hover {
  color: #1a1a1a;
}

nav a.active::after {
  background-color: #ecad29;
}

nav a.nav-cta {
  background-color: #ecad29;
  color: #1a1a1a;
  padding: 8px 20px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 13px;
}

nav a.nav-cta:hover {
  background-color: #f0bc45;
  color: #1a1a1a;
}

/* ── Accordion (QA page) ── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
  color: #1a1a1a;
  transition: color 0.2s;
}

.accordion-trigger:hover {
  color: #000;
}

.accordion-num {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  color: #ecad29;
  min-width: 32px;
}

.accordion-question {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.accordion-icon {
  font-size: 24px;
  color: #ecad29;
  transition: transform 0.3s ease;
  font-weight: 300;
  line-height: 1;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0 0 52px;
}

.accordion-item.open .accordion-body {
  max-height: 400px;
  padding: 0 0 28px 52px;
}

.accordion-body p {
  margin: 0;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

.accordion-body ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: #555;
  font-size: 15px;
  line-height: 2;
}

/* ── Notice list (注意事項 page) ── */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}

.notice-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.notice-item--warning .notice-index {
  color: #c0392b;
}

.notice-item--warning .notice-content {
  color: #c0392b;
}

.notice-index {
  font-family: "Oswald", sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #ecad29;
  min-width: 56px;
  line-height: 1;
  padding-top: 4px;
}

.notice-content {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  flex: 1;
}

/* ── About page ── */
.about-intro {
  font-size: 16px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 56px;
  max-width: 680px;
}

.about-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 60px;
}

.about-section {
  display: flex;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.about-section:first-child {
  border-top: 1px solid rgba(0,0,0,0.1);
}

.about-section-label {
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #ecad29;
  min-width: 60px;
  line-height: 1;
  padding-top: 6px;
}

.about-section-title {
  font-family: "Oswald", sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.about-section-sub {
  font-size: 13px;
  color: #ecad29;
  letter-spacing: 1px;
  margin: 0 0 14px;
}

.about-section-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin: 0;
}

.about-service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

.about-service-group p {
  font-size: 14px;
  color: #555;
  margin: 4px 0 0;
  line-height: 1.7;
}

.about-service-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #ecad29;
  border: 1px solid #ecad29;
  border-radius: 99px;
  padding: 2px 12px;
}

.about-info {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-info-item {
  display: flex;
  gap: 24px;
  font-size: 15px;
}

.about-info-label {
  color: #ecad29;
  font-weight: 600;
  min-width: 80px;
}

.about-info-value {
  color: #333;
  line-height: 1.7;
}

/* ── Services page ── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.service-card-header {
  background: #1a1a1a;
  color: #fff;
  padding: 24px 28px;
}

.service-card-title {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card-price {
  font-size: 28px;
  font-weight: 700;
  color: #ecad29;
  line-height: 1;
}

.service-card-price span {
  font-size: 14px;
  color: #ffffff88;
  font-weight: 400;
}

.service-card-min {
  font-size: 12px;
  color: #ffffff66;
  margin-top: 6px;
}

.service-rules {
  padding: 20px 28px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-rules li {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.service-rules li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #ecad29;
}

.equipment-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.equipment-block {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 28px;
}

.equipment-title {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 20px;
}

.equipment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.equipment-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.equipment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.equipment-name { color: #333; }

.equipment-price {
  color: #ecad29;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.equipment-free-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.equipment-free-list li {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.equipment-free-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ecad29;
  font-size: 11px;
}
