:root {
  --accent: #c96f4a;
  --text: #2b2b2b;
  --bg-alt: #f6f4f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.8;
}

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

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ヒーロー */
.hero {
  min-height: 90vh;
  background-color: var(--accent);
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("images/1_hero.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.hero-inner h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}

.hero .tagline {
  font-size: clamp(1rem, 3vw, 1.4rem);
  margin: 0;
  letter-spacing: 0.05em;
}

.hero .tagline-sub {
  font-size: clamp(0.8rem, 2vw, 1rem);
  margin: 12px 0 0;
  letter-spacing: 0.03em;
  opacity: 0.9;
}

/* セクション共通 */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  color: var(--accent);
  font-size: 1.8rem;
  margin: 0 auto 24px;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
  width: fit-content;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
}

#about .container {
  max-width: 720px;
}

.about-item {
  margin-bottom: 32px;
  display: flow-root;
}

.about-item:last-child {
  margin-bottom: 0;
}

.about-item h3 {
  color: var(--accent);
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.tutor-photo {
  float: left;
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 50%;
  border: 3px solid var(--accent);
  margin: 0 20px 12px 0;
}

@media (max-width: 600px) {
  .tutor-photo {
    float: none;
    display: block;
    margin: 0 auto 16px;
  }
}

.about-item p {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.about-item p:last-child {
  margin-bottom: 0;
}

/* メニュー */
.menu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.menu-card {
  flex: 1 1 260px;
  max-width: 300px;
  margin: 0;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.menu-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-card figcaption {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.menu-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.menu-price {
  color: var(--accent);
  font-weight: 700;
}

/* お知らせ */
.news-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
}

.news-list li {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e0da;
}

.news-list li:first-child {
  border-top: 1px solid #e5e0da;
}

.news-date {
  flex: 0 0 90px;
  color: var(--accent);
  font-weight: 700;
}

.news-text {
  flex: 1;
}

/* 店内の様子 */
.interior-frame {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px;
  background: var(--accent);
  border-radius: 12px;
}

.interior-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

/* アクセス */
.access-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.access-image {
  width: 100%;
  border-radius: 8px;
}

.access-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 12px;
}

.access-info dt {
  color: var(--accent);
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

.access-info dd {
  margin: 0;
}

.access-info dd a {
  color: var(--text);
  text-decoration: none;
}

.access-info dd a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* フッター */
.footer {
  background: var(--accent);
  color: #ffffff;
  text-align: center;
  padding: 32px 24px;
}

.footer p {
  margin: 4px 0;
}

.back-to-top {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 28px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.back-to-top:hover {
  background-color: #ffffff;
  color: var(--accent);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .menu-card {
    max-width: 100%;
  }
}
