@charset "utf-8";

/* =========================================================
   Base variables
========================================================= */
:root {
  --navy: #13213b;
  --navy2: #22304d;
  --gold: #c7a55b;
  --gold2: #d8bd78;
  --ink: #253047;
  --muted: #5d6678;
  --pale: #f7f4ee;
  --beige: #f4efe6;
  --white: #fff;
  --max: 1180px;
}

/* =========================================================
   Reset / common
========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.9;
  font-size: 17px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 12px;
}

p {
  margin-bottom: 1em;
  font-size: 17px;
}

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

/* =========================================================
   Header / navigation
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 3vw, 42px);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(199, 165, 91, .25);
  box-shadow: 0 8px 26px rgba(19, 33, 59, .06);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
  font-size: 17px;
}

.brand-mark {
  color: var(--gold);
  font-size: 24px;
}

.site-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 17px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.site-nav a:hover {
  color: #8b6a20;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(199, 165, 91, .6);
  color: var(--navy);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 18px;
}

/* Header event label */
.header-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .04em;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-label-taiken {
  color: #b23a3a;
  background: #fdecec;
  border: 1px solid #e6a8a8;
  text-decoration: none;
}

.header-label[hidden] {
  display: none !important;
}

/* =========================================================
   Hero
========================================================= */
.hero {
  background: #071127;
}

.hero-picture,
.hero-img {
  display: block;
  width: 100%;
}

/* =========================================================
   Sections / common layout
========================================================= */
.section {
  padding: 80px 0;
}

.section.white {
  background: #fff;
}

.section.pale {
  background: var(--pale);
}

.section.beige {
  background: var(--beige);
}

.section-head {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 36px;
  text-align: center;
}

.section-head p,
.text-body p {
  color: #3f485a;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 17px;
}

.section-kicker.gold {
  color: var(--gold2);
}

.small-section {
  padding: 64px 0;
}

/* =========================================================
   Cards / grids
========================================================= */
.check-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.check-grid li {
  position: relative;
  background: #fff;
  border: 1px solid rgba(199, 165, 91, .22);
  border-radius: 16px;
  padding: 18px 18px 18px 45px;
  box-shadow: 0 10px 28px rgba(37, 48, 71, .05);
  font-size: 17px;
}

.check-grid li:before {
  content: "✦";
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--gold);
  font-weight: 700;
}

.two-col {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.two-col.compact {
  align-items: start;
}

.card-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid article,
.voices-grid article,
.course-card {
  background: #fff;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 42px rgba(37, 48, 71, .06);
}

.card-grid b {
  color: var(--gold);
  font-size: 17px;
}

.card-grid h3 {
  font-size: 22px;
}

.card-grid p {
  color: #4c5567;
}

/* =========================================================
   Learn section
========================================================= */
.navy-band {
  background: linear-gradient(135deg, #13213b, #22304d);
  color: #fff;
}

.learn-box {
  width: min(980px, calc(100% - 40px));
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.learn-box h2 {
  color: #fff;
}

.learn-box p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: #f4efe6;
  text-align: left;
}

.learn-box .section-kicker,
.learn-box h2 {
  text-align: center;
}

.learn-list {
  max-width: 520px;
  margin: 1.2em auto;
  padding-left: 1.4em;
  text-align: left;
}

.mini-flow {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.mini-flow a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c7a55b, #e7cf8f);
  color: #1c2440;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
  font-size: 18px;
}

/* =========================================================
   Course / voice / FAQ / profile
========================================================= */
.course-grid {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.course-card span {
  display: inline-block;
  color: #8a6a23;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 17px;
}

.course-card p {
  color: #424c5f;
}

.course-action {
  margin-top: 24px;
}

.voices-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.voices-grid span {
  display: block;
  color: #8a6a23;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 17px;
}

.voices-grid p {
  margin: 0;
  color: #3f485a;
}

.voice-person {
  margin: -6px 0 12px;
  color: #8a6a23;
  font-weight: 700;
  font-size: 16px;
}

.faq-list {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  background: #fff;
  border: 1px solid rgba(199, 165, 91, .32);
  border-radius: 16px;
  padding: 0 22px;
  box-shadow: 0 8px 24px rgba(37, 48, 71, .04);
}

summary {
  cursor: pointer;
  padding: 19px 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 17px;
}

details p {
  padding: 0 0 20px;
  margin: 0;
  color: #4b5363;
}

.profile-card {
  width: min(1020px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(199, 165, 91, .25);
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 16px 40px rgba(37, 48, 71, .06);
}

.profile-card figure {
  margin: 0;
}

.profile-card img {
  border-radius: 22px;
  border: 1px solid rgba(199, 165, 91, .32);
}

.profile-meta {
  color: #8a6a23;
  font-weight: 700;
}

/* =========================================================
   CTA / buttons / footer
========================================================= */
.cta-section {
  padding: 86px 0;
  background: linear-gradient(135deg, #13213b, #24324a);
  color: #fff;
}

.cta-box {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.cta-box h2 {
  color: #fff;
}

.cta-box p {
  color: #f5efe1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid rgba(199, 165, 91, .55);
  font-size: 17px;
}

.btn.primary {
  background: linear-gradient(135deg, #c7a55b, #ead397);
  color: #17213b;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

.btn.big {
  font-size: 18px;
  min-height: 62px;
  padding-inline: 40px;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 34px 20px;
  color: #6b7280;
  background: #f8f5ef;
  border-top: 1px solid rgba(199, 165, 91, .2);
  font-size: 17px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #8a6a23;
  text-decoration: none;
}

/* =========================================================
   Word article pages
========================================================= */
.word-page-main {
  background: #fff;
}

.word-hero {
  padding: 74px 0 34px;
  background: var(--pale);
}

/* ルーム案内：タイトル帯の色だけを個別指定 */
.word-hero.event-page-hero {
  color: #fff;
  background: #6D2740;
}
.word-hero.event-page-hero .breadcrumb { color: #f5dce2; }
.word-hero.event-page-hero .breadcrumb a { color: #fff; }
.word-hero.event-page-hero h1,
.word-hero.event-page-hero p { color: #fff; }

/* スケジュール：タイトル帯の色だけを個別指定 */
.word-hero.schedule-page-hero {
  background: #EAE0D2;
}

.word-hero-inner {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.breadcrumb {
  font-size: 17px;
  color: #5d6678;
  margin-bottom: 24px;
  font-weight: 500;
}

.breadcrumb a {
  color: #8a6a23;
  text-decoration: none;
}

.word-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 12px;
}

.word-hero p {
  color: #4b5363;
  margin: 0;
}

.word-article {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 82px;
}

.word-article p {
  color: #2b2b2b;
}

.word-nav-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 44px;
  padding: 18px 8px;
  border-top: 1px solid rgba(199, 165, 91, .28);
  border-bottom: 1px solid rgba(199, 165, 91, .28);
}

.word-nav-box a {
  color: #8a6a23;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.word-nav-box span {
  color: rgba(138, 106, 35, .55);
}

.word-main-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 auto 32px;
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(37, 48, 71, .08);
}

/* =========================================================
   Profile detail / voice list
========================================================= */
.profile-history,
.profile-favorite {
  margin: 28px 0 36px;
  padding: 24px;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(37, 48, 71, .04);
}

.profile-history h2,
.profile-favorite h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.profile-history p,
.profile-favorite p {
  margin: 0 0 1em;
}

.profile-history p:last-child,
.profile-favorite p:last-child {
  margin-bottom: 0;
}

.profile-history strong {
  font-size: inherit;
  color: #8a6a23;
}

.profile-detail .profile-card {
  width: 100%;
}

.voice-page .card-grid {
  width: 100%;
}

.voice-list {
  display: grid;
  gap: 22px;
}

.voice-entry {
  padding: 26px 28px;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(37, 48, 71, .05);
}

.voice-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 14px;
  color: #8a6a23;
  font-weight: 700;
}

.voice-entry-body p {
  margin: 0 0 1em;
  color: #3f485a;
}

.voice-entry-body p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Contact form
========================================================= */
.contact-section {
  background: #fff;
}

.contact-box {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 16px 42px rgba(37, 48, 71, .06);
}

.experience-box {
  max-width: 830px;
  margin: 0 auto 30px;
  padding: 32px 28px;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 20px;
  background: var(--pale);
  text-align: center;
}

.experience-box h3 {
  font-size: 24px;
  margin-bottom: 16px;
  text-align: center;
}

.experience-title {
  text-align: center;
  margin-bottom: 22px !important;
}

.experience-title span {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  color: #8a6a23;
  font-weight: 700;
  letter-spacing: .05em;
}

.experience-inner {
  max-width: 620px;
  margin: 24px auto 0;
  text-align: left;
}

.experience-box ol {
  max-width: none;
  margin: 0 0 22px;
  padding-left: 1.55em;
  color: #3f485a;
}

.experience-box li {
  padding-left: .2em;
  margin-bottom: .65em;
}

.experience-box ul {
  margin: .65em 0 0;
  padding-left: 1.35em;
}

.experience-note {
  margin: 8px 0 0;
  color: #5d6678;
  font-size: 16px;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.form-field {
  display: grid;
  gap: 9px;
}

.form-field label,
.form-label {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 17px;
}

.form-field span,
.form-label span {
  color: #8a6a23;
  font-size: 15px;
  font-weight: 700;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(199, 165, 91, .38);
  border-radius: 14px;
  padding: 13px 15px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.7;
}

.form-field textarea {
  resize: vertical;
  min-height: 180px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.checkbox-grid label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid rgba(199, 165, 91, .24);
  border-radius: 14px;
  background: var(--pale);
  color: #3f485a;
  font-weight: 500;
  line-height: 1.6;
}

.checkbox-grid input {
  margin-top: .45em;
  accent-color: #c7a55b;
}

.form-note {
  margin: 0;
  color: #5d6678;
  font-size: 16px;
}

.contact-submit {
  justify-self: center;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================================
   Column pages
========================================================= */
.column-article {
  padding-top: 44px;
}

.column-section-title {
  margin-top: 48px;
  margin-bottom: 14px;
  font-size: clamp(26px, 2.4vw, 34px);
}

.column-section-title:first-child {
  margin-top: 0;
}

.column-grid {
  width: 100%;
  display: grid;
  gap: 12px;
  margin: 0 0 6px;
}

.column-card {
  display: block;
  padding: 10px 22px;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(37, 48, 71, .045);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.column-card:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 165, 91, .5);
  box-shadow: 0 14px 34px rgba(37, 48, 71, .08);
}

.column-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.35;
}

.column-card p {
  margin: 0;
  color: #4c5567;
  line-height: 1.75;
}

.column-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .04em;
  font-weight: 700;
  color: #8a6a23;
  background: #f7f0dc;
  border: 1px solid rgba(199, 165, 91, .34);
  white-space: nowrap;
}

.column-label.new {
  color: #8a5a12;
  background: #fff4db;
  border-color: #e4c97c;
}

.column-label.popular {
  color: #1f4f7a;
  background: #eaf4ff;
  border-color: #b9d7f3;
}

.column-label.soon {
  color: #6b7280;
  background: #f3f4f6;
  border-color: #d7dce3;
}

.column-card.is-disabled {
  pointer-events: none;
  opacity: .82;
}

/* =========================================================
   Event information page
========================================================= */
.event-page-main {
  background: #fff;
}


.event-list {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.event-entry {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 34px;
  align-items: start;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(37, 48, 71, .06);
}

.event-entry-image img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(199, 165, 91, .24);
}

.event-entry-content h2 {
  font-size: clamp(26px, 2.6vw, 38px);
}

.event-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #3a245c;
  background: linear-gradient(135deg, #d8bd78, #fff1c8);
  font-weight: 700;
}

.event-data {
  display: grid;
  gap: 0px;
  margin: 18px 0 0;
}

.event-data div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 4px 0;
  border-top: 1px solid rgba(199, 165, 91, .22);
}

.event-data dt {
  color: #8a6a23;
  font-weight: 700;
}

.event-data dt,
.event-data dd {
  line-height: 1.45;
}

.event-data dd {
  margin: 0;
  color: #3f485a;
}

.event-flow {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.event-flow-card {
  position: relative;
  padding: 26px 22px;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(37, 48, 71, .05);
}

.event-flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #17213b;
  background: linear-gradient(135deg, #c7a55b, #ead397);
  font-weight: 700;
}

.event-mini-list {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.event-mini-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(37, 48, 71, .045);
}

.event-mini-date {
  color: #8a6a23;
  font-weight: 700;
}

.event-mini-status {
  padding: 4px 10px;
  border-radius: 999px;
  color: #8a5a12;
  background: #fff4db;
  border: 1px solid #e4c97c;
  font-weight: 700;
  font-size: 14px;
}

.event-mini-status-close {
  padding: 4px 10px;
  border-radius: 999px;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #d7dce3;
  font-weight: 700;
  font-size: 14px;
}

.event-word-nav {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto 82px;
}


/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1050px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    background: #fff;
    border: 1px solid rgba(199, 165, 91, .35);
    border-radius: 18px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 18px 50px rgba(37, 48, 71, .14);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .check-grid,
  .card-grid.four,
  .voices-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-col,
  .profile-card,
  .event-entry {
    grid-template-columns: 1fr;
  }

  .profile-card figure {
    max-width: 320px;
    margin: auto;
  }

  .event-banner-card {
    max-width: 560px;
    margin: 0 auto;
  }

  .event-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 17px;
  }

  html {
    font-size: 17px;
  }

  .hero {
    overflow: hidden;
  }

  .check-grid,
  .card-grid.four,
  .voices-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .section-head,
  .two-col,
  .check-grid,
  .card-grid,
  .voices-grid,
  .faq-list,
  .profile-card,
  .course-grid,
  .learn-box,
  .cta-box,
  .event-list,
  .event-flow,
  .event-mini-list {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand {
    font-size: 17px;
  }

  .header-label {
    font-size: 12px;
    padding: 2px 8px;
  }

  .card-grid article,
  .voices-grid article,
  .course-card {
    padding: 20px;
  }

  .profile-card {
    padding: 22px;
  }

  .btn,
  .mini-flow a {
    width: 100%;
    text-align: center;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
  }

  .word-hero {
    padding: 54px 0 24px;
  }

  .word-hero-inner,
  .word-article {
    width: min(100% - 28px, 920px);
  }

  .word-article {
    padding: 40px 0 62px;
  }

  .profile-history,
  .profile-favorite {
    padding: 20px;
    margin: 24px 0 30px;
  }

  .profile-history h2,
  .profile-favorite h2 {
    font-size: 22px;
  }

  .voice-list {
    padding-left: 12px;
    padding-right: 12px;
  }

  .voice-entry {
    padding: 20px 18px;
  }

  .word-main-image {
    max-width: 100%;
    margin: 0 auto 28px;
    border-radius: 16px;
  }

  .contact-box {
    width: min(100% - 28px, 900px);
    padding: 22px;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .contact-submit {
    width: 100%;
  }

  .experience-title span {
    font-size: 18px;
  }

  .experience-box {
    padding: 24px 18px;
  }

  .experience-inner {
    max-width: 100%;
    margin-top: 22px;
  }

  .experience-box ol {
    padding-left: 1.35em;
  }

  .column-article {
    padding-top: 36px;
  }

  .column-section-title {
    margin-top: 38px;
    margin-bottom: 12px;
    font-size: 26px;
  }

  .column-card {
    padding: 10px 18px;
  }

  .column-card h3 {
    font-size: 21px;
  }

  .column-grid {
    gap: 10px;
  }

  .event-entry {
    gap: 22px;
    padding: 20px 18px;
  }

  .event-entry-image {
    max-width: 520px;
    margin: 0 auto;
  }

  .event-data div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .event-mini-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px;
  }
}

/* =========================================================
   Words index page
========================================================= */
.word-entry {
  margin: 68px 0;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(199, 165, 91, .22);
  scroll-margin-top: 96px;
}

.word-entry:first-of-type { margin-top: 0; }
.word-entry:last-of-type { border-bottom: 0; padding-bottom: 0; }
.word-entry h2 { margin-bottom: 20px; }

@media (max-width: 767px) {
  .word-index-nav {
    margin: 24px 0 38px;
    padding: 16px;
  }
  .word-index-nav a { width: 100%; }
  .word-entry {
    margin: 52px 0;
    padding-bottom: 34px;
    scroll-margin-top: 84px;
  }
}


/* =========================================================
   Service select section
========================================================= */
.service-select-section {
  background: #fff;
}

.service-select-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-select-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 48, 71, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-select-card:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 165, 91, .5);
  box-shadow: 0 14px 34px rgba(37, 48, 71, .08);
}

.service-select-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--pale);
  font-size: 24px;
  line-height: 1;
}

.service-select-card h3 {
  margin: 0 0 4px;
  font-size: 21px;
  line-height: 1.35;
}

.service-select-card p {
  margin: 0 0 6px;
  color: #4c5567;
  font-size: 16px;
  line-height: 1.65;
}

.service-select-card strong {
  color: #8a6a23;
  font-size: 16px;
}

.service-select-card-wide {
  grid-column: 1 / -1;
}

@media (max-width: 767px) {
  .service-select-grid {
    width: min(100% - 28px, var(--max));
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-select-card {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 16px 18px;
  }

  .service-select-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .service-select-card h3 {
    font-size: 20px;
  }

  .service-select-card p {
    font-size: 16px;
  }
}

/* =========================================================
   Starry Library pages
   Existing styles are left unchanged; only library-specific
   classes are added below.
========================================================= */
.library-hero {
  padding: 74px 0 34px;
  background: linear-gradient(135deg, #13213b, #22304d);
}

.library-hero-inner {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.library-hero .breadcrumb {
  color: #f4efe6;
  text-align: left;
}

.library-hero .breadcrumb a {
  color: #d8bd78;
}

.library-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.35;
}

.library-subtitle {
  margin: 0;
  color: #f4efe6;
  font-size: 17px;
  letter-spacing: 0;
}

.library-index-article {
  padding-top: 46px;
}

.library-guide {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 54px;
  padding: 28px;
  border: 1px solid rgba(199, 165, 91, .34);
  border-radius: 24px;
  background: linear-gradient(135deg, #2d3e78 0%, #5b4b9a 100%);
  box-shadow: 0 16px 42px rgba(37, 48, 71, .06);
}

.library-guide h2 {
  margin: 10px 0 8px;
  font-size: clamp(26px, 2.8vw, 36px);
}

.library-guide p {
  margin-bottom: 0;
}

.library-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 11px;
  border-radius: 999px;
  color: #8a5a12;
  background: #fff4db;
  border: 1px solid #e4c97c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
}

.library-featured-book {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(199, 165, 91, .34);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 48, 71, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}

.library-featured-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(37, 48, 71, .09);
}

.library-featured-book strong,
.library-book-title {
  display: block;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.4;
}

.library-featured-book small {
  display: block;
  margin-top: 4px;
  color: #4c5567;
  font-size: 15px;
  line-height: 1.65;
}

.library-book-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--pale);
  font-size: 24px;
}

.library-chapter {
  margin: 58px 0 0;
}

.library-chapter-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 11px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(199, 165, 91, .28);
}

.library-chapter-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
}

.library-chapter-number {
  color: #8a6a23;
  font-weight: 700;
  letter-spacing: .08em;
}

.library-book-list {
  display: grid;
  gap: 12px;
}

.library-book {
  position: relative;
  display: block;
  padding: 17px 22px 17px 48px;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 17px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 48, 71, .045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.library-book:before {
  content: "✦";
  position: absolute;
  left: 21px;
  top: 20px;
  color: var(--gold);
}

.library-book:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 165, 91, .5);
  box-shadow: 0 14px 34px rgba(37, 48, 71, .08);
}

.library-book-description {
  display: block;
  margin-top: 3px;
  color: #4c5567;
  font-size: 16px;
  line-height: 1.7;
}

.library-article-chapter {
  margin: 0 0 8px;
  color: #8a6a23 !important;
  font-weight: 700;
  letter-spacing: .06em;
}

.library-related-books {
  margin-top: 48px;
  padding: 25px;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 20px;
  background: var(--pale);
}

.library-related-books h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.library-related-books p:last-child {
  margin-bottom: 0;
}

.library-related-books a {
  display: block;
  margin-top: 9px;
  color: #8a6a23;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 767px) {
  .library-hero {
    padding: 54px 0 24px;
  }

  .library-hero-inner {
    width: min(100% - 28px, 920px);
  }

  .library-guide {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    margin-bottom: 44px;
  }

  .library-featured-book {
    grid-template-columns: 42px 1fr;
    padding: 17px;
  }

  .library-book-icon {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }

  .library-chapter {
    margin-top: 46px;
  }

  .library-book {
    padding: 15px 17px 15px 42px;
  }

  .library-book:before {
    left: 17px;
    top: 18px;
  }

  .library-featured-book strong,
  .library-book-title {
    font-size: 20px;
  }

  .library-book-description {
    font-size: 15px;
  }
}

/* =========================================================
   Experience entry page
========================================================= */
.experience-article {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 66px;
}
.experience-content-section {
  scroll-margin-top: 130px;
  margin: 0 0 34px;
}
.experience-content-section h2 {
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(199,165,91,.25);
  font-size: clamp(26px, 3vw, 36px);
}
.experience-content-section h2:first-child {
  margin-top: 0;
}
.experience-content-section h3 {
  margin: 18px 0 6px;
  font-size: 21px;
}
.experience-content-section p {
  margin-bottom: .8em;
}
.experience-highlight-list, .experience-compact-box, .experience-message-box {
  margin: 12px 0 16px;
  padding: 14px 18px;
  border: 1px solid rgba(199,165,91,.25);
  border-radius: 16px;
  background: var(--pale);
}
.experience-highlight-list p, .experience-compact-box p, .experience-message-box p {
  margin: 0 0 .3em;
}
.experience-highlight-list p:last-child, .experience-compact-box p:last-child, .experience-message-box p:last-child {
  margin-bottom: 0;
}
.experience-check-grid, .experience-target-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 18px;
  margin: 12px 0 16px;
  padding: 0;
  list-style: none;
}
.experience-check-grid li, .experience-target-list li {
  position: relative;
  padding-left: 1.4em;
  line-height: 1.65;
}
.experience-check-grid li:before, .experience-target-list li:before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.experience-benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.experience-benefit-grid article {
  padding: 18px;
  border: 1px solid rgba(199,165,91,.28);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(37,48,71,.04);
}
.experience-benefit-grid h3 {
  margin-top: 0;
}
.experience-timeline {
  display: grid;
  gap: 9px;
}
.experience-timeline article {
  padding: 14px 17px;
  border-left: 3px solid var(--gold);
  background: var(--pale);
}
.experience-timeline h3 {
  margin: 0 0 4px;
  font-size: 20px;
}
.experience-timeline h3 span {
  color: #8a6a23;
  font-size: 15px;
}
.experience-timeline p {
  margin: 0;
}
.experience-section-heading p {
  margin: -7px 0 12px;
  color: #5d6678;
}
.experience-review-list {
  display: grid;
  gap: 10px;
}
.experience-review {
  padding: 17px 19px;
  border: 1px solid rgba(199,165,91,.26);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(37,48,71,.04);
}
.experience-review h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.experience-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 8px;
  color: #8a6a23;
  font-size: 15px;
  font-weight: 700;
}
.experience-review-body p {
  margin: 0 0 .55em;
}
.experience-review-body p:last-child {
  margin-bottom: 0;
}
.experience-review.is-review-hidden {
  display: none;
}
.review-comment {
  margin-top: 10px;
  padding: 0 13px;
  border-radius: 12px;
  background: var(--pale);
  box-shadow: none;
}
.review-comment summary {
  padding: 10px 0;
  font-size: 15px;
}
.review-comment div {
  padding-bottom: 10px;
}
.review-comment p {
  margin: 0 0 .45em;
  padding: 0;
  font-size: 16px;
}
.experience-review-more-wrap {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: 18px;
}
.experience-review-more {
  cursor: pointer;
  background: #fff;
  color: #8a6a23;
}
.experience-notes h3 {
  margin-top: 14px;
}
.experience-entry-section {
  scroll-margin-top: 120px;
  margin-top: 38px;
}

@media (max-width: 767px) {
  .experience-article {
    padding-top: 18px;
  }
  .experience-content-section {
    margin-bottom: 28px;
  }
  .experience-content-section h2 {
    margin-top: 26px;
    font-size: 26px;
  }
  .experience-check-grid, .experience-target-list, .experience-benefit-grid {
    grid-template-columns: 1fr;
  }
  .experience-review {
    padding: 15px;
  }
}

/* =========================================================
   Experience schedule
========================================================= */
.experience-schedule {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.experience-schedule-day {
  padding: 16px 18px;
  border: 1px solid rgba(199,165,91,.26);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(37,48,71,.04);
}
.experience-schedule-day h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.experience-schedule-slots {
  display: grid;
  gap: 9px;
}
.experience-schedule-slot {
  display: grid;
  grid-template-columns: max-content 1fr auto;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 14px;
  border: 1px solid rgba(199,165,91,.22);
  border-radius: 14px;
  background: var(--pale);
}
.experience-schedule-slot.is-schedule-hidden {
  display: none;
}
.experience-schedule-time {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.experience-schedule-time strong {
  color: var(--navy);
  font-size: 19px;
}
.experience-schedule-time span {
  color: #5d6678;
  font-size: 14px;
}
.experience-schedule-status {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 10px;
  border-radius: 999px;
  color: #27633d;
  background: #eaf7ef;
  border: 1px solid #b8ddc5;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.is-status-booked .experience-schedule-status,
.is-status-closed .experience-schedule-status {
  color: #6b7280;
  background: #f3f4f6;
  border-color: #d7dce3;
}
.is-status-pending .experience-schedule-status {
  color: #8a5a12;
  background: #fff4db;
  border-color: #e4c97c;
}
.experience-schedule-select {
  min-height: 42px;
  padding: 8px 18px;
  cursor: pointer;
  background: #fff;
  color: #8a6a23;
  font-family: inherit;
  font-size: 15px;
}
.experience-schedule-select.is-selected {
  background: linear-gradient(135deg, #c7a55b, #ead397);
  color: #17213b;
}
.experience-schedule-more-wrap {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: 18px;
}
.experience-schedule-more {
  cursor: pointer;
  background: #fff;
  color: #8a6a23;
  font-family: inherit;
}
.form-field input[readonly] {
  background: var(--pale);
}

.contact-submit:disabled {
  cursor: not-allowed;
  opacity: .48;
  box-shadow: none;
}
.form-error {
  margin: 0;
  color: #b23a3a;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .experience-schedule-day {
    padding: 14px;
  }
  .experience-schedule-slot {
    grid-template-columns: 1fr auto;
    gap: 8px 10px;
  }
  .experience-schedule-select {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* =========================================================
   LINE official account
========================================================= */
.line-official-box{
    width:min(1020px, calc(100% - 40px));
    margin:50px auto 0;
    text-align:center;
}

.line-banner{
    display:inline-block;
    max-width:100%;
    border:1px solid #c7a68c;
    border-radius:8px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 2px 8px rgba(80,50,20,.08);
}

.line-banner img{
    display:block;
    width:100%;
    height:auto;
}

/* =========================================================
   Voice page - 200 experiences
========================================================= */
.voice-page .voice-feature-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(28px, 3vw, 40px);
}

.voice-page .voice-category-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px 7px;
  margin: 0 0 52px;
  padding: 14px 0;
  border-top: 1px solid rgba(199, 165, 91, .28);
  border-bottom: 1px solid rgba(199, 165, 91, .28);
  line-height: 1.7;
}

.voice-page .voice-category-nav a {
  color: #8a6a23;
  text-decoration: none;
  font-weight: 700;
}

.voice-page .voice-category-nav a:hover {
  text-decoration: underline;
}

.voice-page .voice-category-nav span {
  color: rgba(138, 106, 35, .45);
}

.voice-page .voice-category-section {
  margin: 0 0 64px;
  scroll-margin-top: 92px;
}

.voice-page .voice-category-section > h2 {
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(199, 165, 91, .28);
}

.voice-page .voice-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.voice-page .voice-case-grid .voice-entry {
  padding: 20px 22px;
}

.voice-page .voice-case-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.45;
}

.voice-page .voice-case-grid .voice-entry-body p {
  margin: 0;
  line-height: 1.75;
}

@media (max-width: 767px) {
  .voice-page .voice-category-nav {
    justify-content: flex-start;
    margin-bottom: 38px;
    font-size: 16px;
  }

  .voice-page .voice-category-section {
    margin-bottom: 48px;
    scroll-margin-top: 82px;
  }

  .voice-page .voice-case-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .voice-page .voice-case-grid .voice-entry {
    padding: 18px;
  }

  .voice-page .voice-case-title {
    font-size: 19px;
  }
}


/* Spiritual Festa organizer */
.organizer-section {
  padding-top: 54px;
  padding-bottom: 54px;
  background: var(--pale);
}

.organizer-heading {
  margin-bottom: 22px;
}

.organizer-card {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 26px;
  align-items: center;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(37, 48, 71, .04);
}

.organizer-photo {
  width: 130px;
  height: 130px;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 50%;
  border: 1px solid rgba(199, 165, 91, .32);
}

.organizer-body h3 {
  margin-bottom: 2px;
  font-size: 24px;
}

.organizer-body p {
  margin: 0 0 5px;
  color: #3f485a;
  line-height: 1.65;
}

.organizer-body p:last-child {
  margin-bottom: 0;
}

.organizer-body a {
  color: #8a6a23;
  font-weight: 700;
  text-decoration: none;
}

.organizer-role {
  color: #8a6a23 !important;
  font-weight: 700;
}

.staff-heading {
  margin-top: 42px;
}

.staff-card {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(37, 48, 71, .04);
}

.staff-entry {
  margin: 0;
  padding: 8px 0;
  color: #3f485a;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.staff-entry a {
  color: #8a6a23;
  font-weight: normal;
  text-decoration: none;
}

.staff-entry a:hover,
.organizer-body a:hover {
  text-decoration: underline;
}

.organizer-message {
  width: min(760px, calc(100% - 40px));
  margin: 42px auto 0;
  color: #3f485a;
}

.organizer-message h3 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.organizer-message p {
  margin: 0 0 18px;
  line-height: 2;
}

.organizer-message .organizer-signature {
  margin-top: 26px;
  margin-bottom: 0;
  text-align: right;
}

@media (max-width: 767px) {
  .organizer-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .organizer-card {
    width: min(100% - 28px, 760px);
    grid-template-columns: 92px 1fr;
    gap: 16px;
    padding: 18px;
  }

  .organizer-photo {
    width: 92px;
    height: 92px;
  }

  .organizer-body h3 {
    font-size: 21px;
  }

  .organizer-body p {
    line-height: 1.55;
  }

  .staff-heading {
    margin-top: 34px;
  }

  .staff-card {
    width: min(100% - 28px, 760px);
    padding: 18px;
  }

  .organizer-message {
    width: min(100% - 28px, 760px);
    margin-top: 34px;
  }

  .organizer-message h3 {
    margin-bottom: 20px;
    font-size: 21px;
  }

  .organizer-message p {
    margin-bottom: 16px;
    line-height: 1.9;
  }
}


/* ===== Spiritual Festa: Members ===== */
/* Members page only */
.members-intro {
  text-align: center;
  margin: 0 auto 42px;
}

.members-intro h2 {
  margin-bottom: 14px;
}

.members-intro p:last-child {
  line-height: 1.9;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 22px;
}

.member-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(37, 48, 71, .05);
}

.member-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: var(--pale);
}

.member-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a6a23;
  font-size: 15px;
  letter-spacing: .08em;
  background: linear-gradient(145deg, #f7f2e8, #eef1f6);
}

.member-card-body {
  padding: 20px 20px 22px;
}

.member-category {
  display: inline-block;
  margin: 0 0 10px;
  padding: 2px 9px;
  border: 1px solid rgba(199, 165, 91, .34);
  border-radius: 999px;
  color: #8a6a23;
  background: #f7f0dc;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
}

.member-title {
  margin: 0 0 4px;
  color: #8a6a23;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
}

.member-name {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.35;
}

.member-name a {
  color: var(--navy);
  text-decoration: none;
}

.member-name a:hover {
  color: #8a6a23;
  text-decoration: underline;
}

.member-booth {
  margin: 2px 0 5px;
  color: #3f485a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.member-booth span {
  display: inline;
  padding: 0 .08em;
  background: linear-gradient(transparent 55%, rgba(196, 77, 86, .22) 55%);
}

.member-summary {
  margin: 0 0 16px;
  color: #3f485a;
  line-height: 1.75;
}

.member-more {
  color: #8a6a23;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.member-more-disabled {
  color: #8b8f98;
  font-weight: 400;
}

.members-note {
  margin-top: 34px;
  text-align: center;
  color: #7a7f89;
  font-size: 13px;
}

@media (max-width: 900px) {
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .members-intro {
    margin-bottom: 30px;
  }

  .members-intro p:last-child br {
    display: none;
  }

  .member-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .member-card {
    display: block;
    border-radius: 14px;
  }

  .member-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: initial;
  }

  .member-card-body {
    padding: 15px 16px;
  }

  .member-name {
    font-size: 19px;
  }

  .member-summary {
    line-height: 1.6;
    margin-bottom: 10px;
  }
}

/* Member detail page only */
.member-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: center;
  margin-bottom: 58px;
}

.member-profile-photo img {
  display: block;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(199, 165, 91, .28);
}

.member-profile-main h2 {
  margin: 0 0 5px;
  font-size: 32px;
}

.member-profile-role {
  color: #8a6a23;
  font-weight: 700;
}

.member-detail-section {
  margin: 0 0 52px;
}

.member-detail-section h2 {
  margin-bottom: 18px;
}

.member-session-box {
  padding: 26px 28px;
  background: var(--pale);
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 18px;
}

.member-session-box h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.member-session-box dl {
  margin: 22px 0 0;
}

.member-session-box dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(199, 165, 91, .22);
}

.member-session-box dt {
  font-weight: 700;
  color: #8a6a23;
}

.member-session-box dd {
  margin: 0;
}

.member-message {
  padding: 26px 28px;
  border-left: 3px solid var(--gold);
  background: #fffdf8;
}

/* Member profile HTML decorations */
.member-detail-section .box {
  width: 100%;
  box-sizing: border-box;
  margin: 28px 0;
  padding: 16px 24px;
  background: #f8f5fa;
  border: 1px solid rgba(126, 104, 146, .22);
  border-radius: 16px;
}

.member-detail-section .box > :first-child {
  margin-top: 0;
}

.member-detail-section .box > :last-child {
  margin-bottom: 0;
}

.member-detail-section .point-gold,
.member-detail-section .point-red,
.member-detail-section .point-blue {
  margin: 30px 0;
  padding: 0;
  color: var(--navy);
  font-size: 1.08em;
  font-weight: 700;
  line-height: 1.9;
}

.member-detail-section .point-gold strong,
.member-detail-section .point-red strong,
.member-detail-section .point-blue strong {
  background-repeat: no-repeat;
}

.member-detail-section .point-gold strong {
  background: linear-gradient(
    transparent 68%,
    rgba(216, 189, 120, .32) 68%
  );
}

.member-detail-section .point-red strong {
  background: linear-gradient(
    transparent 68%,
    rgba(244, 154, 170, .32) 68%
  );
}

.member-detail-section .point-blue strong {
  background: linear-gradient(
    transparent 68%,
    rgba(126, 195, 224, .32) 68%
  );
}

.member-links {
  text-align: center;
  margin: 0 0 34px;
}

.member-primary-link {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #8a6a23;
  font-weight: 700;
  text-decoration: none;
}

.member-primary-link:hover {
  background: var(--pale);
}

.member-detail-section ul {
  padding-left: 1.4em;
}

@media (max-width: 767px) {
  .member-profile {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 42px;
    align-items: start;
  }

  .member-profile-photo {
    width: 100%;
  }

  .member-profile-photo img {
    width: 100%;
    height: auto;
  }

  .member-profile-main {
    width: 100%;
  }

  .member-profile-main h2 {
    font-size: 24px;
  }



  .member-detail-section {
    margin-bottom: 42px;
  }

  .member-session-box {
    padding: 20px;
  }

  .member-session-box dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .member-message {
    padding: 20px;
  }

  .member-detail-section .box {
    margin: 24px 0;
    padding: 14px 16px;
  }

  .member-detail-section ul {
    padding-left: 1.4em;
  }

  .member-detail-section .point-gold,
  .member-detail-section .point-red,
  .member-detail-section .point-blue {
    margin: 26px 0;
    padding: 0;
    font-size: 1.05em;
  }
}

/* Member detail information */
.member-info-list {
  margin: 0;
  border-top: 1px solid rgba(199, 165, 91, .28);
}

.member-info-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(199, 165, 91, .22);
}

.member-info-list dt {
  color: #8a6a23;
  font-weight: 700;
}

.member-info-list dd {
  margin: 0;
  color: #3f485a;
}

.member-info-list a {
  color: #8a6a23;
  font-weight: 700;
  text-decoration: none;
}

.member-info-list a:hover {
  text-decoration: underline;
}

.member-line-box {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--pale);
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 18px;
}

.member-line-main h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.member-line-main p {
  margin-bottom: 14px;
}

.member-line-link {
  color: #8a6a23;
  font-weight: 700;
  text-decoration: none;
}

.member-line-link:hover {
  text-decoration: underline;
}

.member-line-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  padding: 5px;
  background: #fff;
  border: 1px solid rgba(199, 165, 91, .32);
  border-radius: 14px;
  color: #8a6a23;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.member-activity-list {
  margin: 0;
  padding-left: 1.4em;
  color: #3f485a;
}

.member-activity-list li {
  margin-bottom: .45em;
}

@media (max-width: 767px) {
  .member-info-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .member-line-box {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .member-line-qr {
    width: 130px;
    height: 130px;
  }
}

/* =========================================================
   Spiritual Festa LINE
========================================================= */
.festa-line-box {
  width: min(920px, calc(100% - 40px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 32px;
  align-items: center;
  padding: 30px 34px;
  background: #fff;
  border: 1px solid rgba(199, 165, 91, .28);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(37, 48, 71, .06);
}

.festa-line-main h3 {
  margin-bottom: 12px;
}

.festa-line-main p {
  margin-bottom: .7em;
  color: #3f485a;
}

.festa-line-main p:last-child {
  margin-bottom: 0;
}

.festa-email-box {
  grid-template-columns: 1fr;
}

.festa-email-form {
  width: 100%;
  margin-top: 18px;
}

.festa-line-qr img {
  width: 100%;
  max-width: 150px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .festa-line-box {
    width: min(100% - 28px, 920px);
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }
}

/* =========================================================
   Spiritual Festa about
========================================================= */
.about-content {
  width: min(620px, calc(100% - 40px));
  margin: 0 auto;
}

.about-content h2 {
  width: 760px;
  max-width: calc(100vw - 40px);
  margin-left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

@media (max-width: 767px) {
  .about-content {
    width: min(100% - 28px, 620px);
  }
}

/* =========================================================
   Spiritual Festa fixed LINE button
========================================================= */
.festa-line-fixed {
  position: fixed;
  top: 34%;
  right: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 12px 10px 14px;
  color: #fff;
  background: #06c755;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 8px 24px rgba(37, 48, 71, .18);
  text-decoration: none;
  line-height: 1.35;
  transition: transform .18s ease, box-shadow .18s ease;
}

.festa-line-fixed:hover {
  transform: translateX(-4px);
  box-shadow: 0 10px 28px rgba(37, 48, 71, .24);
}

.festa-line-fixed-label {
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
}

.festa-line-fixed-text {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .festa-line-fixed {
    top: auto;
    right: 14px;
    bottom: 14px;
    flex-direction: row;
    min-width: 0;
    padding: 10px 15px;
    border-radius: 999px;
  }

  .festa-line-fixed-text {
    margin-top: 0;
    margin-left: 7px;
    font-size: 14px;
  }
}

/* =========================================================
   Members opt-in signup
========================================================= */
.opt-signup-box {
  width: 100%;
  margin: 0 auto 42px;
  padding: 30px clamp(20px, 4vw, 46px);
  text-align: center;
  background: var(--pale);
  border: 1px solid #e4dccd;
  border-radius: 16px;
}

.opt-signup-box-bottom {
  margin-top: 42px;
}

.opt-signup-box h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.4vw, 34px);
}

.opt-signup-lead {
  margin-bottom: 18px;
  color: var(--muted);
}

.opt-signup-form {
  display: flex;
  width: min(100%, 760px);
  margin: 0 auto;
}

.opt-signup-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #c9cfd8;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.opt-signup-form button {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--navy);
  border-radius: 0 8px 8px 0;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.opt-signup-form button:hover {
  background: var(--navy2);
}

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

/* トップページの「LINE 友だち追加」と同じ固定タグ形状を利用 */
.opt-signup-fixed {
  background: var(--navy);
}

.opt-signup-fixed:hover {
  background: var(--navy2);
}

@media (max-width: 767px) {
  .opt-signup-box {
    margin-bottom: 30px;
    padding: 24px 16px;
  }

  .opt-signup-box-bottom {
    margin-top: 30px;
  }

  .opt-signup-form {
    display: block;
  }

  .opt-signup-form input,
  .opt-signup-form button {
    width: 100%;
  }

  .opt-signup-form input {
    border-right: 1px solid #c9cfd8;
    border-radius: 8px;
  }

  .opt-signup-form button {
    margin-top: 10px;
    border-radius: 8px;
  }
}



.opt-signup-error {
  margin: 0 0 14px;
  color: #7a3040 !important;
  font-weight: 600;
}

/* Profile content images inserted from AI+ */
.member-detail-section .profile-image {
  display: block;
  width: 75%;
  max-width: 700px;
  height: auto;
  margin: 32px auto;
  border-radius: 12px;
}

@media (max-width: 767px) {
  .member-detail-section .profile-image {
    width: 100%;
  }
}


@media (max-width: 767px) {
  .member-detail-section .profile-image {
    margin: 26px auto;
    border-radius: 10px;
  }
}

/* Top page: keep exhibitor cards at the same width as the former members page. */
#members .member-grid {
  width: min(920px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

/* Top page: reduce the gap between Event Information and Members. */
#outline {
  padding-bottom: 80px;
}

#members {
  padding-top: 40px;
}

/* Top page: align the gap below Event Information card with the section's top spacing. */
#outline .profile-history {
  margin-bottom: 0;
}

/* Referral top opt-in: compact gap below hero; keep the standard spacing before About. */
#opt-signup-top {
  padding: 50px 0 0;
}

#opt-signup-top .festa-line-box {
  margin-top: 0;
}

/* =========================================================
   Design check: full-width visual separators
   - no overlay text / effects / cropping
   - natural aspect ratio on all devices
========================================================= */
.festa-visual-break {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}

.festa-visual-break img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

/* =========================================================
   Design check: Spiritual Festa introduction movie
========================================================= */
.festa-movie-section {
  background: var(--pale);
}

.festa-movie-section .section-head {
  margin-bottom: 32px;
}

.festa-movie {
  width: min(900px, calc(100% - 40px));
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.festa-movie iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .festa-movie-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .festa-movie-section .section-head {
    margin-bottom: 24px;
  }
}


/* =========================================================
   Enjoy Spirituality
   Base layout is shared with the Learn section via .learn-box.
========================================================= */
.spirituality-fields {
  margin-top: 34px !important;
  margin-bottom: 38px !important;
  line-height: 2;
}

.spirituality-message p {
  margin-bottom: 22px;
}

.spirituality-message p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .spirituality-fields {
    margin-top: 28px !important;
    margin-bottom: 32px !important;
    line-height: 1.9;
  }

  .spirituality-message p {
    margin-bottom: 20px;
  }
}

/* =========================================================
   Participation flow
========================================================= */
.participation-flow {
  border-top: 1px solid rgba(199, 165, 91, .12);
  border-bottom: 1px solid rgba(199, 165, 91, .12);
}

.participation-flow-head {
  margin-bottom: 46px;
}

.participation-steps {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.participation-step {
  position: relative;
  text-align: center;
}

.participation-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 120px;
  right: -28px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(199, 165, 91, .72);
  border-right: 1px solid rgba(199, 165, 91, .72);
  transform: rotate(45deg);
}

.participation-image {
  width: 100%;
  margin: 0 auto 20px;
}

.participation-image img {
  display: block;
  width: 100%;
  height: auto;
}

.participation-number {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
}

.participation-step h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 600;
}

.participation-step > p:not(.participation-number) {
  margin: 0 0 10px;
  color: #3f485a;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
}


@media (max-width: 767px) {
  .participation-flow-head {
    margin-bottom: 34px;
  }

  .participation-steps {
    width: min(100% - 36px, 520px);
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .participation-step {
    padding-bottom: 4px;
  }

  .participation-step:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -23px;
    width: 9px;
    height: 9px;
    border-top: 0;
    border-right: 1px solid rgba(199, 165, 91, .72);
    border-bottom: 1px solid rgba(199, 165, 91, .72);
    transform: translateX(-50%) rotate(45deg);
  }

  .participation-image {
    margin-bottom: 16px;
  }

  .participation-step h3 {
    font-size: 20px;
  }

  .participation-step > p:not(.participation-number) {
    font-size: 16px;
    line-height: 1.85;
  }

}

/* Email signup anchor links */
.email-signup-link {
  color: #8a6a23;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.email-signup-link:hover {
  color: var(--navy);
}

/* Keep the signup heading visible below the sticky header when using anchor links. */
#email-signup {
  scroll-margin-top: 100px;
}

/* ルーム案内・スケジュールのタイトル帯は共通 .word-hero を使用 */
.rooms-hero {
  width: 100%;
  margin: 0;
  background: #fff;
}

.rooms-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.rooms-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 12px;
  text-align: center;
}

.rooms-section {
  width: min(920px,calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 55px;
}

.rooms-section h2 {
  font-size: clamp(24px,2.5vw,32px);
  border-bottom: 1px solid #dfd4bd;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.rooms-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 22px;
}

.rooms-card {
  display: flex;
  text-decoration: none;
  color: inherit;
  gap: 18px;
  align-items: center;
  border: 1px solid #e8e1d6;
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}

.rooms-card-photo {
  width: 200px;
  flex: none;
  aspect-ratio: 7/8;
  overflow: hidden;
  border-radius: 6px;
  background: #f7f4ee;
}

.rooms-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rooms-card-body {
  min-width: 0;
  flex: 1;
}

.rooms-number {
  color: #9b642a;
  font-weight: bold;
  font-size: 22px;
  margin: 0 0 4px;
}

.rooms-member-title {
  font-size: 19px;
  line-height: 1.5;
  color: #777084;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}

.rooms-card h3 {
  font-size: 38px;
  color: #182d4d;
  line-height: 1.5;
  margin: 0 0 7px;
}

.rooms-topic {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}

.rooms-card:hover {
  border-color: #c6a66f;
  background: #fffdf9;
}

.rooms-card:focus-visible {
  outline: 2px solid #9b642a;
  outline-offset: 3px;
}

.rooms-empty {
  text-align: center;
  color: #6b7280;
}

.rooms-bottom-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-top: 1px solid #e8dcc5;
  border-bottom: 1px solid #e8dcc5;
  background: #fff;
  font-size: 17px;
}

.rooms-bottom-breadcrumb a {
  color: #8b6a20;
  text-decoration: none;
}

.rooms-bottom-breadcrumb a:hover {
  text-decoration: underline;
}

.rooms-bottom-breadcrumb+footer.footer {
  border-top: 0;
}

@media (max-width: 767px) {
  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .rooms-card {
    padding: 13px;
    gap: 13px;
  }

  .rooms-card-photo {
    width: 125px;
  }

  .rooms-member-title {
    font-size: 17px;
    line-height: 1.5;
    color: #5d6678;
    margin: 0 0 4px;
    overflow-wrap: anywhere;
  }

  .rooms-card h3 {
    font-size: 21px;
  }

  .rooms-topic {
    font-size: 17px;
  }

  .rooms-hero {
    overflow: visible;
    aspect-ratio: auto;
  }

  .rooms-hero img {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-left: 0;
  }

  .rooms-section {
    width: calc(100% - 32px);
    padding: 22px 0 35px;
  }
}


/* 区分別の淡いカードカラー。基調講演はゴールド。 */
.rooms-card.rooms-card-first {
  background: #FFF2F5;
  border-color: #F3DDE4;
}

.rooms-card.rooms-card-second {
  background: #F5F1FC;
  border-color: #E6DDF4;
}

.rooms-card.rooms-card-keynote {
  background: #FFF5DF;
  border-color: #EEDDB6;
}

.rooms-card.rooms-card-first:hover {
  background: #ffebf0;
  border-color: #e4bccb;
}

.rooms-card.rooms-card-second:hover {
  background: #eee7fa;
  border-color: #d5c5ed;
}

.rooms-card.rooms-card-keynote:hover {
  background: #fff0cc;
  border-color: #e0c58b;
}

/* ルームの文字色を開催区分のカード背景に合わせる。 */
.rooms-card.rooms-card-first .rooms-number {
  color: #923d58;
}

.rooms-card.rooms-card-second .rooms-number {
  color: #70539b;
}

.rooms-card.rooms-card-keynote .rooms-number {
  color: #9b6a20;
}

/* 公開スケジュール */
.schedule-section {
  max-width:1100px;
  margin:35px auto;
  padding:0 22px 60px;
}

.schedule-month {
  margin-top:35px;
}

.schedule-month>h2 {
  font-size:26px;
}

.schedule-day {
  margin:26px 0;
}

.schedule-day-title {
  font-size:21px;
  margin-bottom:15px;
  color:#765d40;
}

.schedule-entry {
  border:1px solid #e8e1d6;
  border-radius:10px;
  background:#fff;
  padding:11px 22px;
  margin-bottom:16px;
}

.schedule-entry h4 {
  font-size:23px;
  margin:3px 0 8px;
}

.schedule-time {
  color:#7b654b;
  font-weight:bold;
  margin:0;
}

.schedule-people {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}

.schedule-person-slot {
  min-width:0;
}

.schedule-person-card {
  height:100%;
  box-sizing:border-box;
  min-height:180px;
}

.schedule-person-card.rooms-card {
  gap:13px;
  padding:13px;
}

.schedule-person-card .rooms-card-photo {
  width:110px;
}

.schedule-person-card .rooms-card-body h3 {
  font-size:19px;
}

.schedule-person-card .rooms-topic {
  font-size:14px;
  margin:0;
}

.schedule-person-role {
  font-size:13px;
  color:#886a47;
  margin:0 0 4px;
  font-weight:bold;
}

.schedule-person-empty,.schedule-person-all {
  border:1px solid #e8e1d6;
  border-radius:10px;
  background:#fff;
}

.schedule-person-all {
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:21px;
  font-weight:bold;
  color:#6e5c45;
}

.schedule-person-inactive {
  cursor:default;
}

.schedule-person-inactive:hover {
  border-color:#e8e1d6;
  background:#fff;
}

.schedule-notes {
  white-space:normal;
  overflow-wrap:anywhere;
  margin:8px 0 0;
  line-height:1.8;
}

.schedule-link {
  margin:8px 0 0;
}

.schedule-link a {
  color:#84612e;
  text-decoration:underline;
  overflow-wrap:anywhere;
}

@media (max-width: 767px) {
  .schedule-section {
    padding:0 14px 45px;
  }

  .schedule-entry {
    padding:8px;
  }

  .schedule-people {
    grid-template-columns:minmax(0,1fr);
  }

  .schedule-person-card {
    min-height:145px;
  }

  .schedule-person-card .rooms-card-photo {
    width:105px;
  }

  .schedule-entry h4 {
    font-size:20px;
  }
}

/* スケジュール：過去日程への導線と重要度 */
.schedule-month>h2 {
  display:inline-block;
  width:max-content;
  max-width:100%;
  vertical-align:middle;
}

.schedule-history-link {
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 0 24px 10px;
  padding:8px 13px;
  border:1px solid #ead9bc;
  border-radius:999px;
  background:#faf4e9;
  color:#956c3d;
  font-size:13px;
  font-weight:500;
  line-height:1.4;
  text-decoration:none;
  vertical-align:middle;
  transition:background-color .2s,border-color .2s;
}

.schedule-history-link:hover,
.schedule-history-link:focus-visible {
  background:#f3e7d4;
  border-color:#d6b98c;
  text-decoration:none;
}

.schedule-history-arrow {
  font-size:18px;
  line-height:1;
}

@media (max-width: 767px) {
  .schedule-history-link {
    margin-left:8px;
    padding:7px 10px;
    font-size:12px;
  }
}

.schedule-entry.schedule-importance-2 {
    background:#eef6ff;
    border-color:#c7dff8;
}

.schedule-entry.schedule-importance-3 {
    background:#fff0ef;
    border-color:#f2c9c5;
}

.schedule-entry .schedule-importance-label {
    display:inline-block;
    margin-left:10px;
    font-size:13px;
    color:#b83b35;
    font-weight:700;
    vertical-align:middle;
}

.schedule-entry.schedule-importance-2 .schedule-importance-label {
    color:#2563a6;
}

/* スケジュール：ダスティローズ × アイボリー（重要度別配色は後日調整） */
.schedule-entry,
.schedule-entry.schedule-importance-2,
.schedule-entry.schedule-importance-3 {
  background: #E8CBD0;
  border-color: #D9B9BD;
}

.schedule-entry .schedule-person-card.rooms-card,
.schedule-entry .schedule-person-empty,
.schedule-entry .schedule-person-all,
.schedule-entry .schedule-person-inactive:hover {
  background: #FFFBF7;
  border-color: #D9B9BD;
}

/* ルーム案内：時間帯別の背景画像（PC：1600×500、スマートフォン：800×1000） */
.rooms-card.rooms-card-first.rooms-card-bg-1 {
  background-color: #fff6f8;
  background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-pk-1.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.rooms-card.rooms-card-first.rooms-card-bg-2 {
  background-color: #fff6f8;
  background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-pk-2.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.rooms-card.rooms-card-second.rooms-card-bg-1 {
  background-color: #f4faff;
  background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-bl-1.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.rooms-card.rooms-card-second.rooms-card-bg-2 {
  background-color: #f4faff;
  background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-bl-2.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.rooms-card.rooms-card-keynote.rooms-card-bg-1 {
  background-color: #f9f5ff;
  background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-lv-1.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.rooms-card.rooms-card-keynote.rooms-card-bg-2 {
  background-color: #f9f5ff;
  background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-lv-2.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ルーム案内：スマートフォンではトップページと同じ縦型カードにする。 */
@media (max-width: 767px) {
  .rooms-section {
    width: min(920px, calc(100% - 40px));
  }

  .rooms-card {
    display: block;
    padding: 0;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(199, 165, 91, .28);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(37, 48, 71, .05);
  }

  .rooms-card-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
  }

  .rooms-card-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: initial;
  }

  .rooms-card-body {
    padding: 15px 16px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  /* PC用の背景はカード全体、スマートフォン用は文字情報欄だけに適用。 */
  .rooms-card.rooms-card-first.rooms-card-bg-1,
  .rooms-card.rooms-card-first.rooms-card-bg-2,
  .rooms-card.rooms-card-second.rooms-card-bg-1,
  .rooms-card.rooms-card-second.rooms-card-bg-2,
  .rooms-card.rooms-card-keynote.rooms-card-bg-1,
  .rooms-card.rooms-card-keynote.rooms-card-bg-2 {
    background-image: none;
  }

  .rooms-card.rooms-card-first.rooms-card-bg-1 .rooms-card-body {
    background-color: #fff6f8;
    background-image: url('/assets/images/rooms/ph-pk-1.webp');
  }

  .rooms-card.rooms-card-first.rooms-card-bg-2 .rooms-card-body {
    background-color: #fff6f8;
    background-image: url('/assets/images/rooms/ph-pk-2.webp');
  }

  .rooms-card.rooms-card-second.rooms-card-bg-1 .rooms-card-body {
    background-color: #f4faff;
    background-image: url('/assets/images/rooms/ph-bl-1.webp');
  }

  .rooms-card.rooms-card-second.rooms-card-bg-2 .rooms-card-body {
    background-color: #f4faff;
    background-image: url('/assets/images/rooms/ph-bl-2.webp');
  }

  .rooms-card.rooms-card-keynote.rooms-card-bg-1 .rooms-card-body {
    background-color: #f9f5ff;
    background-image: url('/assets/images/rooms/ph-lv-1.webp');
  }

  .rooms-card.rooms-card-keynote.rooms-card-bg-2 .rooms-card-body {
    background-color: #f9f5ff;
    background-image: url('/assets/images/rooms/ph-lv-2.webp');
  }
}

/* ルーム案内：背景画像上の文字を読みやすくする */
.rooms-card .rooms-number,
.rooms-card .rooms-member-title,
.rooms-card h3,
.rooms-card .rooms-topic {
  font-weight: 700;
}

/* ルーム案内：文字の白い光彩 */
.rooms-card .rooms-number,
.rooms-card .rooms-member-title,
.rooms-card h3,
.rooms-card .rooms-topic {
  text-shadow:
    -1px -1px 0 rgba(255,255,255,.98),
     1px -1px 0 rgba(255,255,255,.98),
    -1px  1px 0 rgba(255,255,255,.98),
     1px  1px 0 rgba(255,255,255,.98),
     0    0   4px rgba(255,255,255,.95),
     0    0   9px rgba(255,255,255,.75);
}

/* 出展テーマ：PCは独立2行、スマートフォンは連結表示 */
.rooms-card .rooms-topic {
  font-size: 23px;
  line-height: 1.5;
  color: #4f435d;
}
.rooms-topic-line {
  display: block;
}
.rooms-topic-mobile {
  display: none;
}
@media (max-width: 767px) {
  .rooms-card .rooms-topic {
    font-size: 17px;
    line-height: 1.7;
  }
  .rooms-topic-desktop {
    display: none;
  }
  .rooms-topic-mobile {
    display: inline;
  }
}

/* スケジュール内の出展テーマは従来の文字サイズを維持 */
.schedule-person-card .rooms-card-body .rooms-topic {
  font-size: 14px;
}

/* ルーム案内：PDF印刷時は横長カードを維持し、カード単位で改ページする。 */
@media print {
  /* ルーム案内の冒頭をコンパクトにし、一覧の掲載領域を広げる。 */
  .word-hero:has(+ .rooms-hero) {
    padding: 14px 0 12px;
  }

  .word-hero:has(+ .rooms-hero) .breadcrumb {
    font-size: 11px;
    margin-bottom: 5px;
  }

  .word-hero:has(+ .rooms-hero) h1 {
    font-size: 21px;
    margin-bottom: 4px;
  }

  .word-hero:has(+ .rooms-hero) p {
    font-size: 11px;
    line-height: 1.4;
  }

  .rooms-hero {
    display: none;
  }

  .rooms-bottom-breadcrumb {
    display: none;
  }

  .rooms-section {
    padding-top: 12px;
    padding-bottom: 18px;
  }

  .rooms-section h2 {
    font-size: 19px;
    margin-bottom: 12px;
    padding-bottom: 6px;
  }

  .rooms-section .rooms-grid {
    display: block;
  }

  .rooms-section .rooms-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: none;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .rooms-section .rooms-card-photo {
    display: block;
    flex: 0 0 140px;
    width: 140px;
    height: auto;
    aspect-ratio: 7 / 8;
    overflow: hidden;
    border-radius: 6px;
  }

  .rooms-section .rooms-card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rooms-section .rooms-card-body {
    flex: 1;
    min-width: 0;
    padding: 0;
    background-color: rgba(255, 255, 255, .30) !important;
    background-image: none !important;
  }

  .rooms-section .rooms-number {
    font-size: 16px;
  }

  .rooms-section .rooms-member-title {
    font-size: 13px;
  }

  .rooms-section .rooms-card h3 {
    font-size: 24px;
  }

  .rooms-section .rooms-card .rooms-topic {
    font-size: 15px;
    line-height: 1.5;
  }

  .rooms-section .rooms-topic-desktop {
    display: inline;
  }

  .rooms-section .rooms-topic-mobile {
    display: none;
  }

  /* 印刷時にスマートフォン用の背景指定を打ち消し、PC用背景に戻す。 */
  .rooms-section .rooms-card.rooms-card-first.rooms-card-bg-1 {
    background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-pk-1.webp');
  }

  .rooms-section .rooms-card.rooms-card-first.rooms-card-bg-2 {
    background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-pk-2.webp');
  }

  .rooms-section .rooms-card.rooms-card-second.rooms-card-bg-1 {
    background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-bl-1.webp');
  }

  .rooms-section .rooms-card.rooms-card-second.rooms-card-bg-2 {
    background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-bl-2.webp');
  }

  .rooms-section .rooms-card.rooms-card-keynote.rooms-card-bg-1 {
    background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-lv-1.webp');
  }

  .rooms-section .rooms-card.rooms-card-keynote.rooms-card-bg-2 {
    background-image: linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)), url('/assets/images/rooms/pc-lv-2.webp');
  }
}

/* 💖ボタン（出展者一覧・詳細ページ共通） */
.heart-photo { position: relative; }
.heart-button {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: grid; place-items: center;
  width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.40);
  box-shadow: 0 2px 9px rgba(0,0,0,.18); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.heart-button svg { width: 24px; height: 24px; fill: none; stroke: #8a8a8a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.heart-button[aria-pressed="true"] svg { fill: #f43f50; stroke: #f43f50; }
.heart-button:focus-visible { outline: 3px solid #8a6a23; outline-offset: 3px; }
@media (max-width: 600px) { .heart-button { right: 9px; bottom: 9px; width: 38px; height: 38px; } }

/* スケジュール：ゲスト未設定時の放送スタジオ画像 */
.schedule-entry .schedule-person-empty.schedule-guest-on-air {
  background-image: url("/assets/images/schedule-on-air.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* トップページ：本日のスケジュール直下の余白だけを調整 */
#today-schedule {
  margin-bottom: 0;
  padding-bottom: 0;
}
#today-schedule .schedule-day {
  margin-bottom: 0;
}
#today-schedule + #about {
  padding-top: 32px;
}

/* 当日のご案内 */
.guide-section {
  max-width: 920px;
  line-height: 1.8;
}

.guide-section h2 {
  margin-top: 44px;
}

.guide-section h2:first-child {
  margin-top: 0;
}

.guide-lead {
  font-weight: bold;
  color: #8b6a20;
}

.guide-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 12px;
  font-size: 16px;
}

.guide-legend span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 7px;
  font-weight: bold;
}

.guide-legend span::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  border-radius: 4px;
  vertical-align: -2px;
}

.guide-legend-main {
  background: #e5ecf8;
  color: #303f60;
}

.guide-legend-room {
  background: #f6e3ef;
  color: #6e3c60;
}

.guide-legend-main::before {
  background: #aebfdf;
}

.guide-legend-room::before {
  background: #e3aeca;
}

.guide-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-timeline li {
  display: grid;
  grid-template-columns: 145px minmax(0,1fr);
  align-items: stretch;
  gap: 10px;
  margin: 5px 0;
}

.guide-timeline time {
  align-self: center;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
  color: #596273;
}

.guide-timeline li div {
  padding: 10px 16px;
  border-radius: 7px;
  font-size: 18px;
  font-weight: bold;
}

.guide-timeline .guide-main div {
  background: #e5ecf8;
  color: #303f60;
}

.guide-timeline .guide-room div {
  background: #f6e3ef;
  color: #6e3c60;
}

.guide-note {
  font-size: 16px;
  color: #666;
  margin: 16px 0 24px;
}

.guide-steps {
  padding-left: 26px;
  counter-reset: guide-step;
}

.guide-steps>li {
  margin: 0 0 25px;
  padding-left: 4px;
}

.guide-steps h3 {
  font-size: 19px;
  margin: 0 0 8px;
}

.guide-steps p {
  margin: 8px 0;
}

.guide-example {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px 0;
}

.guide-example>div {
  flex: 1;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  border-radius: 10px;
  background: #f6e3ef;
  text-align: center;
}

.guide-example strong {
  font-size: 18px;
}

.guide-example small {
  font-size: 16px;
  color: #76516b;
}

.guide-example-arrow {
  font-size: 26px;
  color: #99728c;
}

.guide-illustration {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 15px;
  margin: 12px 0;
  border: 1px solid #e2d9cb;
  border-radius: 9px;
  background: #f9f8f5;
  font-size: 16px;
}

.guide-illustration span {
  padding: 6px;
}

.guide-illustration strong {
  padding: 8px;
  border: 2px solid #aa7f45;
  border-radius: 6px;
  background: #fff5dd;
}

.guide-room-list {
  display: block;
  max-width: 470px;
}

.guide-room-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  margin: 4px 0;
  background: #fff;
  border-radius: 5px;
}

.guide-room-list b {
  background: #dce9f5;
  border-radius: 5px;
  padding: 2px 12px;
}

.guide-points {
  padding-left: 24px;
}

.guide-points li {
  margin: 8px 0;
}

.guide-help {
  padding: 20px;
  border: 1px solid #e4d6b9;
  border-radius: 8px;
  background: #fffaf0;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 767px) {
  .guide-timeline li {
    grid-template-columns: 116px minmax(0,1fr);
    gap: 7px;
  }

  .guide-timeline time {
    font-size: 16px;
  }

  .guide-timeline li div {
    padding: 9px 10px;
    font-size: 16px;
  }

  .guide-steps h3 {
    font-size: 17px;
  }

  .guide-example {
    gap: 6px;
  }

  .guide-example>div {
    padding: 12px 5px;
    font-size: 16px;
  }

  .guide-example strong {
    font-size: 16px;
  }

  .guide-example-arrow {
    font-size: 18px;
  }
}
