/* ===== Tokens ===== */
:root {
  --green: #1a5c38;        /* ロゴのバンカーランプグリーン */
  --green-deep: #123f27;
  --green-pale: #e7ece6;   /* 名刺パネルの淡いグレーグリーン */
  --paper: #f7f4ec;        /* 生成りの紙色 */
  --ink: #23302a;
  --ink-soft: #5a6660;
  --brass: #b4914f;        /* ランプの真鍮・灯り */
  --line: #c9d3cb;
  --blue: #022e60;

  --font-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-serif-en: "Domine", "Shippori Mincho B1", Georgia, serif;
  --font-gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-gothic);
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--font-mincho); font-weight: 700; color: var(--green-deep); line-height: 1.5; }
.container { width: min(1080px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 244, 236, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-name { font-family: var(--font-mincho); font-weight: 700; color: var(--green-deep); font-size: 1rem; letter-spacing: 0.08em; }
.global-nav { display: flex; gap: 28px; }
.global-nav a {
  font-family: var(--font-mincho); font-size: 0.92rem; text-decoration: none; color: var(--ink);
  padding-block: 4px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.global-nav a:hover { color: var(--green); border-color: var(--green); }
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero { padding: 72px 0 88px; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 320px 1fr; gap: 72px; align-items: center; }
.hero-logo { position: relative; padding: 24px; }
.hero-logo img { position: relative; width: 100%; }
.lamp-glow {
  /* ランプシェード下に落ちる柔らかな灯り */
  position: absolute; left: 50%; top: 32%; width: 130%; aspect-ratio: 1;
  transform: translate(-50%, -30%);
  background: radial-gradient(closest-side, rgba(232, 200, 120, 0.42), rgba(232, 200, 120, 0) 70%);
  animation: glow 5s ease-in-out infinite alternate;
}
@keyframes glow { from { opacity: .7; } to { opacity: 1; } }
.eyebrow { font-family: var(--font-serif-en); color: var(--brass); letter-spacing: 0.2em; font-size: 0.85rem; margin: 0 0 8px; text-transform: uppercase; }
.hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 24px; letter-spacing: 0.08em; }
.lead { color: var(--ink-soft); margin: 0; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-title { font-size: 1.6rem; margin: 0 0 40px; letter-spacing: 0.12em; }
.section-title .en { display: block; font-family: var(--font-serif-en); font-weight: 400; color: var(--brass); font-size: 0.85rem; letter-spacing: 0.24em; text-transform: uppercase; }
.sub-title { font-size: 1.05rem; margin: 0 0 12px; letter-spacing: 0.1em; }

.biz-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.biz-index a {
  display: block; padding: 22px 24px; background: #fff; border: 1px solid var(--line);
  font-family: var(--font-mincho); font-weight: 700; color: var(--green-deep); text-decoration: none; font-size: 1.1rem;
  transition: background .2s, color .2s;
}
.biz-index a:hover { background: var(--green); color: #fff; }
.biz-index a.toycafe:hover { background: #943d2a; } /* カフェ欄の帯と同じえんじ色 */
.biz-index a.juku:hover { background: var(--blue); } /* 吉井塾の帯と同じ青 */
.biz-index .en { display: block; font-family: var(--font-serif-en); font-weight: 400; color: var(--brass); font-size: 0.8rem; }

/* 事業パネル：名刺の「左罫線＋淡いグリーン地」を踏襲 */
.biz { padding: 0 0 40px; }
.biz-panel { position: relative; background: var(--green-pale); padding: 48px 56px; }
.biz-title {
  margin: 0 0 28px; font-size: 2.5rem; letter-spacing: 0.08em;
  border-left: 8px solid var(--green); padding-left: 16px; line-height: 1.3;
}
.en-title { font-family: var(--font-serif-en); font-weight: 400; letter-spacing: 0.06em; }
.biz-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.biz-desc { font-family: var(--font-mincho); font-size: 1.2rem; margin: 0; padding-left: 24px; }
.info { margin: 0 0 20px; }
.info dt { font-size: 0.8rem; color: var(--ink-soft); }
.info dd { margin: 0; font-size: 1.05rem; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline {
  display: inline-block; padding: 8px 22px; border: 1px solid var(--green); color: var(--green);
  font-family: var(--font-serif-en); font-size: 0.9rem; text-decoration: none; background: transparent;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* 営業時間：名刺の点線罫を再現 */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 10px 12px; border-bottom: 1px dashed #8d9a92; text-align: left; font-weight: 500; }
.hours th { width: 5.5em; text-align: center; border-right: 1px dashed #8d9a92; white-space: nowrap; }
.hours tr.is-today { background: #fff; }
.hours tr.is-today th { color: var(--green); }
.hours tr.is-today th::after { content: "本日"; display: block; font-size: 0.7rem; color: var(--brass); line-height: 1; }

.mascot { position: absolute; right: 40px; top: -36px; width: 112px; }
.juku-points { display: grid; gap: 14px; }
.juku-points .tag { margin: 0; background: #fff; padding: 12px 20px; font-weight: 500; font-size: 1.05rem; }
.juku-points .point { margin: 0; padding: 0 4px; font-size: 0.95rem; }

/* ===== Company ===== */
.company-table { margin: 0 0 56px; border-top: 1px solid var(--line); }
.company-table > div { display: grid; grid-template-columns: 9em 1fr; border-bottom: 1px solid var(--line); }
.company-table dt { padding: 18px 8px; font-family: var(--font-mincho); font-weight: 700; color: var(--green-deep); }
.company-table dd { margin: 0; padding: 18px 8px; }
.en-sub { font-family: var(--font-serif-en); font-size: 0.85rem; color: var(--ink-soft); margin-left: .4em; }
.company-table dd .en-sub { margin-left: 0; }
.contact-title { margin-bottom: 16px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); padding: 20px 24px; }
.contact-card p { margin: 0; }
.contact-label { font-family: var(--font-mincho); font-weight: 700; color: var(--green-deep); }
.contact-name { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 8px !important; }
.contact-card a { font-family: var(--font-serif-en); text-decoration: none; word-break: break-all; }
.contact-card a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.site-footer { background: var(--green-deep); color: #e9eee8; padding: 48px 0 32px; font-size: 0.85rem; }
.footer-inner { display: grid; justify-items: center; text-align: center; gap: 12px; }
.footer-inner img { width: 72px; filter: brightness(0) invert(0.93); }
.footer-inner p { margin: 0; }
.copy { font-family: var(--font-serif-en); opacity: .7; margin-top: 12px !important; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lamp-glow { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-toggle {
    display: block; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: var(--green-deep); content: ""; transition: transform .25s, top .25s;
  }
  .nav-toggle-bar { top: 21px; }
  .nav-toggle-bar::before { left: 0; top: -7px; }
  .nav-toggle-bar::after { left: 0; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }
  .global-nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); display: none;
  }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 14px 16px; border-top: 1px solid var(--line); }

  .hero { padding: 48px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-logo { width: 200px; margin-inline: auto; }
  .hero h1 { font-size: 1.35rem; letter-spacing: 0.06em; }
  .pc-only { display: none; }

  .biz-index { grid-template-columns: 1fr; }
  .biz-panel { padding: 36px 20px; }
  .biz-title { font-size: 1.4rem; }
  .biz-grid { grid-template-columns: 1fr; gap: 28px; }
  .biz-desc { padding-left: 0; }
  .mascot { width: 80px; right: 16px; top: -28px; }
  #juku .biz-title { padding-right: 80px; }
  .hours th, .hours td { padding: 10px 8px; font-size: 0.92rem; }

  .company-table > div { grid-template-columns: 1fr; }
  .company-table dt { padding-bottom: 0; }
  .company-table dd { padding-top: 4px; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* ===== Instagram反映分 ===== */
.name-accent { color: var(--brass); }
.biz-lead { font-family: var(--font-mincho); font-size: 1.05rem; margin: -12px 0 28px; padding-left: 24px; color: var(--green-deep); }
.info dt:not(:first-child) { margin-top: 12px; }
@media (max-width: 860px) {
  .biz-lead { padding-left: 0; font-size: 0.98rem; }
  .biz-lead br { display: none; }
}

/* ===== 店舗ロゴ ===== */
.shop-logo { margin: 0 0 24px; }
.shop-logo--cafe { width: 100%; max-width: 360px; border-radius: 4px; }
.shop-logo--juku { 
    width: 270px;
    margin-left: 65px;
}
@media (max-width: 860px) {
  .shop-logo--cafe { max-width: none; }
  .shop-logo--juku { width: 160px; margin-inline: auto; }
}

/* ===== direct-order ===== */

#juku{
    background-color: #FFFFFF;
    border-top: solid 8px var(--blue);
    border-bottom: solid 8px var(--blue);
}
#juku .biz-panel{
    background-color: #FFFFFF;
}
#juku .biz-title{
    border-left: 8px solid var(--blue);
}
#juku h2{
    color: var(--blue);
}
#juku .biz-lead{
    color: var(--ink);
}
/* ===== 吉井塾：チラシ内容 ===== */
:root { --juku-yellow: #ecd901; }
.juku-badge {
  display: inline-block; margin: 0 0 12px; padding: 4px 14px;
  background: var(--juku-yellow); color: var(--blue); font-weight: 700; font-size: 0.9rem; border-radius: 999px;
}
.juku-more { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.juku-h3 { color: var(--blue); font-size: 1.1rem; margin: 28px 0 12px; }
.juku-h3--section { font-size: 1.4rem; margin: 64px 0 24px; padding-bottom: 8px; border-bottom: 3px solid var(--juku-yellow); display: inline-block; }

.juku-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.juku-catch { font-family: var(--font-mincho); font-weight: 700; color: var(--blue); font-size: 1.5rem; line-height: 1.7; margin: 0 0 20px; }
.juku-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.juku-chips li { background: var(--juku-yellow); color: var(--blue); font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: 0.9rem; }
.juku-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.juku-photos figure { margin: 0; }
.juku-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.juku-photo-note {
  position: absolute; left: -16px; top: -16px; margin: 0; width: 92px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 10px;
  background: var(--juku-yellow); color: var(--blue); font-weight: 700; font-size: 0.82rem; line-height: 1.4;
}

.juku-courses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.juku-courses li { border: 2px solid var(--blue); border-radius: 6px; padding: 24px 20px; text-align: center; }
.juku-courses p { margin: 0; }
.course-grade { font-family: var(--font-mincho); font-weight: 700; color: var(--blue); font-size: 1.3rem; }
.course-price { font-family: var(--font-serif-en); font-size: 1.6rem; color: var(--blue); line-height: 1.4; }
.course-price span { font-family: var(--font-gothic); font-size: 0.85rem; }
.course-goal { margin: 12px 0 !important; padding: 10px; background: var(--juku-yellow); color: var(--blue); font-weight: 700; border-radius: 4px; }
.course-subjects { font-size: 0.9rem; color: var(--ink-soft); }

.juku-time { display: flex; align-items: stretch; gap: 16px; margin-top: 24px; }
.juku-time-label { margin: 0; padding: 16px 20px; background: var(--blue); color: #fff; font-family: var(--font-mincho); font-weight: 700; display: grid; place-items: center; text-align: center; line-height: 1.5; }
.juku-time-label span { font-size: 0.85rem; }
.juku-time-options { flex: 1; display: flex; align-items: center; gap: 12px; }
.juku-time-options p:not(.juku-time-or) { flex: 1; margin: 0; border: 2px solid var(--blue); border-radius: 4px; overflow: hidden; text-align: center; }
.juku-time-options span { display: block; padding: 8px; font-size: 0.9rem; border-bottom: 1px dashed var(--blue); }
.juku-time-options strong { display: block; padding: 6px; background: var(--juku-yellow); color: var(--blue); font-family: var(--font-serif-en); font-size: 1.3rem; }
.juku-time-or { margin: 0; font-family: var(--font-serif-en); color: var(--blue); }
.juku-note { margin: 16px 0 0; font-size: 0.92rem; }
.juku-note small { color: var(--ink-soft); }

.juku-teacher { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; }
.teacher-name { font-family: var(--font-mincho); font-weight: 700; color: var(--blue); font-size: 1.5rem; margin: 0 0 12px; }
.teacher-profile { margin: 0; display: grid; grid-template-columns: 8em 1fr; }
.teacher-profile dt, .teacher-profile dd { padding: 10px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.teacher-profile dt { font-weight: 700; color: var(--blue); font-size: 0.9rem; }
.teacher-staff { margin: 20px 0 0; font-family: var(--font-mincho); font-weight: 700; color: var(--blue); font-size: 1.1rem; }

.juku-notices { list-style: none; margin: 56px 0 0; padding: 20px 24px; background: var(--blue); color: #fff; border-radius: 6px; display: grid; gap: 6px; }
.juku-notices li::before { content: "★"; color: var(--juku-yellow); margin-right: .5em; }

@media (max-width: 860px) {
  .juku-intro, .juku-teacher { grid-template-columns: 1fr; gap: 28px; }
  .juku-catch { font-size: 1.25rem; }
  .juku-photo-note { left: -6px; top: -12px; width: 80px; font-size: 0.75rem; }
  .juku-courses { grid-template-columns: 1fr; }
  .juku-time { flex-direction: column; }
  .juku-time-options { gap: 8px; }
  .juku-teacher img { width: 160px; margin-inline: auto; }
  .teacher-profile { grid-template-columns: 1fr; }
  .teacher-profile dt { border-bottom: 0; padding-bottom: 0; }
}

/* ===== 不動産：物件写真 ===== */
.estate-photo { position: relative; margin: 28px 0 0; }
.estate-photo img { width: 100%; border-radius: 4px; }
.estate-label {
  position: absolute; transform: translateX(-50%); white-space: nowrap;
  padding: 6px 16px; background: rgba(18, 63, 39, 0.88); color: #fff;
  font-family: var(--font-mincho); font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; border-radius: 2px;
}
.estate-label--left { left: 35%; bottom: 6%; }
.estate-label--right { left: 72%; bottom: 14%; }
@media (max-width: 860px) {
  .estate-label { padding: 3px 8px; font-size: 0.75rem; }
}

/* ===== 不動産：るり色横丁の紹介 ===== */
.estate-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.estate-detail-title { font-size: 1.3rem; margin-bottom: 16px; }
.estate-detail-text p { margin: 0 0 12px; }
.estate-detail-photo { margin: 0; }
.estate-detail-photo img { width: 80%; border-radius: 4px; }
@media (max-width: 860px) {
  .estate-detail { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
}
