:root {
  --tf-page: #fffdf7;
  --tf-surface: #fff;
  --tf-text: #1f2a30;
  --tf-brown: #3a1b12;
  --tf-green: #2b9c37;
  --tf-deep: #194b2f;
  --tf-orange: #ff7b0b;
  --tf-soft: #eff7e8;
  --tf-line: #e8e8e2;
  --tf-radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tf-page); color: var(--tf-text); font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
img { max-width: 100%; }
a { color: inherit; }
.tf-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.tf-inner { width: min(100% - 72px, 1360px); margin-inline: auto; }

.tf-header { background: #fff; }
.tf-header-inner { width: min(100% - 72px, 1360px); margin: auto; min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.tf-logo { display: inline-flex; align-items: center; flex: none; }
.tf-logo img { display: block; width: 166px; height: auto; }
.tf-nav { display: flex; align-items: center; gap: 0; height: 100%; margin-right: auto; }
.tf-nav a { position: relative; padding: 18px 26px; color: var(--tf-text); font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tf-nav a + a::before { content: ""; position: absolute; width: 1px; height: 24px; left: 0; top: calc(50% - 12px); background: var(--tf-line); }
.tf-nav a[aria-current]::after { content: ""; position: absolute; bottom: 9px; left: 26px; right: 26px; height: 3px; background: var(--tf-orange); }
.tf-menu { display: none; }

.tf-breadcrumb { background: var(--tf-page); font-size: 14px; }
.tf-breadcrumb .tf-inner { min-height: 48px; display: flex; align-items: center; gap: 12px; }
.tf-breadcrumb a { color: var(--tf-green); text-decoration: none; }
.tf-breadcrumb span { color: #7c8580; }
.tf-hero picture, .tf-hero img { display: block; width: 100%; }
.tf-hero img { height: min(28vw, 400px); object-fit: cover; object-position: center center; }

.tf-listing { padding-top: 38px; padding-bottom: 54px; }
.tf-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 20px; }
.tf-title-row h2 { margin: 0; font-size: 29px; line-height: 1.3; font-weight: 700; }
.tf-title-row .tf-count { flex: none; margin: 0; font-size: 14px; }
.tf-disclosure { margin: -5px 0 18px; color: #626d66; font-size: 13px; line-height: 1.6; }
.tf-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 19px; }
.tf-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ecece6; border-radius: var(--tf-radius); background: var(--tf-surface); box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.tf-card-media { height: 206px; flex: none; overflow: hidden; padding: 6px 6px 0; }
.tf-card-media img { display: block; width: 100%; height: 200px; object-fit: cover; border-radius: 11px; background: #f4f6f1; }
.tf-card-media .tf-noimage { object-fit: contain; background: #f5f8f0; }
.tf-card-media .tf-logoimage { object-fit: contain; background: #f4f6f1; }
.tf-card-body { flex: 1; padding: 15px 16px 10px; min-width: 0; }
.tf-labels, .tf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tf-labels { margin-bottom: 8px; }
.tf-label { display: inline-flex; align-items: center; min-height: 23px; border-radius: 20px; padding: 2px 10px; background: var(--tf-green); color: #fff; font-size: 12px; line-height: 1.2; font-weight: 700; }
.tf-label:first-child { background: var(--tf-orange); }
.tf-card h3 { font-size: 19px; line-height: 1.4; margin: 0 0 7px; font-weight: 700; overflow-wrap: anywhere; }
.tf-summary { margin: 0 0 10px; min-height: 3.2em; font-size: 14px; line-height: 1.6; }
.tf-chips { margin-top: auto; }
.tf-chip { padding: 5px 10px; border-radius: 13px; background: #f0f1f1; color: #45504c; font-size: 12px; line-height: 1.2; }
.tf-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 0 16px 16px; }
.tf-actions a { display: flex; justify-content: center; align-items: center; gap: 4px; min-height: 46px; border-radius: 11px; border: 2px solid var(--tf-green); font-size: 14px; line-height: 1.25; font-weight: 700; text-decoration: none; text-align: center; }
.tf-actions .tf-detail { color: white; background: var(--tf-green); }
.tf-actions .tf-external { color: var(--tf-green); background: white; }
.tf-actions .tf-detail:only-child { grid-column: 1 / -1; }
.tf-actions a:focus-visible, .tf-nav a:focus-visible, .tf-footer a:focus-visible { outline: 3px solid var(--tf-orange); outline-offset: 2px; }

.tf-meadow { position: relative; overflow: hidden; }
.tf-meadow picture, .tf-meadow img { display: block; width: 100%; }
.tf-meadow img { height: 125px; object-fit: cover; object-position: center bottom; }
.tf-meadow img.tf-meadow-slogan { position: absolute; left: 50%; top: 13px; width: 310px; height: auto; object-fit: contain; transform: translateX(-50%); }
.tf-footer { background: #fff; border-radius: 14px 14px 0 0; margin-top: -1px; }
.tf-footer-inner { padding-top: 32px; padding-bottom: 30px; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.tf-footer-brand { max-width: 340px; }
.tf-footer-brand img { width: 150px; display: block; }
.tf-footer-brand p { font-size: 13px; line-height: 1.6; margin: 7px 0 0; }
.tf-footer-links { display: flex; flex-wrap: wrap; gap: 12px 16px; align-self: center; font-size: 13px; }
.tf-footer-links a { text-decoration: none; }
.tf-footer-links a + a { border-left: 1px solid var(--tf-line); padding-left: 16px; }
.tf-copyright { margin: 0 auto; width: min(100% - 72px, 1360px); padding: 5px 0 23px; font-size: 12px; color: #737c75; }

@media (max-width: 767px) {
  .tf-inner { width: calc(100% - 32px); }
  .tf-header-inner { width: calc(100% - 32px); height: 52px; min-height: 52px; gap: 12px; }
  .tf-logo img { width: 104px; }
  .tf-nav { display: none; }
  .tf-menu { display: block; margin-left: auto; position: relative; }
  .tf-menu summary { list-style: none; min-width: 53px; text-align: center; color: var(--tf-deep); font-size: 12px; cursor: pointer; }
  .tf-menu summary::-webkit-details-marker { display: none; }
  .tf-menu-bars { display: block; width: 27px; height: 21px; margin: 0 auto 2px; border-top: 3px solid var(--tf-deep); border-bottom: 3px solid var(--tf-deep); position: relative; }
  .tf-menu-bars::after { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 3px; background: var(--tf-deep); }
  .tf-menu-panel { position: absolute; right: 0; top: 100%; z-index: 10; width: 220px; padding: 12px; background: white; box-shadow: 0 4px 16px rgba(0,0,0,.12); border: 1px solid var(--tf-line); }
  .tf-menu:not([open]) .tf-menu-panel { display: none; }
  .tf-menu-panel a { display: block; padding: 10px; text-decoration: none; }
  .tf-breadcrumb { font-size: 12px; }
  .tf-breadcrumb .tf-inner { height: 29px; min-height: 29px; gap: 8px; }
  .tf-hero img { display: block; height: 40vw; }
  .tf-listing { padding-top: 26px; padding-bottom: 34px; }
  .tf-title-row { align-items: baseline; margin-bottom: 14px; }
  .tf-title-row h2 { font-size: 23px; }
  .tf-title-row .tf-count { font-size: 12px; }
  .tf-disclosure { font-size: 12px; margin-bottom: 14px; }
  .tf-grid { grid-template-columns: 1fr; gap: 11px; }
  .tf-card { position: relative; display: flex; flex-direction: row; height: 142px; padding: 8px; }
  .tf-card-media { width: 40%; height: 126px; min-height: 0; padding: 0; }
  .tf-card-media img { height: 126px; border-radius: 10px; }
  .tf-card-body { width: 60%; min-width: 0; height: 83px; flex: none; padding: 1px 4px 0 10px; overflow: hidden; }
  .tf-labels { margin-bottom: 3px; gap: 4px; }
  .tf-label { min-height: 17px; font-size: 10px; padding: 2px 7px; }
  .tf-card h3 { font-size: 15px; line-height: 1.25; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tf-summary { font-size: 12px; line-height: 1.4; min-height: 0; margin-bottom: 0; }
  .tf-chip { font-size: 11px; padding: 4px 7px; }
  .tf-actions { position: absolute; left: 8px; right: 8px; top: 92px; z-index: 1; padding: 0; gap: 8px; background: #fff; border-radius: 11px; }
  .tf-actions a { min-height: 42px; font-size: 13px; }
  .tf-meadow img { height: 65px; }
  .tf-meadow img.tf-meadow-slogan { top: 4px; width: 136px; height: auto; }
  .tf-footer-inner { width: calc(100% - 32px); display: block; padding-top: 22px; padding-bottom: 8px; }
  .tf-footer-brand img { width: 110px; }
  .tf-footer-brand p { display: none; }
  .tf-footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 13px; margin-top: 14px; font-size: 12px; }
  .tf-footer-links a + a { border: 0; padding-left: 0; }
  .tf-copyright { width: calc(100% - 32px); text-align: center; padding-bottom: 15px; }
}
