@charset "UTF-8";
/* ==============================================================
 *  Main Sass entry
 * ==============================================================
 */
/* ==== 追加CSS（スマホ対応・ズームUI） ==== */
.product-gallery {
  display: grid;
  gap: 12px;
}

.product-gallery .main {
  position: relative;
  margin: 0;
}

.product-gallery .main img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.product-gallery .zoom-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  cursor: pointer;
}

.product-gallery .thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px;
}

.product-gallery .thumb {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  flex: 0 0 auto;
  border-radius: 8px;
  outline: 1px solid transparent;
}

.product-gallery .thumb.is-active {
  outline: 2px solid var(--gold, #c7a34b);
}

.product-gallery .thumb img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* dialog lightbox */
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: min(90vw, 1280px) !important;
  margin: 0 auto;
  top: 10%;
  text-align: center;
}

.lightbox img {
  width: 100% !important;
  object-fit: contain;
  border-radius: 8px !important;
  background: #000;
}

/* 閉じるボタンを中央に重ねて右上配置 */
.lightbox-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

/* スマホ時：メイン→サムネ縦詰め、サムネは横スクロール */
@media (max-width: 768px) {
  .product-gallery .thumb img {
    width: 72px;
    height: 72px;
  }
}
.hk-badge {
  display: inline-block;
  min-width: 1.5em;
  padding: 0 0.45em;
  margin-left: 0.4em;
  font-size: 0.85em;
  line-height: 1.6;
  text-align: center;
  color: #fff;
  background: #c73;
  border-radius: 9999px;
  vertical-align: middle;
  font-weight: 700;
}

.button {
  display: inline-block;
  background: var(--gold, #b4834f);
  color: #fff;
  font-size: 1rem;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
  text-align: center;
}
.button:hover {
  opacity: 0.85;
}
.button.small {
  padding: 8px 14px;
  font-size: 0.9rem;
}
.button.ghost {
  background: transparent;
  color: #b4834f;
  border: 1px solid #b4834f;
}
.button.ghost:hover {
  background: rgba(180, 131, 79, 0.08);
}

main h2 {
  font-size: 2rem;
  margin: 0 0 1em;
  position: relative;
  display: inline-block;
}
main h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gold, #b4834f);
  margin-top: 8px;
}

table.hkc-cart {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e4dfd6;
  border-radius: 12px;
  overflow: hidden;
}
table.hkc-cart thead {
  background: #faf8f4;
}
table.hkc-cart thead th {
  text-align: left;
  font-weight: 700;
  padding: 12px 14px;
  font-size: 0.95rem;
  border-bottom: 1px solid #e4dfd6;
  color: #221e1b;
}
table.hkc-cart tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0ece4;
  vertical-align: middle;
  font-size: 0.95rem;
}
table.hkc-cart tbody td a {
  color: #221e1b;
  text-decoration: none;
}
table.hkc-cart tbody td a:hover {
  opacity: 0.7;
}
table.hkc-cart tbody tr:last-child td {
  border-bottom: none;
}
table.hkc-cart tbody tr:nth-child(even) {
  background: #fffdf9;
}
@media (max-width: 640px) {
  table.hkc-cart thead {
    display: none;
  }
  table.hkc-cart tbody, table.hkc-cart tr, table.hkc-cart td {
    display: block;
    width: 100%;
  }
  table.hkc-cart tr {
    border-bottom: 1px solid #e4dfd6;
    padding: 10px 12px;
  }
  table.hkc-cart td {
    border: none !important;
    padding: 6px 0;
    position: relative;
  }
  table.hkc-cart td[data-label]::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 6em;
    font-weight: 700;
    color: #6a6057;
    margin-right: 0.5em;
  }
}

.hkc-cart-summary {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}
.hkc-cart-summary .subtotal {
  font-weight: 700;
  font-size: 1.05rem;
}

.hkc-error {
  background: #ffecec;
  color: #900;
  border: 1px solid #f5c2c7;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0 0 12px;
  font-weight: 600;
}

.hkc-checkout {
  display: grid;
  gap: 14px;
  max-width: 640px;
}
.hkc-checkout label {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}
.hkc-checkout label input[type=text],
.hkc-checkout label input[type=email],
.hkc-checkout label input[type=tel],
.hkc-checkout label input[type=number],
.hkc-checkout label textarea,
.hkc-checkout label select {
  appearance: none;
  width: 100%;
  border: 1px solid #e4dfd6;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: #221e1b;
  outline: none;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.hkc-checkout label input[type=text]:focus,
.hkc-checkout label input[type=email]:focus,
.hkc-checkout label input[type=tel]:focus,
.hkc-checkout label input[type=number]:focus,
.hkc-checkout label textarea:focus,
.hkc-checkout label select:focus {
  border-color: var(--gold, #b4834f);
  box-shadow: 0 0 0 3px rgba(180, 131, 79, 0.2);
}
.hkc-checkout label textarea {
  min-height: 110px;
  resize: vertical;
}
.hkc-checkout fieldset {
  border: 1px solid #e4dfd6;
  border-radius: 8px;
  padding: 12px;
  background: #fffdf9;
}
.hkc-checkout fieldset legend {
  padding: 0 6px;
  font-weight: 700;
  color: #221e1b;
}
.hkc-checkout fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}
.hkc-checkout fieldset label input[type=radio] {
  transform: translateY(1px);
}
.hkc-checkout .hkc-total {
  margin-top: 8px;
  display: grid;
  gap: 4px;
}
.hkc-checkout .hkc-total__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}
.hkc-checkout .hkc-total__row--bold {
  font-weight: 700;
  font-size: 1.05rem;
}
.hkc-checkout .hkc-agree {
  margin: 4px 0 8px;
  padding: 10px;
  background: #f2f7ff;
  border: 1px solid #cfe1ff;
  border-radius: 8px;
}
.hkc-checkout .hkc-agree a {
  color: #221e1b;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hkc-checkout .hkc-captcha {
  margin: 4px 0 8px;
  padding: 10px;
  background: #faf6ef;
  border: 1px solid #e6decf;
  border-radius: 8px;
}
.hkc-checkout .hkc-captcha strong {
  margin: 0 6px;
}
.hkc-checkout .hkc-captcha input[type=number] {
  width: 140px;
}
.hkc-checkout button[type=submit] {
  justify-self: start;
  margin-top: 6px;
}

.hk-badge {
  display: inline-block;
  min-width: 1.5em;
  padding: 0 0.45em;
  margin-left: 0.4em;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
  color: #fff;
  background: #c73;
  border-radius: 9999px;
  vertical-align: middle;
  font-weight: 700;
}

.hkc-remove {
  background: #d9534f;
  color: #fff !important;
  font-size: 0.9rem;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}
.hkc-remove:hover {
  opacity: 0.85;
  background: rgb(212.4719626168, 62.5046728972, 58.0280373832);
}
.hkc-remove:focus {
  outline: 2px solid rgba(217, 83, 79, 0.4);
  outline-offset: 2px;
}

.hkc-remove--icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hkc-remove--icon::before {
  content: "✕";
  font-size: 0.9rem;
  line-height: 1;
}

.hkc-variants {
  display: grid;
  gap: 10px;
  max-width: 350px;
}

.hkc-variant-row {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 12px;
  align-items: center;
}

.hkc-variant-name {
  font-weight: 600;
}

.hkc-variant-price {
  font-variant-numeric: tabular-nums;
}

.hkc-variant-row .hkc-add-to-cart {
  padding: 0.4em 0.8em;
  background: var(--gold, #b4834f);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

.hkc-variant-row .hkc-add-to-cart.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 960px) {
  .hkc-checkout {
    max-width: 100%;
  }
}
/* PHP側で <td data-label="数量"> のように入れておくとスマホで見やすくなります */
/* ===== Calendar (re-applied) ===== */
.side-calendar {
  width: 100%;
  padding: 1.2rem 1.4rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  border: 1px solid #eee;
}

#sidenav .side-calendar {
  margin-top: 1.5rem;
}

.calendar-wrapper .side-calendar {
  max-width: 540px;
  margin: 0 auto;
}

.side-calendar .calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.side-calendar .calendar-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.side-calendar .calendar-nav {
  text-decoration: none;
  font-weight: bold;
  color: inherit;
  padding: 0 0.5rem;
  transition: color 0.2s ease;
}

.side-calendar .calendar-nav:hover {
  color: #b47429;
}

.side-calendar .calendar-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.85rem;
}

.side-calendar .calendar-table th,
.side-calendar .calendar-table td {
  padding: 0;
  border: 1px solid #eee;
  width: 14.28%;
  height: 35px;
}

.side-calendar .calendar-table th {
  background: #faf7f2;
  font-weight: 600;
}

.side-calendar .calendar-table td.empty {
  background: #fcfbf8;
}

.side-calendar .calendar-table .day-number {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.side-calendar .calendar-table .day-cell-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 50px;
  width: 100%;
  padding: 0.35rem 0.2rem;
  gap: 0.15rem;
}

.side-calendar .calendar-table .day-cell-inner .day-events {
  width: 100%;
  text-align: left;
}

.side-calendar .calendar-table .day-cell-inner .day-events li {
  width: 100%;
}

.side-calendar .calendar-table .today .day-number {
  color: #c0392b;
}

.side-calendar .calendar-table .has-event {
  background: #fff5e6;
}

.side-calendar .calendar-table .day-cell.holiday {
  background: #fff0f0;
}

.side-calendar .calendar-table .day-cell.holiday.has-event {
  background: #ffe8d8;
}

.side-calendar .calendar-table .day-events {
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0;
}

.side-calendar .calendar-table .day-events li {
  font-size: 0.72rem;
  line-height: 1.4;
}

.side-calendar .calendar-table .day-events a {
  text-decoration: none;
  color: inherit;
}

.side-calendar .calendar-table .day-events a:hover {
  color: #b47429;
}

.side-calendar .calendar-note {
  margin: 0.7rem 0 0;
  font-size: 0.75rem;
  color: #666;
}

.side-calendar .calendar-legend {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #2f251d;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.side-calendar .calendar-legend .legend-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #d35400, #f39c12);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.side-calendar .calendar-legend .legend-text {
  font-weight: 600;
}

.side-calendar .day-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.1rem auto 0;
  padding: 0.15rem 0.55rem;
  background: radial-gradient(circle at top, #f7a29a, #d5463b);
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  box-shadow: 0 2px 8px rgba(213, 70, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.side-calendar .day-cell-inner:hover .day-badge {
  opacity: 1;
  transform: translateY(0);
}

.side-calendar.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.flex {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.gallery {
  flex: 1;
  min-width: 300px;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
}

.info {
  flex: 1;
  min-width: 300px;
}

.price {
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 12px 0;
}

.price-and-order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  align-items: end;
}
.price-and-order p {
  margin: 12px 0;
}
.price-and-order p:last-of-type {
  text-align: right;
}

button {
  background: var(--gold);
  color: #fff;
  font-size: 1rem;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
}

button:hover {
  opacity: 0.85;
}

/* ===== Responsive ===== */
@media (hover: none) and (pointer: coarse) {
  main > #menu {
    padding: 30px 5vw;
  }
  main > #menu h2 {
    margin-bottom: 0;
  }
  main > #menu section {
    padding: 20px 0;
  }
  main > #menu section h2 {
    margin-bottom: 0.5rem;
  }
}
/* ============ Legal pages common ============ */
.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px;
  color: #221e1b;
}

.legal .page-title {
  font-size: 2rem;
  margin: 0 0 16px;
}

.legal .meta {
  color: #6a6057;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.legal .toc {
  background: #faf8f4;
  border: 1px solid #e4dfd6;
  border-left: 4px solid var(--gold, #b4834f);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 24px;
}

.legal .toc h2 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.legal .toc ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.legal section {
  margin: 28px 0 32px;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 0 0 10px;
  position: relative;
  display: inline-block;
}

.legal h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold, #b4834f);
  margin-top: 8px;
}

.legal p, .legal li {
  line-height: 1.9;
}

.legal .note {
  background: #f2f7ff;
  border: 1px solid #cfe1ff;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
}

.legal-content ul,
.legal-content ol {
  list-style: disc;
  padding-left: 1.4em;
  margin: 8px 0 14px;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li + li {
  margin-top: 6px;
}

.legal-content ul ul,
.legal-content ol ul,
.legal-content ul ol,
.legal-content ol ol {
  margin-top: 4px;
  padding-left: 1.2em;
  list-style: circle;
}

/* Definition list table (特商法) */
.legal .definition {
  border: 1px solid #e4dfd6;
  border-radius: 12px;
  overflow: hidden;
}

.legal .definition dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  margin: 0;
}
.legal .definition dl ul li {
  margin-left: 1.4em;
}

.legal .definition dt,
.legal .definition dd {
  padding: 12px 14px;
  border-bottom: 1px solid #f0ece4;
}

.legal .definition dt {
  background: #faf8f4;
  font-weight: 700;
}

.legal .definition dl > dt:last-of-type,
.legal .definition dl > dd:last-of-type {
  border-bottom: none;
}

/* Responsive */
@media (hover: none) and (pointer: coarse) {
  .legal {
    padding: 20px 14px;
  }
  .legal .definition dl {
    grid-template-columns: 1fr;
  }
  .legal .definition dt {
    border-bottom: none;
    border-top: 1px solid #f0ece4;
  }
  .legal .definition dl > dt:first-of-type {
    border-top: none;
  }
}
/* 2カラムベース */
.wrapper {
  display: flex;
  align-items: flex-start;
}

.wrapper > nav { /* サイドナビ */
  flex: 0 0 280px; /* 必要なら幅を調整 */
}

.wrapper > main { /* 本文カラム */
  flex: 1 1 auto;
  min-width: 0; /* はみ出し防止 */
}

/* 法務ページ共通（前に渡した .legal スタイルがある場合はそのままでOK） */
.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px;
}

.legal-content section {
  padding: 0;
}
.legal-content section#contact h2 + p {
  margin-bottom: 20px;
}

.hero-news {
  height: 360px;
  background: linear-gradient(135deg, rgba(34, 30, 27, 0.92), rgba(180, 131, 79, 0.55)), url("./common/img/hakushindo_header.png") center/cover;
}

.hero-news .hero-content {
  align-items: flex-start;
  text-align: left;
  padding: 0 5vw;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.news-board {
  padding: 72px 5vw 96px;
  background: #f9f6f0;
}

.news-lede {
  max-width: 720px;
  margin-bottom: 40px;
  color: #4b443d;
  line-height: 1.9;
}

.news-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.news-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(34, 30, 27, 0.18);
  font-size: 0.9rem;
  background: #fff;
  transition: 0.2s ease;
}

.news-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.news-chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 10px 25px rgba(180, 131, 79, 0.35);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #efe8db;
  box-shadow: 0 20px 40px rgba(34, 30, 27, 0.08);
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: #7d7468;
  margin-bottom: 12px;
}

.news-card-meta time {
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tag {
  background: rgba(180, 131, 79, 0.12);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.news-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.news-card h3 a {
  color: inherit;
}

.news-card-excerpt {
  color: #4b443d;
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--gold);
}

.news-card-arrow {
  width: 48px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.news-card-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border: 6px solid transparent;
  border-left-color: currentColor;
}

.news-card:hover .news-card-arrow {
  width: 64px;
}

.news-pagination ul {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.news-pagination a,
.news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 30, 27, 0.15);
  color: var(--ink);
}

.news-pagination .current {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.news-empty {
  padding: 80px 0;
  text-align: center;
  color: #7d7468;
}

@media (max-width: 768px) {
  .hero-news {
    height: 260px;
    padding-top: 80px;
  }
  .news-card {
    padding: 22px;
  }
  .news-board {
    padding: 48px 5vw 72px;
  }
}
/* メディア紹介ページ全体 */
.c-page-media {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.c-page-media__header {
  margin-bottom: 40px;
}

.c-page-media__title {
  font-size: 2.2rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.c-page-media__lead {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* セクション見出し */
.c-media-section {
  margin-bottom: 60px;
}

.c-media-section__title {
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  position: relative;
}

.c-media-section__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: #b6803a; /* 既存のアクセントカラーに合わせる */
  margin-top: 6px;
}

/* カード共通 */
.c-media-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 0 0 1px #eee;
}

.c-media-card--magazine {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.c-media-card__image img {
  display: block;
  max-width: 260px;
  height: auto;
  border-radius: 8px;
}

.c-media-card__body {
  flex: 1;
}

.c-media-card__label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: #b6803a;
  margin-bottom: 8px;
}

.c-media-card__text {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 10px;
}

.c-media-card__em {
  font-weight: 600;
}

.c-media-card__meta {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
}

.c-media-card__note {
  font-size: 0.8rem;
  color: #999;
  margin-top: 8px;
}

/* SNS カード */
.c-media-card--sns {
  /* 今は1カラムなので flex なし。複数人になったら grid などに変更も可 */
}

.c-media-social {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.c-media-social__item {
  margin: 0;
}

.c-media-social__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.c-media-social__link:hover {
  border-color: #b6803a;
}

.c-media-social__icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border-radius: 50%;
  background: #333; /* 仮の丸アイコン。必要ならアイコンフォントに変更 */
}

/* SP レイアウト調整 */
@media (max-width: 768px) {
  .c-page-media {
    padding-top: 24px;
  }
  .c-media-card--magazine {
    flex-direction: column;
  }
  .c-media-card__image img {
    max-width: 100%;
  }
}
/* ========== メディア紹介ページ ========== */
.p-media {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.p-media__header {
  margin-bottom: 36px;
}

.p-media__title {
  font-size: 2.1rem;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.p-media__lead {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* 各ブロック */
.p-media__block {
  margin-top: 48px;
}

.p-media__heading {
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  position: relative;
}

.p-media__heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: #b6803a; /* テーマのアクセントカラーに合わせる */
  margin-top: 6px;
}

/* 冊子のところ：画像＋テキスト横並び */
.p-media__inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.p-media__thumb {
  flex: 0 0 260px;
  margin: 0;
}

.p-media__thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.p-media__text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.9;
}

.p-media__text p {
  margin: 0 0 8px;
}

/* SNSリスト */
.p-media__sns-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 4px;
}

.p-media__sns-list li {
  margin-bottom: 4px;
}

.p-media__sns-list a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.p-media__sns-list a:hover {
  border-color: #b6803a;
}

.p-media__note {
  font-size: 0.8rem;
  color: #999;
  margin-top: 8px;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .p-media {
    padding-top: 24px;
  }
  .p-media__inner {
    flex-direction: column;
  }
  .p-media__thumb {
    flex-basis: auto;
    margin-bottom: 12px;
  }
}
/* 画像モーダル */
.p-media__thumb a {
  cursor: zoom-in;
}

.p-media-modal {
  position: fixed;
  inset: 0; /* top,right,bottom,left:0 のショートカット */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.p-media-modal.is-open {
  display: flex;
}

.p-media-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.p-media-modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
}

.p-media-modal__img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 6px;
}

.p-media-modal__close {
  position: absolute;
  top: -32px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

body.is-media-modal-open {
  overflow: hidden; /* モーダル中の画面スクロール防止 */
}

/* mari＊mari リンクボタン */
.p-media__link {
  margin-top: 14px;
}

.p-media__link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 20px;
  border: 1px solid #b6803a;
  color: #b6803a;
  background-color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.p-media__link-btn::after {
  content: "↗"; /* 外部リンクっぽい矢印 */
  font-size: 0.85em;
}

.p-media__link-btn:hover {
  background-color: #b6803a;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* ========== SNSカード ========== */
.p-media-sns-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 0 0 1px #eee;
}

.p-media-sns-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.p-media-sns-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: #b6803a;
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-media-sns-card__title {
  line-height: 1.4;
}

.p-media-sns-card__name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.p-media-sns-card__label {
  font-size: 0.8rem;
  color: #777;
}

.p-media-sns-card__body {
  font-size: 0.95rem;
  line-height: 1.9;
}

.p-media-sns-card__body p {
  margin: 0 0 10px;
}

/* SNSリンクを「タグ風ボタン」に */
.p-media__sns-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-media__sns-list li {
  margin: 0;
}

.p-media__sns-list a {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #ccc;
  background-color: #faf7f2;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.p-media__sns-list a:hover {
  border-color: #b6803a;
  background-color: #b6803a;
  color: #fff;
}

/* セクション小見出し（SNS内） */
.p-media-sns-card__section-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 14px 0 6px;
}

.p-media-sns-card__section-title--posts {
  margin-top: 18px;
}

/* アカウント一覧（既存の pill スタイルを利用） */
.p-media__sns-list--accounts {
  /* そのまま pill 風ボタンでOK（既存設定を使う） */
}

/* 当店を紹介してくれている投稿リスト */
.p-media__sns-posts-wrap {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background-color: #fff8ec; /* 少し明るい背景で目立たせる */
  border: 1px solid #f0e0c5;
}

.p-media__sns-posts {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.p-media__sns-posts li {
  margin-bottom: 6px;
}

.p-media__sns-posts a {
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.p-media__sns-posts a:hover {
  border-color: #b6803a;
}

/*
Theme Name: Hakushindo
Description: 博進堂トップページをそのまま表示するクラシックテーマ
Author: Hakushindo
Version: 1.0.0
Text Domain: hakushindo
*/
:root {
  --gold: #b4834f;
  /* アクセント */
  --ink: #221e1b;
  /* 文字色 */
  --sidebar: #221e1b;
  --sidebar-width: 280px;
  --max-width: 960px;
  --header-h: 64px; /* モバイル上部固定ヘッダー高さ */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Yuji Syuku", "Noto Serif JP", serif;
  color: var(--ink);
}

.wrapper {
  display: flex;
  min-height: 100vh;
}

/* ---------- サイドメニュー ---------- */
nav {
  width: var(--sidebar-width);
  background: var(--sidebar);
  color: #fff;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
}

nav h2 {
  color: var(--gold);
  font-size: 1.8rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: opacity 0.2s;
}

nav a:hover,
nav a.active {
  opacity: 0.7;
}

.site-title img {
  display: block;
  width: 100%; /* お好みで調整 */
  height: auto;
  background-color: white;
}

/* ロゴ周りの箱 */
.sidebar-logo {
  padding: 24px 5px; /* 上下左右の余白 */
  background: #ffffff;
  text-align: center;
  border-radius: 4px; /* 角を少し丸く */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* うっすら影 */
}

/* ロゴ画像 */
.sidebar-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ホバー時に少しだけ反応 */
.sidebar-logo a {
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* .sidebar-logo a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
} */
.sidebar-logo {
  background: #ffffff;
  text-align: center;
  position: relative;
}

/* ロゴの下に金ライン */
.sidebar-logo::after {
  content: "";
  display: block;
  width: 40px; /* ラインの長さ：見出しと合わせる */
  height: 3px;
  background: #b78b3d; /* 見出しのラインと同じ色に */
  margin: 14px auto 0;
}

@media (max-width: 768px) {
  .sidebar-logo {
    margin: 12px auto 16px;
    padding: 12px 16px;
    max-width: 220px;
  }
  .sidebar-logo img {
    max-width: 100%;
  }
}
/* ---------- メイン ---------- */
main {
  flex: 1;
}

.hero {
  height: 600px;
  background: url("./common/img/hakushindo_header.png") center/cover;
  position: relative;
}

.hero-single {
  height: 300px;
}

.hero::after {
  /* 黒半透明オーバーレイ */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.25rem;
}

.hero-corner-text {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: #fff;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 2;
  font-family: "Yuji Syuku", "Noto Serif JP", serif;
}

/* 汎用セクション */
section {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: auto;
  line-height: 1.8;
}
section#about {
  font-size: 1.2rem;
}

@media (max-width: 959px) {
  section {
    padding: 40px 6vw;
  }
}
h2 {
  font-size: 2rem;
  margin-bottom: 1em;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin-top: 8px;
}

/* ---------- MENU ---------- */
.menu-grid {
  display: grid;
  /* PCでは最大4列、画面幅に応じて自動調整 */
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}

/* @media (min-width: 1200px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 960px) and (max-width: 1199px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 959px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
} */
.card {
  background: #fff;
  border: 1px solid #e4dfd6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid #cececc;
}

.card-body {
  padding: 16px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-thumb {
  position: relative;
  aspect-ratio: 297/159;
  overflow: hidden;
  background: #f7f3ec;
}

.card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 49.5%, rgba(0, 0, 0, 0.06) 50%, transparent 50.5%);
  pointer-events: none;
}

.card-thumb {
  position: relative;
  aspect-ratio: 297/159;
  overflow: hidden;
  background: #f7f3ec;
}

.card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 49.5%, rgba(0, 0, 0, 0.06) 50%, transparent 50.5%);
  pointer-events: none;
}

.thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-package {
  clip-path: polygon(0 0, 100% 0, 0 100%);
  object-position: -60px -10px;
  transform: scale(1.3);
}

.thumb-product {
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  object-position: 60px 10px;
  transform: scale(1.3);
}

.thumb-package {
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.thumb-product {
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-package {
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.thumb-product {
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

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

/* ---------- ACCESS ---------- */
.access-flex {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.access-flex div p {
  margin-bottom: 10px;
}

.map {
  width: 100%;
  height: 320px;
  background: #ccc url("https://placehold.co/800x320?text=MAP") center/cover;
  border-radius: 8px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#purpose ul,
#price ul {
  padding-left: 20px;
}

#contact,
#access {
  /* 初期状態：PC用（テキストのみ表示） */
}
#contact a,
#access a {
  color: var(--gold);
  text-decoration: underline;
}
#contact a:hover,
#access a:hover {
  opacity: 0.7;
}
#contact .tel-link,
#access .tel-link {
  display: none;
}
#contact .tel-text,
#access .tel-text {
  display: inline;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 40px 24px;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

footer .footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

footer .footer-links a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (hover: none) and (pointer: coarse) {
  .wrapper {
    flex-direction: column;
  }
  main {
    width: 100%;
  }
  nav {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    height: auto;
    display: none;
  }
  nav h2 {
    display: none;
    /* 小画面ではロゴ非表示（必要であれば上部固定ヘッダーに移行） */
  }
  .map {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    background: none;
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }
  .menu-grid .card-title {
    font-size: 0.8rem;
  }
}
@media (hover: none) and (pointer: coarse) and (min-width: 769px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tel-link {
    display: inline;
  }
  .tel-text {
    display: none;
  }
}
/* ====== Sidebar / Nav ====== */
nav {
  width: var(--sidebar-width);
  background: var(--ink);
  color: #fff;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  transition: transform 0.3s ease;
}

nav h2 {
  color: var(--gold);
  font-size: 1.8rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: opacity 0.2s;
}

nav a:hover, nav a.active {
  opacity: 0.7;
}

/* ====== Top Fixed Header (mobile only) ====== */
header.topbar {
  display: none; /* デフォルト=PCでは非表示 */
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: #fff;
  color: var(--ink);
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid #e4dfd6;
  z-index: 60;
}
header.topbar h2 {
  margin-bottom: 0;
}

header.topbar h2 {
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

/* ====== Burger for mobile ====== */
.burger {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 24px;
  z-index: 50;
  cursor: pointer;
}
.burger.open span {
  background: white !important;
}
.burger.open span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 5px);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(45deg) translate(-7px, -7px);
}
.burger.open span:nth-child(4) {
  display: none;
}

.burger > span:not(.hk-badge) {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--ink);
  margin: 6px 0;
  transition: 0.3s;
}

/* ====== Main ====== */
header.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 0 6vw;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.1em;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

h2.sec {
  font-size: 2rem;
  margin-bottom: 1em;
  position: relative;
  display: inline-block;
}

h2.sec::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin-top: 8px;
}

/* ===== Responsive ===== */
@media (hover: none) and (pointer: coarse) {
  nav {
    width: 100%;
    height: auto;
    /* flex-direction:row; */
    align-items: center;
    /* gap:32px; */
    padding: 16px 20px;
    transform: translateY(-100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
  }
  nav.open {
    transform: translateY(0);
  } /* slide down */
  nav h2 {
    display: none;
  }
  /* モバイル時：トップバー有効化 & 本文に余白 */
  body {
    padding-top: var(--header-h);
  }
  header.topbar {
    display: flex;
  }
  .burger {
    display: block;
    z-index: 99999;
    position: fixed;
    right: 16px;
    top: 12px;
  }
  .burger .hk-badge {
    display: inline-flex;
    position: absolute;
    top: -4px; /* 位置はお好みで微調整 */
    right: -4px; /* 位置はお好みで微調整 */
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 18px;
    justify-content: center;
    align-items: center;
    background: #d32f2f; /* お好みの色 */
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 0 2px #fff; /* 見切れ防止（背景が白でない時は調整） */
  }
  header.hero {
    height: 150px;
  }
  section {
    padding: 60px 5vw;
  }
  .map {
    height: 260px;
  }
}
@media (hover: none) and (pointer: coarse) and (min-width: 769px) {
  header.hero {
    height: 300px;
  }
}

/*# sourceMappingURL=style.css.map */
