/*
Theme Name: HoguShiman Osaka
Theme URI: https://hogushimanosaka.com/
Author: HoguShiman
Description: HoguShiman Osaka official theme based on the HoguShiman shop layout.
Version: 1.0.4
Text Domain: hogushiman-osaka
*/

:root {
  --hm-brown: #58330d;
  --hm-brown-dark: #472805;
  --hm-text: #222;
  --hm-muted: #666;
  --hm-line: #e5e5e5;
  --hm-bg-soft: #fafafa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hm-text);
  background: #fff;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
}

body.admin-bar .hm-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.hm-page {
  overflow: hidden;
  background: #fff;
}

.hm-top-line {
  text-align: center;
  color: var(--hm-muted);
  font-size: 13px;
  padding: 9px 12px 7px;
  background: #fff;
}

.hm-header {
  background: #fff;
  border-top: 6px solid var(--hm-brown);
  z-index: 10;
}

.hm-logo {
  min-height: 111px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px 16px;
  text-align: center;
}

.hm-logo img {
  display: block;
}

.hm-logo .pc_logo_image {
  width: 419px;
  height: 111px;
}

.hm-logo .mobile_logo_image {
  display: none;
}

.hm-nav {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.hm-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px;
  list-style: none;
}

.hm-nav a {
  display: block;
  min-width: 86px;
  padding: 20px 5px 18px;
  color: #000;
  text-align: center;
  font-size: 14px;
}

.hm-nav strong {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
}

.hm-nav span {
  display: block;
  margin-top: 4px;
  color: var(--hm-muted);
  font-size: 12px;
  line-height: 1.2;
}

.hm-hero {
  padding: 18px 12px 26px;
  text-align: center;
  background: #fff;
}

.hm-hero img {
  width: min(760px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}

.hm-free-space {
  max-width: 780px;
  margin: 35px auto;
  padding: 48px 18px 88px;
  border: 1px solid var(--hm-line);
  background: linear-gradient(180deg, rgba(229, 250, 252, .72) 0%, rgba(255, 255, 255, .94) 44%, rgba(255, 248, 229, .66) 100%);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.hm-free-space h1 {
  margin: 0 0 22px;
  color: #222;
  font-size: 26px;
  line-height: 1.6;
  font-weight: 700;
}

.hm-free-space p {
  margin: 0 0 24px;
  color: #444;
  font-size: 15.8px;
  line-height: 1.9;
}

.hm-free-space .hm-notice {
  margin-bottom: 30px;
  color: #333;
  font-size: 20px;
  line-height: 1.6;
}

.hm-palm {
  position: absolute;
  right: 32px;
  bottom: 12px;
  width: 118px;
  height: 78px;
  opacity: .34;
  pointer-events: none;
}

.hm-content {
  padding: 70px 18px;
  text-align: center;
}

.hm-content:nth-of-type(even) {
  background: var(--hm-bg-soft);
}

.hm-catch,
.hm-headline {
  color: var(--hm-brown);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 700;
}

.hm-catch {
  max-width: 980px;
  margin: 0 auto 24px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.65;
}

.hm-desc {
  max-width: 780px;
  margin: 0 auto;
  color: #333;
  font-size: 16px;
  line-height: 2;
}

.hm-headline {
  margin: 0 0 15px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.3;
}

.hm-sub {
  margin: 0 0 30px;
  color: #333;
  font-size: 16px;
  line-height: 2;
}

.hm-news-list {
  max-width: 720px;
  margin: 0 auto 26px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  color: #333;
}

.hm-date {
  color: var(--hm-brown);
  font-weight: 700;
}

.hm-button {
  min-width: 210px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid #333;
  background: #333;
  color: #fff;
  font-weight: 700;
}

.hm-button:hover {
  background: var(--hm-brown-dark);
  border-color: var(--hm-brown-dark);
}

.hm-banner {
  width: min(1000px, calc(100% - 32px));
  height: 300px;
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  background: #111;
}

.hm-banner .image {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  transition: transform .45s ease;
}

.hm-banner:hover .image {
  transform: scale(1.05);
}

.hm-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
}

.hm-banner .content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.hm-banner h3 {
  margin: 0;
  color: #fff;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.45;
  font-weight: 700;
  text-shadow: #000 0 0 10px;
}

.hm-banner h3 span {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.hm-footer-top {
  padding: 48px 18px 36px;
  background: #fff;
  text-align: center;
}

.hm-footer-top h2 {
  margin: 0 0 18px;
  color: var(--hm-brown);
  font-size: 22px;
  font-weight: 700;
}

.hm-footer-top p {
  margin: 0 0 8px;
  color: #333;
  font-size: 15px;
}

.hm-footer-menu {
  padding: 20px 12px;
  background: #fff;
  border-top: 1px solid #eee;
}

.hm-footer-menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 13px;
  list-style: none;
}

.hm-copyright {
  margin: 0;
  padding: 13px 10px;
  text-align: center;
  color: #fff;
  background: var(--hm-brown);
  font-size: 12px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hm-page-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 54px 18px 72px;
}

.hm-page-title {
  margin-bottom: 36px;
  text-align: center;
}

.hm-page-title h1 {
  margin: 0;
  color: var(--hm-brown);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(30px, 4vw, 46px);
}

.hm-wp-content h2 {
  margin: 48px 0 18px;
  color: var(--hm-brown);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(25px, 3vw, 36px);
  text-align: center;
}

.hm-wp-content h3 {
  margin: 28px 0 12px;
  color: var(--hm-brown);
  font-size: 22px;
}

.hm-box {
  margin: 24px 0;
  padding: 26px;
  border: 1px solid var(--hm-line);
  background: linear-gradient(180deg, rgba(229, 250, 252, .56), rgba(255, 248, 229, .42));
  box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
}

.hm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hm-staff-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hm-card {
  padding: 18px;
  border: 1px solid var(--hm-line);
  background: #fff;
  text-align: center;
}

.hm-card img {
  width: 100%;
  border: 1px solid #eadfce;
  background: #fff;
}

.hm-card h3 {
  margin: 14px 0 8px;
  text-align: center;
}

.hm-card p {
  margin: 6px 0;
}

.hm-price-list,
.hm-simple-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-price-list li,
.hm-simple-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.hm-price-list strong {
  color: var(--hm-brown);
  white-space: nowrap;
}

.hm-table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  background: #fff;
}

.hm-table th,
.hm-table td {
  padding: 12px 10px;
  border: 1px solid var(--hm-line);
  text-align: center;
}

.hm-table th {
  color: var(--hm-brown);
  background: #f8f2e9;
}

.hm-menu-template #page_header {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hm-menu-template #page_header .headline {
  margin: 0;
  color: #65000b;
  font-family: "Playfair Display", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.2;
}

.hm-menu-template #page_header .sub_title {
  margin: 8px 0 0;
  color: #65000b;
  font-size: 16px;
  line-height: 1.4;
}

.hm-menu-template #page_no_side {
  width: 100%;
}

.hm-menu-template #article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 72px;
}

.hm-menu-template .post_content {
  font-size: 16px;
}

.hm-contact-buttons,
.hm-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 26px 0;
}

.hm-line {
  background: #00aa11;
  border-color: #00aa11;
}

.hm-line:hover {
  background: #008c0e;
  border-color: #008c0e;
}

@media (max-width: 782px) {
  body.admin-bar .hm-header {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .hm-logo {
    min-height: 50px;
  }

  .hm-logo .pc_logo_image {
    display: none;
  }

  .hm-logo .mobile_logo_image {
    display: block;
    width: 190px;
    height: 50px;
  }

  .hm-nav ul {
    gap: 2px;
  }

  .hm-nav a {
    min-width: 31%;
    padding: 13px 4px;
  }

  .hm-nav strong {
    font-size: 13px;
  }

  .hm-nav span {
    font-size: 10px;
  }

  .hm-free-space {
    margin: 24px 14px;
    padding: 34px 16px 68px;
  }

  .hm-free-space h1 {
    font-size: 22px;
  }

  .hm-content {
    padding: 52px 16px;
  }

  .hm-banner {
    height: 230px;
  }

  .hm-news-list {
    display: block;
  }

  .hm-grid,
  .hm-staff-grid {
    grid-template-columns: 1fr;
  }

  .hm-price-list li,
  .hm-simple-list li {
    display: block;
  }

  .hm-menu-template #page_header .headline {
    font-size: 35px;
  }

  .hm-menu-template #page_header .sub_title,
  .hm-menu-template .post_content {
    font-size: 14px;
  }
}
