@charset "UTF-8";
/*
 * ハヤシフルーツ 静的サイト
 * 旧テーマ hf2020（Bootstrap 4.5.3 ベース）の見た目を、必要な部分だけ自前の CSS で再現する。
 * 値の出典：旧テーマ style.css（Wayback 保存版）。docs/01-SITE-INVENTORY.md「デザインの基本値」参照。
 */

:root {
  --text: #343a40;
  --primary: #300;
  --secondary: #817164;
  --light: #f8f9fa;
  --border: #dee2e6;
  --muted: #6c757d;
  --title-line: #e0e0e0;
  --box-border: #ebe3d6;
  --btn-shop: #32cd32;
  --btn-rakuten: #d9534f;
  --btn-instagram: #6610f2;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, "メイリオ", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 0.938rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, h4 { margin: 0 0 0.5rem; font-weight: 600; line-height: 1.2; }
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }
a:hover img, img:hover { opacity: 0.8; }
a[href^="tel:"] { cursor: text; }
a[href^="tel:"]:hover { opacity: 1; text-decoration: none; }
b, strong, em { font-style: normal; font-weight: bold; }

:focus-visible { outline: 3px solid #1f6feb; outline-offset: 2px; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto !important; clip-path: none; height: auto; width: auto;
  left: 5px; top: 5px; z-index: 100000; padding: 15px 23px 14px;
  background: #f1f1f1; color: #21759b; font-weight: 700; display: block;
}

/* ---- レイアウト（Bootstrap 4 の container 幅を再現） ---- */
.container { width: 100%; padding: 0 15px; margin: 0 auto; }
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* ---- ヘッダー ---- */
.site-header { background: var(--light); }
.navbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  padding: 0.5rem 15px;
}
@media (min-width: 768px) { .navbar { padding: 0.5rem 1rem; } }
.site-title { margin: 0; font-size: 1.25rem; line-height: 1; }
.site-title a { display: inline-block; padding: 0.3125rem 0; }
.site-title a:hover { text-decoration: none; }
.site-logo-img { display: block; width: 300px; max-width: 70vw; height: auto; }

.navbar-toggler {
  padding: 0.25rem 0.75rem; font-size: 1.17rem; line-height: 1;
  background: transparent; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0.25rem;
  color: rgba(0, 0, 0, 0.5); cursor: pointer;
}
.navbar-toggler svg { width: 1.5em; height: 1.5em; display: block; }
.navbar-toggler .icon-close { display: none; }
.navbar-toggler[aria-expanded="true"] .icon-open { display: none; }
.navbar-toggler[aria-expanded="true"] .icon-close { display: block; }

.navbar-collapse { flex-basis: 100%; }
.js .navbar-collapse:not(.is-open) { display: none; }
.navbar-nav { list-style: none; margin: 0; padding: 0; }
.nav-link { display: block; padding: 0.5rem 0; color: rgba(0, 0, 0, 0.5); }
.nav-link:hover, .nav-link:focus { color: #1a1a1a; text-decoration: none; }
.nav-link[aria-current="page"] { color: #1a1a1a; }

@media (min-width: 992px) {
  .navbar-toggler { display: none; }
  .navbar-collapse, .js .navbar-collapse:not(.is-open) { display: flex; flex-basis: auto; justify-content: flex-end; }
  .navbar-nav { display: flex; }
  .nav-link { padding: 0.5rem; }
}
@media (min-width: 768px) and (max-width: 1199.98px) { .nav-item { margin-right: 1rem; } }

/* ---- スライダー（トップ） ---- */
.carousel { position: relative; }
.carousel-inner { position: relative; width: 100%; overflow: hidden; }
.carousel-item { display: none; }
.carousel-item.is-active { display: block; }
.no-js .carousel-item:first-child { display: block; }
.carousel-item img { display: block; width: 100%; height: auto; }
.carousel-control {
  position: absolute; top: 0; bottom: 0; width: 15%;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #fff; opacity: 0.5; cursor: pointer;
}
.carousel-control:hover, .carousel-control:focus { opacity: 0.9; }
.carousel-control svg { width: 30px; height: 30px; filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6)); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.no-js .carousel-control { display: none; }

/* ---- 共通の余白・背景 ---- */
.wrapper.bg-light { background: var(--light); }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.text-center { text-align: center; }

/* ---- トップページ ---- */
.home h2 {
  color: var(--primary); font-size: 1.4rem; font-weight: bold;
  border-bottom: 1px dotted #999; padding-bottom: 4px;
}
.top-content-box { padding: 40px 0 20px; }
.top-content-box h2 { font-size: 1.25rem; text-align: center; border-bottom: 0; }
.top-content-box-inner {
  background: var(--light); border: 2px solid var(--box-border); border-radius: 6px;
  display: table; margin: 1em auto; max-width: 100%; padding: 20px 20px 10px;
}
@media (min-width: 768px) { .top-content-box-inner { min-width: 480px; } }
.top-sns { text-align: center; margin: 2rem 0 1rem; }
.top-sns h4 { margin-bottom: 1rem; }
.top-sns .sns-icon { display: block; margin: 0 auto 0.5rem; }
.top-sns .sns-follow { display: block; margin: 0 auto; }
.top-sns ul { list-style: none; padding: 0; margin: 1rem 0 0; }

/* 旧テーマの .btn（Bootstrap 4 ＋配色テーマの上書き）と .rounded・.m-1 の値 */
.link-buttons { display: flex; flex-direction: column; align-items: center; }
.link-button {
  display: block; width: 300px; max-width: 100%; margin: 0.25rem;
  padding: 0.75rem 1.5rem; border-radius: 0.25rem; color: #fff; text-align: center;
  font-size: 0.82075rem; font-weight: 600; line-height: 1.5rem; letter-spacing: 1px;
}
.link-button:hover { color: #fff; text-decoration: none; opacity: 0.8; }
/* アイコン：Font Awesome Free 5.15.1（https://fontawesome.com 、Icons: CC BY 4.0）。旧サイトの fa-3x 相当 */
.link-button .fa-icon { height: 3em; width: auto; display: block; margin: 0 auto; fill: currentColor; }
.link-button p { margin: 0; }
.link-button--shop { background: var(--btn-shop); }
.link-button--rakuten { background: var(--btn-rakuten); }
.link-button--instagram { background: var(--btn-instagram); }

/* ---- 下層ページ ---- */
.page-body { padding-top: 1rem; }
.breadcrumb {
  display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 1.5rem;
  padding: 0.75rem 1rem; background: var(--light); border-radius: 0.25rem;
}
.breadcrumb li + li::before { content: "/"; padding: 0 0.5rem; color: var(--muted); }
.breadcrumb [aria-current="page"] { color: var(--muted); }
.breadcrumb svg { width: 1em; height: 1em; vertical-align: -0.125em; fill: currentColor; }

.entry-title {
  border-bottom: 3px solid var(--title-line); color: var(--primary);
  padding-bottom: 4px; position: relative; margin-bottom: 1.5rem;
}
.entry-title::after {
  position: absolute; content: ""; display: block;
  border-bottom: 3px solid var(--secondary); bottom: -3px; width: 20%;
}
.entry-content h2 {
  color: var(--secondary); border-left: 5px solid var(--secondary);
  margin-top: 35px; margin-bottom: 15px; padding: 0.1em 0.3em; font-size: 1.75rem;
}
.entry-content h3 { color: var(--secondary); margin-top: 30px; }
.entry-content .lead-heading { font-size: 2rem; color: var(--text); margin-top: 1.5rem; }
@media (max-width: 575.98px) {
  .entry-title { font-size: 1.6rem; }
  .entry-content h2 { font-size: 1.35rem; }
  .entry-content .lead-heading { font-size: 1.5rem; }
}
.entry-content ol { padding-left: 2em; }

.info-table { width: 100%; border-collapse: collapse; background: #f3f4f5; margin-bottom: 1rem; }
.info-table th, .info-table td {
  padding: 0.75rem; vertical-align: top; text-align: left; border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.info-table th { font-weight: normal; white-space: nowrap; width: 8em; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0 0 1rem; }
.gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.shop-index li { margin-bottom: 0.25rem; }
.shop-icon { width: 46px; height: auto; vertical-align: middle; }
.shop-map-link { margin-bottom: 2rem; }

.widget-area { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.widget-area .row { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .widget-area .row { grid-template-columns: repeat(2, 1fr); } }
.widget-title { font-size: 1rem; color: var(--primary); border-bottom: 1px dotted #999; padding-bottom: 4px; }
.widget ul { list-style: none; padding-left: 0; }
.widget ul li a { display: block; padding: 0.25rem 0; }

/* ---- フッター ---- */
.site-footer .site-info { padding-top: 30px; }
.site-footer p { text-align: center; }

#pageTopBtn { position: fixed; right: 20px; bottom: 20px; display: none; }
#pageTopBtn.is-visible { display: block; }
#pageTopBtn a {
  color: #fff; padding: 12px; background: var(--primary);
  display: block; border-radius: 6px; line-height: 0;
}
#pageTopBtn svg { width: 28px; height: 28px; fill: currentColor; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
