@charset "utf-8";
/* ANNIVERSARY cafe HAREBARE — split layout（色はロゴとハレバレ本体サイトのトークンに合わせる） */

:root {
  --hb-sun: #e18300;
  --hb-sun-deep: #d6750b;
  --hb-sun-pale: #fdf0dc;
  --hb-olive: #6a6d5e;
  --hb-olive-deep: #5d6050;
  --hb-ink: #3f4237;
  --hb-ink-soft: #6a6d5e;
  --hb-paper: #faf6ee;
  --hb-paper-deep: #f2ebdc;
  --hb-white: #ffffff;
  --hb-line: #06c755;
  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --gutter: clamp(2rem, 5vw, 6.4rem);
  --gap: clamp(7.2rem, 6vw + 3.2rem, 12rem);
  --radius: 2rem;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--hb-ink);
  background: var(--hb-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(36rem, 40%) minmax(0, 1fr); }
}

/* ---------- panel（左） ---------- */
.panel {
  position: relative;
  min-width: 0;
  color: var(--hb-white);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 214, 150, 0.55) 0%, rgba(255, 214, 150, 0) 45%),
    linear-gradient(170deg, #f0a13a 0%, var(--hb-sun) 45%, var(--hb-sun-deep) 100%);
  overflow: hidden;
}
.panel__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
  padding: 2.4rem var(--gutter) 4.8rem;
}
@media (min-width: 960px) {
  .panel { position: sticky; top: 0; height: 100vh; height: 100svh; }
  .panel__inner { height: 100%; min-height: 0; justify-content: space-between; padding: 3.2rem 4rem; }
}
.panel__back {
  align-self: flex-start;
  font-size: 1.3rem;
  text-decoration: none;
  opacity: 0.9;
}
.panel__back::before { content: "← "; }
.panel__center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.panel__mark {
  width: clamp(9.6rem, 8vw + 4rem, 14rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 1.6rem;
  background: var(--hb-white);
  border-radius: 50%;
  box-shadow: 0 1.2rem 3.2rem rgba(120, 60, 0, 0.25);
}
.panel__title {
  margin-top: 2.4rem;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.panel__title-small { font-size: clamp(1.4rem, 0.6vw + 1.2rem, 1.8rem); letter-spacing: 0.18em; font-weight: 700; }
.panel__title-main { font-size: clamp(4rem, 3vw + 2.4rem, 6.4rem); letter-spacing: 0.08em; }
.panel__open {
  margin-top: 2rem;
  display: inline-block;
  padding: 0.4rem 1.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--hb-sun-deep);
  background: var(--hb-white);
  border-radius: 999px;
}
.panel__open span { font-size: 1.8rem; }
.panel__lead { margin-top: 1.6rem; font-size: 1.4rem; opacity: 0.95; }
.panel__actions { width: 100%; max-width: 36rem; }
.panel__nav { display: none; }
@media (min-width: 960px) {
  .panel__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.8rem; font-size: 1.3rem; }
  .panel__nav a { text-decoration: none; opacity: 0.85; }
  .panel__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 0.3em; }
}

/* ---------- LINE ---------- */
.line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 5.2rem;
  padding: 0 2.4rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--hb-white);
  text-decoration: none;
  background: var(--hb-line);
  border-radius: 999px;
  box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.12);
  transition: transform 0.2s;
}
.line-btn:hover { transform: translateY(-2px); }
.line-btn::before {
  content: "LINE";
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  padding: 0.1rem 0.6rem;
  color: var(--hb-line);
  background: var(--hb-white);
  border-radius: 0.4rem;
}
.line-btn--large { max-width: 36rem; margin: 2.4rem auto 0; min-height: 5.6rem; }

/* ---------- content（右） ---------- */
.content { min-width: 0; padding: 0 var(--gutter); }
@media (min-width: 960px) { .content { padding: 0 clamp(4rem, 5vw, 9.6rem); } }
.content > * { max-width: 68rem; margin-left: auto; margin-right: auto; }

.block { padding-top: var(--gap); }
.block__en {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.24em;
  color: var(--hb-sun-deep);
}
.block__title {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 1.2vw + 2rem, 3.2rem);
  line-height: 1.4;
  letter-spacing: 0.06em;
}
.block__text { margin-top: 1.2rem; color: var(--hb-ink-soft); }
.block__more { margin-top: 2rem; text-align: right; font-size: 1.4rem; }
.block__more a { color: var(--hb-sun-deep); font-weight: 700; text-underline-offset: 0.3em; }
.block__more a::after { content: " →"; }
.placeholder {
  margin-top: 2rem;
  padding: 2.4rem;
  font-size: 1.4rem;
  color: var(--hb-ink-soft);
  text-align: center;
  background: var(--hb-white);
  border: 1px dashed #d8cfbb;
  border-radius: var(--radius);
}

/* ---------- 本日のコーヒー ---------- */
.block--today { padding-top: clamp(4.8rem, 4vw + 2.4rem, 8rem); }
.ichimai-today {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 2vw + 1.2rem, 3.2rem);
  background: var(--hb-white);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(63, 66, 55, 0.08);
  border-top: 6px solid var(--hb-sun);
}
@media (min-width: 640px) {
  .ichimai-today:has(.ichimai-today__image) { grid-template-columns: 22rem 1fr; align-items: center; }
}
.ichimai-today__image { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1.2rem; }
.ichimai-today__date {
  display: inline-block;
  padding: 0 1.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hb-sun-deep);
  background: var(--hb-sun-pale);
  border-radius: 999px;
}
.ichimai-today__title {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 0.8vw + 1.8rem, 2.6rem);
  line-height: 1.5;
}
.ichimai-today__body { margin-top: 0.8rem; color: var(--hb-ink-soft); font-size: 1.4rem; }

/* ---------- お知らせ ---------- */
.ichimai-news { margin-top: 2rem; border-top: 1px solid #e3dccb; }
.ichimai-news__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1.6rem;
  padding: 1.8rem 0.4rem;
  text-decoration: none;
  border-bottom: 1px solid #e3dccb;
}
.ichimai-news__link:hover .ichimai-news__title { color: var(--hb-sun-deep); }
.ichimai-news__date { font-size: 1.3rem; color: var(--hb-ink-soft); font-variant-numeric: tabular-nums; }
.ichimai-news__title { font-weight: 700; line-height: 1.6; transition: color 0.2s; }
.ichimai-news__excerpt { grid-column: 2; font-size: 1.3rem; color: var(--hb-ink-soft); line-height: 1.7; }
@media (max-width: 519px) {
  .ichimai-news__link { grid-template-columns: 1fr; }
  .ichimai-news__excerpt { grid-column: 1; }
}

/* ---------- メニュー ---------- */
.menu-note { margin-top: 1.2rem; font-size: 1.3rem; color: var(--hb-ink-soft); }
.menu { margin-top: 2.4rem; display: grid; gap: 1.6rem; }
@media (min-width: 720px) {
  .menu { grid-template-columns: 1fr 1fr; }
  .menu__group--wide { grid-column: 1 / -1; }
}
.menu__group {
  padding: 2.4rem;
  background: var(--hb-white);
  border-radius: var(--radius);
}
.menu__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  border-bottom: 2px solid var(--hb-sun);
}
.menu__en { font-size: 1.1rem; letter-spacing: 0.2em; color: var(--hb-sun-deep); }
.menu__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.8rem 0;
  border-bottom: 1px dotted #e3dccb;
}
.menu__item:last-child { border-bottom: 0; }
.menu__name { font-weight: 500; }
.menu__temp { font-size: 1.2rem; color: var(--hb-ink-soft); white-space: nowrap; letter-spacing: 0.06em; }
.menu__text { margin-top: 1.2rem; font-size: 1.3rem; color: var(--hb-ink-soft); line-height: 1.8; }
.tag {
  display: inline-block;
  margin-left: 0.8rem;
  padding: 0 0.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hb-olive-deep);
  background: #eceee4;
  border-radius: 0.4rem;
  vertical-align: 0.1em;
}

/* ---------- Instagram ---------- */
.ichimai-insta { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.ichimai-insta__item a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 0.8rem; }
.ichimai-insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.ichimai-insta__item a:hover img { transform: scale(1.05); }
.ichimai-insta__video {
  position: absolute; right: 0.6rem; top: 0.6rem;
  padding: 0 0.6rem; font-size: 1rem; color: #fff; background: rgba(0, 0, 0, 0.5); border-radius: 0.4rem;
}

/* インスタ連動（投稿をサイト内のページにする・src/igseo.js）。写真の下に1行目を見出しとして出す */
.styles { margin-top: 2.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1.2rem; }
@media (min-width: 720px) { .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.8rem 1.6rem; } }
.styles a { display: block; color: inherit; text-decoration: none; }
.styles img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.2rem; background: var(--hb-paper-deep); transition: opacity 0.25s; }
.styles a:hover img { opacity: 0.85; }
.styles__title { display: block; margin-top: 0.9rem; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.6; }
.styles a:hover .styles__title { color: var(--hb-sun-deep); }
.styles__date { display: block; margin-top: 0.2rem; font-size: 1.2rem; color: var(--hb-ink-soft); font-variant-numeric: tabular-nums; }
.styles__fallback { grid-column: 1 / -1; }
.more-styles { margin-top: 2.4rem; text-align: right; font-size: 1.4rem; }
.more-styles a { color: var(--hb-sun-deep); font-weight: 700; text-underline-offset: 0.3em; }
.more-styles a::after { content: " →"; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem; margin-bottom: 2.4rem; font-size: 1.2rem; color: var(--hb-ink-soft); }
.crumbs a { color: var(--hb-ink-soft); }
.crumbs > * + *::before { content: "/"; margin-right: 0.6rem; color: #d8cfbb; }
.block__title .count { margin-left: 0.8rem; font-size: 1.4rem; font-weight: 500; color: var(--hb-ink-soft); }
.igpost__photo { margin-top: 2.4rem; }
.igpost__photo img { width: 100%; height: auto; border-radius: var(--radius); }
.igpost__tags { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 2rem; font-size: 1.2rem; color: var(--hb-ink-soft); }
.igpost__src { display: inline-block; margin-top: 2rem; font-size: 1.3rem; color: var(--hb-sun-deep); }

/* ストーリー（今出ているものだけ・assets/ig-stories.js）。押すとページの上で順に見られる */
.st { margin-top: 2.4rem; }
.st[hidden] { display: none; }
.st__head { display: flex; align-items: baseline; gap: 1.2rem; }
.st__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.st__title::before { content: ""; display: inline-block; width: 0.8rem; height: 0.8rem; margin-right: 0.8rem; border-radius: 50%; background: #e1306c; vertical-align: 0.15rem; animation: st-live 1.6s ease-in-out infinite; }
@keyframes st-live { 50% { opacity: 0.3; } }
.st__count { font-size: 1.2rem; color: var(--hb-ink-soft); }
.st__list { margin-top: 1.2rem; display: flex; gap: 1.2rem; overflow-x: auto; padding-bottom: 0.6rem; scrollbar-width: none; }
.st__list button { display: grid; justify-items: center; gap: 0.6rem; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.st__ring { display: block; width: 8rem; aspect-ratio: 9 / 16; padding: 0.3rem; border-radius: 1.2rem; background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.st__ring img, .st__video { display: grid; place-items: center; width: 100%; height: 100%; object-fit: cover; border-radius: 0.9rem; border: 0.2rem solid var(--hb-paper); background: var(--hb-ink); color: #fff; }
.st__time { font-size: 1.2rem; color: var(--hb-ink-soft); font-variant-numeric: tabular-nums; }
html.is-stv { overflow: hidden; }
.stv { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(20, 16, 14, 0.94); }
.stv[hidden] { display: none; }
.stv__media { width: min(100vw, calc(100svh * 9 / 16)); height: min(100svh, calc(100vw * 16 / 9)); display: grid; place-items: center; }
.stv__media img, .stv__media video { width: 100%; height: 100%; object-fit: contain; }
.stv__bars { position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); width: min(92vw, 48rem); display: flex; gap: 0.4rem; z-index: 2; }
.stv__bars i { flex: 1; height: 0.3rem; background: rgba(255, 255, 255, 0.35); border-radius: 0.2rem; overflow: hidden; }
.stv__bars b { display: block; height: 100%; width: 0; background: #fff; }
.stv__bars .is-done b { width: 100%; }
.stv__bars .is-on b { animation: stv-bar 6s linear forwards; }
@keyframes stv-bar { to { width: 100%; } }
.stv__top { position: absolute; top: 2.2rem; left: 50%; transform: translateX(-50%); width: min(92vw, 48rem); display: flex; align-items: center; gap: 0.8rem; color: #fff; font-size: 1.3rem; z-index: 2; }
.stv__avatar { width: 3.2rem; height: 3.2rem; border-radius: 50%; }
.stv__time { opacity: 0.7; }
.stv__close { margin-left: auto; width: 4.4rem; height: 4.4rem; font-size: 2.8rem; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
.stv__prev, .stv__next { position: absolute; top: 10%; bottom: 0; width: 35%; background: none; border: 0; cursor: pointer; z-index: 1; }
.stv__prev { left: 0; }
.stv__next { right: 0; }

/* ---------- アクセス ---------- */
.access { margin-top: 2rem; background: var(--hb-white); border-radius: var(--radius); padding: 0.8rem 2.4rem; }
.access__row { display: grid; grid-template-columns: 8rem 1fr; gap: 1.6rem; padding: 1.4rem 0; border-bottom: 1px solid #efe8d8; }
.access__row:last-child { border-bottom: 0; }
.nowrap { white-space: nowrap; }
.access__row dt { font-weight: 700; color: var(--hb-ink-soft); font-size: 1.3rem; }

/* ---------- LINE（下部） ---------- */
.block--line {
  margin-top: var(--gap);
  padding: 4.8rem 2.4rem;
  text-align: center;
  background: var(--hb-sun-pale);
  border-radius: var(--radius);
}

/* ---------- 記事ページ ---------- */
.post { padding-top: clamp(4.8rem, 4vw + 2.4rem, 8rem); }
.post__date { font-size: 1.3rem; color: var(--hb-ink-soft); }
.post__title { margin-top: 0.8rem; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 1.2vw + 2rem, 3.2rem); line-height: 1.5; }
.post__cover { margin-top: 2.4rem; }
.post__cover img { border-radius: var(--radius); }
.post__body { margin-top: 2.4rem; }
/* お知らせ本文：イチマイ標準の部品（見出し・ハイライト・表・引用・画像・リンクカード）をカフェのデザインで */
.post__body > * + * { margin-top: 1.6rem; }
.post__body h2 {
  margin-top: 4rem;
  padding: 1rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 0.8vw + 1.8rem, 2.4rem);
  line-height: 1.5;
  background: var(--hb-sun-pale);
  border-radius: 1.2rem;
}
.post__body h3 {
  margin-top: 3.2rem;
  padding-left: 1.2rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1.5;
  border-left: 4px solid var(--hb-sun);
}
.post__body ul, .post__body ol { padding-left: 2.4rem; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li + li { margin-top: 0.4rem; }
.post__body a { color: var(--hb-sun-deep); word-break: break-all; }
.post__body mark { padding: 0 0.2em; background: linear-gradient(transparent 55%, #ffd99a 55%); color: inherit; }
.post__body hr { margin: 4rem auto; width: 6rem; border: 0; border-top: 3px dotted var(--hb-sun); }
.ichimai-quote {
  position: relative;
  padding: 2rem 2.4rem 2rem 5.2rem;
  color: var(--hb-ink-soft);
  background: var(--hb-white);
  border-radius: var(--radius);
}
.ichimai-quote::before {
  content: "“";
  position: absolute;
  left: 1.6rem;
  top: 0.4rem;
  font-family: var(--font-display);
  font-size: 4.8rem;
  line-height: 1;
  color: var(--hb-sun);
}
.ichimai-quote cite { display: block; margin-top: 0.8rem; font-size: 1.2rem; font-style: normal; }
.ichimai-quote cite::before { content: "― "; }
.ichimai-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ichimai-table table { width: 100%; border-collapse: collapse; font-size: 1.4rem; background: var(--hb-white); border-radius: 1.2rem; overflow: hidden; }
.ichimai-table th, .ichimai-table td { padding: 1rem 1.2rem; border-bottom: 1px solid #efe8d8; text-align: left; vertical-align: top; line-height: 1.7; }
.ichimai-table th { background: var(--hb-sun-pale); font-weight: 700; }
.ichimai-table tr:last-child td { border-bottom: 0; }
.ichimai-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.ichimai-figure figcaption { margin-top: 0.8rem; font-size: 1.2rem; color: var(--hb-ink-soft); text-align: center; }
.ichimai-linkcard {
  display: flex;
  align-items: stretch;
  gap: 1.6rem;
  padding: 1.2rem;
  color: inherit !important;
  text-decoration: none;
  word-break: normal !important;
  background: var(--hb-white);
  border: 1px solid #e3dccb;
  border-radius: 1.2rem;
  transition: box-shadow 0.2s;
}
.ichimai-linkcard:hover { box-shadow: 0 6px 20px rgba(63, 66, 55, 0.12); }
.ichimai-linkcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.4rem; padding: 0.4rem; }
.ichimai-linkcard__title { font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ichimai-linkcard__desc { font-size: 1.2rem; color: var(--hb-ink-soft); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ichimai-linkcard__host { margin-top: auto; font-size: 1.1rem; color: var(--hb-sun-deep); }
.ichimai-linkcard__image { flex: none; width: 12rem; height: auto; aspect-ratio: 40 / 21; object-fit: cover; border-radius: 0.8rem; align-self: center; }
@media (max-width: 519px) { .ichimai-linkcard__image { width: 9rem; } }

/* ---------- footer ---------- */
.footer { margin-top: var(--gap); padding: 3.2rem 0 4rem; border-top: 1px solid #e3dccb; font-size: 1.3rem; color: var(--hb-ink-soft); text-align: center; }
.footer__small { font-size: 1.1rem; margin-top: 0.4rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
