:root {
  --ink: #1d1b19;
  --sub: #6b645d;
  --bg: #fff;
  --soft: #f5f3f0;
  --line: #e4dfd8;
  --brown: #442606;
  --orange: #e39a2e;
  --header: #0b0b0b;
  --line-green: #06c755;
  --serif: "Noto Serif JP", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.9 var(--sans); letter-spacing: .03em; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.6; letter-spacing: .08em; }
.center { text-align: center; }
.small { font-size: 13px; color: var(--sub); }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--header); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.site-logo img { width: 120px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { color: #fff; text-decoration: none; font-size: 14px; padding: 6px 10px; display: block; }
.site-nav a[aria-current] { color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: 12px; }
.site-nav .btn { padding: 8px 16px; font-size: 13px; }
.nav-toggle { display: none; }
@media (max-width: 980px) {
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
  .nav-toggle span { height: 2px; background: #fff; transition: .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: var(--header-h) 0 0; background: rgba(11, 11, 11, .97); flex-direction: column; justify-content: center; gap: 24px; opacity: 0; visibility: hidden; transition: .3s; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; text-align: center; }
  .site-nav a { font-size: 17px; padding: 10px; font-family: var(--serif); }
  .site-nav .btn { font-size: 15px; padding: 12px 28px; }
}

/* ---- buttons ---- */
.btn { display: inline-block; text-decoration: none; border-radius: 999px; padding: 12px 32px; font-size: 15px; font-weight: 600; letter-spacing: .08em; transition: opacity .2s, background .2s, color .2s; }
.btn:hover { opacity: .85; }
.btn--line { background: var(--line-green); color: #fff; }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); font-weight: 400; }
.btn--ghost:hover { background: var(--ink); color: #fff; opacity: 1; }
.btn--lg { padding: 16px 40px; font-size: 16px; margin: 8px 0; }

/* ---- hero ---- */
.hero { position: relative; height: calc(100svh - var(--header-h)); min-height: 460px; max-height: 860px; overflow: hidden; background: #222; display: grid; place-items: center; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; animation: heroFade 24s infinite; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.hero__slide p { position: absolute; z-index: 1; left: 0; right: 0; bottom: 18%; text-align: center; color: #fff; font: 500 clamp(15px, 2.2vw, 20px)/1.8 var(--serif); letter-spacing: .15em; margin: 0; }
.hero__slide:nth-child(2) { animation-delay: 6s; }
.hero__slide:nth-child(3) { animation-delay: 12s; }
.hero__slide:nth-child(4) { animation-delay: 18s; }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1.06); } 4% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.hero__title { position: relative; z-index: 2; color: #fff; text-align: center; font-size: clamp(28px, 5vw, 48px); letter-spacing: .2em; margin: 0 0 6vh; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.hero__down { position: absolute; z-index: 2; bottom: 24px; left: 50%; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; background: #000; }
.hero__down::after { content: ""; position: absolute; left: 16px; top: 13px; width: 10px; height: 10px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .hero__slide { animation: none; } .hero__slide:first-child { opacity: 1; } }

/* ---- home ---- */
.intro { text-align: center; padding: 80px 20px 40px; }
.intro h2 { font-size: clamp(22px, 3.4vw, 32px); margin: 0 0 24px; }
.points { list-style: none; padding: 0; margin: 40px auto 0; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.points li { width: 140px; height: 140px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-content: center; font-size: 13px; line-height: 1.6; }
.points b { display: block; font: 500 26px/1.3 var(--serif); color: var(--orange); }
.concept { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.concept__strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.concept__strip img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.concept__box { background: var(--soft); padding: 56px 24px; text-align: center; }
.concept__box h2 { color: var(--brown); font-size: clamp(20px, 3vw, 28px); margin: 0 0 24px; }
.cards { max-width: 1100px; margin: 80px auto; padding: 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { text-decoration: none; color: var(--ink); text-align: center; }
.card img { aspect-ratio: 740 / 520; object-fit: cover; width: 100%; transition: transform .5s; }
.card:hover img { transform: scale(1.03); }
.card__en, .section-en, .page-head__en { font: italic 400 15px var(--serif); color: var(--orange); letter-spacing: .15em; margin: 20px 0 0; }
.card h3 { font-size: 20px; margin: 0 0 8px; }
.card p:last-child { font-size: 14px; color: var(--sub); text-align: left; }
.news { max-width: 1100px; margin: 80px auto; padding: 0 20px; text-align: center; }
.news h2 { margin: 0 0 32px; font-size: 26px; }
@media (max-width: 760px) {
  .concept__strip { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; gap: 48px; margin: 56px auto; }
  .concept__box { padding: 40px 20px; }
}

/* ---- blog cards ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; margin-bottom: 32px; }
.post-card { text-decoration: none; color: var(--ink); }
.post-card__img { position: relative; aspect-ratio: 590 / 380; overflow: hidden; background: var(--soft); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card__img img.is-logo { object-fit: contain; padding: 12px; }
.post-card:hover img { transform: scale(1.04); }
.post-card time { position: absolute; left: 0; top: 0; background: #000; color: #fff; text-align: center; width: 64px; padding: 8px 0; font-size: 11px; line-height: 1.3; letter-spacing: .1em; }
.post-card time b { display: block; font: 500 22px var(--serif); }
.post-card time small { display: block; font-size: 10px; }
.post-card h3 { font: 600 15px/1.6 var(--sans); margin: 12px 0 0; letter-spacing: .03em; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }
@media (min-width: 761px) and (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- sub pages ---- */
.page { max-width: 1000px; margin: 0 auto; padding: 0 20px 64px; }
.page-head { text-align: center; padding: 56px 0 24px; }
.page-head__en { margin: 0; text-transform: uppercase; }
.page-head h1 { font-size: clamp(24px, 3.6vw, 32px); margin: 4px 0 0; }
.page h2 { font-size: 22px; text-align: center; margin: 64px 0 24px; }
.lead { font: 500 clamp(18px, 2.6vw, 22px)/1.8 var(--serif); text-align: center; color: var(--brown); margin: 8px 0 24px; }

.features { display: grid; gap: 56px; margin-top: 48px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature:nth-child(even) > img { order: 2; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature h2 { text-align: left; margin: 0 0 12px; }
.feature ul { padding-left: 1.2em; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; gap: 16px; } .feature:nth-child(even) > img { order: 0; } }
.equip ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.equip li { background: var(--soft); padding: 12px 16px; text-align: center; font-size: 14px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: 13px; color: var(--sub); margin-top: 6px; line-height: 1.6; }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.plan { border: 1px solid var(--line); text-align: center; padding: 24px 12px; }
.plan p { margin: 0; font-size: 14px; color: var(--sub); }
.plan b { font: 500 32px/1.4 var(--serif); color: var(--brown); }
.plan small { font-size: 13px; margin-left: 2px; }
@media (max-width: 600px) { .plan-cards { grid-template-columns: 1fr; } .plan { padding: 16px; } }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 14px 12px; text-align: left; vertical-align: top; }
.table thead th { background: var(--soft); font-weight: 600; }
.table tbody th { white-space: nowrap; font-weight: 600; }
.table td:last-child { white-space: nowrap; text-align: right; }
.table--narrow { max-width: 420px; margin: 0 auto; }
@media (max-width: 600px) {
  .table thead { display: none; }
  .table tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); padding: 12px 4px; }
  .table th, .table td { border: 0; padding: 0; }
  .table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 12px; color: var(--sub); margin-top: 4px; }
}

.calendar iframe, .map iframe { width: 100%; height: 600px; border: 1px solid var(--line); display: block; }
.calendar { margin: 32px 0; }
@media (max-width: 600px) { .calendar iframe { height: 520px; } }
.access { display: grid; gap: 32px; margin-top: 32px; }
.map iframe { height: 420px; border: 0; }

.dl { display: grid; grid-template-columns: 200px 1fr; margin: 32px 0; border-top: 1px solid var(--line); }
.dl dt, .dl dd { margin: 0; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.dl dt { font-weight: 600; background: var(--soft); }
@media (max-width: 600px) { .dl { grid-template-columns: 1fr; } .dl dt { border-bottom: 0; padding-bottom: 6px; } }

.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 32px 0 0; }
.tabs a { border: 1px solid var(--line); padding: 8px 18px; text-decoration: none; color: var(--ink); font-size: 14px; }
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; }
.steps li { counter-increment: s; min-width: 0; position: relative; display: flex; flex-direction: column; background: var(--soft); border-radius: 12px; padding: 14px; }
/* 次の手順への三角（PC・タブレットは右向き、段の最後には付けない） */
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -24px; top: 50%; transform: translateY(-50%); border-style: solid; border-width: 10px 0 10px 14px; border-color: transparent transparent transparent var(--orange); }
.steps li:nth-child(4n)::after { display: none; }
.steps p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; min-height: 3.2em; display: flex; gap: 8px; align-items: flex-start; }
.steps p::before { content: counter(s); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 12px; margin-top: 1px; }
.steps li > a:not(.btn), .steps__first .steps__box { margin-top: auto; aspect-ratio: 3 / 4; background: #fff; border-radius: 8px; overflow: hidden; display: grid; place-items: center; }
.steps img { width: 100%; height: 100%; object-fit: contain; }
.steps__first .steps__box { padding: 12px; text-align: center; }
.steps__first .steps__box img { width: 72px; height: auto; margin: 0 auto 12px; }
.steps__first .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li:nth-child(4n)::after { display: block; }
  .steps li:nth-child(3n)::after, .steps li:last-child::after { display: none; }
}
/* スマホは1列で上から下へ。三角は下向き */
@media (max-width: 600px) {
  .steps { grid-template-columns: minmax(0, 340px); justify-content: center; gap: 40px; }
  .steps li:not(:last-child)::after, .steps li:nth-child(3n):not(:last-child)::after { display: block; right: auto; left: 50%; top: auto; bottom: -30px; transform: translateX(-50%); border-width: 14px 10px 0 10px; border-color: var(--orange) transparent transparent transparent; }
  .steps p { min-height: 0; font-size: 15px; }
  .steps li > a:not(.btn) { aspect-ratio: auto; }
  .steps li > a:not(.btn) img { height: auto; max-height: 420px; }
  .steps__first .steps__box { aspect-ratio: auto; padding: 20px; }
}

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.contact__item { background: var(--soft); padding: 32px 24px; text-align: center; }
.contact__item h2 { margin: 0 0 8px; }
.contact__item .btn--lg { padding: 14px 24px; font-size: 15px; word-break: break-all; }
@media (max-width: 700px) { .contact { grid-template-columns: 1fr; } }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { text-align: left; font-size: 18px; margin: 40px 0 8px; }

/* ---- blog post ---- */
.post { max-width: 720px; margin: 0 auto; }
.post__meta { text-align: center; color: var(--sub); margin: -8px 0 32px; }
.post h2 { text-align: left; font-size: 20px; border-left: 3px solid var(--orange); padding-left: 12px; margin: 40px 0 16px; }
.post figure { margin: 24px 0; }
.post figure img { max-height: 520px; width: auto; margin: 0 auto; }
.post__pager { display: flex; justify-content: space-between; gap: 16px; margin: 56px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.post__pager a { text-decoration: none; }

/* ---- cta / footer ---- */
.cta { position: relative; background: url(/img/pxl_20230524_071211101-sm.webp) center / cover; color: #fff; text-align: center; padding: 88px 20px; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(20, 12, 4, .6); }
.cta__inner { position: relative; }
.cta h2 { font-size: clamp(24px, 3.6vw, 32px); margin: 0 0 12px; }
.site-footer { background: var(--header); color: #bbb; text-align: center; padding: 56px 20px 100px; font-size: 13px; }
.site-footer img { margin: 0 auto 16px; width: 150px; }
.footer-nav { list-style: none; padding: 0; margin: 24px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav--sub { margin: 12px 0 24px; }
.footer-nav--sub a { color: #999; font-size: 12px; }
.fab { position: fixed; z-index: 40; right: 16px; bottom: 16px; background: var(--line-green); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 14px 22px; border-radius: 999px; box-shadow: 0 4px 16px rgba(0, 0, 0, .25); transform: translateY(120px); transition: transform .3s; }
.fab.is-shown { transform: none; }
@media (max-width: 600px) { .fab { left: 16px; right: 16px; text-align: center; } }

/* ---- lightbox ---- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; }
.lightbox p { color: #fff; text-align: center; margin: 8px 0 0; font-size: 14px; }
.feature img.is-plan { aspect-ratio: auto; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.btn { white-space: nowrap; }
p, h1, h2, h3, li, dd, figcaption { word-break: auto-phrase; }

.faq { max-width: 760px; margin: 0 auto; }
.faq h2 { text-align: left; font-size: 18px; margin: 48px 0 12px; padding-left: 12px; border-left: 3px solid var(--orange); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 32px; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 4px; top: 15px; font: 500 17px var(--serif); color: var(--orange); }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 24px; width: 8px; height: 8px; border: solid var(--sub); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details p { margin: 0 0 18px; padding: 14px 16px 14px 32px; background: var(--soft); position: relative; }
.faq details p::before { content: "A"; position: absolute; left: 12px; top: 13px; font: 500 17px var(--serif); color: var(--brown); }

/* ---- 旧サイトと同じ、写真入りのページ見出し ---- */
.page-head { position: relative; margin: 0 -20px 40px; padding: 72px 20px 64px; color: #fff; background: url(/img/pxl_20230507_115000949-1-1-sm.webp) center / cover; }
.page-head::before { content: ""; position: absolute; inset: 0; background: rgba(20, 12, 4, .55); }
.page-head > * { position: relative; }
.page-head__en { color: #f3c27a; }
.page-head__tag { font: 500 clamp(15px, 2.2vw, 18px)/1.8 var(--serif); letter-spacing: .12em; margin: 10px 0 0; }
@media (min-width: 1040px) { .page-head { margin: 0 calc(500px - 50vw) 48px; } }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 48px 0 0; font-size: 13px; }
.share span { color: var(--sub); margin-right: 4px; }
.share a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); }
.related { margin-top: 48px; }
.related h2 { border-left: 0; padding-left: 0; text-align: center; }
.related .post-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .related .post-grid { grid-template-columns: 1fr; } }
body { overflow-x: clip; }
