/*
Theme Name: Umi Resin Luxe（海レジン工房）
Description: 海のレジン商品・アフターブーケ・講習の3本柱で構成する、深い海の青とゴールドでまとめた高級感のある企業サイト向けオリジナルテーマ。
Version: 1.13.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: umi-resin-luxe
Tags: one-column, custom-logo, custom-menu, featured-images
*/

/* ============================================================
   0. 変数・リセット
============================================================ */
:root {
  --abyss: #071a2a;          /* 深海のマリンブルー(背景) */
  --deep: #0a2c44;           /* 海底の青 */
  --tide: #1e6b90;           /* 中層ブルー */
  --tide-light: #3fa3c4;     /* 浅いアクアブルー */
  --foam: #dcedf2;           /* 白泡 */
  --gold: #c8a35f;           /* ゴールド */
  --gold-soft: rgba(200, 163, 95, .38);
  --ivory: #f2f1ec;          /* アイボリー(文字) */
  --ivory-dim: rgba(242, 241, 236, .68);
  --ink: #122b33;            /* 明るい背景上の文字色 */
  --serif: 'Shippori Mincho B1', 'Shippori Mincho', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --ease: cubic-bezier(.25, .8, .25, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--abyss);
  color: var(--ivory);
  line-height: 1.9;
  font-size: 15px;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }
time { font-variant-numeric: tabular-nums; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 4%; }

.sp-only { display: none; }

/* スクリーンリーダー用 */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--abyss); padding: 10px 20px;
}
.skip-link:focus { left: 0; }

/* フォーカス(キーボード操作) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* スクロール出現アニメーション */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   1. ボタン
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 250px; padding: 17px 38px;
  font-size: .84rem; letter-spacing: .24em; text-indent: .24em;
  border: 1px solid var(--gold); color: var(--ivory);
  position: relative; z-index: 1; overflow: hidden;
  transition: color .45s var(--ease);
  cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.btn:hover { color: var(--abyss); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--solid { background: var(--gold); color: var(--abyss); }
.btn--solid::before { background: var(--ivory); }

/* ============================================================
   2. ヘッダー
============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 20, 31, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--gold-soft);
}
.header-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 4%;
  height: 78px; display: flex; align-items: center; justify-content: space-between;
}
.site-logo { display: inline-flex; align-items: center; gap: 13px; }
.logo-wave { width: 36px; color: var(--gold); flex: none; }
.site-title {
  font-family: var(--serif); font-size: 1.22rem; font-weight: 500;
  letter-spacing: .16em; color: var(--ivory);
}
.custom-logo { max-height: 54px; width: auto; }

.nav-menu { display: flex; gap: 2.5rem; }
.nav-menu a {
  font-size: .8rem; letter-spacing: .18em; color: var(--ivory-dim);
  position: relative; padding: 6px 0; transition: color .35s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .4s var(--ease);
}
.nav-menu a:hover, .nav-menu .current-menu-item > a { color: var(--ivory); }
.nav-menu a:hover::after, .nav-menu .current-menu-item > a::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 7px;
  width: 46px; height: 46px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--gold-soft); cursor: pointer;
}
.nav-toggle-bar {
  display: block; width: 20px; height: 1.5px; background: var(--ivory);
  transition: transform .35s var(--ease), opacity .3s;
}
body.nav-open .nav-toggle-bar:nth-of-type(1) { transform: translateY(8.5px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-of-type(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-of-type(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ページ最上部(ヒーロー)以外では、ヘッダー下のコンテンツが隠れないよう余白を取る */
.page-hero, .hero { padding-top: 78px; }

/* ============================================================
   3. ヒーロー(トップ)
============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  padding-top: 78px;
  background: linear-gradient(180deg,
    #03101d 0%, #062238 20%, #0a3a5c 42%,
    #14648e 66%, #2f9dc0 84%, #6fd0e2 96%, #a8e6ef 100%);
}
/* 差し込む光(グッドレイ) */
.hero::before {
  content: ""; position: absolute; inset: -8% -6% 0; z-index: 1; pointer-events: none;
  background: linear-gradient(112deg,
    transparent 0 30%, rgba(220, 237, 242, .07) 30.5% 33%,
    transparent 33.5% 44%, rgba(220, 237, 242, .055) 44.5% 46.5%,
    transparent 47% 59%, rgba(220, 237, 242, .045) 59.5% 61.5%,
    transparent 62%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.4) 52%, transparent 82%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.4) 52%, transparent 82%);
}
/* 水中の光の筋(コースティクス) */
.hero-caustics {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 95% 13% at 50% 100%, rgba(214, 246, 250, .30), transparent 74%),
    radial-gradient(ellipse 62% 42% at 72% 18%, rgba(80, 190, 215, .34), transparent 62%),
    radial-gradient(ellipse 52% 36% at 22% 62%, rgba(46, 140, 175, .30), transparent 65%),
    radial-gradient(ellipse 40% 30% at 48% 96%, rgba(120, 210, 225, .18), transparent 70%),
    repeating-linear-gradient(102deg,
      transparent 0 90px, rgba(220, 237, 242, .06) 90px 92px,
      transparent 92px 210px);
}
/* 立ちのぼる白泡 */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 90px; height: 42%;
  pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(circle at 12% 82%, rgba(255,255,255,.8) 0 1.5px, transparent 3px),
    radial-gradient(circle at 26% 94%, rgba(255,255,255,.5) 0 1px, transparent 2.5px),
    radial-gradient(circle at 38% 76%, rgba(255,255,255,.65) 0 1.2px, transparent 2.6px),
    radial-gradient(circle at 55% 88%, rgba(255,255,255,.45) 0 1px, transparent 2.4px),
    radial-gradient(circle at 68% 72%, rgba(255,255,255,.7) 0 1.4px, transparent 2.8px),
    radial-gradient(circle at 81% 90%, rgba(255,255,255,.5) 0 1px, transparent 2.4px),
    radial-gradient(circle at 92% 78%, rgba(255,255,255,.6) 0 1.2px, transparent 2.6px),
    radial-gradient(circle at 47% 97%, rgba(255,255,255,.75) 0 1.6px, transparent 3px),
    radial-gradient(circle at 8% 64%, rgba(255,255,255,.4) 0 1px, transparent 2.2px),
    radial-gradient(circle at 74% 60%, rgba(255,255,255,.35) 0 1px, transparent 2.2px);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; padding: 60px 4% 120px; width: 100%;
}
.hero-eyebrow {
  font-size: .74rem; letter-spacing: .52em; text-indent: .52em;
  color: var(--gold); margin-bottom: 30px;
}
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 5.6vw, 4.1rem);
  letter-spacing: .12em; line-height: 1.62;
}
.hero-lead {
  max-width: 620px; margin-top: 34px;
  color: var(--ivory-dim); font-size: .95rem; line-height: 2.2;
}
.hero-actions { display: flex; gap: 22px; margin-top: 52px; flex-wrap: wrap; }

/* 縦書きコピー */
.hero-vertical {
  position: absolute; right: 5.5%; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--serif); font-size: 1.02rem; font-weight: 400;
  letter-spacing: .58em; color: var(--ivory-dim); z-index: 2;
  padding-top: 2px;
}
.hero-vertical::before {
  content: ""; display: block; width: 1px; height: 64px;
  background: var(--gold); margin: 0 auto 26px;
}

/* 波のディバイダー */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; z-index: 1; }
.hero-wave svg { width: 100%; height: 92px; display: block; }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; text-align: center;
  font-size: .64rem; letter-spacing: .42em; text-indent: .42em;
  color: var(--ivory-dim);
}
.hero-scroll span {
  display: block; width: 1px; height: 46px; margin: 12px auto 0;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollDrop 2.4s var(--ease) infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   4. セクション共通
============================================================ */
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-en {
  font-size: .74rem; letter-spacing: .44em; text-indent: .44em;
  text-transform: uppercase; color: var(--gold);
}
.sec-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  letter-spacing: .14em; margin-top: 16px;
}
.sec-lead { color: var(--ivory-dim); margin-top: 20px; font-size: .92rem; }

.pillars { padding: 130px 0 90px; }

/* ============================================================
   5. 3本柱カード
============================================================ */
.pillar-grid {
  max-width: 1180px; margin: 0 auto; padding: 0 4%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
.pillar-card {
  display: flex; flex-direction: column;
  border: 1px solid rgba(200, 163, 95, .26);
  background: linear-gradient(180deg, rgba(13, 58, 88, .55), rgba(7, 26, 42, .88));
  transition: transform .55s var(--ease), border-color .4s, box-shadow .55s;
}
.pillar-card:hover {
  transform: translateY(-9px); border-color: var(--gold);
  box-shadow: 0 26px 54px rgba(0, 0, 0, .5);
}
/* 「樹脂の層」断面アート — 白泡の帯が走るのがシグネチャー */
.pillar-art {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: block;
}
.pillar-art img { width: 100%; height: 100%; object-fit: cover; }
.pillar-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 22% 26%, rgba(255,255,255,.55) 0 1.4px, transparent 3px),
    radial-gradient(circle at 58% 18%, rgba(255,255,255,.4) 0 1px, transparent 2.4px),
    radial-gradient(circle at 78% 34%, rgba(255,255,255,.6) 0 1.5px, transparent 3px),
    radial-gradient(circle at 40% 12%, rgba(255,255,255,.35) 0 1px, transparent 2.2px);
}
.art-collection {
  background: linear-gradient(180deg,
    #07131c 0%, #0d2f3f 18%, #175060 38%, #2a7d8d 56%,
    #5fb3ba 67%, #eaf6f4 71%, #9fd4d2 74%, #1d6175 79%, #0d3546 100%);
}
.art-bouquet {
  background: linear-gradient(180deg,
    #07131c 0%, #0c2f40 20%, #22677a 44%, #8fc4c0 64%,
    #f3ecdd 71%, #d9b98c 78%, #0c2f40 88%, #07131c 100%);
}
.art-lesson {
  background: linear-gradient(180deg,
    #07131c 0%, #123c4d 26%, #2e7d8c 50%, #79bfc6 70%,
    #d9ece9 76%, #3f97a8 85%, #0d2f3f 100%);
}
.pillar-wave {
  position: absolute; bottom: -1px; left: 0; width: 100%; height: 56px; display: block;
}
.pillar-body { display: flex; flex-direction: column; padding: 34px 30px 38px; flex: 1; }
.pillar-en {
  font-size: .7rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold);
}
.pillar-ja {
  font-family: var(--serif); font-size: 1.34rem; font-weight: 500;
  letter-spacing: .14em; margin-top: 12px;
}
.pillar-lead { color: var(--ivory-dim); font-size: .88rem; line-height: 2; margin-top: 16px; flex: 1; }
.pillar-more {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; letter-spacing: .26em; color: var(--gold);
}
.more-arrow { transition: transform .4s var(--ease); display: inline-block; }
.pillar-card:hover .more-arrow { transform: translateX(8px); }

/* ============================================================
   6. About(アイボリー背景でリズムを作る)
============================================================ */
.about { background: var(--ivory); color: var(--ink); padding: 130px 0 140px; }
.about .sec-title { color: var(--ink); }
.about .sec-en { color: #9c7c42; }
.about-lead {
  max-width: 720px; margin: 36px auto 0; text-align: center;
  font-size: .95rem; line-height: 2.4; color: rgba(18, 43, 51, .8);
}
.about-values {
  max-width: 1000px; margin: 74px auto 0; padding: 0 4%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px;
}
.about-value h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.18rem; letter-spacing: .34em; text-indent: .34em;
  text-align: center; padding-bottom: 18px; position: relative;
}
.about-value h3::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 34px; height: 1px; background: var(--gold);
}
.about-value p { font-size: .9rem; line-height: 2.1; margin-top: 18px; color: rgba(18, 43, 51, .88); }

/* ============================================================
   7. 作品ギャラリー・お知らせ
============================================================ */
.gallery { padding: 130px 0 20px; }
.gallery-grid {
  max-width: 1180px; margin: 0 auto; padding: 0 4%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
}
.work-card { display: block; }
.work-thumb {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  background: linear-gradient(160deg, #0d2f3f 0%, #22677a 58%, #5fb3ba 100%);
  border: 1px solid rgba(200, 163, 95, .18);
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-title {
  display: block; margin-top: 16px; font-size: .9rem;
  letter-spacing: .1em; color: var(--ivory-dim);
  transition: color .3s;
}
.work-card:hover .work-title { color: var(--ivory); }

.news { padding: 110px 0 20px; }
.news-list { max-width: 900px; margin: 0 auto; padding: 0 4%; }
.news-item {
  display: flex; gap: 34px; align-items: baseline;
  padding: 26px 6px; border-bottom: 1px solid rgba(217, 236, 233, .12);
  transition: background .3s;
}
.news-item:first-of-type { border-top: 1px solid rgba(217, 236, 233, .12); }
.news-item:hover { background: rgba(217, 236, 233, .04); }
.news-item time { flex: none; font-size: .8rem; letter-spacing: .2em; color: var(--gold); }
.news-item .news-title { font-size: .92rem; color: var(--ivory-dim); transition: color .3s; }
.news-item:hover .news-title { color: var(--ivory); }

/* ============================================================
   8. CTA・フッター
============================================================ */
.cta {
  margin-top: 130px; padding: 120px 4% 150px; text-align: center;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--abyss) 0%, var(--deep) 55%, #12486c 100%);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 60% at 50% 115%, rgba(63, 163, 196, .42), transparent 70%);
}
.cta .btn { position: relative; }
.cta-lead { max-width: 560px; margin: 22px auto 44px; color: var(--ivory-dim); font-size: .92rem; }

.site-footer { background: #030b12; border-top: 1px solid rgba(200, 163, 95, .22); }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 74px 4% 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 44px; flex-wrap: wrap;
}
.footer-logo { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .16em; }
.footer-copy { margin-top: 14px; font-size: .82rem; color: var(--ivory-dim); letter-spacing: .08em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.footer-nav a {
  font-size: .8rem; letter-spacing: .16em; color: var(--ivory-dim);
  transition: color .3s;
}
.footer-nav a:hover { color: var(--gold); }
.copyright {
  margin-top: 58px; padding: 26px 4%; text-align: center;
  border-top: 1px solid rgba(243, 236, 221, .08);
  font-size: .7rem; letter-spacing: .16em; color: rgba(243, 236, 221, .42);
}

.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 47px; height: 47px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-soft); background: rgba(6, 20, 31, .82);
  color: var(--gold); cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s, background .3s;
}
.to-top.is-show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--deep); }

/* ============================================================
   9. 下層ページ共通
============================================================ */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 190px 4% 92px;
  background: linear-gradient(180deg, #04121f 0%, #082c46 48%, #10486b 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(112deg,
      transparent 0 34%, rgba(220, 237, 242, .05) 34.5% 37%,
      transparent 37.5% 54%, rgba(220, 237, 242, .04) 54.5% 56.5%,
      transparent 57%),
    radial-gradient(ellipse 55% 60% at 50% 130%, rgba(46, 140, 175, .38), transparent 70%),
    radial-gradient(ellipse 40% 34% at 82% 12%, rgba(80, 190, 215, .16), transparent 68%),
    repeating-linear-gradient(102deg,
      transparent 0 100px, rgba(220, 237, 242, .04) 100px 102px, transparent 102px 240px);
}
.page-hero-en {
  position: relative;
  font-size: .74rem; letter-spacing: .46em; text-indent: .46em;
  text-transform: uppercase; color: var(--gold);
}
.page-hero-title {
  position: relative;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: .16em;
  margin-top: 18px;
}
.page-hero-lead { position: relative; margin-top: 22px; color: var(--ivory-dim); font-size: .9rem; }

.page-body { padding: 96px 0 140px; }
.section-block { margin-top: 100px; }
.section-block .sec-title { margin-bottom: 52px; }

/* ============================================================
   10. 本文スタイル(エディタ出力)
============================================================ */
.entry-content { max-width: 860px; margin: 0 auto; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.5rem; letter-spacing: .12em;
  margin: 68px 0 26px; text-align: center;
  position: relative; padding-top: 28px;
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h2::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 52px; height: 1px; background: var(--gold);
}
.entry-content h3 {
  font-size: 1.1rem; font-weight: 500; letter-spacing: .1em;
  margin: 46px 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.entry-content h3::before {
  content: ""; width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg); flex: none;
}
.entry-content p { margin: 0 0 1.7em; }
.entry-content ul li, .entry-content ol li {
  position: relative; margin-bottom: .7em; padding-left: 1.5em;
}
.entry-content ul li::before {
  content: ""; position: absolute; left: 0; top: .95em;
  width: 7px; height: 1px; background: var(--gold);
}
.entry-content ol { counter-reset: li; }
.entry-content ol li { counter-increment: li; }
.entry-content ol li::before {
  content: counter(li);
  position: absolute; left: 0; top: .18em;
  font-family: var(--serif); color: var(--gold); font-size: .95em;
}
.entry-content a { color: var(--tide-light); text-decoration: underline; text-underline-offset: 4px; }
.entry-content a:hover { color: var(--gold); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 2em; font-size: .92rem; }
.entry-content th, .entry-content td {
  border: 1px solid rgba(217, 236, 233, .16);
  padding: 14px 18px; text-align: left; vertical-align: top;
}
.entry-content th {
  background: rgba(34, 103, 122, .32); font-weight: 500; letter-spacing: .08em;
}
.entry-content blockquote {
  border-left: 2px solid var(--gold); padding: 4px 0 4px 24px;
  margin: 0 0 1.8em; color: var(--ivory-dim);
}
.entry-content img { border: 1px solid rgba(200, 163, 95, .22); }
.entry-content figure { margin: 0 0 2em; }
.entry-content .wp-block-button__link { text-decoration: none; }

/* ============================================================
   11. 商品ページ
============================================================ */
.lineup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.lineup-card { border: 1px solid rgba(200, 163, 95, .24); background: rgba(10, 37, 52, .42); }
.lineup-art { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.lineup-art img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.art-lu-panel {
  background: linear-gradient(180deg, #07131c 0%, #0d3546 30%, #22677a 58%, #eaf6f4 71%, #2a7d8d 76%, #0d2f3f 100%);
}
.art-lu-acc {
  background: linear-gradient(180deg, #0a2534 0%, #123c4d 40%, #5fb3ba 68%, #eaf6f4 76%, #175060 88%);
}
.art-lu-order {
  background: linear-gradient(180deg, #07131c 0%, #0c2f40 34%, #2e7d8c 60%, #f3ecdd 74%, #c8a35f 82%, #0d2f3f 94%);
}
.lineup-body { padding: 28px 28px 32px; }
.lineup-body h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.16rem; letter-spacing: .14em;
}
.lineup-body p { font-size: .88rem; color: var(--ivory-dim); margin-top: 14px; line-height: 2; }
.lineup-price {
  font-family: var(--serif); color: var(--gold);
  font-size: 1.12rem; letter-spacing: .1em; margin-top: 18px;
}
.lineup-price small { font-size: .74rem; color: var(--ivory-dim); }

/* ============================================================
   12. 流れ(ステップ)・料金表・ノート
============================================================ */
.steps { max-width: 860px; margin: 0 auto; }
.step {
  display: grid; grid-template-columns: 84px 1fr; gap: 30px;
  padding: 36px 4px; align-items: start;
}
.step + .step { border-top: 1px solid rgba(217, 236, 233, .12); }
.step-no {
  font-family: var(--serif); font-size: 2.3rem; font-weight: 400;
  color: var(--gold); line-height: 1.1; letter-spacing: .05em;
}
.step-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; letter-spacing: .12em; margin: 4px 0 12px; }
.step-body p { font-size: .9rem; color: var(--ivory-dim); line-height: 2.05; }

.price-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.price-table th, .price-table td {
  border: 1px solid rgba(217, 236, 233, .16); padding: 16px 18px; text-align: left;
}
.price-table thead th {
  background: rgba(34, 103, 122, .32); font-weight: 500;
  letter-spacing: .1em; font-size: .88rem;
}
.price-table td:last-child { font-family: var(--serif); color: var(--gold); white-space: nowrap; }
.price-note { font-size: .8rem; color: var(--ivory-dim); margin-top: 16px; }

.note {
  max-width: 860px; margin: 0 auto;
  border: 1px dashed var(--gold-soft);
  background: rgba(200, 163, 95, .06);
  padding: 34px 38px;
}
.note-title {
  font-family: var(--serif); font-size: 1.02rem; letter-spacing: .18em;
  color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.note-title::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.note ul li, .note p { font-size: .88rem; color: var(--ivory-dim); }
.note ul li { position: relative; padding-left: 1.4em; margin-bottom: .55em; }
.note ul li::before { content: ""; position: absolute; left: 0; top: .95em; width: 7px; height: 1px; background: var(--gold); }

/* 講習コースカード */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.course-card {
  border: 1px solid rgba(200, 163, 95, .26);
  background: linear-gradient(180deg, rgba(10, 37, 52, .5), rgba(6, 20, 31, .8));
  padding: 42px 34px 40px;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .4s;
}
.course-card:hover { transform: translateY(-7px); border-color: var(--gold); }
.course-en { font-size: .68rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); }
.course-card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.28rem; letter-spacing: .14em; margin-top: 12px;
}
.course-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.course-meta span {
  font-size: .7rem; letter-spacing: .14em; color: var(--ivory-dim);
  border: 1px solid rgba(217, 236, 233, .2); padding: 4px 13px;
}
.course-card p.course-desc { font-size: .87rem; color: var(--ivory-dim); line-height: 2; margin-top: 20px; flex: 1; }
.course-price {
  font-family: var(--serif); font-size: 1.5rem; color: var(--gold);
  letter-spacing: .06em; margin-top: 28px; padding-top: 22px;
  border-top: 1px solid rgba(200, 163, 95, .2);
}
.course-price small { font-size: .74rem; font-family: var(--sans); color: var(--ivory-dim); letter-spacing: .1em; }

/* ページ下部CTA */
.page-cta {
  margin-top: 110px; text-align: center;
  padding: 76px 6%; border: 1px solid rgba(200, 163, 95, .26);
  background: radial-gradient(ellipse 70% 130% at 50% 130%, rgba(46, 140, 175, .34), transparent 72%);
}
.page-cta h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.5rem; letter-spacing: .16em;
}
.page-cta p { color: var(--ivory-dim); font-size: .9rem; margin: 18px auto 36px; max-width: 560px; }

/* ============================================================
   13. ブログ一覧・シングル
============================================================ */
.post-grid {
  max-width: 1180px; margin: 0 auto; padding: 0 4%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
.post-card a {
  display: block; border: 1px solid rgba(200, 163, 95, .18);
  background: rgba(10, 37, 52, .35);
  transition: transform .5s var(--ease), border-color .4s;
}
.post-card a:hover { transform: translateY(-7px); border-color: var(--gold); }
.post-thumb {
  aspect-ratio: 3 / 2; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #0d2f3f 0%, #22677a 58%, #5fb3ba 100%);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card a:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 24px 26px 30px; }
.post-body time { font-size: .76rem; letter-spacing: .22em; color: var(--gold); }
.post-title { font-size: .96rem; font-weight: 500; line-height: 1.8; letter-spacing: .06em; margin-top: 12px; }

.single-wrap { max-width: 860px; margin: 0 auto; padding: 0 4%; }
.single-meta { text-align: center; margin-bottom: 14px; }
.single-meta time { font-size: .8rem; letter-spacing: .24em; color: var(--gold); }
.post-nav {
  max-width: 860px; margin: 90px auto 0; padding: 30px 4% 0;
  border-top: 1px solid rgba(217, 236, 233, .12);
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.post-nav a { font-size: .86rem; color: var(--ivory-dim); transition: color .3s; max-width: 45%; }
.post-nav a:hover { color: var(--gold); }
.post-nav .nav-next { margin-left: auto; text-align: right; }

.back-link { text-align: center; margin-top: 60px; }
.back-link a {
  font-size: .8rem; letter-spacing: .22em; color: var(--gold);
  border-bottom: 1px solid var(--gold-soft); padding-bottom: 4px;
}

.pagination .nav-links {
  display: flex; justify-content: center; gap: 10px; margin-top: 80px;
}
.page-numbers {
  min-width: 45px; height: 45px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(200, 163, 95, .26);
  font-size: .84rem; letter-spacing: .08em; color: var(--ivory-dim);
  transition: background .3s, color .3s;
}
.page-numbers.current, .page-numbers:hover {
  background: var(--gold); color: var(--abyss); border-color: var(--gold);
}

/* ============================================================
   14. 検索フォーム・404
============================================================ */
.search-form {
  display: flex; max-width: 520px; margin: 40px auto 0;
  border: 1px solid var(--gold-soft);
}
.search-field {
  flex: 1; background: transparent; border: 0;
  color: var(--ivory); padding: 15px 20px; font-size: .95rem;
  font-family: inherit; letter-spacing: .04em;
}
.search-field::placeholder { color: rgba(243, 236, 221, .4); }
.search-field:focus { outline: none; }
.search-submit {
  width: 56px; border: 0; cursor: pointer;
  background: var(--gold); color: var(--abyss);
  display: flex; align-items: center; justify-content: center;
}
.error-404 { text-align: center; padding: 60px 4% 0; }
.error-code {
  font-family: var(--serif); font-size: clamp(4rem, 12vw, 7rem);
  color: rgba(200, 163, 95, .5); letter-spacing: .2em; line-height: 1;
}

/* ============================================================
   15. レスポンシブ
============================================================ */
@media (max-width: 1080px) {
  .hero-vertical { display: none; }
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    background: rgba(4, 13, 21, .97);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav-menu { flex-direction: column; text-align: center; gap: 32px; }
  .nav-menu a { font-size: 1.02rem; font-family: var(--serif); letter-spacing: .24em; }

  .pillar-grid, .gallery-grid, .post-grid, .lineup-grid, .course-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .about-values { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .sp-only { display: inline; }
  .hero-inner { padding: 80px 6% 130px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { min-width: 0; width: 100%; }
  .hero-wave svg { height: 48px; }
  .hero-scroll { display: none; }
  .hero::after { bottom: 50px; }
  .pillars, .about, .gallery, .news { padding-top: 90px; }
  .pillars { padding-bottom: 100px; }
  .about { padding-bottom: 100px; }
  .cta { margin-top: 90px; padding: 90px 6% 110px; }
  .pillar-grid, .gallery-grid, .post-grid, .lineup-grid, .course-grid { grid-template-columns: 1fr; }
  .pillar-body { padding: 26px 24px 30px; }
  .news-item { flex-direction: column; gap: 6px; }
  .page-hero { padding: 150px 6% 70px; }
  .page-body { padding: 70px 0 100px; }
  .section-block { margin-top: 76px; }
  .step { grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 2px; }
  .step-no { font-size: 1.7rem; }
  .note { padding: 26px 22px; }
  .footer-inner { flex-direction: column; }
  .to-top { right: 16px; bottom: 16px; }
  .sec-head { margin-bottom: 46px; }
}

/* ヒーロー背景動画(v1.2) */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(3, 11, 18, .58) 0%, rgba(6, 20, 31, .34) 45%,
    rgba(10, 37, 52, .62) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* 動きを減らす設定に配慮 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   16. v1.1 追加分(講習写真・shop・SNS)
============================================================ */
/* 花レジン講習 強調カード(v1.5) */
.flower-call { max-width: 1180px; margin: 0 auto; padding: 0 4% 130px; }
.flower-call-card {
  display: grid; grid-template-columns: 42% 1fr;
  border: 1px solid rgba(200, 163, 95, .3);
  background: linear-gradient(135deg, rgba(13, 58, 88, .5), rgba(200, 163, 95, .12));
  overflow: hidden;
  transition: transform .55s var(--ease), border-color .4s, box-shadow .55s;
}
.flower-call-card:hover {
  transform: translateY(-8px); border-color: var(--gold);
  box-shadow: 0 26px 54px rgba(0, 0, 0, .5);
}
.flower-call-photo { position: relative; min-height: 300px; }
.flower-call-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.flower-call-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 46px 50px;
}
.flower-call-title {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.6rem; letter-spacing: .14em; margin-top: 12px;
}
.flower-call-lead { color: var(--ivory-dim); font-size: .9rem; line-height: 2.05; margin-top: 16px; }
.flower-call-body .pillar-more { margin-top: 26px; }

.course-grid--2 { grid-template-columns: 1fr 1fr; max-width: 980px; margin: 0 auto; }
.course-photo {
  aspect-ratio: 16 / 10; overflow: hidden;
  margin: -42px -34px 26px; /* カード上端に写真を血縁なく広げる */
  margin: 0 0 26px; border: 1px solid rgba(200, 163, 95, .2);
}
.course-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.price-rows { margin-top: 20px; }
.price-row {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px dashed var(--gold-soft);
  font-size: .88rem; color: var(--ivory-dim);
}
.price-row small { font-size: .72rem; color: rgba(243, 236, 221, .5); letter-spacing: .04em; }
.price-row b { font-family: var(--serif); font-weight: 500; color: var(--gold); white-space: nowrap; font-size: 1rem; }

.shop-banner {
  position: relative; aspect-ratio: 21 / 8; overflow: hidden;
  border: 1px solid rgba(200, 163, 95, .26);
}
.shop-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lineup-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lineup-foot { padding: 0 28px 26px; }
.buy-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; letter-spacing: .2em; color: var(--gold);
  border-bottom: 1px solid var(--gold-soft); padding-bottom: 4px;
  transition: color .3s, border-color .3s;
}
.buy-link:hover { color: var(--ivory); border-color: var(--ivory); }
.lineup-card { display: flex; flex-direction: column; }
.lineup-card .lineup-body { flex: 1; }

.note--inner {
  margin: 22px -34px -40px; padding: 26px 34px 30px;
  border: 0; border-top: 1px dashed var(--gold-soft);
  background: rgba(200, 163, 95, .08);
}

.sns-btns {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  max-width: 900px; margin: 0 auto;
}
.sns-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold); padding: 14px 26px;
  font-size: .8rem; letter-spacing: .14em; color: var(--ivory);
  transition: background .35s, color .35s;
}
.sns-btn:hover { background: var(--gold); color: var(--abyss); }

@media (max-width: 920px) {
  .course-grid--2 { grid-template-columns: 1fr; max-width: 640px; }
  .lineup-grid--4 { grid-template-columns: 1fr 1fr; }
  .note--inner { margin: 22px -34px -40px; }
  .flower-call-card { grid-template-columns: 1fr; }
  .flower-call-photo { min-height: 250px; }
  .flower-call-body { padding: 32px 28px 36px; }
}
@media (max-width: 640px) {
  .lineup-grid--4 { grid-template-columns: 1fr; }
  .shop-banner { aspect-ratio: 4 / 3; }
  .sns-btns { flex-direction: column; align-items: stretch; }
  .sns-btn { justify-content: center; }
  .note--inner { margin: 22px -24px -30px; }
}

/* ============================================================
   17. v1.3 追加(About・講習ページ用)
============================================================ */
.value-grid {
  max-width: 980px; margin: 0 auto; padding: 0 4%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.value-item h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.14rem; letter-spacing: .3em; text-indent: .3em;
  color: var(--gold); text-align: center; padding-bottom: 16px; position: relative;
}
.value-item h3::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 1px; background: var(--gold-soft);
}
.value-item p { font-size: .88rem; color: var(--ivory-dim); line-height: 2.05; margin-top: 16px; }

.about-page-photos {
  max-width: 980px; margin: 0 auto; padding: 0 4%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.about-page-photos figure {
  margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid rgba(200, 163, 95, .22);
}
.about-page-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 920px) {
  .value-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .about-page-photos { grid-template-columns: 1fr; }
}
