@charset "UTF-8";

/* ============================================================
   reset
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
h1,h2,h3,h4,p,ul,ol,figure { margin: 0; }
ul,ol { list-style: none; }
img,picture { display: block; max-width: 100%; height: auto; }
input,button,textarea,select { font: inherit; }
button { all: unset; display: revert; cursor: pointer; }
table { border-collapse: collapse; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   config
   ============================================================ */
:root {
  --bg:        #fafaf8;
  --surface:   #fff;
  --text:      #333;
  --muted:     #888;
  --border:    #e0ddd8;
  --accent:    #6b7c5e;
  --light:     #e8ece4;
  --link:      #4a6741;
  --open:      #5a9e4b;
  --self:      #c0932a;
  --closed:    #c0392b;

  --w:         720px;
  --sp:        1.5rem;
  --r:         6px;
  --dur:       .25s;

  @media (max-width: 768px) {
    --sp: 1rem;
  }
}

/* ============================================================
   base
   ============================================================ */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* ============================================================
   layout
   ============================================================ */
.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  & > main {
    flex: 1;
    width: 100%;
    max-width: var(--w);
    margin: 0 auto;
    padding: 2rem var(--sp) 4rem;
  }
}

/* ============================================================
   header
   ============================================================ */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;

  & > .inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--sp);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    & > .logo {
      font-size: 1.125rem;
      font-weight: 700;
      letter-spacing: .08em;
      display: flex;
      align-items: center;

      img { height: 32px; width: auto; }
    }
  }

  nav {
    & > ul {
      display: flex;
      gap: 1.5rem;

      a {
        font-size: .8125rem;
        color: var(--muted);
        transition: color var(--dur);
        letter-spacing: .04em;
        &:hover { color: var(--text); }
      }
    }

    @media (max-width: 768px) {
      display: none;
      position: absolute;
      top: 56px;
      left: 0;
      right: 0;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      padding: 1rem var(--sp);

      &.open { display: block; }

      & > ul {
        flex-direction: column;
        gap: 0;

        li {
          border-bottom: 1px solid var(--border);
          a { display: block; padding: .75rem 0; font-size: .875rem; }
        }
      }
    }
  }

  & > .menu {
    display: none;
    width: 28px;
    height: 20px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;

    span {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--text);
      border-radius: 1px;
      transition: transform var(--dur), opacity var(--dur);
    }

    @media (max-width: 768px) { display: flex; }
  }
}

/* ============================================================
   footer
   ============================================================ */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem var(--sp);
  text-align: center;
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.9;

  & > .inner {
    max-width: var(--w);
    margin: 0 auto;

    & > strong {
      display: block;
      font-size: 1rem;
      color: var(--text);
      margin-bottom: .75rem;
      letter-spacing: .08em;
    }

    & > .social {
      margin-top: 1.25rem;
      display: flex;
      gap: 1rem;
      justify-content: center;

      a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--light);
        color: var(--accent);
        border-radius: 50%;
        transition: background var(--dur), color var(--dur), transform var(--dur);

        svg { width: 20px; height: 20px; }

        &:hover {
          background: var(--accent);
          color: #fff;
          transform: translateY(-2px);
        }
      }
    }

    & > small {
      display: block;
      margin-top: 1.5rem;
      font-size: .75rem;
      color: #aaa;
    }
  }
}

/* ============================================================
   article（サブページ）
   ============================================================ */
article {
  animation: fadeUp .4s ease;

  & > h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: .5rem;
    letter-spacing: .04em;

    @media (max-width: 768px) { font-size: 1.25rem; }
  }

  & > time {
    display: block;
    font-size: .8125rem;
    color: var(--muted);
    margin-bottom: 2rem;
  }

  & > .body { font-size: .9375rem; line-height: 2; }
}

/* ============================================================
   prose（マークダウン本文）
   ============================================================ */
.prose {
  font-size: .9375rem;
  line-height: 2;

  h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--border);
  }
  h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 2rem 0 .75rem;
  }
  p { margin-bottom: 1.25rem; }
  ul,ol { margin: 0 0 1.25rem 1.5rem; list-style: disc; }
  ol { list-style: decimal; }
  li { margin-bottom: .4rem; }
  a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; &:hover { opacity: .7; } }
  img { border-radius: var(--r); margin: 1.5rem 0; }
  blockquote {
    border-left: 3px solid var(--accent);
    padding: .75rem 1rem;
    margin: 1.5rem 0;
    color: var(--muted);
    background: var(--light);
    border-radius: 0 var(--r) var(--r) 0;
  }
  table {
    width: 100%;
    margin: 1.5rem 0;
    font-size: .875rem;
    th,td { border: 1px solid var(--border); padding: .5rem .75rem; text-align: left; }
    th { background: var(--light); font-weight: 600; }
  }
  hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
  code {
    background: #f0eeea;
    padding: .15em .35em;
    border-radius: 3px;
    font-size: .875em;
    font-family: "SFMono-Regular", Consolas, monospace;
  }
  pre {
    background: #f0eeea;
    padding: 1rem;
    border-radius: var(--r);
    overflow-x: auto;
    margin: 1.5rem 0;
    code { background: none; padding: 0; }
  }
}

/* ============================================================
   news-list（サブページ・お知らせ一覧）
   ============================================================ */
.news-list {
  display: flex;
  flex-direction: column;

  a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: background var(--dur);

    &:hover {
      background: var(--light);
      margin: 0 -.5rem;
      padding-left: .5rem;
      padding-right: .5rem;
      border-radius: var(--r);
    }

    time {
      font-size: .8125rem;
      color: var(--muted);
      white-space: nowrap;
      min-width: 6rem;
    }
    span { font-size: .9375rem; }
  }
}

/* ============================================================
   section（トップ共通）
   ============================================================ */
.section {
  margin: 2.5rem 0;

  & > h2 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: .04em;
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--border);
  }

  & > .link {
    display: inline-block;
    font-size: .875rem;
    color: var(--link);
    margin-top: .75rem;
    &:hover { opacity: .7; }
  }
}

/* ============================================================
   status（リアルタイム状況）
   ============================================================ */
.status {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;

  & > .date {
    font-size: .75rem;
    color: var(--muted);
    margin-bottom: .5rem;
    display: flex;
    gap: .75rem;
    justify-content: center;
  }

  & > .body {
    p {
      font-size: 1.25rem;
      font-weight: 700;
      margin: 0;
      &.open,  &.kissa  { color: var(--open); }
      &.self            { color: var(--self); }
      &.close,&.charter { color: var(--closed); }
      &.event           { color: var(--accent); }
    }
    .crowd { font-size: .875rem; color: var(--muted); margin: .25rem 0 0; }
    .free  { font-size: .8125rem; color: var(--accent); margin: .25rem 0 0; }
  }
}

/* ============================================================
   hours（営業時間）
   ============================================================ */
.hours {
  margin-bottom: 1.5rem;

  table {
    width: 100%;
    font-size: .875rem;
    margin-bottom: .75rem;

    th,td {
      border: 1px solid var(--border);
      padding: .5rem .75rem;
      text-align: center;
    }
    th { background: var(--light); font-weight: 600; }
  }

  .notes {
    font-size: .8125rem;
    color: var(--muted);
    line-height: 1.8;
  }
}

/* ============================================================
   concept
   ============================================================ */
.concept {
  text-align: center;
  padding: 1.5rem 0;
  margin-bottom: 1rem;

  & > p:first-child {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: .5rem;
    letter-spacing: .04em;
  }
  & > p:last-child {
    font-size: .875rem;
    color: var(--muted);
    line-height: 2;
  }
}

/* ============================================================
   suggests（スクロールする質問ボタン）
   ============================================================ */
.suggests {
  margin: 0 -1rem 1.25rem;
  overflow: hidden;

  .row {
    overflow: hidden;
    margin-bottom: 8px;
  }
  .track {
    display: flex;
    gap: 10px;
    width: max-content;
    will-change: transform;

    button {
      padding: 8px 16px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 22px;
      font-size: 12.5px;
      color: var(--link);
      white-space: nowrap;
      transition: all .2s;
      flex-shrink: 0;
      &:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
    }
  }

  .row:nth-child(1) .track { animation: scrollRTL 40s linear infinite; }
  .row:nth-child(2) .track { animation: scrollLTR 40s linear infinite; }
  .track:hover { animation-play-state: paused; }
}
@keyframes scrollRTL { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes scrollLTR { 0%{transform:translateX(-50%)} 100%{transform:translateX(0)} }

/* ============================================================
   chat（インラインチャット）
   ============================================================ */
.chat {
  background: var(--surface);
  box-shadow: 0 4px 24px rgba(107,124,94,.12);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;

  & > .head {
    background: linear-gradient(135deg, #6b7c5e 0%, #7d8f6c 50%, #8fa37b 100%);
    color: #fff;
    padding: 18px 24px;

    h2 { font-size: 15px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; margin: 0; }
    p  { font-size: 12px; opacity: .85; margin: 4px 0 0; line-height: 1.6; }

    @media (max-width: 768px) {
      padding: 14px 16px;
      h2 { font-size: 14px; }
    }
  }

  & > .messages {
    height: 340px;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f7f6f1;

    & > .welcome {
      text-align: center;
      padding: 24px 12px;
      h4 { color: var(--link); font-size: 16px; margin-bottom: 8px; font-weight: 700; }
      p  { font-size: 13px; line-height: 1.8; color: #555; }
    }

    @media (max-width: 768px) { height: 300px; }
  }

  & > .input {
    padding: 14px 18px;
    border-top: 1px solid #e6e3dc;
    display: flex;
    gap: 10px;
    background: var(--surface);

    textarea {
      flex: 1;
      padding: 10px 16px;
      border: 1.5px solid #d8d2c4;
      border-radius: 12px;
      font-size: 14px;
      resize: none;
      max-height: 80px;
      line-height: 1.5;
      outline: none;
      color: var(--text);
      background: var(--surface);
      transition: border-color .2s;
      &::placeholder { color: #a8a397; }
      &:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(107,124,94,.12); }
    }

    & > .send {
      width: 44px; height: 44px;
      background: var(--accent);
      color: #fff;
      border-radius: 50%;
      font-size: 14px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: background .2s, transform .2s;
      &:hover  { background: #5a6a4f; transform: scale(1.05); }
      &:disabled { background: #b8bdaf; transform: none; }
    }
  }

  & > .note {
    padding: 8px 14px;
    text-align: center;
    font-size: 11px;
    color: #999;
    background: #fafaf8;
    border-top: 1px solid #eee;
  }
}

/* メッセージバブル */
.msg {
  display: flex;
  gap: 8px;
  max-width: 88%;
  animation: fadeUp .25s ease;

  &.user { align-self: flex-end; flex-direction: row-reverse; }
  &.bot  { align-self: flex-start; }

  .avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #fff;
  }
  &.user .avatar { background: var(--accent); }
  &.bot  .avatar { background: #c9bfa3; }

  .bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.75;
    white-space: pre-wrap;
    word-break: break-word;
  }
  &.user .bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
  &.bot  .bubble { background: var(--surface); border: 1px solid #e6e3dc; border-bottom-left-radius: 4px; color: var(--text); }

  &.typing .bubble {
    display: flex; gap: 5px; align-items: center; padding: 14px 18px;
    .dot {
      width: 7px; height: 7px; background: #b8bdaf; border-radius: 50%;
      animation: dotBounce 1.3s infinite;
      &:nth-child(2) { animation-delay: .15s; }
      &:nth-child(3) { animation-delay: .3s; }
    }
  }
}
@keyframes dotBounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }

/* ============================================================
   menu（料金・ドリンク）
   ============================================================ */
.menu {
  & > .plan {
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--accent);
    margin-bottom: .5rem;
    display: block;
  }

  table {
    width: 100%;
    font-size: .9rem;
    margin-bottom: .75rem;

    td {
      padding: .6rem .5rem;
      border-bottom: 1px solid var(--border);

      small { font-size: .8125rem; color: var(--muted); }

      &:last-child {
        text-align: right;
        font-weight: 700;
        white-space: nowrap;
        small { font-size: .75rem; font-weight: 400; margin-left: 1px; }
      }
    }
    tr:last-child td { border-bottom: none; }
  }

  & > .notes {
    font-size: .8125rem;
    color: var(--muted);
    line-height: 1.8;
  }

  & > p {
    font-size: .875rem;
    color: var(--muted);
    margin: .5rem 0;
  }
}

/* ============================================================
   notes（共通注釈リスト）
   ============================================================ */
.notes {
  list-style: none;
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ============================================================
   rules（約束事）
   ============================================================ */
.rules {
  counter-reset: rule;
  margin: 1rem 0;

  li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .9375rem;
    counter-increment: rule;

    &::before {
      content: counter(rule, cjk-ideographic);
      display: flex; align-items: center; justify-content: center;
      width: 2rem; height: 2rem;
      border-radius: 50%;
      background: var(--light);
      color: var(--accent);
      font-size: .875rem;
      font-weight: 700;
      flex-shrink: 0;
    }
  }
}

/* ============================================================
   map（フロアマップ）
   ============================================================ */
.map {
  figure {
    margin: 1rem 0 .75rem;
    border-radius: var(--r);
    overflow: hidden;
    img { width: 100%; border-radius: var(--r); }
  }

  ul {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    font-size: .875rem;
  }
}

/* ============================================================
   cards（情報カード）※現在未使用、残置
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;

  & > div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.25rem;
    text-align: center;
    transition: box-shadow var(--dur);
    &:hover { box-shadow: 0 1px 4px rgba(0,0,0,.06); }

    p:first-child { font-size: .75rem; color: var(--muted); margin-bottom: .25rem; }
    p:last-child  { font-size: 1.125rem; font-weight: 700; }
  }
}

/* ============================================================
   news top（お知らせ一覧 — トップ）
   ============================================================ */
.news {
  & > .list {
    display: flex;
    flex-direction: column;

    a {
      display: flex;
      align-items: baseline;
      gap: 1rem;
      padding: 1rem 0;
      border-bottom: 1px solid var(--border);
      transition: background var(--dur);

      &:hover {
        background: var(--light);
        margin: 0 -.5rem;
        padding-left: .5rem;
        padding-right: .5rem;
        border-radius: var(--r);
      }

      time { font-size: .8125rem; color: var(--muted); white-space: nowrap; min-width: 6rem; }
      span { font-size: .9375rem; }
    }
  }

  & > .more {
    display: inline-block;
    margin-top: 1rem;
    font-size: .8125rem;
    color: var(--accent);
  }
}

/* ============================================================
   badge（ステータスバッジ）
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;

  & > span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--muted);
    &.open  { background: var(--open); }
    &.self  { background: var(--self); }
    &.close { background: var(--closed); }
  }
}

/* ============================================================
   animations
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   hero（トップキービジュアル）
   ============================================================ */
.hero {
  text-align: center;
  margin-bottom: 1.5rem;

  & > img {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 1rem;
    border-radius: var(--r);
  }

  & > .date {
    font-size: .8125rem;
    color: var(--muted);
    display: flex;
    gap: .5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    /* 現行サイトと同じく Material Symbols Outlined を使用 */
    .date-weather {
      display: inline-flex;
      align-items: center;
      vertical-align: middle;
    }
    .date-weather::after {
      display: block;
      font-family: 'Material Symbols Outlined';
      font-size: 17px;
      line-height: 1;
    }
    .w01d::after, .w01n::after { content: '\e81a'; }
    .w02d::after, .w02n::after { content: '\f172'; }
    .w03d::after, .w03n::after,
    .w04d::after, .w04n::after { content: '\f15b'; }
    .w09d::after, .w09n::after,
    .w10d::after, .w10n::after { content: '\f176'; }
    .w11d::after, .w11n::after { content: '\ea0b'; }
    .w13d::after, .w13n::after { content: '\eb3b'; }
    .w50d::after, .w50n::after { content: '\e188'; }

    .date-temperature {
      display: inline-flex;
      align-items: baseline;
      i { font-style: normal; }
      i:first-child { font-size: 1rem; font-weight: 700; color: var(--text); }
      i:last-child  { font-size: .75rem; margin-left: 1px; }
    }
  }
}

/* ============================================================
   gmap（Google Maps 埋め込み）
   ============================================================ */
.gmap {
  margin: 1rem 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);

  iframe { display: block; width: 100%; }
}

/* ============================================================
   gcal（Google Calendar 埋め込み）
   ============================================================ */
.gcal {
  margin: 1rem 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);

  iframe { display: block; width: 100%; }
}

/* ============================================================
   instagram フィード
   ============================================================ */
.instagram {
  margin: 1rem 0;

  & > .instagram-handle {
    display: inline-block;
    font-size: .8125rem;
    color: var(--accent);
    margin-bottom: .75rem;
    &:hover { opacity: .7; }
  }

  & > .instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;

    a {
      display: block;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      background: var(--light);

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform var(--dur);
      }

      &:hover img { transform: scale(1.05); }
    }
  }
}

/* ============================================================
   contact（LINE）
   ============================================================ */
.contact {
  text-align: center;

  & > p {
    font-size: .9375rem;
    color: var(--muted);
    margin-bottom: 1rem;
  }

  .lineQr {
    margin: 1rem 0;
    img {
      display: inline-block;
      width: 160px;
      height: 160px;
      border-radius: var(--r);
      border: 1px solid var(--border);
    }
  }

  .lineBtn {
    margin-top: .75rem;
    img {
      display: inline-block;
      transition: transform var(--dur);
      &:hover { transform: translateY(-2px); }
    }
  }
}

/* ============================================================
   print
   ============================================================ */
@media print {
  header, footer, .chat, .gmap, .gcal, .instagram { display: none; }
  main { max-width: 100%; padding: 0; }
  body { background: #fff; color: #000; }
}
