/* ==================================================
   長田パン ホームページ 共通スタイル（全ページでこの1枚だけを読み込む）

   ・色やフォントは下の :root の変数で管理しています。
   ・同じ部品の指定は原則1か所にまとめています。後ろに書いた指定ほど優先されます。
   ・画面幅ごとの調整は @media (max-width: ○○px) の中にあります。
   ================================================== */

/* ==================================================
   基本：色・文字・共通パーツ
   ================================================== */

:root {
  --orange: #f47a32;
  --line: #e7d5c5;
  --accent-ink: #a33c17;
  --cream: #faf7eb;
  --ink: #55452f;
  --brown: #665036;
  --paper-brown: #b76b37;
  --deep-orange: #d96326;
  --yellow: #ffdc39;
  --bakery-font: 'Zen Maru Gothic','Noto Sans JP',sans-serif;
  --words-font: 'Shippori Mincho',serif;
  --pale-brown: #e5d1b8;
  --melon-green: #00653a;
  --melon-deep: #004a2b;
  --melon-pale: #e4f1e1;
  --melon-paper: #fffdf6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--bakery-font);
  font-weight: 700;
}

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

.progress {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--orange);
  pointer-events: none;
  display: none;
}

header {
  position: fixed;
  z-index: 40;
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  align-items: stretch;
}

nav a {
  display: flex;
  align-items: center;
  font-weight: 700;
  transition: .25s;
}

nav a:hover {
  color: var(--orange);
  transform: translateY(-3px);
}

.contact {
  color: #fff !important;
}

.menu {
  display: none;
}

.logo {
  text-align: center;
  border: 0;
  outline: 0;
  color: #fff;
}

.hero {
  overflow: hidden;
  position: relative;
}

.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
}

.slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#1e140c0a,#1e140c91 72%);
}

.slide.active {
  opacity: 1;
}

.dots {
  position: absolute;
  z-index: 5;
  display: flex;
  gap: 0;
}

.dots button {
  border-radius: 50%;
  padding: 0;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}

.dots button.active {
  background: none;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  display: flex;
}

.hero-controls button {
  color: #fff;
  cursor: pointer;
  transition: .2s;
}

.hero-controls button:hover {
  transform: scale(1.1);
}

.newsbar {
  display: grid;
  align-items: center;
}

.newsbar h2 {
  font: 500 17px "Kiwi Maru";
}

.newsbar p {
  font-weight: 700;
}

.newsbar > a {
  font-size: 12px;
}

.newsbar b,
.story-copy b {
  display: inline-grid;
  place-items: center;
  background: var(--yellow);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  margin-left: 10px;
}

.section-title {
  text-align: center;
  color: #fff;
}

.section-title small,
.story-copy > small,
.shop-sign > small {
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 800;
}

.section-title h2,
.shop h2,
.profile h2 {
  font: 500 47px "Kiwi Maru";
  margin: 8px;
}

.section-title p {
  font-size: 13px;
  line-height: 1.9;
}

.products {
  overflow: hidden;
  padding: 35px 5vw 70px;
  background: linear-gradient(135deg,#c6511e,var(--deep-orange));
}

.product-track {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 35px;
}

.product-card {
  background: #fff;
  border-radius: 8px 35px 8px 35px;
  padding: 14px 14px 28px;
  transition: .35s;
  min-width: 0;
  padding-bottom: 25px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px #713b2720;
}

.photo {
  border-radius: 4px 26px 4px 26px;
  background-size: cover;
  position: relative;
  overflow: hidden;
  height: 215px;
}

.p1 {
  background-image: url('../images/photos/melonpan.webp');
  background-position: center 54%;
}

.p2 {
  background-image: url('../images/photos/agepan.webp');
  background-position: center 57%;
}

.product-card > small {
  display: inline-block;
  margin-top: 18px;
  font-weight: 800;
  color: var(--accent-ink);
  font-size: 14px;
}

.product-card h3 {
  font: 500 27px "Kiwi Maru";
  margin: 5px 0;
  font-size: 24px;
}

.product-card p {
  font-size: 15px;
  color: #665447;
  line-height: 1.95;
}

.note {
  text-align: right;
  font-size: 11px;
  color: #fff;
  line-height: 1.9;
  margin-top: 18px;
}

.story {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
}

.story-photo {
  background: url('../images/photos/factory-loaves.webp') center/cover;
  position: relative;
  background-position: center 50%;
}

.story-copy h2 {
  font: 500 clamp(32px,4vw,49px)/1.55 "Kiwi Maru";
  margin: 18px 0 26px;
}

.story-copy p {
  font: 400 14px/2.2 "Kiwi Maru";
  color: #665a4e;
  font-family: "Noto Sans JP",sans-serif;
  font-size: 14px;
  line-height: 2.2;
}

.story-copy > a {
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
  font-size: 13px;
}

.shop {
  margin: 20px 5vw 100px;
  display: grid;
  overflow: hidden;
  margin-left: 5vw;
  margin-right: 5vw;
  margin-bottom: 65px;
}

.shop-sign {
  background: radial-gradient(circle at 12px 12px,rgba(255,255,255,.13) 0 2px,transparent 3px);
  background-size: 24px 24px;
}

.shop-info {
  color: var(--ink);
}

.shop dl {
  margin: 0;
}

.shop dl > div {
  display: grid;
  border-bottom: 1px dotted var(--line);
}

.shop dt {
  font-weight: 800;
}

.shop dd {
  margin: 0;
}

.shop dd small {
  color: var(--accent-ink);
}

.profile {
  display: grid;
}

.profile table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

.profile th,
.profile td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 16px 12px;
}

.profile th {
  width: 110px;
  font-size: 12px;
  color: #6d5d4f;
}

footer {
  background: var(--deep-orange);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 45px 5vw;
  gap: 32px;
}

footer .logo {
  margin: 0;
  max-width: 100%;
  padding: 18px 20px;
  background: var(--cream);
  box-shadow: none;
  transform: none;
  border-radius: 6px;
  flex-shrink: 0;
  width: 205px;
}

@media (max-width: 900px) {
  .slide:after {
    background: linear-gradient(0deg,#1e140ccc,#1e140c0a 100%);
  }
  .newsbar > a {
    right: 18px;
    top: 15px;
  }
  .products {
    padding: 35px 20px 45px;
  }
  .product-track {
    scroll-snap-type: x mandatory;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    overflow: visible;
    margin-top: 28px;
    padding-bottom: 0;
  }
  .product-card {
    scroll-snap-align: center;
    min-width: 0;
    padding: 16px 16px 25px;
    border-radius: 8px 35px;
  }
  .shop {
    margin: 0 20px 55px;
  }
  .profile h2 {
    margin-left: 0;
  }
  footer {
    padding: 35px 24px;
    gap: 25px;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.brand-mark {
  display: block;
  width: 100%;
  height: auto;
}

.detail-hero small {
  color: var(--deep-orange);
  letter-spacing: .15em;
  font-size: 11px;
  font-weight: bold;
}

.breadcrumb {
  padding: 25px 5vw;
  font-size: 12px;
  color: #756758;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin: 0 5vw 55px;
  overflow: hidden;
  background: #ffe1c8;
}

.detail-hero > div {
  padding: 34px;
}

.detail-hero h1 {
  font: 500 clamp(32px,4vw,54px)/1.4 "Kiwi Maru";
  margin: 18px 0;
  font-size: clamp(30px,3vw,43px);
}

.detail-hero p {
  font: 500 23px/1.8 "Kiwi Maru";
}

.detail-hero img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* 学校給食ページ：届けている学校の数 */
.detail-hero .hero-stat {
  margin-top: 18px;
  font: 700 14px/1.6 var(--bakery-font);
}

.detail-hero .hero-stat strong {
  font-size: 30px;
  color: var(--deep-orange);
  margin: 0 2px;
}

.detail-copy {
  max-width: 950px;
  margin: auto;
  padding: 20px 5vw 65px;
}

.detail-copy h2 {
  font: 500 27px/1.7 "Kiwi Maru";
  margin: 35px 0 15px;
}

/* このサイトについて（site-policy.html） */
.site-policy h1 {
  font: 500 32px/1.7 "Kiwi Maru";
  margin: 10px 0 0;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.9;
}

.policy-table th,
.policy-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px dotted var(--line);
}

.policy-table th {
  width: 9em;
  white-space: nowrap;
  font-weight: 700;
}

.site-policy .detail-copy a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .policy-table th,
  .policy-table td {
    display: block;
    width: auto;
    padding: 4px 0;
  }
  .policy-table td {
    padding-bottom: 14px;
  }
}

/* 存在しないページの案内（404.html） */
.not-found .detail-copy {
  padding-top: 80px;
  min-height: 50vh;
}

.not-found h1 {
  font: 500 32px/1.7 "Kiwi Maru";
  margin: 0 0 12px;
}

.detail-copy p {
  font-size: 15px;
  line-height: 2.3;
}

/* 給食パンができるまでの工程。工程の間に矢印を入れる（スマホでも横並びのまま折り返す） */
.process {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.process li {
  display: flex;
  align-items: center;
}

.process span {
  background: #ffe1c8;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
}

.process li:not(:last-child)::after {
  content: '→';
  content: '→' / '';
  margin: 0 10px;
  color: var(--deep-orange);
  font-size: 18px;
  font-weight: 700;
}

.detail-button {
  display: inline-block;
  background: var(--deep-orange);
  color: #fff;
  padding: 17px 24px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  transition: background .2s;
}

section[id],
#contact {
  scroll-margin-top: 95px;
}

@media (max-width: 900px) {
  .detail-hero {
    grid-template-columns: 1fr;
    margin: 0 20px 25px;
  }
  .detail-hero > div {
    padding: 28px;
  }
  .detail-hero img {
    height: 320px;
  }
  .detail-copy {
    padding: 10px 25px 45px;
  }
  .detail-copy h2 {
    font-size: 25px;
  }
  .detail-hero p {
    font-size: 21px;
  }
}

/* ==================================================
   ページ別パーツ：商品・メロンパン特集・学校給食など
   ================================================== */

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 5px;
}

.hero a:focus-visible,
.hero button:focus-visible {
  outline-color: var(--brown);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  padding: 12px 20px;
  background: #fff;
  color: var(--brown);
  z-index: 100;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.slide[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
}

.dots button {
  cursor: pointer;
}

.dots button:before {
  content: "";
  border: 2px solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
}

.feature-news h2 {
  font-size: 16px;
  padding-right: 14px;
  border-right: 1px solid #7e6c51;
  white-space: nowrap;
}

.feature-news p {
  line-height: 1.8;
  font-size: 12px;
}

.feature-news > a {
  white-space: nowrap;
}

.visit-strip small,
.wholesale-section small,
.faq-section > small {
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
}

.melon-opening > small,
.melon-points > small,
.melon-closing > small,
.melon-hero-copy > small,
.chapter-copy > small,
.melon-buy small {
  color: var(--melon-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
}

.melon-opening h2,
.melon-points h2,
.melon-closing h2 {
  font: 500 clamp(28px,3vw,39px)/1.8 "Kiwi Maru",serif;
  letter-spacing: .05em;
  margin: 14px 0 22px;
  color: var(--melon-deep);
}

.melon-opening p,
.melon-closing p {
  font-size: 14px;
  line-height: 2.3;
  margin: 0 auto;
  max-width: 700px;
}

.cream-seal {
  position: absolute;
  width: 111px;
  height: 111px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--melon-paper);
  color: var(--melon-deep);
  font: 500 13px/1.7 "Kiwi Maru",serif;
  outline: 1px dashed var(--melon-green);
  outline-offset: -7px;
  transform: rotate(8deg);
  box-shadow: 2px 5px 15px #392b2420;
}

.cream-seal strong {
  font-size: 21px;
  font-weight: 500;
}

.detail-button > span {
  margin-left: 14px;
}

.detail-button:hover {
  background: var(--brown);
}

.section-title h2 {
  font-size: clamp(28px,2.9vw,39px);
  line-height: 1.7;
}

.p4 {
  background-image: url('../images/photos/mini-coppe.webp');
  background-position: center 52%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--accent-ink);
  padding-bottom: 4px;
  border-bottom: 1px solid #c9977e;
}

.text-link:hover {
  color: var(--brown);
  border-color: var(--brown);
}

.products .text-link {
  font-size: 12px;
}

.product-photo-link {
  display: block;
}

.products-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  color: #fff;
}

.products-bottom > p {
  font-size: 13px;
  line-height: 1.9;
}

.light-button {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  background: var(--cream);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 30px;
  white-space: nowrap;
}

.light-button:hover {
  background: #fff;
}

.visit-strip {
  margin: 0 5vw 85px;
  padding: 35px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #ffe1c8;
  border-radius: 40px 8px;
}

.visit-strip h2 {
  font: 500 26px/1.7 "Kiwi Maru",serif;
  margin: 9px 0;
}

.visit-strip p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

.visit-strip p > span {
  display: block;
  font-size: 11px;
  margin-top: 4px;
}

.visit-strip .detail-button {
  flex-shrink: 0;
  margin: 0;
}

.profile td {
  font-size: 13px;
  line-height: 2;
}

.footer-copy > p {
  font: 500 21px/1.7 "Kiwi Maru",serif;
  margin: 0 0 14px;
  font-family: var(--bakery-font) !important;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 11px;
  margin-bottom: 20px;
  justify-content: center;
}

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

.footer-copy > small {
  font-size: 10px;
  display: block;
  color: #fff;
  margin-top: 24px;
}

.section-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.section-jumps > a {
  border: 1px solid #ddb591;
  border-radius: 28px;
  padding: 12px 17px;
  font-size: 12px;
  background: #fff;
}

.section-jumps > a:hover {
  background: #ffe1c8;
}

.section-jumps span {
  color: var(--accent-ink);
  margin-left: 12px;
}

.retail-intro h2 {
  margin-top: 0;
}

.wholesale-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  padding: 80px 5vw;
}

.wholesale-section h2 {
  font: 500 32px/1.7 "Kiwi Maru",serif;
  margin: 12px 0 22px;
}

.wholesale-section p {
  font-size: 14px;
  line-height: 2.2;
}

.wholesale-contact {
  background: #ffead5;
  border-radius: 12px 45px;
  padding: 32px;
  align-self: center;
}

.wholesale-contact h3 {
  font: 500 21px/1.7 "Kiwi Maru",serif;
  margin: 0 0 15px;
}

.phone-link {
  font-size: clamp(22px,2.1vw,29px);
  font-weight: 700;
  color: var(--accent-ink);
  white-space: nowrap;
  display: inline-block;
  padding: 8px 0;
}

.wholesale-contact > span {
  display: block;
  font-size: 11px;
  line-height: 1.9;
  margin-top: 10px;
}

.faq-section {
  padding: 0 5vw 90px;
  max-width: 1100px;
  margin: auto;
}

.faq-section h2 {
  font: 500 28px/1.7 "Kiwi Maru",serif;
  margin: 10px 0 30px;
}

.faq-section details {
  padding: 20px 24px;
  margin: 12px 0;
  background: #fff;
  border-radius: 9px 25px;
}

.faq-section summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.faq-section details p {
  font-size: 14px;
  line-height: 2.2;
  color: #665447;
  margin-bottom: 0;
}

.faq-section details a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--accent-ink);
}

.melon-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 4vw;
  background: var(--melon-paper);
  min-height: 570px;
}

.melon-hero-copy {
  padding: 40px 28px 40px 36px;
  align-self: center;
}

.melon-hero h1 {
  font: 500 clamp(30px,3vw,46px)/1.8 "Kiwi Maru",serif;
  letter-spacing: -.025em;
  margin: 20px 0;
  color: var(--melon-deep);
}

.melon-hero-copy > p {
  font: 500 18px/2 "Kiwi Maru",serif;
}

.melon-name {
  display: block;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--melon-green);
  margin: 25px 0;
}

.down-link {
  display: inline-block;
  font-size: 12px;
  color: var(--melon-green);
  border-bottom: 1px solid var(--melon-green);
  padding: 8px 0;
}

.down-link span {
  margin-left: 17px;
}

.melon-hero-photo {
  position: relative;
  background: var(--melon-green);
  border-radius: 0 45px 20px 0;
}

/* 断面の写真は右寄せにして、左に袋の写真を斜めに重ねる */
.melon-hero-photo > .melon-cut {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12% 5% 16% 30%;
  display: block;
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 18px 22px #00221466);
}

/* 袋：緑の枠から飛び出すように、少し傾けて重ねる */
.melon-package {
  position: absolute;
  z-index: 2;
  left: -9%;
  top: -8%;
  width: 40%;
  height: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 30px #0022144d;
  transform: rotate(-9deg);
}

.melon-hero-photo .cream-seal {
  bottom: 30px;
  right: 22px;
}

.melon-opening {
  margin: 60px 4vw;
  padding: 60px 5vw 56px;
  text-align: center;
  background: var(--melon-paper);
  border-radius: 40px;
}

/* 断面でみる、おいしさのひみつ：断面の写真に番号の印、横に3つの特長 */
.melon-points {
  margin: 0 4vw 60px;
  padding: 56px 5vw;
  background: var(--melon-paper);
  border-radius: 40px;
  text-align: center;
}

.points-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-top: 28px;
  text-align: left;
}

.points-photo {
  position: relative;
}

.points-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.point-dot,
.points-list li::before {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--melon-green);
  color: #fff;
  font: 700 16px/1 var(--bakery-font);
}

.point-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px #fff, 0 4px 10px #00221433;
}

.point-1 { left: 32%; top: 13%; }
.point-2 { left: 62%; top: 26%; }
.point-3 { left: 55%; top: 55%; }

.points-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: point;
  display: grid;
  gap: 24px;
}

.points-list li {
  counter-increment: point;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 16px;
}

.points-list li::before {
  content: counter(point);
  grid-row: 1 / 3;
}

.points-list h3 {
  font: 500 21px/1.6 "Kiwi Maru",serif;
  color: var(--melon-deep);
  margin: 0;
}

.points-list p {
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

/* おいしさの理由 01：クリームを塗っている写真に、クリームのアップを丸く重ねる */
.cream-photo {
  position: relative;
  margin: 0;
}

.cream-photo > img:first-child {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 12px 65px;
}

.cream-closeup {
  position: absolute;
  right: -3%;
  bottom: -6%;
  width: 34%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 6px solid var(--melon-paper);
  box-shadow: 0 8px 20px #00221433;
}

.cream-photo figcaption {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 8px 18px;
  border-radius: 99px;
  background: var(--melon-green);
  color: #fff;
  font: 500 15px/1.6 "Kiwi Maru",serif;
}

.melon-chapter {
  margin: 0 4vw 60px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: center;
  background: var(--melon-paper);
  border-radius: 40px;
}

.chapter-copy h2 {
  font: 500 clamp(26px,2.5vw,35px)/1.75 "Kiwi Maru",serif;
  margin: 15px 0 22px;
  color: var(--melon-deep);
}

.chapter-copy p {
  font-size: 14px;
  line-height: 2.2;
}

.chapter-photo img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center 62%;
  border-radius: 60px 10px;
  display: block;
}

.size-chapter .chapter-photo {
  order: 2;
}

.size-chapter .chapter-copy {
  order: 1;
}

.melon-closing {
  margin: 0 4vw 60px;
  padding: 56px 5vw;
  text-align: center;
  background: var(--melon-paper);
  border-radius: 40px;
}

.melon-buy {
  margin: 0 4vw;
  background: var(--melon-paper);
  border-radius: 55px 10px;
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.melon-buy h2 {
  font: 500 28px/1.8 "Kiwi Maru",serif;
  margin: 10px 0 16px;
  color: var(--melon-deep);
}

/* お店で見つけてもらうための、袋の写真 */
.buy-package {
  margin: 0;
  text-align: center;
}

.buy-package img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 6px 0 #00653a1f;
}

.buy-package figcaption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--melon-green);
}

.melon-buy p {
  font-size: 14px;
  line-height: 2;
}

.buy-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.buy-actions .detail-button {
  margin: 8px 0;
}

.melon-buy .availability {
  font-size: 11px;
  line-height: 1.9;
  margin-top: 25px;
  color: #6b5142;
}

.back-products {
  text-align: center;
  padding: 35px 20px 75px;
}

/* メロンパン特設ページ：パッケージの緑を使い、薄い緑に濃い緑のドット柄の背景にする */
.melon-site {
  background-color: var(--melon-pale);
  background-image: url('../images/melon-ribbons.svg'), radial-gradient(circle, var(--melon-green) 2.4px, transparent 2.9px);
  background-size: 1200px auto, 26px 26px;
}

.melon-site .breadcrumb,
.melon-site .back-products .text-link {
  display: inline-block;
  background: var(--melon-paper);
  border-radius: 99px;
  padding: 6px 16px;
}

.melon-site .breadcrumb {
  margin: 20px 4vw;
}

.melon-site .text-link {
  color: var(--melon-green);
}

.melon-site .detail-button {
  background: var(--melon-green);
}

.melon-site .detail-button:hover {
  background: var(--melon-deep);
}

.melon-site footer {
  background-color: var(--melon-deep);
}

/* メロンパン特設ページへ移るときの幕。押した場所から緑のドット柄が丸く広がり、
   真ん中に断面の写真が出る。特設ページに着いたら、幕が真ん中へ丸く引いていく */
.melon-curtain,
.melon-enter body::before {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: var(--melon-green);
  background-image: radial-gradient(circle, #ffffff3d 2.4px, transparent 2.9px);
  background-size: 26px 26px;
  pointer-events: none;
}

.melon-curtain {
  animation: melon-open .6s cubic-bezier(.7, 0, .3, 1) forwards;
}

.melon-curtain::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(48vw, 360px);
  aspect-ratio: 1167 / 677;
  background: url('../images/photos/melonpan-cut.webp') center / contain no-repeat;
  transform: translate(-50%, -50%) scale(.6);
  opacity: 0;
  animation: melon-curtain-bread .45s .3s cubic-bezier(.2, .8, .3, 1.3) forwards;
}

.melon-enter body::before {
  content: '';
  animation: melon-close .7s .05s cubic-bezier(.7, 0, .3, 1) forwards;
}

@keyframes melon-open {
  from { clip-path: circle(0 at var(--x) var(--y)); }
  to { clip-path: circle(150vmax at var(--x) var(--y)); }
}

@keyframes melon-close {
  from { clip-path: circle(150vmax at 50% 50%); }
  to { clip-path: circle(0 at 50% 50%); }
}

@keyframes melon-curtain-bread {
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* 特設ページの最初の画面：断面の写真と袋が、ぽんと現れる */
@media (prefers-reduced-motion: no-preference) {
  .melon-hero-photo > .melon-cut {
    animation: melon-cut-in .8s .2s cubic-bezier(.2, .8, .3, 1.2) both;
  }
  .melon-package {
    animation: melon-package-in .75s .4s cubic-bezier(.2, .8, .3, 1.25) both;
  }
  .melon-enter .melon-hero-photo > .melon-cut {
    animation-delay: .65s;
  }
  .melon-enter .melon-package {
    animation-delay: .85s;
  }
}

@keyframes melon-cut-in {
  from { opacity: 0; transform: translateY(24px) scale(.88); }
  to { opacity: 1; transform: none; }
}

@keyframes melon-package-in {
  from { opacity: 0; transform: translate(-24px, 28px) rotate(-26deg) scale(.7); }
  to { opacity: 1; transform: rotate(-9deg); }
}

@media (prefers-reduced-motion: reduce) {
  .melon-enter body::before {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1190px) {
  .product-track {
    gap: 13px;
  }
  .photo {
    height: 170px;
  }
  .product-card h3 {
    font-size: 21px;
  }
  .product-card p {
    font-size: 13px;
  }
  .product-card .text-link {
    font-size: 11px;
  }
  .products-bottom {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
  .visit-strip {
    padding: 30px 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .wholesale-section {
    grid-template-columns: 1fr;
  }
  .detail-hero > div {
    padding: 25px;
  }
  .detail-hero p {
    font-size: 20px;
  }
  .melon-hero {
    min-height: 510px;
    grid-template-columns: 1.05fr 1fr;
  }
  .melon-hero-copy {
    padding: 28px 20px 28px 25px;
  }
  .melon-hero h1 {
    font-size: 30px;
  }
  .melon-hero-copy > small {
    font-size: 10px;
  }
  .melon-hero-copy > p {
    font-size: 16px;
  }
  .melon-chapter {
    gap: 26px;
  }
  .chapter-copy h2 {
    font-size: 27px;
  }
  .chapter-copy p {
    font-size: 13px;
  }
  .melon-buy {
    padding: 32px;
  }
  footer {
    flex-wrap: wrap;
  }
  .desktop-break {
    display: none;
  }
}

@media (max-width: 900px) {
  nav a[aria-current] {
    background: #ffead5;
  }
  nav a:hover {
    transform: none;
  }
  .feature-news h2 {
    font-size: 13px;
    margin: 0;
    border: 0;
  }
  .feature-news p {
    grid-row: 2;
    padding-right: 10px;
    grid-column: 1;
    font-size: 10px;
    line-height: 1.6;
    margin: 0;
  }
  .feature-news > a {
    position: static;
    grid-column: 2;
    grid-row: 1/3;
    font-size: 10px;
  }
  .feature-news b {
    margin-left: 5px;
    width: 22px;
    height: 22px;
  }
  .melon-opening h2,
  .melon-points h2,
  .melon-closing h2 {
    font-size: 29px;
  }
  .melon-opening p,
  .melon-closing p {
    font-size: 13px;
    line-height: 2.2;
  }
  .desktop-break {
    display: none;
  }
  .cream-seal {
    width: 104px;
    height: 104px;
  }
  .section-title h2 {
    font-size: 26px;
    margin: 8px 0;
  }
  .section-title p {
    font-size: 12px;
  }
  .photo {
    height: 270px;
  }
  .product-card h3 {
    font-size: 26px;
  }
  .product-card p {
    font-size: 14px;
  }
  .product-card > small {
    font-size: 13px;
  }
  .product-card .text-link {
    font-size: 13px;
  }
  .products-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .products-bottom p {
    margin-bottom: 5px;
  }
  .note {
    text-align: left;
    font-size: 10px;
  }
  .story-copy h2 {
    margin-top: 13px;
  }
  .story-copy p {
    font-size: 13px;
  }
  .visit-strip {
    margin: 0 20px 55px;
    padding: 30px 26px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .profile th {
    width: 80px;
  }
  .profile th,
  .profile td {
    padding: 15px 9px;
    font-size: 12px;
  }
  .footer-copy > p {
    font-size: 21px;
  }
  .footer-links {
    gap: 15px 20px;
    font-size: 12px;
  }
  .footer-copy {
    width: 100%;
  }
  .detail-hero h1 {
    font-size: 33px;
  }
  .detail-copy p {
    font-size: 14px;
  }
  .section-jumps {
    display: grid;
    grid-template-columns: 1fr;
  }
  .section-jumps > a {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
  }
  .wholesale-section {
    grid-template-columns: 1fr;
    padding: 50px 23px;
    gap: 20px;
  }
  .wholesale-section h2 {
    font-size: 30px;
  }
  .wholesale-section p {
    font-size: 13px;
  }
  .wholesale-contact {
    padding: 27px;
  }
  .phone-link {
    font-size: 27px;
  }
  .faq-section {
    padding: 0 22px 60px;
  }
  .faq-section h2 {
    font-size: 26px;
  }
  .faq-section details {
    padding: 18px;
  }
  .faq-section summary {
    font-size: 13px;
  }
  .faq-section details p {
    font-size: 13px;
  }
  .school-return h2 {
    font-size: 24px;
  }
  .breadcrumb {
    padding: 22px;
    font-size: 11px;
  }
  .melon-hero {
    margin: 0 20px;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .melon-hero-copy {
    padding: 30px 27px 26px;
  }
  .melon-hero h1 {
    line-height: 1.75;
    margin: 15px 0;
  }
  .melon-hero-copy > p {
    font-size: 17px;
    margin: 12px 0;
  }
  .melon-name {
    margin: 20px 0 8px;
  }
  .melon-hero-photo {
    height: 340px;
    border-radius: 0 0 20px 20px;
  }
  .melon-hero-photo > .melon-cut {
    padding: 16% 4% 10% 36%;
  }
  .melon-package {
    left: -3%;
    top: 6%;
    width: 40%;
  }
  .melon-hero-photo .cream-seal {
    bottom: 24px;
  }
  .melon-opening {
    margin: 40px 20px;
    padding: 40px 24px;
    border-radius: 28px;
  }
  .melon-points {
    margin: 0 20px 40px;
    padding: 40px 22px;
    border-radius: 28px;
  }
  .points-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .points-list h3 {
    font-size: 18px;
  }
  .points-list p {
    font-size: 13px;
  }
  .point-dot,
  .points-list li::before {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .points-list li {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .cream-photo > img:first-child {
    height: 360px;
  }
  .cream-photo figcaption {
    font-size: 13px;
  }
  .melon-chapter {
    margin: 0 20px 40px;
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 27px;
    border-radius: 28px;
  }
  .chapter-copy h2 {
    font-size: 30px;
    margin-top: 10px;
  }
  .chapter-copy p {
    font-size: 13px;
  }
  .chapter-photo img {
    height: 320px;
  }
  .size-chapter .chapter-photo {
    order: 0;
  }
  .size-chapter .chapter-copy {
    order: 0;
  }
  .melon-closing {
    margin: 0 20px 40px;
    padding: 40px 24px;
    border-radius: 28px;
  }
  .melon-closing h2 {
    font-size: 27px;
  }
  .melon-buy {
    margin: 0 20px;
    padding: 32px 27px;
    border-radius: 40px 10px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .buy-package {
    max-width: 280px;
    margin: 0 auto;
  }
  .melon-site .breadcrumb {
    margin: 16px 20px;
  }
  .melon-site {
    background-size: 820px auto, 26px 26px;
  }
  .melon-buy h2 {
    font-size: 25px;
  }
  .melon-buy p {
    font-size: 13px;
  }
  .buy-actions {
    gap: 18px;
  }
  .buy-actions .detail-button {
    font-size: 12px;
    padding: 16px 20px;
  }
  .melon-buy .availability {
    font-size: 10px;
  }
  .back-products {
    padding: 30px 20px 55px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .product-track {
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
  }
  .product-card {
    padding: 10px 10px 20px;
  }
  .product-card h3 {
    font-size: 20px;
  }
  .product-card p {
    font-size: 13px;
  }
  .photo {
    height: 190px;
  }
  .products .text-link {
    font-size: 11px;
  }
  .melon-hero {
    grid-template-columns: 1fr 1fr;
  }
  .melon-hero h1 {
    font-size: 32px;
  }
  .melon-hero-copy {
    padding: 30px 25px;
  }
  .melon-hero-photo {
    height: auto;
    min-height: 490px;
    border-radius: 0 45px 20px 0;
  }
  .melon-hero-photo > .melon-cut {
    padding: 14% 4% 16% 30%;
  }
  .melon-package {
    left: -9%;
    top: -6%;
    width: 42%;
  }
  .melon-chapter {
    grid-template-columns: 1fr 1fr;
  }
  .chapter-copy h2 {
    font-size: 27px;
  }
  .size-chapter .chapter-photo {
    order: 2;
  }
  .size-chapter .chapter-copy {
    order: 1;
  }
  .visit-strip {
    flex-direction: row;
    align-items: center;
  }
  .visit-strip h2 {
    font-size: 24px;
  }
  .visit-strip .detail-button {
    font-size: 12px;
    padding: 15px 20px;
  }
}

.contact,
.menu {
  background: var(--deep-orange);
}

@media (max-width: 600px) {
  .melon-hero h1 {
    font-size: clamp(29px,8.5vw,36px);
  }
}

.slide-promise:after {
  background: linear-gradient(90deg,#1e140c08 5%,#1e140c91 48%,#1e140ca6);
}

@media (max-width: 900px) {
  .slide-promise:after {
    background: linear-gradient(0deg,#1e140cde 0%,#1e140c9e 50%,#1e140c1a 100%);
  }
}

/* ==================================================
   直売所・商品ページ（retail.html）
   ================================================== */

/* 本社直売所の欄。PCでは1画面に収まるよう、左に「写真＋営業時間・電話」、右に「地図」を並べる */
.shop.shop-with-map {
  grid-template-columns: 1.05fr .95fr;
  grid-template-areas:
    "sign sign"
    "gallery access"
    "info access";
  grid-template-rows: auto auto 1fr;
  background: #fff;
  border-radius: 55px 12px 55px 12px;
  color: var(--ink);
  box-shadow: 0 7px 28px #713b2708;
}

.shop-with-map .shop-sign {
  grid-area: sign;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 36px;
  background-color: var(--deep-orange);
  color: #fff;
}

.shop-with-map .shop-sign h2 {
  font-size: 32px;
  margin: 4px 0 0;
}

.shop-with-map .shop-sign p {
  max-width: 390px;
  font-size: 13px;
  line-height: 2;
  margin: 0;
}

.shop-with-map .shop-sign > div > small {
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 700;
}

.shop-gallery {
  grid-area: gallery;
  margin: 0;
  padding: 22px 0 0 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}

.shop-photo-frame {
  position: relative;
  height: 200px;
  border-radius: 8px 32px;
  overflow: hidden;
  background: #f3e7d7;
}

.shop-photo-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 47%;
}

.shop-photo-label {
  position: absolute;
  top: 19px;
  left: 18px;
  background: var(--cream);
  color: var(--brown);
  font: 500 12px/1.6 "Kiwi Maru",serif;
  padding: 9px 17px;
  border-radius: 25px;
  box-shadow: 0 3px 12px #392b2412;
}

.shop-gallery figcaption {
  font: 500 19px/1.7 "Kiwi Maru",serif;
  color: var(--brown);
  padding: 15px 14px 0;
  text-align: center;
}

.shop-with-map .shop-info {
  grid-area: info;
  padding: 6px 0 24px 34px;
  min-width: 0;
  background: #fff;
}

.shop-with-map dl > div {
  padding: 11px 0;
  grid-template-columns: 80px 1fr;
}

.shop-with-map dd {
  font-size: 12px;
  line-height: 1.9;
}

.shop-with-map dt {
  font-size: 11px;
  padding-top: 2px;
}

.shop-with-map dd small {
  font-size: 10px;
}

.shop-access {
  grid-area: access;
  min-width: 0;
  padding: 22px 28px 24px;
}

.shop-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.shop-map-heading h3 {
  font: 500 18px/1.7 "Kiwi Maru",serif;
  color: var(--brown);
  margin: 0;
}


.shop-map-link {
  display: block;
  background: #fbefd9;
  border-radius: 10px 35px;
  overflow: hidden;
  outline-offset: 4px;
}

/* 地図は横長の枠に収め、店の位置と佐土原駅が入るところを見せる */
.shop-map-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 50% 25%;
  transition: filter .2s;
}

.shop-map-link:hover img {
  filter: brightness(1.025);
}

.shop-map-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: 9px;
  font-size: 9px;
  line-height: 1.8;
  color: #7b6656;
}

.shop-map-caption > a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 地図の見出しの横に置く、道順のボタン */
.map-directions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff0df;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  border-radius: 24px;
  padding: 7px 16px;
  white-space: nowrap;
  transition: background .2s;
}

.map-directions:hover {
  background: #ffe1c8;
}

.map-directions > span {
  font-size: 19px;
}

.shop-telephone {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 16px 4px 0;
  color: var(--brown);
}

.shop-telephone > span:first-child {
  grid-column: 1/-1;
  font-size: 10px;
  color: #80634e;
}

.shop-telephone strong {
  font-size: 22px;
  line-height: 1.8;
  letter-spacing: .035em;
}

.shop-telephone > span:last-child {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #ffe1c8;
  display: grid;
  place-items: center;
}

.shop-telephone:hover strong {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (min-width: 901px) and (max-width: 1190px) {
  .shop.shop-with-map {
    grid-template-columns: 1fr 1fr;
  }
  .shop-with-map .shop-sign {
    padding: 20px 27px;
  }
  .shop-with-map .shop-sign p {
    max-width: 280px;
    font-size: 12px;
  }
  .shop-with-map .shop-sign h2 {
    font-size: 32px;
  }
  .shop-gallery {
    padding: 16px 0 0 16px;
  }
  .shop-photo-frame {
    height: 200px;
  }
  .shop-with-map .shop-info {
    padding: 4px 0 20px 22px;
  }
  .shop-access {
    padding: 16px 20px 20px;
  }
  .shop-with-map dl > div {
    grid-template-columns: 64px 1fr;
  }
  .shop-with-map dd {
    font-size: 11px;
  }
  .shop-map-heading h3 {
    font-size: 17px;
  }
  .shop-telephone strong {
    font-size: 21px;
  }
  .shop-gallery figcaption {
    font-size: 16px;
  }
  .map-directions {
    font-size: 11px;
    padding: 6px 13px;
  }
}

@media (max-width: 900px) {
  .shop.shop-with-map {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sign"
      "gallery"
      "info"
      "access";
    grid-template-rows: auto;
    border-radius: 38px 10px;
  }
  .shop-with-map .shop-sign {
    padding: 28px 26px;
    display: block;
  }
  .shop-with-map .shop-sign h2 {
    font-size: 32px;
  }
  .shop-with-map .shop-sign p {
    font-size: 12px;
    margin-top: 14px;
    max-width: none;
  }
  .shop-gallery {
    padding: 17px 17px 0;
  }
  .shop-photo-frame {
    min-height: 0;
    height: 330px;
    flex: auto;
    border-radius: 8px 28px;
  }
  .shop-photo-frame > img {
    object-position: center 48%;
  }
  .shop-gallery figcaption {
    font-size: 18px;
    padding-top: 12px;
  }
  .shop-photo-label {
    font-size: 11px;
    top: 15px;
    left: 15px;
    padding: 8px 14px;
  }
  .shop-with-map .shop-info {
    padding: 22px 24px 4px;
  }
  .shop-access {
    padding: 18px 24px 28px;
  }
  .shop-with-map dl > div {
    grid-template-columns: 76px 1fr;
    padding: 12px 0;
  }
  .shop-with-map dd {
    font-size: 12px;
  }
  .shop-map-heading h3 {
    font-size: 18px;
  }
  .shop-map-caption {
    font-size: 9px;
    gap: 4px;
  }
  .map-directions {
    font-size: 11px;
    padding: 6px 14px;
  }
  .shop-telephone strong {
    font-size: 24px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .shop.shop-with-map {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "sign sign"
      "gallery access"
      "info access";
    grid-template-rows: auto auto 1fr;
  }
  .shop-with-map .shop-sign {
    display: flex;
    gap: 25px;
  }
  .shop-with-map .shop-sign p {
    max-width: 330px;
    margin: 0;
  }
  .shop-gallery {
    padding: 18px 0 0 18px;
  }
  .shop-photo-frame {
    height: 200px;
  }
  .shop-with-map .shop-info {
    padding: 4px 0 20px 18px;
  }
  .shop-access {
    padding: 18px 20px 20px;
  }
  .shop-with-map dl > div {
    grid-template-columns: 66px 1fr;
  }
  .shop-with-map dd {
    font-size: 11px;
  }
  .shop-map-heading h3 {
    font-size: 17px;
  }
  .shop-gallery figcaption {
    font-size: 17px;
  }
  .shop-telephone strong {
    font-size: 22px;
  }
}

/* ==================================================
   全体レイアウト：ヘッダー・メイン画像まわり
   ================================================== */

.site-header {
  inset: 0 0 auto;
  justify-content: space-between;
  transition: height .4s ease, box-shadow .4s ease;
  height: 72px;
  padding: 0 0 0 24px;
  gap: 20px;
  background: #faf7ebf2;
  backdrop-filter: blur(8px);
}

.header-logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  transition: width .4s ease;
}

.home-page .site-header {
  left: 300px;
  height: 100px;
  padding-left: 24px;
}

.home-page .header-logo {
  width: clamp(300px, 27vw, 390px);
}

.home-page .site-header.is-compact {
  left: 0;
  height: 62px;
  box-shadow: 0 1px 0 #7a61441a;
}

.site-header nav {
  height: 100%;
  margin-left: 0;
  flex: 1;
  justify-content: space-between;
}

.site-header nav a {
  position: relative;
  font-size: 15px;
  white-space: nowrap;
  gap: 7px;
  color: var(--ink);
}

.site-header .contact {
  border: 0;
  background: var(--deep-orange);
  border-radius: 0 0 0 22px !important;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.home-page main {
  padding-top: 100px;
}

.hero .slide {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  background: none;
  transform: none;
  transition: opacity .7s ease;
  display: block;
}

.hero .slide::after {
  display: none;
}

.hero .slide-photo {
  display: block;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  object-position: 50% 65%;
}

/* 各スライドの写真で、見せたい部分（売り場のパン・生地・店内の台）が切れないように */
.hero .slide-retail .slide-photo {
  object-position: 50% 62%;
}

/* 市販事業の写真はほぼ正方形なので、PC・タブレットでは全体が見える「引き」で置き、
   余った左右には同じ写真をぼかして敷く（スマホは枠が縦長なので、そのまま枠いっぱいに） */
@media (min-width: 601px) {
  .hero .slide-retail {
    isolation: isolate;
  }
  .hero .slide-retail::before {
    content: '';
    position: absolute;
    inset: -40px;
    z-index: -1;
    background: url('../images/photos/retail-store.webp') center / cover;
    filter: blur(28px) brightness(.8);
  }
  .hero .slide-retail .slide-photo {
    object-fit: contain;
    object-position: 28% 50%;
  }
}

.hero .slide-school .slide-photo {
  object-position: 50% 58%;
}

.hero .slide-shop .slide-photo {
  object-position: 40% 70%;
}

.hero .dots {
  left: 20px;
  right: auto;
  bottom: 14px;
}

.hero .dots button::before {
  border-color: white;
  width: 10px;
  height: 10px;
}

.hero .dots button.active::before {
  background: white;
}

.hero .hero-controls {
  left: 140px;
  right: auto;
  bottom: 16px;
  gap: 5px;
}

.hero .hero-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid #fff8;
  border-radius: 50%;
  background: #5b452b60;
  font-size: 20px;
}

@media (max-width: 1100px) {
  .site-header .menu {
    border: 0;
    background: var(--deep-orange);
    color: #fff;
    border-radius: 24px;
    padding: 12px 20px;
    min-height: 44px;
  }
  .site-header nav {
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 12px 20px #713b270c;
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav .contact {
    margin: 12px 0 0;
    padding: 15px 20px;
    border: 0;
  }
}

@media (max-width: 900px) {
  .hero .slide {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .home-page .header-logo {
    max-width: calc(100% - 94px);
  }
  .site-header .menu {
    font-size: 12px;
    flex-shrink: 0;
  }
  .hero {
    --photo-height: clamp(250px, 78vw, 420px);
  }
  .hero .slide {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: var(--photo-height) minmax(0, 1fr);
  }
}

/* ==================================================
   現行デザイン（v20）：トップの構成・商品カード・パン形の背景など
   ================================================== */

h1,
h2,
h3,
.story-copy h2,
.section-title h2,
.profile h2,
.shop h2 {
  font-family: var(--bakery-font) !important;
  font-weight: 700;
}

.header-logo {
  width: 155px;
}

.site-header nav a {
  padding: 0 17px;
  border: 0;
}

.site-header nav a:not(.contact)::after {
  content: '';
  height: 30px;
  border-right: 1px dotted #b0a48f;
  position: absolute;
  right: 0;
}

.site-header nav a[aria-current]::before {
  content: '';
  height: 5px;
  background: var(--deep-orange);
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
}

.site-header nav a:hover {
  transform: none;
  color: var(--deep-orange);
}

.site-header svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  flex: none;
}

.site-header .contact {
  margin: 0;
  padding: 14px 20px;
}

.contact svg {
  width: 34px;
  height: 34px;
}

.home-page .site-header > .header-logo {
  display: none;
}

.home-page .is-compact > .header-logo {
  display: block;
  width: 165px;
  margin-right: auto;
}

.home-page main,
main,
footer {
  margin-left: 0;
}

main {
  padding-top: 72px;
}

.opening-brand {
  position: absolute;
  left: 0;
  top: 0;
  width: 300px;
  height: calc(100px + clamp(560px,47vw,760px));
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

/* 左の列：ロゴと創業年だけを静かに置く */
.opening-logo {
  display: block;
  text-align: center;
  width: 220px;
}

.opening-logo img {
  width: 100%;
  height: auto;
}

.opening-logo span {
  display: block;
  margin-top: 14px;
  padding-left: .32em;
  font: 700 12px/1 var(--bakery-font);
  letter-spacing: .32em;
  color: var(--brown);
}

.home-page .hero {
  margin: 0 0 0 300px;
  height: clamp(560px,47vw,760px);
  border-radius: 58px 0 0 58px;
  background: #e5bc79;
}

/* スライドに載せる言葉（白・明朝・縦書き）。1枚目はブランドの言葉、2〜4枚目は各事業の紹介。
   右側だけ写真を少し暗くして、明るい写真でも白い文字が読めるようにする */
.home-page .hero .slide::after {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(270deg, #2a1a0ca6 0%, #2a1a0c7a 30%, #2a1a0c38 46%, #2a1a0c00 62%);
  pointer-events: none;
}

.slide-words {
  position: absolute;
  z-index: 2;
  top: clamp(44px, 5vw, 72px);
  right: clamp(40px, 5vw, 84px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  color: #fff;
  font-family: var(--words-font);
  text-shadow: 0 1px 3px #2a1a0c80, 0 0 10px #2a1a0c80, 0 0 22px #2a1a0c59;
  pointer-events: none;
}

.words-columns {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: clamp(20px, 2.4vw, 36px);
}

.words-columns p {
  writing-mode: vertical-rl;
  margin: 0;
}

.words-columns p span {
  display: block;
}

.words-lead {
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .14em;
}

.words-lead span + span,
.words-title span + span {
  margin-block-start: .3em;
}

/* 続きの2文は1文目より下から始めて、右上から左下へ流れるように */
.words-body {
  margin-top: 4.5em;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: .16em;
}

/* 2〜4枚目：どの事業かを示す小さな見出し、事業のひとこと、ページへの入口 */
.words-label {
  margin: 0;
  padding: 3px 14px;
  border: 1px solid #ffffffb3;
  border-radius: 99px;
  background: #2a1a0c4d;
  font: 700 14px/1.7 var(--bakery-font);
  letter-spacing: .12em;
  text-shadow: none;
}

.words-title {
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .12em;
}

.words-link {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 99px;
  background: #fffdf8;
  color: var(--ink);
  font: 700 14px/1.4 var(--bakery-font);
  text-shadow: none;
  white-space: nowrap;
  pointer-events: auto;
  transition: background .2s;
}

.words-link:hover {
  background: var(--yellow);
}

.hero .hero-controls .pause {
  font-size: 12px;
}

.home-page .feature-news {
  height: 64px;
  min-height: 64px;
  position: relative;
  z-index: 6;
  margin: -64px 0 0 max(590px,42%);
  padding: 0 30px 0 26px;
  grid-template-columns: 108px 1fr auto;
  border: 0;
  border-radius: 30px 0 0 0;
  background: var(--cream);
  gap: 18px;
}

.feature-news b {
  background: var(--yellow);
}

.home-page .products {
  position: relative;
  margin-top: 105px;
  padding: 48px 24px 75px;
  overflow: visible;
  background-color: var(--paper-brown);
  background-image: url('../images/bread-grain.svg'),repeating-linear-gradient(90deg,transparent 0 calc(20% - 2px),#713b2726 calc(20% - 2px) 20%);
  background-size: 160px 160px,100% 100%;
}

.home-page .products::before {
  content: '';
  position: absolute;
  height: 58px;
  left: 0;
  right: 0;
  top: -57px;
  background: url('../images/bread-edge.svg') 50% 100% / 20% 100% repeat-x;
}

.home-page .products::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 28px;
  background: radial-gradient(ellipse at 50% 0,var(--paper-brown) 70%,transparent 72%) 0 0/180px 36px repeat-x;
}

.home-page .section-title h2 {
  font-size: 40px;
  letter-spacing: .12em;
  margin: 0;
}

.home-page .section-title h2::after {
  content: '';
  display: block;
  width: 86px;
  height: 9px;
  margin: 20px auto 30px;
  background: repeating-linear-gradient(125deg,transparent 0 5px,#e5b25f 5px 7px);
}

.home-page .section-title p {
  font-size: 18px;
  margin: 0 0 54px;
}

.home-page .product-track {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px 38px;
  overflow: visible;
  padding: 0;
}

.home-page .product-card {
  height: 150px;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  border-radius: 20px;
  padding: 0;
  background: #fffdf8;
  overflow: visible;
  box-shadow: 0 4px 0 #713b271a;
  min-width: 0;
  transition: transform .2s;
}

.home-page .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 0 #713b2726;
}

.home-page .product-card .photo {
  height: 170px;
  width: 100%;
  margin-top: -10px;
  border-radius: 44% 44% 10% 10% / 28% 28% 10% 10%;
  background-size: cover;
  background-position: center 55%;
  box-shadow: 0 0 0 7px #f2ead9;
  transform: rotate(-6deg) scale(.86);
}

.home-page .product-card:nth-child(even) .photo {
  transform: rotate(6deg) scale(.86);
}

.home-page .product-card h3 {
  font-size: 26px;
  margin: 0;
  padding: 0 12px 0 10px;
  line-height: 1.6;
  text-align: center;
}

.product-card h3 a {
  display: block;
}

.home-page .products-bottom {
  justify-content: center;
  margin: 65px auto 0;
}

.home-page .light-button {
  background: var(--yellow);
  color: #5c482d;
  border: 0;
  border-radius: 50px;
  padding: 24px 36px;
  font-size: 17px;
  box-shadow: none;
}

.home-page .story {
  max-width: 1000px;
  margin: 0 auto;
  padding: 85px 0;
  gap: 60px;
}

.home-page .story-photo {
  height: 370px;
  border-radius: 44% 44% 18px 18px / 22% 22% 18px 18px;
}

.home-page .story-copy h2 {
  font-size: 31px;
}

.home-page .visit-strip {
  max-width: 1000px;
  margin: 0 auto 70px;
  padding: 30px 35px;
  border-radius: 20px;
  background: #fff;
}

.home-page .profile {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0 80px;
  gap: 50px;
  grid-template-columns: .6fr 1.4fr;
}

.home-page .profile h2 {
  font-size: 32px;
}

.home-page .profile table {
  font-family: 'Noto Sans JP',sans-serif;
  font-weight: 500;
}

.home-page footer {
  position: relative;
  justify-content: center;
  padding: 65px 30px 45px;
  background: #d98849 url('../images/bread-grain.svg');
  color: #fff;
}

.home-page footer > .logo {
  display: none;
}

.footer-copy {
  text-align: center;
}

.to-top {
  position: absolute;
  right: 6%;
  top: -29px;
  width: 85px;
  height: 70px;
  border-radius: 50% 50% 0 0;
  background: var(--yellow);
  color: var(--ink);
  font-size: 30px;
  text-align: center;
  padding-top: 5px;
}

.to-top span {
  display: block;
  font-size: 10px;
}

.detail-hero,
.melon-hero {
  border-radius: 45px 45px 20px 20px;
}

.detail-button,
.actions a {
  border-radius: 35px;
}

@media (max-width: 1250px) and (min-width: 901px) {
  .home-page .site-header {
    padding-left: 8px;
  }
  .site-header nav a {
    font-size: 12px;
    padding: 0 9px;
    gap: 5px;
  }
  .site-header svg {
    width: 17px;
    height: 17px;
  }
  .site-header .contact {
    padding: 8px 12px;
    font-size: 11px;
  }
  .site-header .menu {
    display: none;
  }
  .site-header nav {
    display: flex;
    position: static;
    flex-direction: row;
    height: 100%;
    padding: 0;
    box-shadow: none;
    background: none;
  }
  .home-page .story,
  .home-page .visit-strip,
  .home-page .profile {
    max-width: calc(100% - 80px);
  }
  .home-page .is-compact > .header-logo {
    width: 140px;
  }
  .home-page .feature-news {
    margin-left: 550px;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
    padding: 10px 20px;
    height: 72px;
    margin-top: -72px;
  }
  .feature-news h2 {
    margin: 0;
    border: 0;
    font-size: 13px;
  }
  .feature-news p {
    grid-column: 1;
    margin: 0;
    font-size: 10px;
  }
  .feature-news > a {
    grid-column: 2;
    grid-row: 1/3;
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .site-header,
  .home-page .site-header,
  .home-page .site-header.is-compact {
    left: 0;
    height: 72px;
    padding: 0 20px;
    gap: 12px;
  }
  .home-page .site-header > .header-logo,
  .home-page .is-compact > .header-logo {
    display: block;
    width: 180px;
    margin-right: auto;
  }
  .site-header .menu {
    display: block;
    background: var(--deep-orange);
    color: white;
    border-radius: 24px;
    border: 0;
    padding: 11px 20px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    flex-direction: column;
    background: var(--cream);
    padding: 12px 20px 20px;
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav a {
    padding: 15px 10px;
    border-bottom: 1px dotted #c6bda9;
    min-height: 50px;
  }
  .site-header nav a::after,
  .site-header nav a::before {
    display: none;
  }
  .site-header nav .contact {
    margin-top: 12px;
    flex-direction: row;
    justify-content: center;
    border-radius: 25px !important;
    font-size: 14px;
  }
  .site-header .contact svg {
    width: 23px;
    height: 23px;
  }
  .opening-brand {
    display: none;
  }
  .home-page .hero .slide::after {
    background: linear-gradient(270deg, #2a1a0cb3 0%, #2a1a0c80 36%, #2a1a0c38 56%, #2a1a0c00 74%);
  }
  .slide-words {
    top: 36px;
    right: 30px;
    gap: 14px;
  }
  .words-columns {
    gap: 18px;
  }
  .words-lead {
    font-size: 30px;
  }
  .words-body {
    margin-top: 4em;
    font-size: 15px;
  }
  .words-title {
    font-size: 26px;
  }
  .home-page main {
    padding-top: 90px;
  }
  .home-page .hero {
    margin: 0 0 0 20px;
    height: 530px;
    border-radius: 40px 0 0 40px;
  }
  .hero .slide-photo {
    object-position: 50% 60%;
  }
  .home-page .feature-news {
    margin: -64px 0 0 38%;
    height: 64px;
    grid-template-columns: 1fr auto;
    padding: 10px 20px;
    gap: 3px 10px;
    border-radius: 25px 0 0 0;
  }
  .home-page .products {
    margin-top: 85px;
    padding: 36px 26px 60px;
  }
  .home-page .products::before {
    background-size: 33.333% 100%;
    height: 42px;
    top: -41px;
  }
  .home-page .section-title h2 {
    font-size: 34px;
  }
  .home-page .section-title p {
    font-size: 15px;
    margin-bottom: 36px;
  }
  .home-page .product-track {
    grid-template-columns: 1fr 1fr;
    gap: 30px 25px;
  }
  .home-page .product-card {
    height: 125px;
    grid-template-columns: 50% 50%;
  }
  .home-page .product-card .photo {
    height: 135px;
  }
  .home-page .product-card h3 {
    font-size: 22px;
    padding: 0 10px;
  }
  .home-page .products-bottom {
    margin-top: 40px;
  }
  .home-page .light-button {
    padding: 19px 27px;
    font-size: 14px;
  }
  .home-page .story {
    padding: 55px 26px;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .home-page .story-photo {
    height: 300px;
  }
  .home-page .story-copy h2 {
    font-size: 25px;
  }
  .home-page .visit-strip {
    margin: 0 26px 55px;
    padding: 28px;
    gap: 18px;
  }
  .home-page .profile {
    margin: 0 26px;
    padding: 0 0 65px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .home-page .site-header > .header-logo {
    width: 155px;
  }
  .site-header {
    padding: 0 16px;
  }
  .slide-words {
    top: 26px;
    right: 20px;
    gap: 12px;
  }
  .words-columns {
    gap: 12px;
  }
  .words-lead {
    font-size: 23px;
    letter-spacing: .1em;
  }
  .words-title {
    font-size: 21px;
    letter-spacing: .1em;
  }
  .words-label {
    font-size: 12px;
    padding: 2px 12px;
  }
  .words-link {
    font-size: 12px;
    padding: 8px 14px;
  }
  .words-body {
    margin-top: 3.4em;
    font-size: 12.5px;
    line-height: 1.9;
    letter-spacing: .1em;
  }
  .home-page main {
    padding-top: 87px;
  }
  .home-page .hero {
    margin-left: 14px;
    height: 430px;
    border-radius: 32px 0 0 32px;
  }
  .hero .slide-photo {
    object-position: center 58%;
  }
  .hero .dots {
    left: 9px;
    bottom: 16px;
  }
  .hero .dots button {
    width: 24px;
    height: 28px;
  }
  .hero .hero-controls {
    left: 88px;
    bottom: 15px;
  }
  .hero .hero-controls button {
    width: 26px;
    height: 26px;
  }
  .home-page .feature-news {
    margin: 0 0 0 14px;
    border-radius: 0;
    height: auto;
    min-height: 83px;
    grid-template-columns: 1fr auto;
    padding: 17px 17px 12px 8px;
  }
  .feature-news h2 {
    font-size: 14px;
  }
  .feature-news p {
    font-size: 11px;
    grid-column: 1/3;
    grid-row: 2;
    padding: 0;
  }
  .feature-news > a {
    grid-row: 1;
    grid-column: 2;
  }
  .home-page .products {
    margin-top: 65px;
    padding: 30px 24px 50px;
  }
  .home-page .products::before {
    height: 32px;
    top: -31px;
    background-size: 50% 100%;
  }
  .home-page .section-title h2 {
    font-size: 30px;
  }
  .home-page .section-title h2::after {
    margin: 16px auto 23px;
  }
  .home-page .section-title p {
    font-size: 13px;
    line-height: 1.8;
    max-width: 260px;
    margin: 0 auto 32px;
  }
  .home-page .product-track {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .home-page .product-card {
    height: 124px;
    grid-template-columns: 48% 52%;
    border-radius: 17px;
  }
  .home-page .product-card .photo {
    height: 142px;
  }
  .home-page .product-card h3 {
    font-size: 23px;
  }
  .home-page .light-button {
    font-size: 13px;
    padding: 19px 25px;
  }
  .home-page .story {
    grid-template-columns: 1fr;
    padding: 50px 24px;
  }
  .home-page .story-photo {
    height: 310px;
  }
  .home-page .story-copy h2 {
    font-size: 28px;
  }
  .home-page .visit-strip {
    margin: 0 24px 50px;
  }
  .home-page .visit-strip h2 {
    font-size: 24px;
  }
  .home-page .profile {
    margin: 0 24px;
  }
  .home-page footer {
    padding: 55px 24px 32px;
  }
  .footer-links {
    gap: 16px;
    font-size: 11px;
  }
  .footer-copy > p {
    font-size: 19px;
  }
  .to-top {
    right: 24px;
  }
}

.home-page .product-card > .photo {
  cursor: default;
}

/* ==================================================
   トップページ：長田パンの仕事（卸販売・本社直売所・学校給食）
   市販の2枚を大きく、学校給食は横長の1枚で控えめに見せる
   ================================================== */

/* 日本語が言葉の途中で改行されないよう、<span> で区切った文節の中では改行しない */
.phrases span {
  display: inline-block;
}

.business {
  max-width: 1000px;
  margin: 100px auto 110px;
}

.business-head {
  text-align: center;
  margin-bottom: 44px;
}

.business-head h2 {
  font-size: 40px;
  letter-spacing: .12em;
  margin: 0;
}

.business-head h2::after {
  content: '';
  display: block;
  width: 86px;
  height: 9px;
  margin: 20px auto 26px;
  background: repeating-linear-gradient(125deg,transparent 0 5px,#e5b25f 5px 7px);
}

.business-head p {
  font-size: 18px;
  line-height: 1.9;
  margin: 0;
}

.business-label {
  color: var(--deep-orange);
  font-size: 14px;
  letter-spacing: .12em;
  margin: 0 0 14px;
}

.business-label ~ .business-label {
  margin-top: 40px;
}

.business-retail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

.business-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 0 #713b271a;
  transition: transform .2s;
}

.business-card:hover {
  transform: translateY(-5px);
}

.business-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* 売り場の写真は、下の段に並ぶパンが見えるように */
.business-card .photo-trays {
  object-position: 50% 80%;
}

.business-card > div {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 28px 28px;
}

.business-card h3 {
  font-size: 23px;
  line-height: 1.6;
  margin: 0;
}

.business-card p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 6px;
}

.business-link {
  margin-top: auto;
  background: var(--yellow);
  color: #5c482d;
  border-radius: 50px;
  padding: 13px 24px;
  font-size: 14px;
}

.business-link b {
  margin-left: 8px;
}

/* カードの右下に、行き先を表す小さな建物のイラスト（淡い茶色）。
   下の線で切れて、地面から顔を出しているように見せる。文字より後ろに置く */
.business-mark {
  position: absolute;
  right: 22px;
  bottom: -14px;
  width: 104px;
  height: auto;
  color: var(--pale-brown);
  pointer-events: none;
}

.business-school {
  flex-direction: row;
}

.business-school img {
  width: 36%;
  height: auto;
  min-height: 200px;
  object-position: 65% center;
}

.business-school > div {
  justify-content: center;
}

.business-school .business-link {
  margin-top: 4px;
}

/* 商品紹介：看板のメロンパンを横長の大きなカードに */
.home-page .product-card.is-featured {
  grid-column: 1 / -1;
  height: 210px;
  grid-template-columns: 42% 58%;
}

.home-page .product-card.is-featured .photo {
  height: 230px;
}

.product-text {
  padding: 0 36px 0 18px;
}

.product-text small {
  color: var(--deep-orange);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
}

.home-page .product-card.is-featured h3 {
  font-size: 38px;
  text-align: left;
  padding: 0;
  margin: 2px 0 6px;
}

.product-text p {
  font-size: 17px;
  line-height: 1.9;
  margin: 0;
}

@media (max-width: 1250px) and (min-width: 901px) {
  .business {
    max-width: calc(100% - 80px);
  }
}

@media (max-width: 900px) {
  .business {
    margin: 80px 26px;
  }
  .business-head h2 {
    font-size: 34px;
  }
  .business-head p {
    font-size: 15px;
  }
  .business-retail {
    gap: 24px;
  }
  .business-card img {
    height: 190px;
  }
  .business-card > div {
    padding: 20px 22px 24px;
  }
  .business-card h3 {
    font-size: 19px;
  }
  .business-card p {
    font-size: 14px;
  }
  .business-link {
    font-size: 13px;
    padding: 12px 20px;
  }
  .product-text {
    padding: 0 22px 0 10px;
  }
  .product-text small {
    font-size: 15px;
  }
  .home-page .product-card.is-featured h3 {
    font-size: 32px;
  }
  .product-text p {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .business {
    margin: 70px 24px;
  }
  .business-head h2 {
    font-size: 30px;
  }
  .business-head h2::after {
    margin: 16px auto 20px;
  }
  .business-head p {
    font-size: 14px;
  }
  .business-retail {
    grid-template-columns: 1fr;
  }
  .business-school {
    flex-direction: column;
  }
  .business-school img {
    width: 100%;
    height: 190px;
    min-height: 0;
  }
  .business-mark {
    right: 16px;
    bottom: -12px;
    width: 88px;
  }
  .home-page .product-card.is-featured {
    height: auto;
    min-height: 170px;
    grid-template-columns: 44% 56%;
    padding: 16px 0;
  }
  .home-page .product-card.is-featured .photo {
    height: 150px;
  }
  .product-text {
    padding: 0 14px 0 4px;
  }
  .product-text small {
    font-size: 13px;
  }
  .home-page .product-card.is-featured h3 {
    font-size: 28px;
  }
  .product-text p {
    font-size: 14px;
    line-height: 1.8;
  }
}
