@charset "UTF-8";
/* 歯科医院の見本と、開始日の一言（2026-10-04）。トップと料金プランのページだけが読む。
   サイトの地の上に、よその医院のサイトが 1 つ置いてある、という見え方にする：
   ブラウザの窓と中の頁は白とミント（CM の最後の札の色）、スマートフォンは本物の管理ページ（projects/shop-today）の色。
   ★窓の中の頁（医院のサイト）の色と書体は医院のもの。2026-10-20 にサイトを LINE 風（ゴシック・緑）にしたときも変えていない
     （明朝は --d-serif として、この見本の中だけで持つ）。
   色・罫・角丸の基は style.css の変数（--paper-sub --ink --ink-soft --line --line-strong --accent --r --c-wider）。 */

/* 開始日の一言。「新しい」は日付で伝える（大きな帯は作らない） */
.pnews {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25em 1em;
  margin: 0;
  font-size: .86rem;
  line-height: 1.7;
  letter-spacing: .08em;
}
.pnews__date {
  padding-right: 1em;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--accent);
  border-right: 1px solid var(--line-strong);
  font-variant-numeric: lining-nums;
}

/* 見本の全体。広い画面は横に 2 つ、狭い画面は縦に（ホームページ → スマートフォン） */
.ddemo {
  --d-ink: #23302d;
  --d-soft: #5d6b67;
  --d-mint: #e3f1ec;
  --d-deep: #2f5d57;
  --d-rule: rgba(35, 48, 45, .14);
  --d-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  width: var(--c-wider);
  margin-inline: calc(50% - var(--c-wider) / 2);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 17.5rem);
  gap: clamp(1rem, 2.6vw, 1.8rem);
  align-items: start;
}
.ddemo p { margin: 0; }

/* ブラウザの窓 */
.ddemo__site {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--r) + 2px);
  overflow: hidden;
}
.ddemo__bar {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .5rem .75rem;
  background: var(--paper-sub);
  border-bottom: 1px solid var(--line);
}
.ddemo__dots { display: inline-flex; gap: .3rem; }
.ddemo__dots i { width: .55rem; height: .55rem; border-radius: 50%; background: rgba(17, 17, 17, .2); }
.ddemo__url {
  flex: 1 1 auto;
  min-width: 0;
  padding: .16rem .85rem;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 窓の中の頁（歯科医院のホームページ） */
.ddemo__page { font-family: var(--sans); color: var(--d-ink); background: #fbfdfc; }
.ddemo__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; }
.ddemo__logo { font-family: var(--d-serif); font-size: clamp(.95rem, 2vw, 1.1rem); letter-spacing: .12em; white-space: nowrap; }
.ddemo__nav { display: flex; gap: 1.1rem; font-size: .72rem; letter-spacing: .08em; color: var(--d-soft); white-space: nowrap; }
/* 動画は窓の端まで広げず、左右に白い余白を残す（本人 2026-10-04「隙間があったほうが、埋め込んであるのが分かりやすい」） */
.ddemo__hero { aspect-ratio: 16 / 9; margin-inline: clamp(.85rem, 4%, 1.5rem); border: 0; border-radius: var(--r); background: #1b2330; }
.ddemo__hero video { width: 100%; height: 100%; object-fit: cover; }
.ddemo__sound { right: auto; left: .55rem; }
.ddemo__catch {
  padding: .95rem 1rem .1rem;
  font-family: var(--d-serif);
  font-size: clamp(1rem, 2.3vw, 1.25rem);
  letter-spacing: .14em;
  text-align: center;
  color: var(--d-deep);
}
.ddemo__info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem 1.5rem; padding: .9rem 1rem 1.1rem; }
.ddemo__label { margin: 0 0 .35rem; font-size: .7rem; line-height: 1.5; letter-spacing: .14em; color: var(--d-soft); }
.ddemo .ddemo__label:not(:first-child) { margin-top: .95rem; }
.ddemo__now { font-family: var(--d-serif); font-size: 1.02rem; line-height: 1.6; letter-spacing: .06em; }
.ddemo__notice { padding: .55rem .7rem; font-size: .84rem; line-height: 1.7; background: var(--d-mint); border-radius: var(--r); }
.ddemo__notice.is-set { color: #8a2f2f; background: #fdeeee; }
.ddemo__notice span { display: block; }
.ddemo .ddemo__legend { margin-top: .4rem; font-size: .7rem; color: var(--d-soft); }

/* カレンダー（ホームページ側・管理ページ側で同じ骨組み） */
.ddemo__cal { min-height: 13rem; }
.ddemo__cal table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 2px; font-variant-numeric: tabular-nums; }
.ddemo__cal caption { padding: 0 0 .3rem; caption-side: top; text-align: left; font-size: .86rem; letter-spacing: .08em; }
.ddemo__cal th { padding: .15rem 0; font-size: .66rem; font-weight: 500; text-align: center; color: #7b8884; }
.ddemo__cal td { height: 2.15rem; padding: 0; text-align: center; vertical-align: middle; font-size: .8rem; line-height: 1.15; border-radius: 4px; }
.ddemo__num { display: block; }
.ddemo__mark { display: none; font-size: .58rem; color: #8a2f2f; }
.ddemo__cal td.is-closed { color: #8b8f8d; background: #f1efec; }
.ddemo__cal td.is-closed .ddemo__mark { display: block; }
.ddemo__cal td.is-today { box-shadow: inset 0 0 0 1px var(--d-ink); }
.ddemo__cal td.is-flash { animation: ddemo-flash 1.5s ease-out 1; }
@keyframes ddemo-flash { from { background: #ffcf8f; } }

/* スマートフォン（管理ページ） */
.ddemo__phone { padding: .6rem; background: #23211e; border-radius: 1.75rem; }
.ddemo__screen { padding: 1rem .85rem 1.15rem; font-family: var(--sans); color: #26231f; background: #fbfaf7; border-radius: 1.25rem; }
.ddemo__admin-title { margin: 0 0 .85rem; padding-bottom: .6rem; font-size: .98rem; font-weight: 700; line-height: 1.5; letter-spacing: .02em; border-bottom: 1px solid var(--d-rule); }
.ddemo__admin-title span { display: block; font-size: .72rem; font-weight: 500; color: #6d675e; }
.ddemo__cal--admin { min-height: 15rem; }
.ddemo__cal--admin td { height: auto; }
.ddemo__cal--admin button {
  display: block;
  width: 100%;
  min-height: 2.25rem;
  padding: 0;
  font: inherit;
  font-size: .84rem;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}
.ddemo__cal--admin button:hover,
.ddemo__cal--admin button:focus-visible { border-color: #26231f; }
.ddemo__cal--admin button.is-regular { color: #a29c92; background: #edeae4; border-color: transparent; cursor: default; }
.ddemo__cal--admin button.is-extra { font-weight: 700; color: #a12b2b; background: #fbe4e4; }
.ddemo__cal--admin button.is-today { border-color: #1f5fae; box-shadow: inset 0 0 0 1px #1f5fae; }
.ddemo .ddemo__admin-legend { display: flex; align-items: center; gap: .4rem; margin-top: .5rem; font-size: .7rem; color: #6d675e; }
.ddemo__chip { width: .75rem; height: .75rem; border-radius: 3px; }
.ddemo__chip--regular { background: #edeae4; }
.ddemo__chip--extra { margin-left: .7rem; background: #fbe4e4; }
.ddemo .ddemo__hint { margin-top: .6rem; font-size: .78rem; line-height: 1.7; color: #4c4841; }
.ddemo .ddemo__status { min-height: 2.6em; margin-top: .45rem; font-size: .76rem; line-height: 1.6; color: #1f5fae; }
.ddemo__hours { margin: 0; font-size: .8rem; }
.ddemo__hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--d-rule); }
.ddemo__hours dt, .ddemo__hours dd { margin: 0; }

/* 添え書き。見本の幅に合わせ、すぐ下に寄せる */
.ddemo__note { width: var(--c-wider); margin-inline: calc(50% - var(--c-wider) / 2); }
[data-customer-scaffold] .section > .wrap > .ddemo__note { margin-top: .75rem; }

@media (max-width: 860px) {
  .ddemo { grid-template-columns: minmax(0, 1fr); }
  .ddemo__phone { width: min(100%, 21rem); margin-inline: auto; }
}
@media (max-width: 560px) {
  .ddemo__nav { display: none; }
  .ddemo__info { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ddemo__cal td.is-flash { animation: none; }
}
