.subpage { background: #e8ddc4; }
.inner-header { margin: 0; }
.inner-header nav a { display: block !important; }
.subpage-main { width: min(1460px, calc(100% - 24px)); margin: 0 auto; overflow: hidden; background: var(--paper); box-shadow: 0 18px 52px rgba(83,68,39,.12); }

.page-hero { display: grid; grid-template-columns: .82fr 1.18fr; align-items: stretch; min-height: 400px; padding-top: 106px; overflow: hidden; background: rgba(255,250,240,.72); border-bottom: 1px solid var(--border); }
.page-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 62px 38px 62px max(48px, calc((100vw - 1250px)/2)); }
.page-hero-copy > p, .about-hero > div > p { margin: 0 0 13px; color: var(--leaf); font: 700 11px/1.4 Georgia, serif; letter-spacing: .2em; text-transform: uppercase; }
.page-hero-copy h1 { margin: 0; color: var(--leaf-dark); font-size: clamp(52px, 6vw, 84px); font-weight: 500; line-height: 1.08; }
.page-hero-copy > span { max-width: 500px; margin-top: 24px; color: var(--ink); font-size: 20px; line-height: 1.8; }
.page-hero-media { display: grid; place-items: center; min-width: 0; padding: 28px 38px 28px 0; background: linear-gradient(90deg, transparent, rgba(221,226,200,.25)); }
.page-hero-media img { width: min(100%, 610px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; mix-blend-mode: multiply; }

.catalog-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 42px; width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 48px 0 64px; }
.filter-panel { align-self: start; padding: 22px 18px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255,250,240,.58); }
.filter-panel h2 { margin: 0 0 11px; color: var(--leaf-dark); font-size: 18px; font-weight: 600; }
.filter-panel h2::before { content: '❧'; margin-right: 9px; color: var(--leaf); }
.filter-panel button, .filter-panel > span { display: block; width: 100%; padding: 8px 10px; color: var(--ink); background: transparent; border: 0; border-radius: 6px; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.filter-panel button:hover, .filter-panel button.active { color: var(--leaf-dark); background: rgba(161,169,107,.16); }
.filter-panel hr { margin: 17px 0; border: 0; border-top: 1px solid var(--border); }
.filter-panel blockquote { margin: 21px 0 0; padding: 15px 12px; color: var(--muted); background: rgba(255,250,240,.72); border: 1px dashed rgba(125,110,80,.27); font-size: 13px; line-height: 1.8; }
.catalog-main { min-width: 0; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 42px; margin-bottom: 14px; }
.catalog-toolbar strong { color: var(--ink); font-size: 16px; font-weight: 500; }
.catalog-toolbar > div { display: flex; gap: 7px; }
.view-button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: var(--muted); background: transparent; border: 1px solid var(--border); border-radius: 50%; font-size: 18px; cursor: pointer; }
.view-button.active, .view-button:hover { color: white; background: var(--leaf); border-color: var(--leaf); }
.catalog-cards { display: grid; gap: 12px; }

.record-card, .diary-card { position: relative; display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: center; min-height: 156px; padding: 12px; overflow: hidden; background: rgba(255,250,240,.72); border: 1px solid var(--border); border-radius: 8px; }
.record-card > img, .diary-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.record-card h3, .diary-card h3, .collection-card h3 { margin: 0; color: var(--leaf-dark); font-size: 21px; font-weight: 600; }
.record-card time, .diary-card time, .collection-card time { display: block; margin-bottom: 6px; color: #9a8f7b; font: 12px/1.4 Georgia, serif; font-variant-numeric: tabular-nums; }
.record-card p, .diary-card p, .collection-card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.record-card > i, .diary-card > i { position: absolute; right: 17px; bottom: 13px; color: var(--leaf); font-style: normal; font-size: 18px; }
.record-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.record-tags span, .diary-card > div > span { padding: 5px 10px; color: #68734f; background: rgba(161,169,107,.14); border-radius: 4px; font-size: 11px; }
.diary-card > div > span { display: inline-block; margin-bottom: 7px; color: var(--peach); background: rgba(200,129,99,.09); }

.catalog-cards.grid-view { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-view .record-card, .grid-view .diary-card { display: block; min-height: 0; padding: 0 0 18px; }
.grid-view .record-card > img, .grid-view .diary-card > img { border-radius: 7px 7px 0 0; }
.grid-view .record-card > div, .grid-view .diary-card > div { padding: 17px 17px 0; }
.grid-view .record-card > i, .grid-view .diary-card > i { display: none; }
.grid-view .record-card h3, .grid-view .diary-card h3 { font-size: 18px; }

.collection-card { overflow: hidden; background: rgba(255,250,240,.72); border: 1px solid var(--border); border-radius: 8px; }
.collection-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.collection-card > div { padding: 17px; }
.collection-card > div > span { display: inline-block; margin-top: 12px; color: var(--leaf); font-size: 12px; }
.list-view .collection-card { display: grid; grid-template-columns: 220px 1fr; align-items: center; }

.detail-feature { display: grid; grid-template-columns: .85fr 1.2fr .62fr; gap: 34px; align-items: center; width: min(1320px, calc(100% - 64px)); margin: 0 auto 70px; padding: 26px; background: rgba(255,250,240,.74); border: 1px solid var(--border); border-radius: 8px; }
.detail-feature > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.detail-feature > div > p { margin: 0 0 8px; color: var(--peach); font-size: 13px; }
.detail-feature h2 { margin: 0 0 14px; color: var(--leaf-dark); font-size: 31px; font-weight: 500; }
.detail-feature > div > span { color: var(--muted); font-size: 15px; line-height: 1.9; }
.detail-feature aside { padding: 18px; text-align: center; border-left: 1px dashed var(--border); }
.detail-feature aside img { width: 92px; height: 92px; margin: 0 auto 13px; object-fit: cover; border-radius: 50%; }
.detail-feature aside p { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.8; }

.plant-directory { width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 58px 0 54px; }
.center-title { margin-bottom: 30px; text-align: center; }
.center-title p { margin: 0; color: var(--leaf-dark); font-size: 31px; }
.center-title span { display: block; margin-top: 9px; color: var(--muted); font-size: 15px; }
.plant-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plant-card-grid.single-plant { grid-template-columns: minmax(280px, 430px); justify-content: center; }
.plant-card-grid article { padding: 12px 12px 18px; text-align: center; background: rgba(255,250,240,.65); border: 1px solid var(--border); border-radius: 8px; }
.plant-card-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.plant-card-grid h2 { margin: 14px 0 7px; color: var(--leaf-dark); font-size: 22px; font-weight: 600; }
.plant-card-grid p { min-height: 50px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.plant-card-grid span { display: inline-block; margin-top: 12px; padding: 5px 11px; color: var(--leaf); border: 1px solid rgba(104,123,84,.23); border-radius: 15px; font-size: 11px; }
.plant-feature { display: grid; grid-template-columns: .95fr 1.15fr .55fr; gap: 34px; align-items: center; width: min(1320px, calc(100% - 64px)); margin: 0 auto 70px; padding: 26px; background: rgba(255,250,240,.74); border: 1px solid var(--border); border-radius: 8px; }
.plant-feature > div { position: relative; }
.plant-feature > div > p { position: absolute; top: 12px; left: -8px; z-index: 2; margin: 0; padding: 7px 14px; color: white; background: var(--leaf); font-size: 12px; }
.plant-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.plant-feature article h2 { margin: 0 0 14px; color: var(--leaf-dark); font-size: 34px; font-weight: 500; }
.plant-feature article p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.plant-feature dl { display: flex; gap: 22px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.plant-feature dl div { padding-right: 20px; border-right: 1px solid var(--border); }
.plant-feature dt { color: var(--leaf); }
.plant-feature dd { margin: 5px 0 0; }
.plant-feature aside { text-align: center; }
.plant-feature aside p { margin: 10px 0 0; color: var(--peach); }

.about-hero { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; min-height: 570px; padding-top: 106px; overflow: hidden; border-bottom: 1px solid var(--border); }
.about-hero > div { position: relative; z-index: 2; padding: 70px 0 70px max(50px, calc((100vw - 1280px)/2)); }
.about-hero h1 { margin: 0; color: var(--leaf-dark); font-size: clamp(55px, 6vw, 86px); font-weight: 500; }
.about-hero h2 { margin: 15px 0 0; color: var(--ink); font-size: 24px; font-weight: 400; }
.about-hero blockquote { max-width: 430px; margin: 50px 0 0; padding: 24px 30px; color: var(--ink); background: rgba(255,250,240,.62); border: 1px solid var(--border); font-size: 17px; line-height: 2; }
.about-hero > img { align-self: center; width: 100%; height: auto; min-height: 0; aspect-ratio: 1672 / 941; object-fit: contain; background: var(--paper); }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; width: min(1250px, calc(100% - 64px)); margin: 0 auto; padding: 70px 0; border-bottom: 1px solid var(--border); }
.about-columns article { position: relative; min-height: 380px; }
.about-columns article:first-child { padding-right: 34px; border-right: 1px dashed var(--border); }
.about-columns h2, .growth-footprints h2, .about-closing h2 { margin: 0 0 22px; color: var(--leaf-dark); font-size: 30px; font-weight: 500; }
.about-columns p, .about-columns li, .about-closing p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.about-columns ul { margin: 0; padding: 0; list-style: none; }
.about-columns li { margin-bottom: 12px; }
.about-columns li::before { content: '❧'; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; color: white; background: var(--leaf); border-radius: 50%; }
.about-columns img { width: 48%; max-height: 190px; margin: 20px 0 0 auto; object-fit: cover; border-radius: 7px; }
.growth-footprints { width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 58px 0 70px; text-align: center; }
.growth-footprints > div { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 34px; }
.growth-footprints > div::before { content: ''; position: absolute; top: 63px; left: 8%; right: 8%; border-top: 1px dashed var(--leaf); }
.growth-footprints article { position: relative; z-index: 1; }
.growth-footprints img { width: 126px; height: 126px; margin: 0 auto 12px; object-fit: cover; background: var(--paper-light); border: 1px solid var(--border); border-radius: 50%; }
.growth-footprints time { display: block; color: var(--peach); font: 12px/1.4 Georgia, serif; }
.growth-footprints p { margin: 7px 0 0; color: var(--ink); font-size: 13px; line-height: 1.6; }
.about-closing { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 42px; align-items: start; width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 55px 0 80px; border-top: 1px solid var(--border); }
.about-closing article { min-height: 300px; padding-right: 24px; border-right: 1px dashed var(--border); }
.about-closing figure { margin: 0; padding: 12px 12px 18px; transform: rotate(2deg); background: var(--paper-light); box-shadow: 0 12px 26px rgba(82,69,43,.12); }
.about-closing figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-closing figcaption { margin-top: 13px; color: var(--ink); text-align: center; }

@media (max-width: 980px) {
  .inner-header { flex-wrap: wrap; gap: 5px; padding-bottom: 8px; }
  .inner-header nav { order: 2; width: 100%; overflow-x: auto; gap: 20px; padding-bottom: 2px; scrollbar-width: none; }
  .inner-header nav::-webkit-scrollbar { display: none; }
  .inner-header nav a { flex: 0 0 auto; }
  .page-hero { grid-template-columns: 1fr 1fr; min-height: 340px; }
  .catalog-layout { grid-template-columns: 190px 1fr; gap: 24px; }
  .catalog-cards.grid-view { grid-template-columns: repeat(2, 1fr); }
  .record-card, .diary-card { grid-template-columns: 170px 1fr; }
  .detail-feature, .plant-feature { grid-template-columns: .9fr 1.1fr; }
  .detail-feature aside, .plant-feature aside { display: none; }
  .plant-card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero { grid-template-columns: 1fr 1fr; }
  .growth-footprints > div { grid-template-columns: repeat(3, 1fr); }
  .growth-footprints > div::before { display: none; }
  .about-closing { grid-template-columns: 1fr 1fr; }
  .about-closing figure { grid-column: 1 / -1; max-width: 430px; }
}

@media (max-width: 680px) {
  .inner-header { width: calc(100% - 28px); min-height: 72px; border-radius: 28px; }
  .inner-header .brand img { width: 52px; height: 52px; }
  .subpage-main { width: calc(100% - 14px); border-radius: 0 0 28px 28px; }
  .page-hero { position: relative; display: block; min-height: 336px; padding-top: 94px; overflow: hidden; background: var(--paper-light); }
  .page-hero::after { content: ""; position: absolute; inset: 94px 0 0; z-index: 1; background: linear-gradient(90deg, rgba(255,250,240,.95), rgba(255,250,240,.76) 45%, rgba(255,250,240,.1) 82%); pointer-events: none; }
  .page-hero-copy { position: relative; z-index: 2; width: 58%; min-height: 242px; padding: 52px 0 34px 22px; text-align: left; }
  .page-hero-media { position: absolute; inset: 94px 0 0; z-index: 0; padding: 0; background: transparent; }
  .page-hero-media img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: 70% center; mix-blend-mode: normal; }
  .page-hero-copy h1 { font-size: 46px; line-height: 1.12; }
  .page-hero-copy > span { margin-top: 14px; font-size: 16px; line-height: 1.8; }
  .catalog-layout { display: block; width: calc(100% - 24px); padding: 22px 0 48px; }
  .filter-panel { display: flex; gap: 8px; margin-bottom: 16px; padding: 4px 0 5px; overflow-x: auto; background: transparent; border: 0; border-radius: 0; box-shadow: none; scrollbar-width: none; }
  .filter-panel::-webkit-scrollbar { display: none; }
  .filter-panel h2, .filter-panel hr, .filter-panel blockquote { display: none; }
  .filter-panel button, .filter-panel > span { flex: 0 0 auto; width: auto; margin: 0; padding: 10px 14px; background: rgba(255,250,240,.72); border: 1px solid rgba(119,106,79,.18); border-radius: 999px; box-shadow: 0 7px 16px rgba(82,69,43,.05); white-space: nowrap; }
  .filter-panel button.active { color: white; background: var(--leaf); border-color: var(--leaf); }
  .catalog-toolbar { min-height: 50px; margin-bottom: 12px; padding: 8px 12px; background: rgba(255,250,240,.78); border: 1px solid rgba(119,106,79,.18); border-radius: 20px; box-shadow: 0 8px 18px rgba(82,69,43,.06); }
  .catalog-toolbar strong { font-size: 15px; }
  .catalog-cards.grid-view { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .record-card, .diary-card { grid-template-columns: 42% 58%; gap: 0; min-height: 142px; padding: 0; border-radius: 18px; box-shadow: 0 8px 18px rgba(82,69,43,.06); }
  .record-card > img, .diary-card > img { height: 100%; border-radius: 18px 0 0 18px; }
  .record-card > div, .diary-card > div { padding: 13px 14px; }
  .record-card h3, .diary-card h3 { font-size: 18px; line-height: 1.32; }
  .record-card p, .diary-card p { display: -webkit-box; margin-top: 5px; overflow: hidden; font-size: 12px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .record-tags { gap: 5px; margin-top: 8px; }
  .record-tags span { padding: 4px 8px; border-radius: 999px; }
  .grid-view .record-card, .grid-view .diary-card { display: block; }
  .grid-view .record-card > img, .grid-view .diary-card > img { height: auto; border-radius: 18px 18px 0 0; }
  .grid-view .record-card > div, .grid-view .diary-card > div { padding: 11px; }
  .grid-view .record-card p, .grid-view .diary-card p { display: none; }
  .collection-card { border-radius: 18px; box-shadow: 0 8px 18px rgba(82,69,43,.06); }
  .collection-card > img { border-radius: 18px 18px 0 0; }
  .collection-card > div { padding: 12px; }
  .collection-card h3 { font-size: 16px; }
  .collection-card p { font-size: 12px; }
  .list-view .collection-card { grid-template-columns: 42% 58%; }
  .detail-feature { grid-template-columns: 1fr; width: calc(100% - 24px); margin-bottom: 48px; padding: 16px; border-radius: 22px; }
  .plant-directory { width: calc(100% - 24px); padding: 40px 0; }
  .center-title p { font-size: 26px; }
  .plant-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plant-card-grid article { padding: 8px 8px 13px; border-radius: 18px; }
  .plant-card-grid img { border-radius: 14px; }
  .plant-card-grid h2 { font-size: 18px; }
  .plant-card-grid p { min-height: 0; font-size: 11px; }
  .plant-feature { grid-template-columns: 1fr; width: calc(100% - 24px); margin-bottom: 48px; padding: 16px; border-radius: 22px; }
  .plant-feature dl { display: block; }
  .plant-feature dl div { margin-bottom: 10px; border: 0; }
  .about-hero { position: relative; display: block; min-height: 500px; padding-top: 94px; overflow: hidden; }
  .about-hero::after { content: ""; position: absolute; inset: 94px 0 0; z-index: 1; background: linear-gradient(90deg, rgba(255,250,240,.94), rgba(255,250,240,.72) 45%, rgba(255,250,240,.08) 84%); pointer-events: none; }
  .about-hero > div { position: relative; z-index: 2; width: 58%; padding: 62px 0 40px 22px; text-align: left; }
  .about-hero > img { position: absolute; inset: 94px 0 0; z-index: 0; width: 100%; height: calc(100% - 94px); min-height: 0; object-fit: cover; object-position: 68% center; }
  .about-hero h1 { font-size: 45px; line-height: 1.12; }
  .about-hero h2 { max-width: 230px; font-size: 18px; line-height: 1.75; }
  .about-hero blockquote { max-width: 240px; margin-top: 24px; padding: 0; background: transparent; border: 0; font-size: 16px; }
  .about-columns { grid-template-columns: 1fr; width: calc(100% - 36px); gap: 40px; padding: 48px 0; }
  .about-columns article:first-child { padding: 0 0 38px; border-right: 0; border-bottom: 1px dashed var(--border); }
  .about-columns img { width: 70%; margin-left: auto; margin-right: auto; }
  .growth-footprints { width: calc(100% - 28px); }
  .growth-footprints > div { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .growth-footprints img { width: 105px; height: 105px; }
  .about-closing { grid-template-columns: 1fr; width: calc(100% - 36px); padding: 45px 0 60px; }
  .about-closing article { min-height: 0; padding: 0 0 30px; border-right: 0; border-bottom: 1px dashed var(--border); }
  .about-closing figure { grid-column: auto; }
}
