/* アニマタ LP — KARCHINE風・自然系デザイン */
:root {
  --color-bg: #f7f9f6;
  --color-bg-alt: #eef4ef;
  --color-primary: #4a7c59;
  --color-primary-dark: #3a6347;
  --color-accent: #8fb996;
  --color-text: #333333;
  --color-text-muted: #666666;
  --color-border: #d4e0d6;
  --color-white: #ffffff;
  --font-serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;
  --max-width: 720px;
  --section-space: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.35)),
    url("img/hero.jpg") center / cover no-repeat,
    linear-gradient(135deg, #c8dcc8 0%, #a8c4a8 100%);
  padding: 60px 20px;
}

.hero__inner {
  max-width: var(--max-width);
}

.hero__logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero__logo img {
  width: 56px;
  height: 56px;
}

/* ===== Section common ===== */
.section {
  padding: var(--section-space) 20px;
}

.section--alt {
  background: var(--color-bg-alt);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.container--wide {
  max-width: 960px;
}

.spacer-sm {
  height: 20px;
}

.spacer-md {
  height: 40px;
}

/* ===== Bracketed heading (KARCHINE style) ===== */
.heading-bracket {
  text-align: center;
  padding: 32px 0 8px;
}

.heading-bracket__main {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 600;
  color: var(--color-primary-dark);
  letter-spacing: 0.06em;
}

.heading-bracket__sub {
  font-size: 14px;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
}

/* ===== Underline heading ===== */
.heading-line {
  text-align: center;
  margin: 0 0 24px;
  padding-bottom: 12px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 600;
  color: var(--color-primary-dark);
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
  width: 100%;
}

.heading-line-wrap {
  text-align: center;
}

/* ===== Voice heading ===== */
.heading-voice {
  text-align: center;
  margin-bottom: 8px;
}

.heading-voice__en {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.heading-voice__main {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(20px, 4vw, 24px);
  color: var(--color-primary-dark);
}

/* ===== Text block ===== */
.text-block {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
}

.text-block p {
  margin: 0 0 1em;
}

.text-block ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.text-block li {
  margin-bottom: 0.4em;
}

/* ===== Caution box ===== */
.caution-box {
  background: var(--color-white);
  border-left: 4px solid var(--color-primary);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* ===== Divider ===== */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: 0 auto;
  max-width: 200px;
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.gallery__item {
  aspect-ratio: 4 / 3;
  background: var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-text-muted);
  background: linear-gradient(135deg, #e8f0e8, #d8e8d8);
}

/* ===== Menu cards ===== */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.menu-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.menu-card__img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #dce8dc, #c8dcc8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 13px;
}

.menu-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card__body {
  padding: 20px;
}

.menu-card__title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-primary-dark);
}

.menu-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-muted);
}

.menu-card__price {
  margin-top: 12px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* ===== Section heading with icon ===== */
.section-icon-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-icon-heading__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.section-icon-heading__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-primary-dark);
}

.section-icon-heading__sub {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(74, 124, 89, 0.35);
}

.btn--line {
  background: #06c755;
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.35);
}

.btn-wrap {
  text-align: center;
  margin-top: 24px;
}

.btn-wrap--multi {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn--block {
  width: 100%;
  max-width: 360px;
}

.btn--outline-sm {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
  background: var(--color-white);
}

/* ===== Page header (contact page) ===== */
.page-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 20px;
}

.page-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 15px;
}

/* ===== Contact form ===== */
.form-lead {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin: 0 0 12px;
}

.contact-form {
  background: var(--color-white);
  padding: 28px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-top: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--color-text);
}

.required {
  color: #c0392b;
  font-size: 11px;
  margin-left: 4px;
}

.optional {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 400;
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: var(--color-bg);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-primary);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-result {
  display: none;
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.form-result--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-result--error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.form-back {
  text-align: center;
  margin-top: 32px;
}

.form-back a {
  font-weight: 600;
  text-decoration: none;
}

.form-back a:hover {
  text-decoration: underline;
}

#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== Reserve section ===== */
.reserve-note {
  background: var(--color-white);
  padding: 24px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.reserve-note a {
  font-weight: 600;
}

/* ===== Footer nav ===== */
.footer-nav {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 24px 20px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.footer-nav a {
  text-decoration: none;
  font-size: 13px;
  color: var(--color-text);
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
}

/* ===== Fixed LINE button (mobile) ===== */
#line-float {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
}

#line-float a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #06c755;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

#line-float span:first-child {
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 767px) {
  #line-float {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}
