/* 料理教室ページ専用。色と幅はここで調整できます。 */
#hm-cooking.hm-cooking {
  --hm-ink: #333333;
  --hm-green: #555555;
  --hm-green-dark: #383838;
  --hm-muted: #666666;
  --hm-cream: #f5f5f3;
  --hm-border: #ddddda;
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1120px;
  min-width: 0;
  margin: 0 auto;
  padding: 64px 0 80px;
  color: var(--hm-ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", Meiryo,
    sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.025em;
  text-align: left;
  overflow-wrap: anywhere;
}
#hm-cooking *,
#hm-cooking *::before,
#hm-cooking *::after {
  box-sizing: border-box;
}
#hm-cooking h1,
#hm-cooking h2,
#hm-cooking h3,
#hm-cooking h4,
#hm-cooking p,
#hm-cooking dl,
#hm-cooking dt,
#hm-cooking dd,
#hm-cooking ul {
  margin: 0;
  padding: 0;
}
#hm-cooking h1,
#hm-cooking h2,
#hm-cooking h3 {
  color: var(--hm-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  line-height: 1.6;
}
#hm-cooking h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.12em;
}
#hm-cooking h1 span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
}
#hm-cooking h2 {
  font-size: clamp(23px, 2.5vw, 30px);
}
#hm-cooking h3 {
  font-size: clamp(21px, 2vw, 26px);
}
#hm-cooking a {
  color: var(--hm-green);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
#hm-cooking a:hover {
  color: var(--hm-green-dark);
  text-decoration-thickness: 2px;
}
#hm-cooking a:focus-visible {
  outline: 3px solid #8a5429;
  outline-offset: 4px;
}
#hm-cooking img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border: 0;
}
#hm-cooking .hm-eyebrow {
  margin-bottom: 8px;
  color: var(--hm-green);
  font: 600 11px/1.6 sans-serif;
  letter-spacing: 0.18em;
}
#hm-cooking .hm-heading {
  margin-bottom: 30px;
}
#hm-cooking .hm-hero {
  overflow: hidden;
  border-radius: 4px;
  background: var(--hm-cream);
}
#hm-cooking .hm-hero img {
  width: 100%;
  height: clamp(220px, 32vw, 380px);
  object-fit: cover;
  object-position: center 53%;
}
#hm-cooking .hm-reservation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.5fr);
  gap: 32px;
  align-items: center;
  margin-top: 24px;
  padding: 30px 34px;
  background: var(--hm-cream);
  border: 1px solid var(--hm-border);
  border-radius: 6px;
}
#hm-cooking .hm-reservation h2 {
  margin-bottom: 10px;
  font-size: 24px;
}
#hm-cooking .hm-reservation p:not(.hm-eyebrow) {
  font-size: 14px;
}
#hm-cooking .hm-reservation .hm-phone {
  margin-top: 10px;
}
#hm-cooking .hm-phone a {
  display: inline-block;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 700;
}
#hm-cooking .hm-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-height: 58px;
  padding: 13px 18px;
  border: 1px solid var(--hm-green);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
#hm-cooking .hm-button-primary {
  color: #fff;
  background: var(--hm-green);
}
#hm-cooking .hm-button-primary:hover {
  color: #fff;
  background: var(--hm-green-dark);
}
#hm-cooking .hm-button-secondary {
  color: var(--hm-green);
  background: #fff;
}
#hm-cooking .hm-button-secondary:hover {
  background: #eef2e9;
}
#hm-cooking .hm-button-note {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}
#hm-cooking .hm-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hm-border);
}
#hm-cooking .hm-jump a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  text-decoration: none;
}
#hm-cooking .hm-jump a::after {
  content: "↓";
  margin-left: 10px;
}
#hm-cooking .hm-section {
  margin-top: 72px;
  scroll-margin-top: 110px;
}
#hm-cooking .hm-about {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}
#hm-cooking .hm-prose {
  margin-top: 24px;
  line-height: 2.05;
}
#hm-cooking .hm-prose p + p {
  margin-top: 20px;
}
#hm-cooking .hm-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
#hm-cooking .hm-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
#hm-cooking .hm-location {
  font-size: 14px;
  color: var(--hm-muted);
}
#hm-cooking .hm-schedule {
  padding: 32px;
  border: 1px solid var(--hm-border);
  background: var(--hm-cream);
  border-radius: 6px;
}
#hm-cooking .hm-schedule-image {
  display: block;
  max-width: 900px;
  margin: auto;
}
#hm-cooking .hm-schedule-image img {
  width: 100%;
}
#hm-cooking .hm-caption {
  margin-top: 18px;
  font-size: 14px;
  color: var(--hm-muted);
}
#hm-cooking .hm-class-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}
#hm-cooking .hm-class-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--hm-border);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.65;
  text-decoration: none;
}
#hm-cooking .hm-class-nav a::after {
  content: "↓";
  margin-left: auto;
  flex: 0 0 auto;
}
#hm-cooking .hm-lessons {
  display: grid;
  gap: 32px;
}
#hm-cooking .hm-class {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 36px;
  padding: 32px;
  border: 1px solid var(--hm-border);
  border-radius: 6px;
  background: #fff;
  scroll-margin-top: 110px;
}
#hm-cooking .hm-class-content,
#hm-cooking .hm-gallery,
#hm-cooking .hm-shop {
  min-width: 0;
}
#hm-cooking .hm-class h3 {
  margin-bottom: 22px;
}
#hm-cooking .hm-class h3 a {
  color: var(--hm-ink);
  text-decoration: none;
}
#hm-cooking .hm-class h3 a:hover {
  text-decoration: underline;
}
#hm-cooking .hm-facts {
  padding: 4px 18px;
  margin-bottom: 24px;
  border-radius: 4px;
  background: var(--hm-cream);
}
#hm-cooking .hm-facts > div {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  font-size: 14px;
  line-height: 1.8;
}
#hm-cooking .hm-facts > div + div {
  border-top: 1px solid var(--hm-border);
}
#hm-cooking .hm-facts dt {
  color: var(--hm-muted);
  font-weight: 400;
}
#hm-cooking .hm-facts dd {
  font-weight: 600;
}
#hm-cooking .hm-description {
  font-size: 15px;
  line-height: 1.95;
}
#hm-cooking .hm-description p + p {
  margin-top: 12px;
}
#hm-cooking .hm-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
#hm-cooking .hm-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}
#hm-cooking .hm-gallery a {
  display: block;
  min-width: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--hm-cream);
}
#hm-cooking .hm-gallery a:first-child {
  grid-column: 1 / -1;
}
#hm-cooking .hm-gallery img {
  width: 100%;
  height: auto;
}
#hm-cooking .hm-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 26px;
}
#hm-cooking .hm-shop {
  border-top: 2px solid var(--hm-green);
  padding-top: 20px;
}
#hm-cooking .hm-post-list {
  list-style: none;
  margin-top: 16px;
}
#hm-cooking .hm-post {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hm-border);
  text-decoration: none;
}
#hm-cooking .hm-post img {
  flex: 0 0 88px;
  width: 88px;
  height: auto;
  max-height: 100px;
  object-fit: contain;
}
#hm-cooking .hm-post h4 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
  flex: 1;
}
#hm-cooking .hm-post > span {
  margin-left: auto;
  flex: 0 0 auto;
}
#hm-cooking .hm-empty {
  margin-top: 16px;
  color: var(--hm-muted);
  font-size: 14px;
}
#hm-cooking .hm-bottom-reserve {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
  padding: 32px;
  background: var(--hm-cream);
  border: 1px solid var(--hm-border);
  border-radius: 6px;
}
#hm-cooking .hm-bottom-reserve > a {
  min-width: 260px;
}
@media (max-width: 900px) {
  #hm-cooking .hm-class {
    gap: 24px;
    padding: 24px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
  #hm-cooking .hm-class-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #hm-cooking .hm-actions {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  #hm-cooking.hm-cooking {
    width: calc(100% - 32px);
    padding: 32px 0 48px;
    line-height: 1.9;
  }
  #hm-cooking .hm-heading {
    margin-bottom: 22px;
  }
  #hm-cooking .hm-reservation {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 18px;
    margin-top: 16px;
  }
  #hm-cooking .hm-jump {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
  }
  #hm-cooking .hm-jump a {
    font-size: 12px;
  }
  #hm-cooking .hm-section {
    margin-top: 44px;
  }
  #hm-cooking .hm-section-heading {
    display: block;
    margin-bottom: 20px;
  }
  #hm-cooking .hm-location {
    display: block;
    margin-top: 8px;
  }
  #hm-cooking .hm-schedule {
    padding: 20px 14px;
  }
  #hm-cooking .hm-class-nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  #hm-cooking .hm-class-nav a {
    padding: 12px 14px;
    min-height: 48px;
  }
  #hm-cooking .hm-class {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px 16px;
  }
  #hm-cooking .hm-class h3 {
    margin-bottom: 18px;
  }
  #hm-cooking .hm-facts {
    padding: 4px 12px;
  }
  #hm-cooking .hm-facts > div {
    gap: 8px;
    grid-template-columns: 4.5em minmax(0, 1fr);
  }
  #hm-cooking .hm-gallery {
    gap: 10px;
  }
  #hm-cooking .hm-gallery a:first-child {
    grid-column: auto;
  }
  #hm-cooking .hm-gallery a:last-child {
    grid-column: 1 / -1;
    max-width: 70%;
    justify-self: center;
  }
  #hm-cooking .hm-shop-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  #hm-cooking .hm-bottom-reserve {
    flex-direction: column;
    align-items: stretch;
    margin-top: 40px;
    padding: 24px 18px;
  }
  #hm-cooking .hm-bottom-reserve > a {
    min-width: 0;
  }
}
@media print {
  #hm-cooking.hm-cooking {
    width: 100%;
    padding: 0;
  }
  #hm-cooking .hm-jump,
  #hm-cooking .hm-class-nav {
    display: none;
  }
  #hm-cooking .hm-class {
    break-inside: avoid;
  }
}
#hm-cooking .hm-jump a,
#hm-cooking .hm-class-nav a {
  color: var(--hm-ink);
  font-weight: 700;
}
