/* 2026-11-07 19:1x 見た目の直し（411_/86_ の11件・Elaya の redesign-existing-projects と landing-page-design・数字は Design Values の表から）
   Claude Code サイトの会話 4f9786f5。文は変えていない。この1本を全ページの最後に読む。 */

/* 1・2 上の帯：ほぼ不透明に（下の文字が透けない）／スマホとタブレットは1段＋メニューの板（LPD B7 Navigation・B10） */
html body .bar,html body header.bar{background:#eaeef2}
html body .bar .mnav{display:none}
@media (max-width:1100px){
  html body .bar .inner{grid-template-columns:minmax(0,1fr) auto auto auto;padding:8px 8px 8px 16px;row-gap:0}
  html body .bar .inner>nav:not(.lang-switch){display:none!important}
  html body .bar .mnav{display:block;grid-column:4;grid-row:1}
}
html body .mnav>summary{list-style:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;cursor:pointer;color:var(--ink,#15181c)}
html body .mnav>summary::-webkit-details-marker{display:none}
html body .mnav>summary:hover{background:rgba(100,110,120,.12)}
html body .mnav>summary:active{transform:scale(.98)}
html body .mnav>summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}
html body .mnav .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body .mnav-ic{position:relative;display:block;width:20px;height:14px}
html body .mnav-ic i{position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor;transition:transform 500ms cubic-bezier(.22,1,.36,1),opacity 300ms cubic-bezier(.22,1,.36,1)}
html body .mnav-ic i:nth-child(1){top:0}
html body .mnav-ic i:nth-child(2){top:6px}
html body .mnav-ic i:nth-child(3){top:12px}
html body .mnav[open] .mnav-ic i:nth-child(1){transform:translateY(6px) rotate(45deg)}
html body .mnav[open] .mnav-ic i:nth-child(2){opacity:0}
html body .mnav[open] .mnav-ic i:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
html body .mnav-panel{position:fixed;inset:0;z-index:-1;padding:96px 24px 32px;overflow-y:auto;background:rgba(245,246,248,.96);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);animation:mnav-fade 300ms cubic-bezier(.22,1,.36,1) both}
html body .mnav-panel ul{list-style:none;margin:0 auto;padding:0;display:grid;gap:4px;max-width:680px}
html body .mnav-panel a{display:flex;align-items:center;min-height:48px;padding:12px 16px;border-radius:12px;font-size:20px;line-height:28px;font-weight:500;color:var(--ink,#15181c);text-decoration:none}
html body .mnav-panel a:hover{background:rgba(100,110,120,.12)}
html body .mnav-panel a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
html body .mnav-panel a[aria-current="page"]{font-weight:600;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}
html body .mnav[open] .mnav-panel li{animation:mnav-in 500ms cubic-bezier(.22,1,.36,1) both}
html body .mnav[open] .mnav-panel li:nth-child(2){animation-delay:60ms}
html body .mnav[open] .mnav-panel li:nth-child(3){animation-delay:120ms}
html body .mnav[open] .mnav-panel li:nth-child(4){animation-delay:180ms}
html body .mnav[open] .mnav-panel li:nth-child(5){animation-delay:240ms}
@keyframes mnav-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes mnav-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  html body .mnav-ic i{transition:none}
  html body .mnav[open] .mnav-panel li{animation:mnav-fade 300ms linear both;animation-delay:0ms!important}
}

/* 11 今いるページの印（LPD B9） */
html body .bar nav a[aria-current="page"]{color:var(--ink,#15181c);font-weight:600;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}

/* 3 見出しは意味の切れ目で改行・1語落ちを防ぐ（LPD B1・B5） */
html body :is(h1,h2,h3,.page-h1,.sp-t,.vid b){text-wrap:balance;word-break:auto-phrase}
html body .ph{display:inline-block}
html body.p-top #main.rd .hero .act a.cta{white-space:nowrap}

/* 4 トップの関連リンク：3本目（a.go）を上の2本と同じ形に（RD Layout） */
html body.p-top #main.rd .feat ul.rd-links+a.go{display:block;margin-top:6px;font-size:inherit;line-height:inherit;font-weight:inherit;letter-spacing:normal}
html body.p-top #main.rd .feat ul.rd-links+a.go::after,html body.p-top #main.rd .feat ul.rd-links+a.go::before{content:none}

/* 5 アプリの画面の写真の枠を中央に（RD Layout） */
@media (max-width:900px){html body:not(.p-top) figure.hero-shot{margin-left:auto;margin-right:auto;justify-self:center}}

/* 6 アプリ案内の箱の下に 24px（LPD B2 Spacing-300） */
html body .sp-app{margin-bottom:24px}

/* 7 段落の折り返し：日本語で短い行ができる text-wrap:pretty をやめ、トップの説明文は 680px まで使う（LPD B5） */
html body.p-top #main.rd :is(.hero .lead,.feat p,.intro){text-wrap:wrap}
html body.p-top #main.rd .hero .lead{max-width:680px}

/* 8 本文を Body 3（16/24）にそろえる（LPD B1） */
html body main :is(p,li,dd):not([class]){font-size:16px;line-height:24px}
html body.p-top #main.rd :is(p,li,dd):not([class]),html body.p-top #main.rd .intro{font-size:16px;line-height:24px}
html body.p-top #main.rd .hero .lead{font-size:18px;line-height:28px;font-weight:500}
html body:not(.p-top) main.wrap>section.hero:has(>h1) .lead,html body:not(.p-top) main.subpage>section.sec:first-child>p{font-size:16px;line-height:24px}

/* 9 段に乗らない大きさを下の段へ（RD・LPD B1 Type scale） */
html body .site-share-button{font-size:12px;line-height:16px}
html body.p-howto main h3{font-size:20px;line-height:28px}

/* 10 太さは bold（700）まで（RD・LPD B1） */
html body .tu-note{font-size:60px;line-height:60px;font-weight:700}
html body .mt-bpmlab input{font-size:48px;line-height:48px;font-weight:700}
html body .mt-box input{font-size:12px;line-height:16px}

/* 8 の続き：ページの最初の段落だけ 18px になっていたのを本文と同じ 16/24 に */
html body:not(.p-top) main.subpage>section.sec:first-child>p:first-of-type{font-size:16px;line-height:24px;font-weight:400}

/* 1 の続き：スマホの幅では、いま見ている言語（日本語）の印を外し、アプリの名前が切れないようにする */
@media (max-width:480px){
  html body .bar .inner nav.lang-switch [aria-current="page"]{display:none}
  html body .bar .inner{column-gap:4px}
}

/* 8・9・10 の残り（全52ページを 390px と 1440px で測って見つけたもの） */
html body main :is(p,li,dd):not([class]),html body.p-manual .mlead p{font-size:16px!important;line-height:24px!important}
html body.p-howto main h3{font-size:20px!important;line-height:28px!important}
html body .mt-bpmlab input{font-size:48px!important;line-height:48px!important;font-weight:700!important}
html body footer .footer-inner a,html body footer .footer-inner span{font-size:14px;line-height:20px}
html body .mnav .vh{font-size:12px}

/* 1 の続き：メニューの板の中は、上の帯の nav の決まり（14px・中央寄せ・横並び）を受けない */
html body .bar .inner .mnav-panel{background:rgba(245,246,248,.98)}
html body .bar .inner .mnav-panel nav{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;-webkit-mask-image:none!important;mask-image:none!important}
html body .bar .inner .mnav-panel a{display:flex!important;justify-content:flex-start!important;width:100%;min-height:48px!important;padding:12px 16px!important;font-size:20px!important;line-height:28px!important;font-weight:500!important;white-space:normal!important}
html body .bar .inner .mnav-panel a[aria-current="page"]{font-weight:600!important}

/* 上の帯が低くなったので、/howling/ ほか p-howto のページの見出しが帯にくっつかないよう上に 32px（LPD B2 Spacing-400） */
html body.p-howto main>section.hero{padding-top:32px}

/* ===== 19:2x 2回目（411_/87_ Fable の F4・F8〜F12・F14・F15）===== */
/* F4 上の帯の下から最初の中身まで、全ページ 48px（LPD B2 Spacing-600） */
html body #main:not(.mmain),html body .mwrap{padding-top:48px!important;margin-top:0!important}
html body #main:not(.mmain)>:first-child,html body .mwrap>.mmain{padding-top:0!important;margin-top:0!important}
html body #main:not(.mmain)>:first-child>:first-child,html body #main:not(.mmain)>:first-child>.wrap>:first-child,html body #main:not(.mmain)>:first-child>.narrow>:first-child,html body .mmain>:first-child,html body .mmain>article>:first-child,html body .mmain>article>header>:first-child{margin-top:0!important;padding-top:0!important}
html body.p-howto main>section.hero{padding-top:0!important}

/* F8 下の固定バー：縁から 16px 浮かせ、角丸 16px・半透明（LPD B7 の帯と同じ作り） */
html body .dlbar{left:16px!important;right:16px!important;bottom:calc(16px + env(safe-area-inset-bottom, 0px))!important;border-radius:16px!important;background:rgba(234,238,242,.94)!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid #d5dbe1;box-shadow:none!important;padding:8px 8px 8px 16px!important}
html body .dlbar .dlbar-in{padding:0!important}

/* F9 マニュアルの QR のカードと「最短の手順」のカードを同じ幅に */
html body.p-manual .mart .pc-qr{max-width:none!important;width:auto!important}

/* F10 スマホのパンくずを1行に（入りきらない分は最後の項目を…で切る） */
@media (max-width:767px){
  html body nav.crumb ol{display:flex!important;flex-wrap:nowrap!important;white-space:nowrap;overflow:hidden;min-width:0}
  html body nav.crumb li{flex:none}
  html body nav.crumb li:last-child{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
}

/* F11 オレンジのボタンの色のついた影をやめる（RD「Generic box-shadow」・スキルに影の数字が無いので影なし） */
html body :is(a.cta,a.btn,a.button,a.cta-t,a.m-b,a.sp-b,a.btn-s,a.dlbar-b,button.cta,a.btn-p):not(#_){box-shadow:none!important}

/* F12 ボタンは Button-md（16/24・semibold）・上下 8px・左右 12px（LPD B1・B2） */
html body :is(a.cta,a.btn,a.button,a.cta-t,a.m-b,a.sp-b,a.btn-s,a.dlbar-b,button.cta,a.btn-p):not(#_){padding:8px 12px!important;font-size:16px!important;line-height:24px!important;font-weight:600!important;min-height:0!important}

/* F14 PC のナビの App Store は文字のリンクに（塗りのボタンはページの頭の1つだけ） */
html body .bar .badge-slot.badge-txt{display:inline-flex;align-items:center;padding:8px 12px;border-radius:8px;background:transparent!important;color:var(--ink,#15181c);font-size:14px;line-height:20px;font-weight:600;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
html body .bar .badge-slot.badge-txt:hover{background:rgba(100,110,120,.12)!important}

/* F15 PC のトップの機能の段：右の画面の上端を見出しの上端にそろえる */
@media (min-width:901px){html body.p-top #main.rd .feat{align-items:start!important}html body.p-top #main.rd .feat>figure{margin-top:0!important;align-self:start!important}}
/* F4 の続き：英語の3ページ（main に id が無い形）も 48px */
html body>main.wrap:not(#main){padding-top:48px!important}
html body>main.wrap:not(#main)>:first-child{margin-top:0!important;padding-top:0!important}
/* F14 の続き：1100px 以下では、これまでどおり帯にバッジを出さない（下の固定バーがある） */
@media (max-width:1100px){html body .bar .inner .badge-slot.badge-txt{display:none!important}}
