/* リニューアル (新デザイン) のトップ以外のページ。各ページの細かいスタイルは assets/rd/pages/{ページ}.html の中にある。 */

/* テーマのヘッダー・下部バーは新デザインのものに置き換える */
body.hl-rd { background: #FAF8F5; padding-bottom: 92px; }
body.hl-rd .site-header, body.hl-rd .cta-bar, body.hl-rd .skip-link { display: none !important; }
body.hl-rd .site-main { padding: 0; margin: 0; }

.rdp { max-width: 560px; margin: 0 auto; }
.rdp *, .rdp *::before, .rdp *::after { box-sizing: border-box; }
.rdp h1, .rdp h2, .rdp h3, .rdp h4 { border: 0; background: none; padding: 0; color: inherit; letter-spacing: inherit; }
.rdp h1::before, .rdp h1::after, .rdp h2::before, .rdp h2::after, .rdp h3::before, .rdp h3::after, .rdp h4::before, .rdp h4::after, .rdp li::before { content: none; display: none; }
.rdp a { color: inherit; text-decoration: none; }
.rdp img { max-width: 100%; border-radius: 0; box-shadow: none; }
.rdp button { font-family: inherit; }

/* メニュー */
.rd-nav { position: fixed; inset: 0; z-index: 1000; background: #FAF8F5; padding: 72px 28px 40px; overflow-y: auto; font-family: 'Inter', 'Zen Kaku Gothic New', sans-serif; }
.rd-nav[hidden] { display: none; }
.rd-nav__close { position: absolute; top: 8px; right: 12px; width: 44px; height: 44px; border: none; background: transparent; font-size: 28px; line-height: 1; color: #1F1D1B; cursor: pointer; }
.rd-nav__list { list-style: none; margin: 0; padding: 0; }
.rd-nav__list li { border-bottom: 1px solid #E6E0D7; }
.rd-nav__list a { display: block; padding: 16px 0; font-size: 16px; font-weight: 500; color: #1F1D1B; text-decoration: none; }
.rd-nav__line { margin-top: 32px; height: 54px; border-radius: 27px; background: #1F1D1B; color: #FFFFFF !important; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; text-decoration: none; }
body.rd-nav-open { overflow: hidden; }

/* パソコンなど広い画面: スマホのデザインを中央に表示する */
@media (min-width: 600px) {
	body.hl-rd { background: #F1ECE4; }
	.rdp { box-shadow: 0 0 0 1px #E6E0D7; }
}

/* ブログ記事の本文 (デザインの記事ページに合わせる) */
.rd-entry { font-size: 16px; line-height: 2.0; }
.rd-entry > * + * { margin-top: 16px; }
.rd-entry p { margin: 16px 0 0; }
.rd-entry > :first-child { margin-top: 28px; }
.rd-entry h2 { margin: 56px 0 0; padding-top: 16px; border-top: 2px solid #1F1D1B; font-family: 'Inter', 'Shippori Mincho', serif; font-size: 22px; font-weight: 700; line-height: 1.6; scroll-margin-top: 16px; text-wrap: balance; }
.rd-entry h3 { margin: 36px 0 0; padding-left: 12px; border-left: 3px solid #8A6A3E; font-size: 18px; font-weight: 700; line-height: 1.6; }
.rd-entry h4 { margin: 28px 0 0; font-size: 16px; font-weight: 700; }
.rd-entry ul, .rd-entry ol { margin: 16px 0 0; padding-left: 1.4em; }
.rd-entry li { margin-top: 6px; }
.rd-entry img { height: auto; margin-top: 18px; }
.rd-entry figure { margin: 18px 0 0; }
.rd-entry table { margin-top: 18px; width: 100%; border-collapse: collapse; font-size: 13px; }
.rd-entry th, .rd-entry td { padding: 10px 6px; border-bottom: 1px solid #E6E0D7; text-align: left; vertical-align: top; }
.rd-entry th { background: #F1ECE4; }
.rd-entry .wp-block-table { overflow-x: auto; }
.rd-entry a { color: #8A6A3E; text-decoration: underline; }
.rd-entry blockquote { margin: 18px 0 0; padding: 16px 18px; background: #F7F3EE; border-left: 3px solid #D8C3A0; }

/* メニューの「店舗・アクセス」: 押すと 3 店舗から選べる */
.rd-nav__stores summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 16px; font-weight: 500; color: #1F1D1B; cursor: pointer; list-style: none; }
.rd-nav__stores summary::-webkit-details-marker { display: none; }
.rd-nav__stores summary::after { content: "+"; font-family: 'Inter', sans-serif; font-size: 20px; color: #8A6A3E; }
.rd-nav__stores[open] summary::after { content: "−"; }
.rd-nav__stores ul { list-style: none; margin: 0 0 12px; padding: 0; }
.rd-nav__stores ul li { border-bottom: none; border-top: 1px solid #EFEAE2; }
.rd-nav__stores ul a { display: block; padding: 12px 0 12px 14px; font-size: 15px; font-weight: 700; color: #1F1D1B; text-decoration: none; }
.rd-nav__stores ul a span { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: #5B5650; }

/* Safari など auto-phrase 非対応のブラウザ: 文節ごとの <wbr> でだけ改行する */
/* 全ブラウザ共通: 文節の切れ目(<wbr>・自動で入れる区切り)でだけ改行する */
.rdp, .rdp *, .rd-entry, .rd-entry * { word-break: keep-all !important; }

/* 開閉する部分: 閉じているときは隠す (中身は HTML に入っているので検索エンジンは読める) */
.rdp .rd-acc[data-open="false"] { display: none; }
