:root {
    /* Color Palette */
    --color-bg: #FDFBFA;
    /* Off-white #FAF7F2 to #FBF8F4 roughly */
    --color-coral: #F08A8A;
    /* CTA color */
    --color-coral-dark: #E27979;
    --color-mint: #9FE3D3;
    --color-lavender: #C9B6FF;
    --color-orange: #F6B37A;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #E9E2DA;
    --color-white: #FFFFFF;

    /* Metrics */
    --max-width: 420px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #EFEFEF;
    /* PC background */
    color: var(--color-text);
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

.wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    padding-top: 54px;
    /* Fixed header height */
    padding-bottom: 100px;
    /* Space for sticky nav */
}

/* Background Sharp Organic Blobs */
.bg-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.bg-shape.pink {
    background-color: #F8BBD0;
}

.bg-shape.mint {
    background-color: #B2EBF2;
}

.bg-shape.orange {
    background-color: #FFE0B2;
}

.bg-shape.green {
    background-color: #C8E6C9;
}

.bg-shape.lavender {
    background-color: #D1C4E9;
}

/* Different blob shapes */
.bg-blob-1 {
    border-radius: 60% 40% 50% 50% / 50% 50% 60% 40%;
}

.bg-blob-2 {
    border-radius: 40% 60% 40% 60% / 50% 40% 60% 50%;
}

.bg-blob-3 {
    border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%;
}

.bg-blob-4 {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.bg-blob-5 {
    border-radius: 70% 30% 30% 70% / 40% 60% 40% 60%;
}

/* Utility */
.mt-4 {
    margin-top: 1.5rem !important;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* スクショの余白感に合わせてコンパクト */
    padding: 10px 16px;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: var(--max-width);
    margin: 0 auto;
    /* ヒーロー画像の上に重ねず、通常フローに戻す */
    z-index: 1000;

    /* スクロール時などにヒーロー背景と混ざらないよう、背景を付与 */
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ロゴ枠 */
.header-logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

/* ロゴリンク */
.header-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

/* ロゴ画像：小さめが正解 */
.logo-img {
    height: 22px;
    /* ← 基本：ここが肝 */
    width: auto;
    display: block;
    object-fit: contain;

    /* 画像余白が大きい時に“見た目”を締める */
    transform: translateZ(0);
}

/* 右側ボタン */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ボタン共通 */
.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--color-coral);
    color: var(--color-white);

    padding: 7px 12px;
    font-size: 0.75rem;
    font-weight: 700;

    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;

    /* タップしやすさ */
    min-height: 34px;
}

/* 枠線ボタン */
.btn-header--outline {
    background: transparent;
    color: var(--color-coral);
    border: 1px solid var(--color-coral);
}

/* ちょいPCでだけ少し大きく */
@media (min-width: 768px) {
    .header {
        padding: 12px 20px;
    }

    .logo-img {
        height: 26px;
    }

    .btn-header {
        padding: 8px 14px;
        font-size: 0.8rem;
        min-height: 36px;
    }
}

/* 画面が極端に狭い時：ボタンを詰める */
@media (max-width: 360px) {
    .btn-header {
        padding: 6px 10px;
        font-size: 0.72rem;
        min-height: 32px;
    }

    .logo-img {
        height: 20px;
    }
}

/* Buttons */
.btn-primary {
    display: block;
    background: var(--color-coral);
    color: var(--color-white);
    text-align: center;
    padding: 16px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.3;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:active {
    transform: scale(0.98);
    background: var(--color-coral-dark);
}

.btn-primary .btn-small {
    font-size: 0.8rem;
    font-weight: normal;
}

.btn-shadow {
    box-shadow: 0 4px 15px rgba(240, 138, 138, 0.4);
}


/* =========================
   Hero (スマホ横幅ぴったり)
========================= */
.hero{
  padding: 0;
  margin: 0;
  width: 100%;
  background: var(--color-bg);
}

/* 以前の 88% / 角丸 / overflow をリセット */
.hero-image-wrap{
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: visible;
}

/* 全幅・余白なし */
.hero-image{
  width: 100%;
  height: auto;
  display: block;

  /* 以前のトリミング設定を無効化 */
  aspect-ratio: auto;
  object-fit: initial;
  object-position: initial;
}

/* Hero Title Card */
.hero-title-card {
    position: relative;
    z-index: 5;
    margin-top: -100px;
    margin-left: 16px;
    flex-shrink: 0;
}

.hero-title-small {
    display: inline-block;
    background-color: #FFF;
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.1em;
}

.hero-title-main {
    display: inline-block;
    background-color: #FFF;
    padding: 6px 16px 18px 16px;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.1;
    letter-spacing: 0.05em;
    position: relative;
    margin-top: -1px;
}

.hero-title-main::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 8px;
    left: 16px;
    width: calc(100% - 32px);
    height: 3px;
    background: linear-gradient(to right, #D8AE70, #F3DEB8);
}

.hero-title-cursive {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: #888;
    display: block;
    margin-left: 14px;
    transform: rotate(-4deg);
    transform-origin: left center;
    opacity: 0.85;
    line-height: 1.2;
    flex: 1;
    align-self: flex-end;
    padding-bottom: 4px;
    white-space: nowrap;
}

/* Bottom row: cursive left, logo+subtext right */
.hero-title-bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-right: 12px;
    margin-top: -40px;
    /* さらに上へかぶせる */
    margin-left: 25px;
    /* 右寄せ */
}

.hero-title-right {
    text-align: right;
    flex-shrink: 0;
}

.hero-title-logo {
    font-size: 1.9rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.1em;
    font-weight: 600;
    display: block;
    background: #FFF;
    padding: 0 8px;
    margin: 0;
    text-align: right;
}

.hero-subtext {
    font-size: 0.78rem;
    font-weight: 700;
    color: #444;
    margin: 2px 8px 0 0;
    text-align: right;
    white-space: nowrap;
}

/* Section Common */
.section {
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title .en {
    display: block;
    font-family: 'Montserrat', sans-serif;
    color: var(--color-coral);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.section-title .ja {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 4px 0 0;
}

/* Card Common */
.card {
    background: var(--color-white);
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

/* Separator */
.separator {
    border: none;
    border-top: 4px dotted var(--color-border);
    margin: 0 40px;
}

.separator.line {
    border-top: 1px solid var(--color-border);
    margin: 0 20px;
}

/* Event Summary (Outline) */
.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-list li {
    display: flex;
    margin-bottom: 16px;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 16px;
}

.summary-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.badge {
    background: #FFF2F2;
    color: var(--color-coral);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 16px;
    flex-shrink: 0;
}

.badge-accent {
    width: auto;
    height: auto;
    padding: 8px 16px;
    border-radius: 999px;
    background: #FFF2F2;
    margin-right: 8px;
}

.summary-text {
    flex-grow: 1;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.summary-text .note {
    font-size: 0.8rem;
    color: var(--color-coral);
}

/* Event Cards */
.event-card {
    margin-bottom: 24px;
    padding-top: 0;
    overflow: visible;
}

.event-image-wrap {
    position: relative;
    width: calc(100% + 48px);
    margin: -24px -24px 20px -24px;
}

.event-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 40px 40px 40px 8px;
    /* Organic wavy corners */
    display: block;
}

.event-badge {
    position: absolute;
    bottom: -15px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #FADA5E;
    /* Yellow circle badge */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.badge-blue {
    background: #AEE2FF;
}

.event-title {
    font-size: 1.4rem;
    margin: 0 0 4px;
    font-weight: 700;
    color: var(--color-coral);
    letter-spacing: 0.05em;
}

.event-title::after {
    /* If the short line is placed right under the title */
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #E0DCD6;
    margin-top: 12px;
    margin-bottom: 12px;
}

.event-desc {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-light);
}

.event-details {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text);
}

.event-details li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.event-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-coral);
}

.event-details strong {
    color: var(--color-text);
    font-weight: 700;
}

/* Schedule Segmented Control */
.segmented-control {
    width: 100%;
}

.segmented-control input[type="radio"] {
    display: none;
}

.segmented-control label {
    display: block;
    width: 50%;
    float: left;
    text-align: center;
    padding: 12px 0;
    font-weight: 700;
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid var(--color-white);
    cursor: pointer;
    transition: all 0.2s;
}

.segmented-control label:first-of-type {
    border-radius: 999px 0 0 999px;
    border-right: none;
}

.segmented-control label:nth-of-type(2) {
    border-radius: 0 999px 999px 0;
    border-left: none;
}

.segmented-control input[type="radio"]:checked+label {
    background: var(--color-coral);
    color: var(--color-white);
    border-color: var(--color-coral);
}

.schedule-content {
    clear: both;
    padding-top: 30px;
    display: none;
}

/* =========================
   Schedule (NEW)
========================= */

/* Schedule Segmented Control */
.segmented-control {
    margin-top: 10px;
}

.tabs-wrap {
    display: flex;
    background: var(--color-white);
    border-radius: 9999px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(61, 55, 50, 0.06);
    margin-bottom: 25px;
}

.segmented-control input[type="radio"] {
    display: none;
}

.segmented-control label {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    cursor: pointer;
    border-radius: 9999px;
    transition: all 0.3s;
}

/* ※ checkedの直後labelだけが対象になるのでHTML順を前提 */
.segmented-control input[type="radio"]:checked+label {
    background-color: var(--color-text);
    color: var(--color-white);
}

/* schedule box */
.schedule-content {
    clear: both;
    /* 旧float対策（残ってても安全） */
    padding-top: 0;
    /* 旧の余白をリセット */
    display: none;
    /* JSで出し分け */
    background: var(--color-white);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(61, 55, 50, 0.06);
}

/* Timeline Rows */
.timeline-row {
    display: flex;
    margin-bottom: 25px;
    position: relative;
    background: transparent;
    /* 旧カード背景を無効 */
    border-radius: 0;
    /* 旧丸みを無効 */
    padding: 0;
    /* 旧paddingを無効 */
    box-shadow: none;
    /* 旧shadowを無効 */
    align-items: flex-start;
}

.timeline-row:last-child {
    margin-bottom: 0;
}

/* 縦ライン */
.timeline-row::after {
    content: "";
    position: absolute;
    top: 30px;
    bottom: -25px;
    left: 23px;
    width: 2px;
    background-color: #F0EDE6;
}

.timeline-row:last-child::after {
    display: none;
}

.timeline-row .time {
    flex-shrink: 0;
    width: 60px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-lavender);
    /* 近い色味。secondaryが無い場合を考慮 */
    text-align: center;
    position: relative;
    z-index: 2;
    background: var(--color-white);
    padding-top: 5px;
    line-height: 1.2;
    border-right: none;
    /* 旧の点線区切りを無効 */
    padding-right: 0;
}

/* highlight時 */
.timeline-row.highlight .time {
    color: var(--color-coral);
}

.time .tilde {
    font-size: 10px;
    color: #ccc;
    display: inline-block;
    margin: 2px 0;
}

.timeline-row .content {
    flex: 1;
    padding-left: 20px;
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 10px;
}

.timeline-row .content strong {
    display: block;
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 4px;
}

.timeline-row .content .note {
    font-size: 12px;
    color: #888;
}

/* Apply Section */
.apply-card {
    text-align: center;
}

.apply-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.qr-code-wrapper {
    background: #f7f7f7;
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #999;
}

.apply-url {
    font-size: 0.8rem;
    word-break: break-all;
    color: #666;
    margin-bottom: 16px;
}

.apply-notes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

/* Notes List */
.notes-list {
    list-style: none;
    padding: 24px;
    margin: 0;
}

.notes-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.notes-list li:last-child {
    margin-bottom: 0;
}

/* =========================
   FAQ (NEW)
========================= */

.faq-list {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* 旧gapより少し余裕 */
}

.faq-item {
    background-color: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(61, 55, 50, 0.06);
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    list-style: none;
    display: flex;
    align-items: flex-start;
    padding-right: 54px;
    /* +ボタン用余白 */
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span {
    color: var(--color-coral);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-right: 10px;
    line-height: 1;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: var(--color-lavender);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px 48px;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
    border-top: none;
    /* 旧の点線を無効 */
    margin-top: 0;
    padding-top: 0;
}

/* Contact */
.contact-card {
    text-align: center;
}

.contact-card h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px 80px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.copyright {
    font-size: 0.75rem;
    color: #999;
}

/* Sticky Bottom CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}