/* ブリリアンカラーセラピー 本体サイト — 元 Wix サイトの実測値に基づく再現スタイル（2026-08 #114）
   デスクトップ: 1280px 基準の中央キャンバス（要素は left:calc(50% + Xpx) の絶対配置）
   モバイル   : 320px キャンバス（<meta viewport width=320> で端末幅に拡大 = Wix と同じ方式） */

/* ---- フォント（源柔ゴシック: SIL OFL、サイト使用文字でサブセット化） ---- */
@font-face { font-family: 'GenJyuuGothic-Light';       src: url('/assets/fonts/GenJyuuGothic-Light.woff2') format('woff2');       font-display: swap; }
@font-face { font-family: 'GenJyuuGothic-Regular';     src: url('/assets/fonts/GenJyuuGothic-Regular.woff2') format('woff2');     font-display: swap; }
@font-face { font-family: 'GenJyuuGothicL-Light';      src: url('/assets/fonts/GenJyuuGothicL-Light.woff2') format('woff2');      font-display: swap; }
@font-face { font-family: 'GenJyuuGothicL-ExtraLight'; src: url('/assets/fonts/GenJyuuGothicL-ExtraLight.woff2') format('woff2'); font-display: swap; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; }
body { font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #000; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
img { display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
button { font: inherit; }

/* ---- デスクトップ / モバイル 切替 ---- */
.d { display: block; }
.m { display: none; }
@media (max-width: 767px) { .d { display: none !important; } .m { display: block; } }

#site { position: relative; width: 100%; min-width: 980px; overflow: hidden; }
@media (max-width: 767px) { #site { min-width: 320px; width: 320px; margin: 0 auto; } }

/* ---- 本文キャンバス ---- */
.canvas { position: relative; width: 100%; }
.canvas-m { position: relative; width: 320px; margin: 0 auto; }
.canvas > *, .canvas-m > *, .slider > *, .slide > *, .t, .im, .bx, .ic, .chev, .line-add { position: absolute; }
.canvas > a:not(.bx):not(.line-add), .canvas-m > a:not(.bx):not(.line-add), .slide > a { position: static; }
.t { margin: 0; white-space: normal; word-break: break-word; }
.t br { display: block; }
.tl { display: contents; }
.im { object-fit: cover; }
.bx { display: block; }
.bx.wbtn { display: flex; align-items: center; gap: 8px; padding-left: 31px; color: #fff; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 300; font-size: 16px; letter-spacing: 0; white-space: nowrap; }
.bx.wbtn svg { width: 23px; height: 23px; flex: none; }
@media (max-width: 767px) { .bx.wbtn { font-family: 'Klee One', sans-serif; font-weight: 600; font-size: 14px; padding-left: 0; justify-content: center; } }
.ic svg { display: block; width: 100%; height: 100%; }
.ic.shape svg path { fill: #fff; stroke: #333; stroke-width: 1; vector-effect: non-scaling-stroke; }
.line-add img { display: block; }

/* ---- スライダー ---- */
.slider { overflow: hidden; }
.slide { left: 0; top: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.chev { background: none; border: 0; padding: 0; cursor: pointer; color: #000; opacity: 1; z-index: 3; }
.chev svg { display: block; width: 100%; height: 100%; fill: #999; }
.chev.next svg { transform: scaleX(-1); }
.gal .slide img { position: absolute; }
/* いろのメッセージ ギャラリー（1/1）の矢印 = 元サイト同様 40% で表示（デスクトップ）/ 白（モバイル） */
.gal-arrow { opacity: .4; padding: 12px 6px; }
.gal-arrow svg { fill: #fff; }
@media (max-width: 767px) { .gal-arrow { opacity: 1; padding: 14px 6px; } }
.canvas > .chev[aria-label="previous"], .canvas > .chev[aria-label="next"], .canvas-m > .chev[aria-label="previous"], .canvas-m > .chev[aria-label="next"] { opacity: .4; }
.canvas > .chev[aria-label="previous"] svg, .canvas > .chev[aria-label="next"] svg, .canvas-m > .chev[aria-label="previous"] svg, .canvas-m > .chev[aria-label="next"] svg { fill: #333; }

/* ---- ヘッダー（デスクトップ） ---- */
.hdr { position: relative; height: 134px; }
.hdr-logo { position: absolute; left: calc(50% - 175px); top: 28px; width: 371px; height: 77px; }
.hdr-logo img { width: 100%; height: 100%; object-fit: contain; }
.pinned { position: fixed; left: 0; top: 0; width: 80px; height: 240px; z-index: 40; pointer-events: none; }
.pinned > * { position: absolute; pointer-events: auto; }
.pin-menu { left: 25px; top: 27px; width: 50px; height: 50px; border: 0; background: none; padding: 0; cursor: pointer; }
.pin-box { position: absolute; inset: 0; background: rgba(255,255,255,.53); border-radius: 5px; }
.pin-menu img { position: absolute; left: 10px; top: 7px; width: 30px; height: 34px; }
.pin-logo { left: 25px; top: 100px; width: 49px; height: 49px; }
.pin-logo img { width: 100%; height: 100%; }
.pin-map { left: 37px; top: 199px; width: 24px; height: 33px; }
.pin-map img { width: 100%; height: 100%; }
/* サイドメニュー（ハンバーガー） */
.side-menu { position: fixed; left: 0; top: 0; width: 338px; height: 100vh; min-height: 778px; background: rgba(255,255,255,.69); z-index: 60; backdrop-filter: blur(2px); }
.side-menu[hidden] { display: none !important; }
.side-close { position: absolute; left: 273px; top: 19px; width: 42px; height: 42px; border: 0; background: none; padding: 0; cursor: pointer; }
.side-close img { width: 100%; height: 100%; }
.side-logo { position: absolute; left: 103px; top: 50px; width: 144px; height: 144px; }
.side-logo img { width: 100%; height: 100%; }
.side-item { position: absolute; left: 100px; width: 142px; text-align: center; white-space: nowrap; font-family: 'GenJyuuGothic-Light', 'Klee One', sans-serif; font-size: 14px; letter-spacing: 2px; color: #333; line-height: 33px; }
.side-item:hover { color: rgb(198,21,113); }

/* ---- ヘッダー（モバイル） ---- */
.hdr-m { position: relative; height: 92px; width: 320px; }
.hdr-m-logo { position: absolute; left: 10px; top: 20px; width: 249px; height: 60px; }
.hdr-m-logo img { width: 100%; height: 100%; object-fit: contain; }
.hdr-m-menu { position: absolute; left: 263px; top: 33px; width: 37px; height: 34px; border: 0; border-radius: 3px; background: rgba(255,255,255,.54); padding: 7px 8px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; }
.hdr-m-menu span { display: block; height: 2px; background: #333; }
.menu-m { position: fixed; inset: 0; background: #fff; z-index: 60; width: 320px; margin: 0 auto; }
.menu-m[hidden] { display: none !important; }
.menu-m-close { position: absolute; right: 36px; top: 26px; width: 30px; height: 30px; border: 0; background: none; font-size: 28px; line-height: 30px; color: #333; cursor: pointer; padding: 0; }
.menu-m-logo { position: absolute; left: 110px; top: 70px; width: 100px; height: auto; }
.menu-m ul { list-style: none; margin: 0; padding: 0; position: absolute; left: 68px; top: 216px; width: 188px; }
.menu-m li a { display: block; height: 43px; line-height: 43px; text-align: center; font-family: 'GenJyuuGothicL-Light', sans-serif; font-size: 14px; color: #333; }
.menu-m li a.current { background: rgb(246,212,224); color: rgb(198,21,113); }

/* ---- フッター（デスクトップ、高さ 774） ---- */
.ftr { position: relative; height: 774px; width: 100%; background: linear-gradient(90deg, rgba(153,153,151,.55) 0%, rgb(153,153,151) 100%); font-family: 'GenJyuuGothic-Light', sans-serif; color: rgb(50,65,88); }
.ftr::before, .ftr-m::after { content: ""; position: absolute; inset: 0; background: url(/assets/wix/footer-pattern.png) repeat; opacity: .44; pointer-events: none; }
.ftr > * { position: absolute; z-index: 1; }
.ftr-addr, .ftr-name, .ftr-copy, .ftr-m-addr, .ftr-m-name, .ftr-m-copy { white-space: nowrap; }
.ftr-logo { left: calc(50% - 460px); top: 92px; width: 194px; height: 194px; }
.ftr-logo img { width: 100%; height: 100%; }
.ftr-nav { left: calc(50% - 443px); top: 317px; width: 160px; display: flex; flex-direction: column; }
.ftr-nav a { font-size: 13px; line-height: 29px; text-align: center; color: rgb(50,65,88); }
.ftr-nav a.current { color: rgb(198,21,113); }
.ftr-map { left: calc(50% - 197px); top: 97px; width: 608px; height: 280px; border: 0; }
.ftr-addr { left: calc(50% - 67px); top: 416px; width: 332px; font-size: 12px; letter-spacing: 4.2px; text-align: center; line-height: 18px; }
.ftr-name { left: calc(50% - 67px); top: 458px; width: 332px; font-size: 12px; letter-spacing: 3.6px; text-align: center; }
.ftr-links { left: calc(50% - 187px); top: 548px; width: 372px; display: flex; justify-content: space-between; }
.ftr-links a { font-size: 13px; letter-spacing: 2.6px; color: rgb(19,25,70); }
.ftr-links a:first-child { color: rgb(50,65,88); }
.ftr-copy { left: calc(50% - 71px); top: 628px; width: 149px; font-family: Meiryo, 'Hiragino Sans', sans-serif; font-size: 13px; color: rgb(19,25,70); text-align: center; }

/* ---- フッター（モバイル、高さ 593 = ロゴ 38px 分を含む） ---- */
.ftr-m { position: relative; height: 593px; width: 320px; background: linear-gradient(90deg, rgba(153,153,151,.55) 0%, rgb(153,153,151) 100%) 0 38px / 100% 555px no-repeat; font-family: 'GenJyuuGothic-Light', sans-serif; color: rgb(50,65,88); }
.ftr-m::after { top: 38px; }
.ftr-m::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 38px; background: #fff; z-index: 1; }
.ftr-m > * { position: absolute; z-index: 1; }
.ftr-m-logo { left: 113px; top: 0; width: 96px; height: 96px; z-index: 1; }
.ftr-m-logo img { width: 100%; height: 100%; }
.ftr-m-name { left: 20px; top: 126px; width: 280px; font-size: 9px; letter-spacing: 2.7px; text-align: center; }
.ftr-m-map { left: 47px; top: 163px; width: 226px; height: 209px; border: 0; }
.ftr-m-addr { left: 47px; top: 395px; width: 226px; font-size: 9px; letter-spacing: 3.15px; text-align: center; line-height: 14px; }
.ftr-m-links { left: 0; top: 458px; width: 320px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.ftr-m-links a { font-size: 10px; letter-spacing: 2px; color: rgb(19,25,70); line-height: 15px; }
.ftr-m-links a:first-child { color: rgb(50,65,88); }
.ftr-m-copy { left: 10px; top: 555px; width: 300px; font-family: Meiryo, 'Hiragino Sans', sans-serif; font-size: 10px; color: rgb(19,25,70); text-align: center; }

/* ---- お問い合わせフォーム ---- */
.wform { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.wform > * { pointer-events: auto; }
.wform input, .wform textarea { position: absolute; font-family: 'GenJyuuGothic-Light', sans-serif; font-size: 14px; color: #000; background: #fff; border: 1px solid #000; padding: 6px 12px; outline: none; }
.wform textarea { resize: none; }
.wform button { position: absolute; background: #333; color: #fff; border: 0; font-family: 'GenJyuuGothic-Regular', sans-serif; font-size: 14px; letter-spacing: 1px; cursor: pointer; }
.wform button[disabled] { opacity: .6; cursor: default; }
.wform .msg { position: absolute; font-family: 'GenJyuuGothic-Light', sans-serif; font-size: 13px; letter-spacing: 1px; text-align: center; display: none; }
.wform .msg.ok, .wform .msg.ng { display: block; }
.wform .msg.ng { color: #a33; }
.wform .hp { position: absolute; left: -9999px; }

/* ---- 新規ページ（アプリ / セミナー / 株式会社ミランド / アストロラシオ）: いろのちから・計算ページのタイポと余白を踏襲 ---- */
.flow { position: relative; width: 980px; margin: 0 auto; padding: 60px 164px 90px; font-family: 'Klee One', sans-serif; color: #000; }
.flow h1 { font-family: 'Klee One'; font-weight: 600; font-size: 20px; letter-spacing: 5px; line-height: 28px; margin: 0 0 42px; }
.flow h2 { font-family: 'Klee One'; font-weight: 600; font-size: 16px; letter-spacing: 1.6px; line-height: 22.4px; margin: 44px 0 20px; }
.flow p, .flow li { font-size: 15px; letter-spacing: 1.5px; line-height: 21px; }
.flow p { margin: 0 0 21px; }
.flow p.small { font-size: 13px; line-height: 18.2px; letter-spacing: 1px; }
.flow p.center { text-align: center; }
.flow a { color: #000; text-decoration: underline; }
.flow ul { padding-left: 1.4em; margin: 0 0 21px; }
.flow li { margin: 0 0 6px; }
.flow .box { background: rgba(232,230,230,.53); border-radius: 5px; padding: 30px 38px 12px; margin: 30px 0; }
.flow .box p { font-size: 13px; line-height: 19.5px; letter-spacing: normal; margin-bottom: 14px; }
.flow .btns { display: flex; flex-wrap: wrap; gap: 16px 24px; margin: 8px 0 26px; }
.flow .wbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 30px 0 31px; border-radius: 5px; background: rgb(171,218,219); color: #fff; text-decoration: none; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 300; font-size: 16px; letter-spacing: 0; white-space: nowrap; }
.flow .wbtn.pink { background: rgb(246,212,224); }
.flow .wbtn svg { width: 23px; height: 23px; fill: #fff; flex: none; }
.flow .lead-row { display: flex; gap: 32px; align-items: flex-start; }
.flow .app-icon { width: 120px; height: 120px; border-radius: 26px; flex: none; }
.flow .co-logo { width: 200px; margin: 0 auto 30px; }
.flow .astro-logo { width: 300px; margin: 0 auto 30px; }
.flow .steps { list-style: none; padding: 0; margin: 0 0 21px; counter-reset: st; }
.flow .steps li { position: relative; padding-left: 44px; margin: 0 0 16px; }
.flow .steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: rgb(246,212,224); color: #333; font-family: 'Klee One'; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.flow table.def { border-collapse: collapse; width: 100%; margin: 0 0 21px; }
.flow table.def th { text-align: left; font-weight: 400; width: 172px; padding: 14px 0; vertical-align: top; font-family: 'GenJyuuGothicL-ExtraLight', sans-serif; font-size: 15px; letter-spacing: 1.5px; line-height: 21px; }
.flow table.def td { padding: 14px 0; font-family: 'GenJyuuGothicL-ExtraLight', sans-serif; font-size: 15px; letter-spacing: 1.5px; line-height: 21px; }
.flow .co-map { width: 100%; height: 320px; border: 0; margin: 0 0 21px; }
@media (max-width: 767px) {
  .flow { width: 320px; padding: 28px 20px 40px; }
  .flow h1 { font-size: 16px; letter-spacing: 4px; line-height: 24px; margin: 0 0 24px; }
  .flow h2 { font-size: 14px; letter-spacing: 1px; line-height: 20px; margin: 28px 0 12px; }
  .flow p, .flow li { font-size: 12px; letter-spacing: .5px; line-height: 19px; }
  .flow p { margin: 0 0 14px; }
  .flow p.small { font-size: 11px; line-height: 16px; }
  .flow .box { padding: 18px 18px 6px; margin: 20px 0; }
  .flow .box p { font-size: 11px; line-height: 16px; }
  .flow .wbtn { height: 42px; padding: 0 20px; font-family: 'Klee One'; font-weight: 600; font-size: 14px; }
  .flow .btns { gap: 12px; }
  .flow .lead-row { flex-direction: column; gap: 14px; align-items: center; }
  .flow .app-icon { width: 90px; height: 90px; border-radius: 20px; }
  .flow .co-logo { width: 140px; } .flow .astro-logo { width: 220px; }
  .flow .steps li { padding-left: 34px; } .flow .steps li::before { width: 24px; height: 24px; font-size: 12px; }
  .flow table.def th { width: 84px; padding: 10px 0; font-size: 12px; letter-spacing: .5px; line-height: 17px; }
  .flow table.def td { padding: 10px 0; font-size: 12px; letter-spacing: .5px; line-height: 17px; }
  .flow .co-map { height: 220px; }
}
.ftr-links2 { left: 0; width: 100%; top: 590px; display: flex; justify-content: center; gap: 28px; }
.ftr-links2 a { font-size: 12px; letter-spacing: 2px; color: rgb(19,25,70); }
.ftr-m-links2 { left: 0; top: 508px; width: 320px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.ftr-m-links2 a { font-size: 9px; letter-spacing: 1.5px; color: rgb(19,25,70); line-height: 14px; }
.ftr-m-copy { top: 560px; }
.ftr-m { height: 600px; }

/* ---- ポッドキャスト プレイヤー（Wix Music Player クラシックレイアウトの再現） ---- */
.player { position: absolute; background: #fff; display: flex; font-family: Meiryo, 'Hiragino Sans', sans-serif; color: #000; }
.pl-cover { width: 70px; height: 70px; object-fit: cover; flex: none; }
.pl-body { flex: 1; padding: 12px 16px 0; min-width: 0; }
.pl-title { font-size: 13px; line-height: 13px; display: flex; gap: 0; white-space: nowrap; }
.pl-track { margin-right: 0; } .pl-artist { margin-left: 0; }
.pl-track::after { content: "\00a0"; }
.pl-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pl-play { width: 18px; height: 20px; padding: 0; border: 0; background: none; color: #000; cursor: pointer; }
.pl-play svg { display: block; }
.pl-seek { flex: 1; -webkit-appearance: none; appearance: none; height: 2px; background: #000; margin: 0; }
.pl-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 8px; height: 8px; border-radius: 50%; background: #000; }
.pl-time { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; line-height: 16px; white-space: nowrap; }
.gmap { position: absolute; }
.totop { position: fixed !important; width: 44px; height: 44px; padding: 0; border: 0; background: none; z-index: 30; cursor: pointer; }
.totop svg { width: 44px; height: 44px; display: block; }
