@charset "UTF-8";
/* ==========================================================
   トップページ（/index.html）
   すべて #home-lp 配下にスコープ
   色味・ヘッダー・動きは education.css / visit-lp.css と共通
   ※スプラッシュ（.splash-overlay）は css/splash.css のまま
   ========================================================== */

#home-lp {
  /* 色味：白ベース＋グレージュの差し色 */
  --paper: #ffffff;
  --paper-2: #f5f4f0;
  --greige-deep: #ebe8e2;
  --ink: #2b2b2b;
  --text: #494949;
  --muted: #8c8780;
  --line: #e6e3dd;
  --dark: #494949;
  --gold: #a69c8f;
  --max: 1120px;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", -apple-system, BlinkMacSystemFont, "Meiryo", sans-serif;
  --en: "Cormorant Garamond", "Noto Serif JP", serif;
}

html, body { margin: 0; padding: 0; background: #ffffff; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
#home-lp, #home-lp *, #home-lp *::before, #home-lp *::after { box-sizing: border-box; }

#home-lp {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .035em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
#home-lp img { display: block; width: 100%; height: auto; }
#home-lp a { color: inherit; text-decoration: none; }
#home-lp p { margin: 0; }
#home-lp ul { margin: 0; padding: 0; }
#home-lp h1, #home-lp h2, #home-lp h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .055em;
  line-height: 1.55;
}
#home-lp h2 { font-size: clamp(26px, 3.4vw, 40px); }
#home-lp h3 { font-size: clamp(19px, 1.9vw, 22px); }

#home-lp .hm-container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
#home-lp .hm-narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
#home-lp .hm-section { padding: 120px 0; }
#home-lp .center { text-align: center; }
#home-lp .pc { display: inline; }
#home-lp .nw { white-space: nowrap; }

#home-lp .hm-eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .28em;
}

/* 見出し（英語タイトル＋日本語サブ） */
#home-lp .hm-heading { margin-bottom: 56px; text-align: center; }
#home-lp .hm-heading h2 {
  font-family: var(--en);
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.2;
}
#home-lp .hm-heading p { margin-top: 10px; color: var(--muted); font-size: 13px; letter-spacing: .2em; }

/* ---------- Button ---------- */
#home-lp .hm-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
#home-lp .hm-actions.center { justify-content: center; }
#home-lp .hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 40px;
  border: 1px solid var(--dark);
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  letter-spacing: .08em;
  transition: .25s ease;
}
#home-lp .hm-btn::after { content: "→"; margin-left: 12px; font-weight: 400; }
#home-lp .hm-btn:hover { transform: translateY(-2px); background: var(--ink); box-shadow: 0 12px 30px rgba(26, 26, 26, .2); }

/* ---------- Header（全画面ヒーローを過ぎたら表示） ---------- */
#home-lp .hm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .5s ease, opacity .5s ease, visibility 0s linear .5s;
}
#home-lp .hm-header.is-visible {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: transform .5s ease, opacity .5s ease, visibility 0s;
}
#home-lp .hm-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
#home-lp .hm-logo { font-family: var(--en); font-size: 26px; font-weight: 500; letter-spacing: .32em; color: #fff; }
#home-lp .hm-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
#home-lp .hm-nav a { color: rgba(255, 255, 255, .75); transition: color .2s; }
#home-lp .hm-nav a:hover { color: #fff; }
#home-lp .hm-nav__consumer { padding: 6px 18px; background: var(--paper-2); color: var(--ink) !important; font-size: 13px; }
#home-lp .hm-nav__consumer:hover { background: #fff; }
#home-lp .hm-menu-btn { display: none; }

/* ---------- Opening（全画面ヒーロー） ---------- */
#home-lp .hm-opening {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  text-align: center;
}
#home-lp .hm-opening__bg { position: absolute; inset: 0; }
#home-lp .hm-opening__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: hm-zoom 6s ease-out forwards; }
#home-lp .hm-opening__bg::after { content: ""; position: absolute; inset: 0; background: rgba(26, 26, 26, .42); }
#home-lp .hm-opening__inner { position: relative; z-index: 1; padding: 0 20px; }
#home-lp .hm-opening__logo {
  font-family: var(--en);
  font-size: clamp(56px, 11vw, 150px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .32em;
  margin-right: -.32em; /* 字間ぶんの右ズレを補正 */
  opacity: 0;
  animation: hm-rise 1.6s ease .3s forwards;
}
#home-lp .hm-opening__sub {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .85);
  opacity: 0;
  animation: hm-rise 1.4s ease .9s forwards;
}
#home-lp .hm-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  opacity: 0;
  animation: hm-rise-x 1.2s ease 1.5s forwards;
}
#home-lp .hm-scroll__text { font-family: var(--en); font-size: 13px; letter-spacing: .3em; margin-right: -.3em; }
#home-lp .hm-scroll__line { position: relative; width: 1px; height: 64px; background: rgba(255, 255, 255, .3); overflow: hidden; }
#home-lp .hm-scroll__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: #fff;
  animation: hm-scrollline 2s ease-in-out infinite;
}
#home-lp .hm-scroll__arrow { width: 9px; height: 9px; margin-top: -14px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(45deg); }

/* スプラッシュ表示中はオープニングの動きを止めておく */
#home-lp.is-waiting .hm-opening__bg img,
#home-lp.is-waiting .hm-opening__logo,
#home-lp.is-waiting .hm-opening__sub,
#home-lp.is-waiting .hm-scroll { animation-play-state: paused; }

@keyframes hm-zoom { to { transform: scale(1); } }
@keyframes hm-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hm-rise-x { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes hm-scrollline { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- ふわっと表示 ---------- */
#home-lp.is-anim .hm-fade { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
#home-lp.is-anim .hm-fade.is-in { opacity: 1; transform: none; }

/* ---------- Intro（コンセプト） ---------- */
#home-lp .hm-intro { padding: 140px 0; }
#home-lp .hm-intro h1 { font-size: clamp(26px, 3.6vw, 44px); letter-spacing: .08em; }
#home-lp .hm-intro__text { margin-top: 48px; color: var(--text); font-family: var(--serif); font-size: clamp(15px, 1.4vw, 17px); line-height: 2.4; letter-spacing: .1em; }

/* ---------- Pick Up ---------- */
#home-lp .hm-pickup { background: var(--paper-2); }
#home-lp .hm-pickup__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
#home-lp .hm-pickup__card { display: block; width: calc((100% - 60px) / 4); background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
#home-lp .hm-pickup__card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26, 26, 26, .08); }
#home-lp .hm-pickup__image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--greige-deep); }
#home-lp .hm-pickup__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
#home-lp .hm-pickup__card:hover .hm-pickup__image img { transform: scale(1.04); }
#home-lp .hm-pickup__text { padding: 18px 20px 22px; font-size: 14px; line-height: 1.8; color: var(--text); }

/* ---------- Business ---------- */
#home-lp .hm-business__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
#home-lp .hm-business__item { display: block; }
#home-lp .hm-business__image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
#home-lp .hm-business__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
#home-lp .hm-business__item:hover .hm-business__image img { transform: scale(1.04); }
#home-lp .hm-business__num { display: block; margin-top: 22px; font-family: var(--en); font-size: 26px; color: var(--gold); letter-spacing: .1em; line-height: 1; }
#home-lp .hm-business__item h3 { margin-top: 10px; }
#home-lp .hm-business__item p { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--text); }

/* ---------- Coconut ---------- */
#home-lp .hm-coconut { background: var(--paper-2); }
#home-lp .hm-coconut__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
#home-lp .hm-coconut__copy { margin-top: 32px; color: var(--text); }
#home-lp .hm-coconut__copy p + p { margin-top: 1.2em; }
#home-lp .hm-coconut__features { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
#home-lp .hm-coconut__features li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 17px;
}
#home-lp .hm-coconut__features li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
#home-lp .hm-coconut__image img { aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Movies ---------- */
#home-lp .hm-movies__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
#home-lp .hm-movie { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); }
#home-lp .hm-movie iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Contact ---------- */
#home-lp .hm-contact { padding: 130px 0; background: var(--paper-2); }
#home-lp .hm-contact .hm-heading { margin-bottom: 32px; }
#home-lp .hm-contact__text { color: var(--text); }

/* ---------- Footer ---------- */
#home-lp .hm-footer { padding: 56px 0 40px; text-align: center; background: #fff; border-top: 1px solid var(--line); color: var(--muted); }
#home-lp .hm-footer__logo { font-family: var(--en); font-size: 24px; letter-spacing: .32em; color: var(--ink); }
#home-lp .hm-footer__copy { margin-top: 8px; font-family: var(--serif); font-size: 13px; }
#home-lp .hm-footer__nav { margin-top: 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }
#home-lp .hm-footer__nav a { color: var(--text); }
#home-lp .hm-footer__nav a:hover { opacity: .55; }
#home-lp .hm-footer__small { margin-top: 24px; font-size: 11px; }

/* ==========================================================
   Tablet
   ========================================================== */
@media (max-width: 960px) {
  #home-lp .hm-section { padding: 88px 0; }
  #home-lp .hm-pickup__card { width: calc((100% - 20px) / 2); }
  #home-lp .hm-business__grid { grid-template-columns: 1fr; gap: 48px; max-width: 560px; margin-inline: auto; }
  #home-lp .hm-coconut__grid { grid-template-columns: 1fr; gap: 48px; }
  #home-lp .hm-coconut__image { order: -1; }
  #home-lp .hm-coconut__image img { aspect-ratio: 4 / 3; }

  /* header → ハンバーガー */
  #home-lp .hm-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  #home-lp .hm-menu-btn span { display: block; height: 1px; background: #fff; transition: .25s; }
  #home-lp .hm-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #home-lp .hm-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  #home-lp .hm-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  #home-lp .hm-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 15px;
  }
  #home-lp .hm-nav.is-open { display: flex; }
  #home-lp .hm-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  #home-lp .hm-nav__consumer { margin-top: 16px; padding: 14px 0 !important; text-align: center; border-bottom: 0 !important; }
}

/* ==========================================================
   Mobile
   ========================================================== */
@media (max-width: 768px) {
  #home-lp { font-size: 15px; }
  #home-lp .pc { display: none; }
  #home-lp .hm-header__inner { min-height: 58px; }
  #home-lp .hm-logo { font-size: 22px; }
  #home-lp .hm-section { padding: 72px 0; }
  #home-lp .hm-heading { margin-bottom: 36px; }
  #home-lp .hm-opening__sub { font-size: 13px; letter-spacing: .12em; }
  #home-lp .hm-scroll { bottom: calc(24px + env(safe-area-inset-bottom)); }
  #home-lp .hm-scroll__line { height: 48px; }
  #home-lp .hm-intro { padding: 96px 0; }
  #home-lp .hm-intro h1 { font-size: clamp(19px, 5.6vw, 26px); letter-spacing: .04em; }
  #home-lp .hm-intro__text { margin-top: 36px; font-size: clamp(12px, 3.35vw, 14px); letter-spacing: 0; line-height: 2.3; }

  /* Pick Up：スマホは横スクロール */
  #home-lp .hm-pickup .hm-container { width: 100%; }
  #home-lp .hm-pickup .hm-heading { padding: 0 20px; }
  #home-lp .hm-pickup__list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #home-lp .hm-pickup__list::-webkit-scrollbar { display: none; }
  #home-lp .hm-pickup__card { flex: 0 0 78%; width: auto; scroll-snap-align: center; }

  #home-lp .hm-coconut__features li { font-size: 15px; }
  #home-lp .hm-actions .hm-btn { width: 100%; }
  #home-lp .hm-movies__grid { grid-template-columns: 1fr; gap: 16px; }
  #home-lp .hm-contact { padding: 88px 0; }
  #home-lp .hm-contact__text { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #home-lp .hm-opening__bg img, #home-lp .hm-opening__logo, #home-lp .hm-opening__sub,
  #home-lp .hm-scroll, #home-lp .hm-scroll__line::after { animation: none; opacity: 1; transform: none; }
  #home-lp .hm-scroll { transform: translateX(-50%); }
  #home-lp .hm-btn { transition: none; }
}