/* 旧サイト（WordPress のテーマ Twenty Twenty-One を少し直したもの）に合わせた見た目。
   白い背景・黒い文字・ゴシック体。中央に大きなロゴ、その下に文字のメニュー */

:root {
  --text: #000;
  --bg: #fff;
  --muted: #555;
  --content: min(calc(100vw - 60px), 610px); /* 本文の幅 */
  --wide: min(calc(100vw - 60px), 1240px); /* フッターの線の幅 */
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.7;
  /* 文節の途中で改行しない（build.mjs が <wbr> を入れている） */
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-style: dotted;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px dotted currentColor;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 8px;
  top: -100px;
  padding: 8px 16px;
  background: var(--text);
  color: var(--bg);
  z-index: 10;
}

.skip:focus {
  top: 8px;
}

/* ヘッダー：ロゴとメニュー */
.site-header {
  padding: 24px 0 0;
  text-align: center;
}

.site-logo {
  display: inline-block;
}

.site-logo img {
  width: 140px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  margin: 16px auto 0;
  padding: 0 16px;
  font-size: 1rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

main {
  margin-top: 32px;
}

/* トップの写真（画面の幅いっぱい） */
.top-img img {
  width: 100%;
}

/* 各ページの本文 */
.entry {
  width: var(--content);
  margin: 0 auto;
}

.entry > :first-child {
  margin-top: 0;
}

.entry p {
  margin: 0 0 1.25em;
}

.entry h2 {
  margin: 2em 0 0.6em;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.4;
}

.page-title {
  margin: 0 0 1em;
  font-size: 1.5rem;
  font-weight: normal;
}

/* メニュー */
.menu-note {
  font-size: 1rem;
}

.price-list {
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
}

.price-list li {
  padding: 0.5em 0;
  border-bottom: 1px solid #ddd;
}

.price-list__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.price-list__row span {
  white-space: nowrap;
}

.price-list__desc {
  display: block;
  margin-top: 0.2em;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ギャラリー（旧サイトと同じく縦に並べる） */
.gallery {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.gallery img {
  width: 100%;
}

/* アクセス */
.map {
  margin: 0 0 1.5em;
}

.map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
}

.entry h2 + .plain-list {
  margin-top: 0;
}

.plain-list {
  margin: 0 0 1.25em;
  padding: 0;
  list-style: none;
}

/* 予約フォーム（入力欄は Twenty Twenty-One と同じ太い黒枠） */
.booking {
  margin: 0 0 1.5em;
}

.hp {
  position: absolute;
  left: -9999px;
}

.field {
  display: block;
  margin: 0 0 1.25em;
}

.field__label {
  display: block;
  margin-bottom: 0.3em;
  font-weight: bold;
}

.field__req,
.field__opt {
  margin-left: 0.25em;
  font-weight: normal;
  font-size: 0.875rem;
  color: var(--muted);
}

.field__note {
  display: block;
  margin-top: 0.3em;
  font-size: 0.875rem;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border: 3px solid var(--text);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

select {
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 18px center, right 12px center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

textarea {
  resize: vertical;
}

.choice {
  margin: 0 0 1.25em;
  padding: 0;
  border: 0;
}

.choice legend {
  padding: 0;
  margin-bottom: 0.3em;
  font-weight: bold;
}

.choice__row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 12px;
}

.choice__row .field {
  margin: 0;
}

.choice__row .field__label {
  font-weight: normal;
  font-size: 0.875rem;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--text);
}

.booking__privacy,
.booking__note {
  font-size: 0.9375rem;
}

.button {
  display: inline-block;
  padding: 14px 32px;
  border: 3px solid var(--text);
  border-radius: 0;
  background: var(--text);
  color: var(--bg);
  font: inherit;
  font-size: 1.125rem;
  cursor: pointer;
}

.button:hover {
  background: var(--bg);
  color: var(--text);
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.errors {
  padding-left: 1.25em;
}

/* フッター：太い線、アイコン、住所、© */
.site-footer {
  width: var(--wide);
  margin: 64px auto 0;
  padding: 24px 0 48px;
  border-top: 3px solid var(--text);
  text-align: center;
  font-size: 0.9375rem;
}

.site-footer p {
  margin: 0.5em 0 0;
}

.site-footer__icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.site-footer__icons a {
  display: inline-flex;
  padding: 4px;
}

@media (min-width: 482px) {
  .site-header {
    padding-top: 48px;
  }

  .site-logo img {
    width: 200px;
  }
}

@media (min-width: 822px) {
  body {
    font-size: 1.25rem;
  }

  .site-header {
    padding-top: 80px;
  }

  .site-logo img {
    width: 300px;
  }

  .site-nav {
    margin-top: 72px;
  }

  main {
    margin-top: 32px;
  }

  .site-footer {
    margin-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
