/* 実際の料理写真と、レシピ帖のような見出しで食べ方を案内する。 */
:root { --sunny: #eed16d; }
.hero { background: #f4f0df; border-bottom: 1px solid #dcdcca; }
.hero-inner { grid-template-columns: 1fr 1.1fr; padding-block: 62px; }
.hero h1 span { background: linear-gradient(transparent 76%, #f2cf597d 76%, #f2cf597d 94%, transparent 94%); }
.hero .eyebrow { letter-spacing: .08em; }
.hero-dishes { grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: start; }
.hero-dish-main { grid-row: 1 / 3; align-self: center; transform: rotate(-3deg); }
.hero-dish-small { margin-top: 0; transform: rotate(3deg); }
.hero-dish-third { transform: rotate(-2deg); }
.hero-dish { border: 7px solid var(--paper); border-radius: 3px; box-shadow: 0 8px 18px #18372b12; }
.hero-dish img { border-radius: 0; }
.hero-dish > span { padding: 10px 3px 3px; font-size: 15px; }
.hero-dish small { font-size: 10px; }
.hero-dish-main img { aspect-ratio: 4 / 5; }
.hero-dish-small img, .hero-dish-third img { aspect-ratio: 1.65; }
.magazine-stamp { position: absolute; left: -16px; top: -20px; z-index: 2; display: grid; align-content: center; width: 100px; height: 100px; border-radius: 50%; background: var(--sunny); color: var(--green-900); text-align: center; font-weight: 800; font-size: 12px; line-height: 1.6; transform: rotate(-10deg); }
.recipe-features { padding: 64px 0 72px; background: #fffdf8; }
.feature-heading { margin-bottom: 28px; }
.feature-heading h2 { font-size: clamp(25px, 3vw, 36px); margin: 0; line-height: 1.5; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature-story { text-decoration: none; display: block; color: var(--text); border-top: 3px solid var(--green-800); background: #f0f4e9; }
.feature-story:nth-child(2) { background: #faf0c9; }
.feature-story:nth-child(3) { background: #f7e9df; }
.feature-story > img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.feature-story > div { padding: 24px; }
.feature-label { font-size: 11px; letter-spacing: .08em; font-weight: 800; }
.feature-story h3 { font-size: 27px; line-height: 1.45; margin: 14px 0; }
.feature-story p { font-size: 13px; line-height: 1.9; }
.feature-link { display: block; font-size: 13px; font-weight: 800; padding-top: 14px; border-top: 1px solid #18372b26; }
.feature-story:hover .feature-link { text-decoration: underline; text-underline-offset: 4px; }
.feature-story:focus-visible, .hero-dish:focus-visible { outline: 3px solid var(--green-700); outline-offset: 5px; }
.visual-recipe-section { background: #f5f5eb; border-top: 1px solid #dce0cc; }
.shuffle-button { background: var(--sunny); border-color: transparent; }
.visual-recipe-method { background: #e2ead7; }
.feature-heading .eyebrow, .visual-recipe-section .eyebrow { display: inline-block; padding: 4px 10px; background: var(--sunny); color: var(--green-900); }
.origin-section { background: #f8efcb; border-top: 1px solid #e0d6ae; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-dishes { max-width: 550px; }
  .feature-grid { gap: 14px; }
  .feature-story > div { padding: 18px; }
  .feature-story h3 { font-size: 22px; }
}
@media (max-width: 560px) {
  .hero-inner { padding-block: 32px 40px; gap: 42px; }
  .hero-dishes { gap: 10px; max-width: 380px; }
  .hero-dish { border-width: 5px; }
  .hero-dish > span { font-size: 11px; padding: 8px 1px 2px; }
  .magazine-stamp { width: 84px; height: 84px; font-size: 9px; white-space: nowrap; left: -5px; top: -24px; }
  .hero-dish-main img { aspect-ratio: 3 / 4; }
  .recipe-features { padding-block: 40px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-story { display: grid; grid-template-columns: .9fr 1.1fr; border-top-width: 2px; }
  .feature-story > img { aspect-ratio: auto; height: 100%; min-height: 180px; }
  .feature-story > div { padding: 16px; }
  .feature-story h3 { font-size: 21px; margin: 8px 0; }
  .feature-story p { display: none; }
  .feature-label { font-size: 10px; letter-spacing: 0; }
  .feature-link { font-size: 11px; padding-top: 10px; margin-top: 12px; }
}

/* 農と食の温かみ。既存の料理写真を主役にした独自の意匠。 */
.hero { background: #f6f3e8; }
.hero-inner { padding-block: 72px 64px; }
.hero h1 { line-height: 1.5; }
.hero h1 span { background: none; }
.hero-copy > .eyebrow { border-left: 3px solid var(--green-700); padding-left: 12px; }
.hero-dishes { grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: center; isolation: isolate; }
.hero-dishes::before { content: ''; position: absolute; inset: 9% -2% 5% 8%; background: #e4e9d4; border-radius: 46% 54% 60% 40%; z-index: -1; }
.hero-dish { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; transform: none; transition: transform .2s ease; }
.hero-dish img { aspect-ratio: 1; object-fit: cover; border: 5px solid #fffdf8; border-radius: 48% 48% 12px 12px; }
.hero-dish-main img { aspect-ratio: 4 / 5; border-radius: 140px 140px 18px 18px; }
.hero-dish-third img { border-radius: 12px 12px 48% 48%; }
.hero-dish > span { padding: 12px 0 0; background: transparent; font-size: 16px; }
.hero-dish small { font-size: 12px; line-height: 1.6; }
.hero-dish:hover { transform: translateY(-4px); }
.magazine-stamp { left: auto; right: -4px; top: -36px; transform: rotate(8deg); box-shadow: 0 0 0 5px #f6f3e8; }
.eyebrow { font-size: 12px; }
.feature-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.feature-heading .eyebrow { order: 2; background: transparent; color: var(--green-700); padding: 0; }
.feature-grid { gap: 28px; }
.feature-story, .feature-story:nth-child(2), .feature-story:nth-child(3) { background: transparent; border: 0; }
.feature-story > img { aspect-ratio: 1.45; border-radius: 8px; }
.feature-story > div { padding: 24px 4px 0; }
.feature-label { font-size: 12px; color: var(--green-700); }
.feature-story h3 { font-size: 28px; line-height: 1.5; }
.feature-story p { font-size: 15px; }
.feature-link { font-size: 14px; padding: 16px 0; }
.visual-recipe-section { background: #edf2e5; border-radius: 40px 40px 0 0; }
.visual-recipe-section .eyebrow { background: transparent; padding: 0; }
.shuffle-button { background: #fffdf8; border-color: var(--green-700); min-height: 48px; }
.visual-recipe-tile { border-radius: 0; }
.visual-recipe-tile img { border-radius: 8px; }
.visual-recipe-method { background: transparent; padding-left: 0; font-size: 12px; }
.visual-recipe-overlay { border-bottom: 1px solid #cbd7bd; }
.recipe-explorer { background: #fffdf8; }
.search-panel { box-shadow: none; border-top: 4px solid var(--green-700); }
.origin-section { background: #f6f3e8; border-bottom: 1px solid #d9decc; }
.origin-layout { max-width: 1160px; }
.origin-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; max-width: none; }
.origin-copy > .eyebrow, .origin-copy > h2 { grid-column: 1; }
.origin-copy > .origin-lead { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 16px; }
.origin-facts { grid-column: 2; margin-top: 0; }
.origin-copy > .text-link { grid-column: 1; grid-row: 3; align-self: start; justify-self: start; }
@media (max-width: 960px) {
  .hero-inner { gap: 56px; }
  .hero-dishes { max-width: 580px; }
  .feature-grid { gap: 20px; }
  .feature-story h3 { font-size: 23px; }
  .origin-copy { column-gap: 36px; }
}
@media (max-width: 560px) {
  .hero-inner { padding-block: 36px; gap: 42px; }
  .hero h1 { line-height: 1.45; }
  .hero-copy > .eyebrow { font-size: 11px; letter-spacing: .02em; }
  .hero-dishes { gap: 18px; max-width: 390px; }
  .hero-dish img { border-width: 3px; }
  .hero-dish-main img { aspect-ratio: 3 / 4; }
  .hero-dish > span { font-size: 12px; padding-top: 8px; }
  .magazine-stamp { width: 76px; height: 76px; top: -22px; font-size: 10px; }
  .feature-heading { display: block; margin-bottom: 24px; }
  .feature-grid { gap: 24px; }
  .feature-story { align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid #d9decc; }
  .feature-story > img { aspect-ratio: 1; min-height: 0; height: auto; }
  .feature-story > div { padding: 0; }
  .feature-story h3 { font-size: 21px; margin: 8px 0; }
  .feature-label { font-size: 11px; }
  .feature-link { font-size: 12px; padding: 8px 0; border: 0; margin: 0; }
  .visual-recipe-section { border-radius: 24px 24px 0 0; }
  .origin-copy { display: block; }
  .origin-facts { margin-top: 24px; }
  .origin-copy > .text-link { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-dish { transition: none; }
  .hero-dish:hover { transform: none; }
}
/* 2段ヘッダーでも移動先の見出しを隠さない。 */
@media (max-width: 800px) {
  section[id], main[id] { scroll-margin-top: 120px; }
}
