/* FELICE public landing page. Shared member/shop styles remain in style.css. */
.page-home { --cream: #f8f6ef; --gold: #aa7926; --ink: #20294c; background: #fffefa; }
.page-home .container { max-width: 1240px; padding-inline: 40px; }
.page-home .container.narrow { max-width: 960px; }
.page-home .section { padding-block: 104px; }
.page-home .btn { border-radius: 6px; box-shadow: none; padding: 17px 25px; font-size: .92rem; }
.page-home .btn-navy { background: #1b2850; }
.page-home .btn-navy:hover { background: #304274; }
.page-home .eyebrow { color: #926820; font-family: var(--ff-en); font-size: .78rem; letter-spacing: .2em; margin-bottom: 20px; font-weight: 600; }
.page-home .site-header { border-color: #eee9df; background: #fffefa; }
.page-home .header-inner { max-width: 1440px; padding-inline: 36px; height: 88px; }
.page-home { --header-h: 88px; }
.page-home .brand img { height: 62px; }
.page-home .global-nav ul a { font-size: .76rem; padding-inline: 8px; }
.page-home .global-nav ul a .en { font-family: var(--ff-en); text-transform: uppercase; font-size: .65rem; letter-spacing: .12em; margin-bottom: 4px; }
.page-home .nav-actions .btn { font-size: .76rem; padding: 11px 14px; }
.home-hero { position: relative; min-height: 690px; height: min(750px, 64vw); margin: 0 24px; background: #f5f1e7; overflow: hidden; border-radius: 5px 5px 80px 5px; isolation: isolate; }
.home-hero-photo { position: absolute; inset: 0; z-index: -1; }
.home-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.home-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; opacity: 0; }
.home-hero-photo.is-video-ready .home-hero-video { opacity: 1; }
.home-hero-photo.is-video-ready > img { visibility: hidden; }
.hero-video-toggle { position: absolute; z-index: 3; right: 44px; top: 20px; max-width: calc(100% - 32px); padding: 9px 14px; border: 1px solid #ffffff90; border-radius: 5px; background: #1b2850d9; color: #fff; font: inherit; font-size: .75rem; cursor: pointer; }
.hero-video-toggle[hidden] { display: none; }
.home-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #faf7ef 0%, #faf7eff5 15%, #faf7efca 29%, #faf7ef30 49%, transparent 62%); }
.image-credit { position: absolute; z-index: 1; right: 44px; bottom: 20px; font-size: .65rem; color: #fff; background: #1b2850b8; padding: 2px 9px; border-radius: 3px; }
.home-hero-content { padding-top: 79px; padding-bottom: 65px; }
.home-hero .eyebrow { margin-bottom: 13px; }
.hero-location { font-size: .78rem; letter-spacing: .08em; margin-bottom: 22px; }
.home-hero h1 { font-size: clamp(2.5rem, 3.6vw, 3.6rem); line-height: 1.45; letter-spacing: .045em; margin-bottom: 20px; color: #1b2850; }
.home-hero h1 span { color: #a8792a; }
.hero-break { display: inline; }
.home-hero-lead { font-size: .95rem; line-height: 2; margin-bottom: 25px; }
.hero-class-link { display: block; width: fit-content; font-size: .78rem; font-weight: 700; margin-top: 20px; text-decoration: none; border-bottom: 1px solid #b8b5aa; padding-bottom: 4px; }
.hero-class-link span { margin-left: 22px; }
.hero-side-note { position: absolute; right: 15px; top: 34px; writing-mode: vertical-rl; color: #fff; text-shadow: 0 1px 6px #18214d; font-family: var(--ff-en); font-size: .7rem; letter-spacing: .2em; }
.home-welcome { padding: 25px 0; }
.welcome-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.welcome-inner p { font-size: .88rem; margin: 0; }
.welcome-star { font-size: 1.6rem; color: #b58a38; margin-right: 14px; vertical-align: middle; }
.welcome-inner a { font-size: .78rem; text-decoration: none; }
.welcome-inner a span { margin-left: 20px; }
.page-home .news-strip { background: #fffefa; color: var(--navy); padding: 18px 0 24px; }
.page-home .news-strip-inner { border-top: 1px solid var(--line); padding-top: 22px; gap: 36px; }
.page-home .news-strip-title { font-size: .7rem; }
.page-home .news-strip-title .en { font-family: var(--ff-en); font-size: 1.3rem; letter-spacing: .08em; color: var(--navy); margin-bottom: 5px; }
.page-home .news-strip .news-list a { color: var(--ink); font-size: .78rem; }
.page-home .news-strip .news-list li { border: 0; }
.page-home .news-strip .link-more { color: var(--navy); font-size: .78rem; }
.page-home .about { background: var(--cream); }
.about-story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; margin-bottom: 65px; }
.story-photo { margin: 0; position: relative; }
.story-photo img { width: 100%; aspect-ratio: 1.12; object-fit: cover; border-radius: 4px 64px 4px 4px; }
.story-photo figcaption { font-size: .65rem; margin-top: 7px; color: var(--muted); }
.photo-stamp { position: absolute; right: -23px; bottom: 48px; width: 120px; height: 120px; display: grid; align-content: center; text-align: center; background: #1b2850; color: #eed8a3; border-radius: 50%; font-family: var(--ff-script); font-size: 1.65rem; line-height: 1.2; transform: rotate(-12deg); }
.story-copy h2, .home-section-heading h2, .home-trial h2 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); line-height: 1.65; letter-spacing: .05em; margin-bottom: 24px; }
.story-copy p:not(.eyebrow) { font-size: .9rem; line-height: 2.2; }
.story-copy .story-signature { color: #926820; font-weight: 700; margin-top: 26px; }
.page-home .about-body > p { max-width: 790px; margin-inline: auto; font-size: .88rem; color: var(--muted); }
.page-home .about-points { gap: 32px; margin-block: 40px; }
.page-home .point { padding: 0 20px; border-radius: 0; background: none; box-shadow: none; }
.page-home .point + .point { border-left: 1px solid #dfd9cb; }
.page-home .point-icon { width: 46px; height: 46px; background: transparent; }
.page-home .point h3 { font-size: 1rem; }
.page-home .point p { font-size: .83rem; }
.page-home .instructor { max-width: 820px; margin: 48px auto 0; border: 0; border-radius: 4px; }
.home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.home-section-heading h2 { margin-bottom: 0; }
.home-section-heading > p { font-size: .85rem; color: var(--muted); }
.page-home .class-grid { gap: 24px; }
.page-home .class-card { padding: 0; text-align: left; border: 1px solid #e9e4da; border-radius: 6px; overflow: hidden; background: white; display: flex; flex-direction: column; }
.page-home .class-card + .class-card { border-left: 1px solid #e9e4da; }
.class-photo { margin: 0; position: relative; }
.class-photo img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.class-photo figcaption { position: absolute; right: 8px; bottom: 8px; font-size: .6rem; padding: 1px 6px; background: #fffdf4e6; color: #4e5160; border-radius: 2px; }
.class-card-body { padding: 26px; display: flex; flex: 1; flex-direction: column; align-items: start; }
.page-home .class-name { justify-content: flex-start; min-height: 86px; }
.page-home .class-name .script { font-size: 3rem; }
.page-home .class-prefix { font-size: 1.2rem; }
.page-home .class-kana { font-size: .75rem; letter-spacing: .15em; text-align: left; }
.page-home .ribbon-tag { clip-path: none; border-radius: 3px; background: var(--gold-pale); color: #76531b; font-size: .75rem; padding: 5px 10px; letter-spacing: .02em; }
.page-home .ribbon-tag.is-navy { background: #edf0f7; color: var(--navy); }
.page-home .class-time { font-size: 1.3rem; border-bottom: 1px solid var(--line); width: 100%; justify-content: flex-start; padding-bottom: 16px; }
.page-home .class-copy { font-size: .9rem; line-height: 1.9; }
.page-home .class-desc { font-size: .82rem; }
.page-home .class-deco, .page-home .class-meaning { display: none; }
.class-trial-link { margin-top: auto; padding-top: 22px; font-size: .78rem; font-weight: 700; text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; }
.page-home .class-section .note { margin: 24px 0 0; font-size: .75rem; }
.page-home .section-title .stars { display: none; }
.page-home .section-title .en { font-family: var(--ff-en); text-transform: uppercase; font-size: .8rem; letter-spacing: .2em; color: #926820; margin-bottom: 14px; }
.page-home .section-title .ja { font-size: 1.8rem; letter-spacing: .06em; }
.page-home .info-grid { box-shadow: none; border: 1px solid var(--line); border-radius: 5px; }
.page-home .fee-card { border-radius: 5px; box-shadow: none; }
.page-home .fee-card.main { background: #1b2850; }
.page-home .fee-price-from { font-family: var(--ff-base); font-size: .85em; font-weight: 700; margin-left: .12em; }
.page-home .home-enrollment { padding-block: 56px; background: var(--cream); }
.enrollment-panel { border: 1px solid #d6bf8b; border-radius: 6px; padding: clamp(24px, 5vw, 48px); background: #fffefa; text-align: center; }
.enrollment-panel h2 { font-size: clamp(1.35rem, 4vw, 1.9rem); }
.enrollment-panel .note { margin-top: 18px; font-size: .8rem; }
.page-home .flow-section { background: var(--cream); }
.page-home .flow li { background: #fffefa; border-radius: 5px; box-shadow: none; }
.page-home .product-card { box-shadow: none; border-radius: 5px; border: 1px solid var(--line); }
.page-home .faq details { border-radius: 4px; box-shadow: none; }
.home-trial { padding: 72px 0; background: #eee5cf; }
.trial-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.home-trial h2 { margin-bottom: 18px; }
.home-trial p:not(.eyebrow) { font-size: .86rem; margin-bottom: 0; }
.trial-action { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.trial-action > span { color: #795a22; font-size: .8rem; }
.trial-action > a:last-child { font-size: .78rem; }
.home-image-notice { font-size: .68rem; color: var(--muted); padding-top: 18px; padding-bottom: 18px; margin-bottom: 0; }
.page-home .footer-cta { display: none; }
.page-home .footer-logo { letter-spacing: .12em; }
@media (min-width: 1600px) { .home-hero-photo img, .home-hero-video { object-position: center 55%; } }
@media (max-width: 1080px) {
  .page-home .header-inner { padding-inline: 24px; }
  .page-home .global-nav { background: #fffefa; }
  .home-hero { min-height: 620px; }
  .home-hero-content { padding-top: 65px; }
  .home-hero-photo img, .home-hero-video { object-position: 60% center; }
  .home-hero-photo::after { background: linear-gradient(90deg, #faf7effc, #faf7efdc 25%, #faf7ef50 50%, transparent 72%); }
  .about-story { gap: 45px; }
  .class-card-body { padding: 22px; }
}
@media (max-width: 900px) {
  .page-home .class-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .page-home .class-card + .class-card { border-top: 1px solid #e9e4da; padding-top: 0; }
  .class-card-body { padding: 18px; }
  .page-home .class-name .script { font-size: 2.5rem; }
  .page-home .class-name { min-height: 95px; }
  .page-home .class-time { font-size: 1.1rem; }
  .trial-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
}
@media (max-width: 760px) {
  .page-home { --header-h: 72px; }
  .page-home .header-inner { height: 72px; padding-inline: 20px; }
  .page-home .brand img { height: 50px; }
  .page-home .container { padding-inline: 24px; }
  .page-home .section { padding-block: 64px; }
  .home-hero { height: auto; min-height: 0; margin: 0 12px; padding-top: 0; border-radius: 4px 4px 44px 4px; display: flex; flex-direction: column; }
  .home-hero-photo { position: relative; height: auto; aspect-ratio: 1.35; order: 0; z-index: 0; }
  .home-hero-photo img, .home-hero-video { object-position: 74% center; }
  .hero-video-toggle { top: 14px; right: 14px; font-size: .7rem; padding: 8px 10px; }
  .home-hero-photo::after { background: linear-gradient(0deg, #f5f1e7, transparent 25%); }
  .home-hero-content { padding: 22px 24px 38px; order: 1; }
  .home-hero .eyebrow { font-size: .65rem; margin-bottom: 8px; }
  .hero-location { font-size: .68rem; margin-bottom: 14px; }
  .home-hero h1 { font-size: clamp(1.65rem, 7.2vw, 2.8rem); line-height: 1.55; margin-bottom: 14px; }
  .hero-break { display: none; }
  .home-hero-lead { font-size: .85rem; margin-bottom: 20px; }
  .home-hero .btn { width: 100%; }
  .hero-class-link { margin-inline: auto; margin-top: 18px; }
  .hero-side-note { display: none; }
  .image-credit { bottom: 16px; right: 14px; font-size: .58rem; }
  .welcome-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .welcome-inner p { font-size: .76rem; }
  .welcome-inner a { font-size: .7rem; padding-left: 33px; }
  .page-home .news-strip-inner { grid-template-columns: 1fr; gap: 12px; }
  .page-home .news-strip-title { flex-direction: row; gap: 12px; align-items: baseline; }
  .page-home .news-list a { gap: 6px 10px; }
  .page-home .news-title { flex-basis: 100%; min-width: 0; }
  .page-home .news-strip .link-more { justify-self: end; }
  .about-story { grid-template-columns: 1fr; gap: 35px; margin-bottom: 30px; }
  .story-photo { margin-right: 16px; }
  .story-photo img { aspect-ratio: 1.25; border-top-right-radius: 45px; }
  .photo-stamp { width: 96px; height: 96px; font-size: 1.4rem; bottom: 35px; right: -16px; }
  .story-copy h2, .home-section-heading h2, .home-trial h2 { font-size: 1.65rem; }
  .story-copy p:not(.eyebrow) { font-size: .84rem; }
  .desktop-break { display: none; }
  .page-home .about-body > p { text-align: left; }
  .page-home .about-points { grid-template-columns: 1fr; gap: 0; }
  .page-home .point { text-align: left; padding: 22px 0 22px 58px; position: relative; }
  .page-home .point + .point { border-left: 0; border-top: 1px solid #dfd9cb; }
  .page-home .point-icon { position: absolute; left: 0; top: 24px; }
  .page-home .point h3 { margin-top: 0; }
  .page-home .instructor { padding: 24px; margin-top: 30px; }
  .home-section-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
  .home-section-heading > p { margin: 0; font-size: .82rem; }
  .page-home .class-grid { grid-template-columns: 1fr; gap: 26px; }
  .class-photo img { aspect-ratio: 1.5; }
  .class-card-body { padding: 25px; }
  .page-home .class-name { min-height: 0; }
  .page-home .class-name .script { font-size: 3rem; }
  .page-home .class-time { font-size: 1.3rem; }
  .page-home .section-title .ja { font-size: 1.5rem; }
  .page-home .info-col { padding-inline: 22px; }
  .home-trial { padding-block: 52px; }
  .trial-action { width: 100%; align-items: stretch; text-align: center; }
  .trial-action .btn { white-space: normal; font-size: .88rem; padding-inline: 12px; }
  .page-home .to-top { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .page-home *, .page-home *::before, .page-home *::after { animation: none !important; transition: none !important; } }

/* ---- AI生成イメージを表示しないときのトップ表示 ---- */
.home-hero--plain { background: radial-gradient(circle at 78% 30%, #fffaf0 0%, #f7efdd 45%, #f1e6cc 100%); }
.home-hero-plain { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(circle at 78% 30%, #fffaf0 0%, #f7efdd 45%, #f1e6cc 100%); }
.home-hero-plain img { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); height: 92%; width: auto; max-width: 42%; object-fit: contain;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 55% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 60% 55% at 55% 50%, #000 62%, transparent 100%); }
.home-hero--plain .hero-side-note { color: #a8792a; text-shadow: none; }
.about-story--plain { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 760px) {
  .home-hero--plain { display: block; }
  .home-hero-plain img { height: 230px; max-width: 46%; right: -6%; top: 0; transform: none; opacity: .45; }
  .home-hero--plain .home-hero-content { position: relative; padding-top: 34px; }
}

/* 動画のみ（AIイメージ画像なし）：再生前・再生できない環境ではポンポンの装飾を表示 */
.home-hero-photo--video-only:not(.is-video-ready)::after,
.home-hero-photo--video-only:not(.is-video-ready) .image-credit { display: none; }
.home-hero-photo--video-only .home-hero-video { transition: opacity .6s; }
@media (max-width: 760px) {
  .home-hero-photo--video-only:not(.is-video-ready) { aspect-ratio: auto; height: 0; }
}
