/* ============ 基本 ============ */
:root {
  --theme: #84cad6;
  --theme-deep: color-mix(in srgb, var(--theme), #1f4a55 35%);
  --theme-soft: color-mix(in srgb, var(--theme), #fff 80%);
  --accent: #3e5a62;
  --text: #33454b;
  --muted: #6b7f85;
  --card: rgba(255, 255, 255, 0.94);
  --radius: 1.375rem;
  --shadow: 0 0.375rem 0 color-mix(in srgb, var(--theme), transparent 55%);
  --maxw: 65rem;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

/* サイト全体の大きさ（サイト全体の設定の「表示サイズ」で変えられる。100 が標準） */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: calc(var(--scale, 100) * 1%); }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text);
  line-height: 1.9;
  letter-spacing: 0.04em;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 背景画像（サイト全体の設定で「画面いっぱい」か「くり返し」を選べる） */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--bg-image);
}
body.bg-cover::before { background-size: cover; background-position: center; }
/* くり返しのときはページと一緒にスクロールする */
body.bg-repeat { background: #fff var(--bg-image) repeat 0 0 / var(--bg-tile, 31.25rem) auto; }
body.bg-repeat::before { display: none; }

img, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--theme-deep); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.skip {
  position: absolute; left: -624.9375rem; top: 0;
  background: var(--accent); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 0.375rem; }

/* ============ ヘッダー ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--theme);
  box-shadow: 0 3px 0 color-mix(in srgb, var(--theme), #000 8%);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .5rem 1rem; min-height: 3.75rem;
}
.site-header__brand {
  display: flex; align-items: center; gap: .5rem;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem;
  margin-right: auto;
}
.site-header__brand img { width: 2.25rem; height: 2.25rem; background: #fff; border-radius: 50%; padding: 2px; }
.site-header__brand .svg-text { height: 1.5rem; }
.site-header__brand:hover { color: #fff; opacity: .85; }

.svg-text { display: inline-block; vertical-align: middle; }
.svg-text svg { display: block; height: 100%; width: auto; }

/* メニューは画面幅に関係なく常にハンバーガー。右からスライドして出てくる */
.menu-toggle {
  position: relative; z-index: 70;
  display: flex; width: 2.875rem; height: 2.875rem; border: 0; border-radius: 50%;
  background: #fff; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 0.3125rem;
  transition: transform .2s;
}
.menu-toggle:hover { transform: scale(1.06); }
.menu-toggle span { display: block; width: 1.25rem; height: 0.15625rem; border-radius: 2px; background: var(--theme-deep); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.4688rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.4688rem) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 45; background: rgba(20, 45, 52, .35);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

.site-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  width: min(21.25rem, 86vw); overflow-y: auto;
  background: var(--theme); padding: 5.25rem 1.25rem 2rem;
  box-shadow: -0.5rem 0 1.5rem rgba(30, 70, 80, .2);
  transform: translateX(105%); visibility: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), visibility .35s;
}
.site-nav.is-open { transform: none; visibility: visible; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; flex-direction: column; gap: .3rem; }
.site-nav a {
  display: block; padding: .6rem 1.2rem; border-radius: 62.4375rem;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #fff; color: var(--theme-deep); }
.site-nav li ul { margin: .1rem 0 .2rem 1.2rem; display: flex; flex-direction: column; gap: .1rem; }
.site-nav li ul a { font-size: .95rem; padding: .4rem 1rem; }
.site-nav li ul a::before { content: "└ "; opacity: .7; }
.site-nav__sns { margin-top: 1.5rem; }
.site-nav__sns .sns a { background: #fff; color: var(--theme-deep); }
body.nav-open { overflow: hidden; }

/* ============ メイン ============ */
.site-main {
  flex: 1;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 2rem 1rem 4rem;
  display: flex; flex-direction: column; gap: 2rem;
}

.page-head { text-align: center; padding-top: 1rem; }

.ttl { margin: 0; color: var(--accent); font-weight: 700; line-height: 1.3; text-align: center; }
.ttl .svg-text { max-width: 100%; }
.ttl--h1 { font-size: 2.2rem; }
.ttl--h1 .svg-text { height: clamp(2.4rem, 7vw, 3.4rem); }
.ttl--h2, .ttl--p { font-size: 1.6rem; }
.ttl--h2 .svg-text, .ttl--p .svg-text { height: clamp(1.9rem, 5vw, 2.4rem); }
.page-head .ttl::after, .block-heading .ttl::after {
  content: ""; display: block; width: 4.5rem; height: 0.375rem; margin: .7rem auto 0;
  background: radial-gradient(circle, var(--theme) 2.6px, transparent 3px) 0 0 / 0.75rem 0.375rem repeat-x;
}
.block-heading { margin-top: 1.5rem; }
.block-heading__sub { text-align: center; color: var(--muted); margin: .4rem 0 0; }

.card {
  background: var(--card);
  border: 3px solid var(--theme);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1em; }
.prose h2 { color: var(--accent); font-size: 1.35rem; text-align: center; margin: 0 0 1.25em; }
.prose h3 {
  color: var(--accent); font-size: 1.08rem; margin: 2em 0 .6em;
  padding: .3em .8em; background: var(--theme-soft); border-radius: 0.625rem;
  border-left: 0.375rem solid var(--theme);
}
.prose ol, .prose ul { padding-left: 1.6em; margin: 0 0 1em; }
.prose li { margin: .2em 0; }
.prose li > ul { margin: .3em 0; }

.align-center { text-align: center; }
.align-left { text-align: left; }
.block-text { max-width: 47.5rem; margin: 0 auto; width: 100%; }
.block-text:not(.card) { font-size: 1.05rem; }
.card--article { max-width: 55rem; font-size: .98rem; }

/* ============ HOME ============ */
.hero { text-align: center; padding: 1.5rem 0 .5rem; }
.hero__name { display: inline-flex; align-items: flex-end; gap: .5rem; }
.hero__title { margin: 0; color: var(--accent); font-size: 4rem; line-height: 1; }
.hero__title .svg-text { height: clamp(3.8rem, 13vw, 5.5rem); }
.hero__mascot { width: clamp(4rem, 16vw, 6.25rem); height: auto; animation: bob 3s ease-in-out infinite; }
.hero__tagline { margin: .8rem 0 1.2rem; color: var(--accent); font-size: 1.4rem; }
.hero__tagline .svg-text { height: clamp(1.4rem, 4.2vw, 2.2rem); max-width: 100%; }
@keyframes bob { 50% { transform: translateY(-0.375rem) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .hero__mascot { animation: none; } }

/* ============ SNS ============ */
.sns { list-style: none; display: flex; justify-content: center; gap: .9rem; margin: 0; padding: 0; }
.sns a {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--theme); color: #fff; transition: transform .2s, background .2s;
}
.sns a:hover { transform: translateY(-3px); background: var(--theme-deep); color: #fff; }
.sns svg { width: 1.5rem; height: 1.5rem; }

/* ============ ボタン類 ============ */
.bubble-buttons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.5rem; }
.bubble-buttons a { display: block; width: min(18.75rem, 80vw); transition: transform .2s; }
.bubble-buttons a:hover { transform: translateY(-3px) rotate(-1deg); }
.bubble-buttons img { mix-blend-mode: multiply; }

.links { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1rem; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 3rem; padding: .6rem 1.8rem; border-radius: 62.4375rem;
  background: #fff; border: 3px solid var(--theme); color: var(--theme-deep);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  box-shadow: 0 0.25rem 0 var(--theme); transition: transform .15s, box-shadow .15s;
}
.pill:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--theme); color: var(--accent); }
.pill--submit { background: var(--theme); color: #fff; box-shadow: 0 0.25rem 0 var(--theme-deep); border-color: var(--theme); min-width: 12rem; }
.pill--submit:hover { color: #fff; box-shadow: 0 2px 0 var(--theme-deep); }
.pill--submit:disabled { opacity: .6; cursor: wait; }

/* ============ 画像・動画 ============ */
.image-grid {
  list-style: none; margin: 0 auto; padding: 0; width: 100%;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
}
.image-grid.width-narrow { max-width: 45rem; }
.image-grid.width-wide { max-width: none; }
.image-grid img { width: 100%; border-radius: 0.875rem; background: #fff; }
.image-grid:not([style*="--cols:7"]) img { box-shadow: 0 0.25rem 1rem rgba(30, 70, 80, .12); }
@media (max-width: 760px) {
  .image-grid { grid-template-columns: repeat(min(var(--cols), 2), minmax(0, 1fr)); }
  .image-grid[style*="--cols:3"] { grid-template-columns: 1fr; }
  .image-grid[style*="--cols:7"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.zoomable { cursor: zoom-in; transition: transform .2s; }
.zoomable:hover { transform: scale(1.015); }
.caption { text-align: center; color: var(--muted); font-size: .9rem; margin: .5rem 0 0; }

.video-frame { margin: 0 auto; width: 100%; max-width: 56.25rem; }
.video-frame video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000;
  border-radius: var(--radius); border: 3px solid var(--theme); box-shadow: var(--shadow);
}
.video-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem; grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
}
.video-grid .video-frame video { border-radius: 1rem; border-width: 2px; }
@media (max-width: 760px) { .video-grid { grid-template-columns: 1fr; } }

/* ============ About ============ */
.profile-card { display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; align-items: center; max-width: 53.75rem; margin: 0 auto; }
.profile-card__img { width: 100%; border-radius: 50%; background: var(--theme-soft); border: 3px solid var(--theme); }
.profile-card__sign { margin: 1.5rem 0 0; font-weight: 700; font-size: 1.3rem; color: var(--accent); text-align: right; }
.profile-card__sign small { font-size: .8rem; margin-left: .6em; color: var(--muted); letter-spacing: .15em; }
@media (max-width: 680px) {
  .profile-card { grid-template-columns: 1fr; text-align: center; }
  .profile-card__img { width: 11.25rem; margin: 0 auto; }
  .profile-card__sign { text-align: center; }
}

/* ============ GALLERY ============ */
.clients {
  list-style: none; margin: 0 auto; padding: 0; width: 100%; max-width: 51.25rem;
  display: grid; gap: 1.25rem; grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
}
.client { display: flex; flex-direction: column; align-items: center; text-align: center; padding: .9rem .9rem 1rem; }
.client__img { width: 100%; max-width: 11.875rem; border-radius: 0.875rem; aspect-ratio: 178 / 159; object-fit: cover; object-position: 50% 15%; }
.client__name { margin: .7rem 0 .6rem; font-weight: 700; font-size: 1rem; color: var(--accent); line-height: 1.4; }
.client__links { list-style: none; margin: auto 0 0; padding: 0; display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.client__links a {
  display: grid; place-items: center; width: 2.375rem; height: 2.375rem; border-radius: 0.6875rem;
  background: var(--theme); color: #fff; transition: transform .2s;
}
.client__links a:hover { transform: translateY(-2px); color: #fff; background: var(--theme-deep); }
.client__links svg { width: 1.25rem; height: 1.25rem; }
@media (max-width: 560px) {
  .clients { gap: .6rem; }
  .client { padding: .5rem .5rem .7rem; border-width: 2px; }
  .client__name { font-size: .8rem; margin: .5rem 0 .4rem; }
  .client__links { gap: .25rem; }
  .client__links a { width: 1.875rem; height: 1.875rem; border-radius: 0.5rem; }
  .client__links svg { width: 1rem; height: 1rem; }
}

/* ============ スライド ============ */
.slider { position: relative; width: 100%; }
.slider__track {
  list-style: none; margin: 0; padding: 0.375rem 2px 0.625rem;
  display: flex; gap: 0.875rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__item { flex: 0 0 auto; scroll-snap-align: start; }
.slider--single img { border-radius: 0.875rem; background: #fff; }
.slider__title { margin: .4rem 0 0; text-align: center; font-size: .85rem; font-weight: 700; color: var(--accent); }

/* 高さそろえ（横並び） */
/* 立ち絵は透過のまま、背景の方眼の上にそのまま立たせる */
.slider--row img { height: var(--h); width: auto; max-width: none; background: none; filter: drop-shadow(0 0.25rem 0.5rem rgba(30, 70, 80, .15)); }
.slider--row .slider__track { gap: 1.5rem; }
@media (max-width: 760px) { .slider--row img { height: calc(var(--h) * .7); } }

/* 1枚ずつ */
.slider--single { max-width: 40rem; margin: 0 auto; }
.slider--single .slider__track { gap: 0; padding: 0; }
.slider--single .slider__item { flex: 0 0 100%; scroll-snap-align: center; }
.slider--single img { width: 100%; box-shadow: 0 0.25rem 1rem rgba(30, 70, 80, .12); }
.slider__dots { display: flex; justify-content: center; gap: .5rem; margin-top: .8rem; }
.slider__dots button {
  width: 0.75rem; height: 0.75rem; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--theme); background: #fff;
}
.slider__dots button[aria-current="true"] { background: var(--theme); }

.slider__btn {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 2.875rem; height: 2.875rem; border-radius: 50%; cursor: pointer;
  border: 3px solid var(--theme); background: rgba(255, 255, 255, .95); color: var(--theme-deep);
  font-size: 1.8rem; line-height: 1; padding: 0 0 0.25rem;
  box-shadow: 0 3px 0 var(--theme); transition: opacity .2s, transform .2s;
}
.slider__btn:hover { transform: translateY(-50%) scale(1.08); }
.slider__btn--prev { left: -0.5rem; }
.slider__btn--next { right: -0.5rem; }
.slider__btn[disabled] { opacity: 0; pointer-events: none; }
.slider--single .slider__btn { top: calc(50% - 0.75rem); }
@media (max-width: 560px) { .slider__btn { width: 38px; height: 38px; font-size: 1.5rem; } .slider__btn--prev { left: 2px; } .slider__btn--next { right: 2px; } }

/* ============ お知らせ ============ */
.news-block { display: flex; flex-direction: column; gap: 1.25rem; }
/* 一覧はブログのカード形式 */
.news-list {
  list-style: none; margin: 0 auto; padding: 0; width: 100%;
  display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(16.25rem, 1fr));
}
.news-item {
  display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden;
  text-decoration: none; color: var(--text); transition: transform .2s;
}
.news-item:hover { transform: translateY(-3px); color: var(--text); }
.news-item__thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; background: #fff; }
.news-item__thumb--empty { display: grid; place-items: center; background: var(--theme-soft); }
.news-item__thumb--empty img { width: 4.5rem; }
.news-item__body { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1.1rem 1.1rem; }
.news-item time { font-size: .82rem; color: var(--muted); }
.news-item__title { font-weight: 700; font-size: 1.05rem; line-height: 1.5; color: var(--accent); }
.news-item__excerpt { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* 記事ページ */
.post { max-width: 50rem; margin: 0 auto; width: 100%; }
.post__head { text-align: center; border-bottom: 3px dotted var(--theme); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.post__date { color: var(--muted); font-size: .9rem; }
.post__title { margin: .2rem 0 0; color: var(--accent); font-size: 1.5rem; line-height: 1.5; }
.post__thumb { width: 100%; border-radius: 0.875rem; margin-bottom: 1.5rem; }
.post__body img { border-radius: 0.875rem; margin: 1rem auto; box-shadow: 0 0.25rem 1rem rgba(30, 70, 80, .12); }
.post__gallery {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr));
}
.post__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.75rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 50rem; margin: 0 auto; width: 100%; }
.post-nav__link { padding: .8rem 1.1rem; text-decoration: none; color: var(--accent); font-weight: 700; font-size: .95rem; display: flex; flex-direction: column; }
.post-nav__link small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.post-nav__link--older { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--older { grid-column: 1; } }

/* ============ お問い合わせ ============ */
.contact { max-width: 45rem; margin: 0 auto; width: 100%; }
.contact .ttl { margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field > span { font-weight: 700; color: var(--accent); }
.field em { font-style: normal; font-size: .75rem; background: var(--theme); color: #fff; border-radius: 62.4375rem; padding: .1em .7em; margin-left: .4em; vertical-align: middle; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); width: 100%;
  padding: .7rem .9rem; border: 2px solid color-mix(in srgb, var(--theme), #fff 30%); border-radius: 0.875rem; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--theme-deep); box-shadow: 0 0 0 0.25rem var(--theme-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: .6rem; align-items: center; justify-content: center; font-weight: 700; }
.check input { width: 1.375rem; height: 1.375rem; accent-color: var(--theme-deep); }
.contact-form .pill--submit { align-self: center; }
.contact-form__status { text-align: center; color: #b3413a; margin: 0; }
.contact-thanks { text-align: center; font-size: 1.1rem; padding: 1rem 0; }

/* ============ その他 ============ */
.spacer--s { height: .5rem; }
.spacer--m { height: 2rem; }
.spacer--l { height: 5rem; }

.lightbox {
  border: 0; padding: 0; background: transparent; overflow: visible;
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: color-mix(in srgb, var(--theme-soft), #fff 35%); opacity: .97; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 3.5rem 4rem 2.5rem; max-height: 100dvh; }
.lightbox img { max-width: calc(100vw - 8rem); max-height: calc(100dvh - 12.5rem); width: auto; background: none; filter: drop-shadow(0 0.375rem 1rem rgba(30, 70, 80, .18)); }
.lightbox__info {
  background: #fff; border: 3px solid var(--theme); border-radius: 1rem;
  padding: .7rem 1.4rem; text-align: center; max-width: min(35rem, 90vw);
}
.lightbox__title { margin: 0; font-weight: 700; color: var(--accent); font-size: 1.1rem; }
.lightbox__desc { margin: .2rem 0 0; font-size: .92rem; white-space: pre-line; }
.lightbox__desc:empty { display: none; }
.lightbox__link { margin-top: .6rem; min-height: 2.5rem; padding: .3rem 1.2rem; font-size: .9rem; }
.lightbox__close, .lightbox__nav {
  position: fixed; width: 3rem; height: 3rem; border-radius: 50%;
  border: 3px solid var(--theme); background: #fff; color: var(--theme-deep);
  font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 0 3px;
}
.lightbox__close { top: 0.875rem; right: 0.875rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox__nav--prev { left: 0.625rem; }
.lightbox__nav--next { right: 0.625rem; }
.lightbox__count { position: fixed; top: 1.375rem; left: 0; right: 0; margin: 0; text-align: center; color: var(--accent); font-weight: 700; font-size: .9rem; pointer-events: none; }
@media (max-width: 560px) {
  .lightbox__figure { padding: 4rem 0.75rem 1.5rem; }
  .lightbox img { max-width: calc(100vw - 1.5rem); max-height: calc(100dvh - 14.375rem); }
  .lightbox__nav { top: auto; bottom: 1rem; transform: none; }
}

.site-footer {
  background: var(--theme); color: #fff; text-align: center;
  padding: 1.75rem 1rem 1.25rem;
}
.site-footer .sns a { background: #fff; color: var(--theme-deep); }
.site-footer .sns a:hover { background: var(--accent); color: #fff; }
.site-footer__copy { margin: 1rem 0 0; font-size: .85rem; letter-spacing: .1em; }

/* ============ 動画プレーヤー（大1つ＋サムネイル） ============ */
.vplayer { width: 100%; max-width: 56rem; margin: 0 auto; }
.vplayer__main { position: relative; }
.vplayer__main video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000;
  border-radius: var(--radius); border: 3px solid var(--theme); box-shadow: var(--shadow);
}
.vplayer__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: .5em;
  padding: .6rem 1.6rem; border: 0; border-radius: 999px; cursor: pointer;
  background: color-mix(in srgb, var(--theme), transparent 10%); color: #fff;
  font: inherit; font-weight: 700; font-size: 1rem; box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, .2);
  transition: transform .2s, background .2s;
}
.vplayer__play:hover { transform: translate(-50%, -50%) scale(1.06); background: var(--theme-deep); }
.vplayer__title { margin-top: .6rem; }
.vplayer__thumbs-wrap { margin-top: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.vplayer__thumbs-wrap::-webkit-scrollbar { display: none; }
.vplayer__thumbs { list-style: none; margin: 0; padding: .25rem 0; display: flex; gap: .75rem; }
.vplayer__thumbs li { flex: 0 0 calc((100% - .75rem * (var(--per) - 1)) / var(--per)); scroll-snap-align: start; }
.vplayer__thumb {
  display: block; width: 100%; padding: 0; border: 3px solid transparent; border-radius: .75rem;
  background: none; cursor: pointer; overflow: hidden; opacity: .75; transition: opacity .2s, border-color .2s;
}
.vplayer__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vplayer__thumb:hover { opacity: 1; }
.vplayer__thumb[aria-current="true"] { opacity: 1; border-color: var(--theme); }
.vplayer__pager { display: flex; justify-content: space-between; margin-top: .5rem; }
.vplayer__pager button {
  border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700;
  color: var(--theme-deep); padding: .4rem .2rem; letter-spacing: .1em;
}
.vplayer__pager button:hover { color: var(--accent); }
.vplayer__pager button[disabled] { visibility: hidden; }
@media (max-width: 560px) { .vplayer { --per: 2 !important; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
