@charset "UTF-8";

/* =========================================================
   Awashima Coffee
   KNOWLEDGE 04 / COFFEE BREEDING

   Article-specific stylesheet for:
   /user_data/knowledge/coffee-breeding

   Load AFTER knowledge-common.css.
   All article-specific classes use the aw-kb prefix.
========================================================= */

/* =========================================================
   ROOT / ARTICLE TONE
========================================================= */

.aw-kb {
  --kb-rust: #a74d2f;
  --kb-rust-dark: #6f2f1f;
  --kb-leaf: #4f6551;
  --kb-leaf-dark: #2e4335;
  --kb-seed: #9a7559;
  --kb-cream: #eee4d6;
  --kb-ink: #211812;
}

.aw-kb .aw-kaReference a {
  text-decoration-color: rgba(110, 79, 60, .38);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

@media (hover: hover) {
  .aw-kb .aw-kaReference a:hover {
    text-decoration-color: currentColor;
  }
}

.aw-page-coffeeBreeding .aw-kbHero .aw-kaHero__image::after {
  background: linear-gradient(
      90deg,
      rgba(20, 13, 9, .30) 0%,
      rgba(20, 13, 9, .18) 40%,
      rgba(20, 13, 9, .07) 72%,
      rgba(20, 13, 9, 0) 100%
    );
}

.aw-page-coffeeBreeding .aw-kbHero .aw-pageHero__copy {
  text-shadow: 0 1px 2px rgba(20, 13, 9, .26);
}

.aw-kbHero__image {
  overflow: hidden;
  background: radial-gradient(circle at 76% 40%, rgba(156, 89, 48, .30), transparent 20%),
    radial-gradient(circle at 84% 68%, rgba(86, 116, 80, .30), transparent 24%),
    linear-gradient(135deg, #2d211a 0%, #334136 54%, #1d1713 100%);
}

/* Hero：品種改良の歴史 */

.aw-page-coffeeBreeding .aw-kbHero .aw-pageHero__title {
  font-weight: 500;
}

/* Hero：04 / COFFEE BREEDING */

.aw-page-coffeeBreeding .aw-kbHero .aw-pageHero__label {
  font-weight: 650;
}

/* Hero：コーヒーは、変わらなければ生き残れなかった。 */

.aw-page-coffeeBreeding .aw-kbHero .aw-pageHero__lead {
  font-weight: 600;
}

/* =========================================================
   STORY MAP / ACT NAVIGATION
========================================================= */

.aw-kbActNav {
  position: relative;
  padding: 58px 0 62px;
  background: linear-gradient(135deg, #251b16 0%, #35251d 56%, #263128 100%);
  color: #fff;
}

.aw-kbActNav .aw-ka__inner {
  --ka-content-width: var(--ka-frame);
}

.aw-kbActNav__label {
  margin: 0 0 24px;
  color: rgba(255,255,255,.72);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .24em;
}

.aw-kbActNav__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.26);
  border-left: 1px solid rgba(255,255,255,.26);
  list-style: none;
}

.aw-kbActNav__list li {
  min-width: 0;
}

.aw-kbActNav__list a {
  display: flex;
  flex-direction: column;
  min-height: 142px;
  padding: 25px 24px 23px;
  border-right: 1px solid rgba(255,255,255,.26);
  border-bottom: 1px solid rgba(255,255,255,.26);
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease;
}

.aw-kbActNav__list span {
  color: rgba(255,255,255,.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11.5px;
  line-height: 1;
  letter-spacing: .12em;
}

.aw-kbActNav__list strong {
  margin-top: 14px;
  color: #fff;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .13em;
}

.aw-kbActNav__list small {
  margin-top: auto;
  padding-top: 18px;
  color: rgba(255,255,255,.78);
  font-size: 12.5px;
  line-height: 1.6;
}

@media (hover: hover) {
  .aw-kbActNav__list a:hover {
    background: rgba(255,255,255,.055);
  }
}

/* =========================================================
   FIGURE / SHARED
========================================================= */

.aw-kbFigure,
.aw-kbPhotoSlot,
.aw-kbCaseStudy,
.aw-kbWildStat,
.aw-kbTimelineCard {
  width: 100%;
  margin: 76px 0 12px;
}

.aw-kbFigure {
  padding: 42px 38px 44px;
  border-top: 1px solid var(--ka-line-dark);
  border-bottom: 1px solid var(--ka-line);
  background: rgba(255,255,255,.60);
}

.aw-kbFigureHead {
  width: min(100%, var(--ka-reading));
  margin: 0 0 38px;
}

.aw-kbFigureHead > span {
  display: block;
  margin: 0 0 8px;
  color: var(--ka-accent);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .18em;
}

.aw-kbFigureHead > strong {
  display: block;
  color: var(--ka-title);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .045em;
}

.aw-kbFigureHead--light > span {
  color: rgba(255,255,255,.54);
}

.aw-kbFigureHead--light > strong {
  color: #fff;
}

.aw-kbFigureNote {
  margin: 28px 0 0;
  color: #7d7066;
  font-size: 10.5px;
  line-height: 1.8;
}

/* =========================================================
   SHARED / CROSS MARK
   「×」を否定記号ではなく、交配を示す操作記号として見せる。
========================================================= */

.aw-kbCrossMark {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 62px;
  min-width: 62px;
  height: 56px;
  padding: 6px 6px 5px;
  border: 1px solid rgba(79, 55, 40, .58);
  border-radius: 2px;
  background: var(--ka-accent);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(250, 247, 241, .96);
  text-align: center;
}

.aw-kbCrossMark__label,
.aw-kbCrossMark__symbol {
  display: block;
  color: #fff;
}

.aw-kbCrossMark__label {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 7px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .18em;
}

.aw-kbCrossMark__symbol {
  margin-top: 4px;
  font-family: Arial, "Noto Sans JP", sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: .78;
}

/* =========================================================
   01 / ORIGIN CROSS
========================================================= */

.aw-kbOriginFigure {
  background: radial-gradient(circle at 50% 75%, rgba(110,79,60,.10), transparent 32%),
    rgba(255,255,255,.66);
}

.aw-kbCrossDiagram {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
  grid-template-rows: auto 64px auto;
  align-items: stretch;
  column-gap: 18px;
  row-gap: 0;
}

.aw-kbCrossDiagram__parent,
.aw-kbCrossDiagram__result {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 26px 26px;
  border: 1px solid var(--ka-line);
  background: rgba(251,248,242,.82);
  text-align: center;
}

.aw-kbCrossDiagram__parent span,
.aw-kbCrossDiagram__result span {
  color: #89786a;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
}

.aw-kbCrossDiagram__parent strong,
.aw-kbCrossDiagram__result strong {
  display: block;
  margin-top: 13px;
  color: var(--ka-title);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

.aw-kbCrossDiagram__parent small,
.aw-kbCrossDiagram__result small {
  display: block;
  margin-top: 11px;
  color: #71665d;
  font-size: 11.5px;
  line-height: 1.8;
}

.aw-kbCrossDiagram__operator {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  margin: 0;
}

.aw-kbCrossDiagram__operator::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 50%;
  left: -18px;
  right: -18px;
  height: 1px;
  background: var(--ka-line-dark);
  transform: translateY(-50%);
}

.aw-kbCrossDiagram__operator::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: 1px;
  height: calc(50% + 65px);
  background: var(--ka-line-dark);
  transform: translateX(-50%);
}

.aw-kbCrossDiagram__arrow {
  grid-column: 1 / -1;
  height: 64px;
  min-height: 64px;
  margin: 0;
  font-size: 0;
  line-height: 0;
}

.aw-kbCrossDiagram__result {
  grid-column: 1 / -1;
  width: min(100%, 620px);
  min-height: 166px;
  margin-inline: auto;
  border-color: rgba(110,79,60,.48);
  background: linear-gradient(135deg, rgba(247,241,232,.96), rgba(236,226,212,.80));
}

.aw-kbCrossDiagram__result strong {
  font-size: 27px;
}

/* =========================================================
   02 / ROUTES
========================================================= */

.aw-kbRouteFigure__routes {
  display: grid;
  gap: 28px;
}

.aw-kbRouteFigure__route {
  padding: 28px 28px 30px;
  border: 1px solid var(--ka-line);
  background: rgba(255,255,255,.72);
}

.aw-kbRouteFigure__route header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 30px;
}

.aw-kbRouteFigure__route header span {
  color: var(--ka-accent);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .15em;
}

.aw-kbRouteFigure__route header strong {
  color: var(--ka-title);
  font-size: 16px;
  font-weight: 400;
}

.aw-kbRouteFigure__route ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.aw-kbRouteFigure__route:nth-child(2) ol {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aw-kbRouteFigure__route li {
  position: relative;
  min-width: 0;
  padding: 18px 12px;
  border-top: 1px solid var(--ka-line-dark);
  text-align: center;
}

.aw-kbRouteFigure__route li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid var(--ka-accent);
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.aw-kbRouteFigure__route small,
.aw-kbRouteFigure__route b {
  display: block;
}

.aw-kbRouteFigure__route small {
  color: #8b7a6c;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .10em;
}

.aw-kbRouteFigure__route b {
  margin-top: 8px;
  color: var(--ka-title);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .05em;
  overflow-wrap: anywhere;
}

/* =========================================================
   03 / MUTATION COMPARE
========================================================= */

.aw-kbMutationCompare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  margin: 72px 0 12px;
  background: var(--ka-line-dark);
  border-top: 1px solid var(--ka-line-dark);
  border-bottom: 1px solid var(--ka-line-dark);
}

.aw-kbMutationCompare__note {
  margin: 0 0 8px;
  color: #7d6e62;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .02em;
}

.aw-kbMutationCard {
  min-width: 0;
  padding: 18px 36px 38px;
  background: rgba(255,255,255,.72);
}

.aw-kbMutationCard--small .aw-kbTreePlate,
.aw-kbMutationCard--large .aw-kbTreePlate {
  padding-top: 0;
}

.aw-kbTreePlate {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(100%, 292px);
  height: 320px;
  min-height: 0;
  margin: 0 auto 22px;
  overflow: hidden;
}

.aw-kbTreeImage {
  display: block;
  width: 100%;
  max-width: 292px;
  height: auto;
  margin-inline: auto;
}

.aw-kbTreeImage--caturra,
.aw-kbTreeImage--maragogipe {
  max-width: 292px;
}

.aw-kbMutationCard__label {
  margin: 0 0 8px;
  color: var(--ka-accent);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
}

.aw-kbMutationCard h3 {
  margin: 0;
  color: var(--ka-title);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.35;
}

.aw-kbMutationCard__ja {
  margin: 9px 0 28px;
  color: #5f5147;
  font-size: 15px;
  line-height: 1.7;
}

.aw-kbMutationCard dl {
  margin: 0;
  border-top: 1px solid var(--ka-line);
}

.aw-kbMutationCard dl > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ka-line);
}

.aw-kbMutationCard dt {
  color: #8d7b6d;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .15em;
}

.aw-kbMutationCard dd {
  margin: 0;
  color: #463930;
  font-size: 12.5px;
  line-height: 1.75;
}

/* =========================================================
   04 / LINEAGE
========================================================= */

/* 図全体の一番上・一番下の罫線を削除 */

.aw-kbLineageFigure {
  border-top: 0;
  border-bottom: 0;
}

/* 各段を囲まない */

.aw-kbLineageFigure__grid {
  display: grid;
  gap: 0;
}

.aw-kbLineageFigure__story {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) 104px minmax(280px, .9fr);
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 0;
  background: rgba(255,255,255,.74);
}

/* 2段目と3段目の間だけ区切る */

.aw-kbLineageFigure__story + .aw-kbLineageFigure__story {
  border-top: 1px solid var(--ka-line);
}

.aw-kbLineageFigure__story--cross {
  grid-template-columns: minmax(0, 1.24fr) 104px minmax(280px, .9fr);
}

.aw-kbLineageNode {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 104px;
  padding: 22px 20px;
  border: 1px solid var(--ka-line);
  background: var(--ka-paper);
  text-align: center;
}

.aw-kbLineageNode small,
.aw-kbLineageNode strong {
  display: block;
}

.aw-kbLineageNode small {
  color: #8b796b;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .13em;
}

.aw-kbLineageNode strong {
  margin-top: 8px;
  color: var(--ka-title);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.aw-kbLineageNode--result {
  border-color: rgba(110,79,60,.46);
  background: #f2eadf;
}

.aw-kbLineageNode--accent {
  background: var(--ka-dark);
}

.aw-kbLineageNode--accent small,
.aw-kbLineageNode--accent strong {
  color: #fff;
}

.aw-kbLineageParents {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 24px minmax(0, .9fr);
  align-items: stretch;
  gap: 12px;
}

.aw-kbLineageParents > b {
  align-self: center;
  color: var(--ka-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
}

.aw-kbLineageArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.aw-kbLineageArrow span {
  display: inline-block;
  color: #89786a;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
}

.aw-kbPhotoSlot {
  margin-bottom: 0;
}

/* =========================================================
   05 / RUST PHOTO BREAK
========================================================= */

.aw-kbRustSection {
  position: relative;
  background: #fff;
}

.aw-kbPhotoBreak {
  position: relative;
  height: 520px;
  margin: 0;
  overflow: hidden;
  background: #3a1e16;
}

.aw-kbPhotoBreak__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(calc(100% - 64px), var(--ka-frame));
  margin-inline: auto;
  color: #fff;
  pointer-events: none;
}

.aw-kbPhotoBreak__copy p {
  margin: 0 0 14px;
  color: rgba(255,255,255,.66);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
}

.aw-kbPhotoBreak__copy h2 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: .055em;
}

.aw-kbPhotoCredit {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  max-width: min(680px, calc(100% - 48px));
  margin: 0;
  padding: 7px 10px 8px;
  background: rgba(18, 13, 10, .42);
  color: rgba(255, 255, 255, .78);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 8.5px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .015em;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
}

.aw-kbPhotoCredit span {
  display: block;
}

.aw-kbPhotoCredit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.aw-kbPhotoCredit cite {
  font-style: italic;
}

@media (hover: hover) {
  .aw-kbPhotoCredit a:hover {
    color: #fff;
  }
}

.aw-kbRustSection__body {
  --ka-content-width: var(--ka-frame);
  padding-top: 112px;
  padding-bottom: 122px;
}

/* =========================================================
   06 / TIMOR HYBRID
========================================================= */

.aw-kbTimorStage {
  margin: 78px 0 10px;
  padding: 44px 42px 46px;
  border-top: 1px solid var(--ka-line-dark);
  border-bottom: 1px solid var(--ka-line);
  background: rgba(248, 243, 235, .62);
  color: var(--ka-title);
}

.aw-kbTimorStage .aw-kbFigureHead--light > span {
  color: var(--ka-accent);
}

.aw-kbTimorStage .aw-kbFigureHead--light > strong {
  color: var(--ka-title);
}

.aw-kbTimorStage__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.aw-kbTimorStage__top article,
.aw-kbTimorStage__branches article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  height: 108px;
  min-height: 108px;
  padding: 16px 18px;
  text-align: center;
}

.aw-kbTimorStage__top article {
  border: 1px solid #c7b7a4;
  background: var(--ka-paper);
}

.aw-kbTimorStage__branches article {
  position: relative;
  border: 0;
  border-bottom: 1px solid var(--ka-line);
  background: rgba(255, 255, 255, .52);
}

.aw-kbTimorStage__topConnector {
  position: relative;
  display: block;
  min-height: 108px;
}

.aw-kbTimorStage__topConnector::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ka-line-dark);
}

.aw-kbTimorStage__topConnector::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: calc(50% + 35px);
  background: var(--ka-line-dark);
  transform: translateX(-50%);
}

.aw-kbTimorStage article span,
.aw-kbTimorStage article strong,
.aw-kbTimorStage article small {
  display: block;
}

.aw-kbTimorStage article span {
  color: #8d7765;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
}

.aw-kbTimorStage article strong {
  margin-top: 10px;
  color: var(--ka-title);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.aw-kbTimorStage article small {
  margin-top: 8px;
  color: #65584f;
  font-size: 11px;
  line-height: 1.7;
}

.aw-kbTimorStage__center {
  position: relative;
  width: min(100%, 520px);
  margin: 34px auto 0;
  padding: 22px 26px 24px !important;
  border: 1px solid #80604c !important;
  background: #6d4d3c !important;
  text-align: center;
  box-shadow: none;
}

.aw-kbTimorStage__center::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 35px;
  background: var(--ka-line-dark);
  transform: translateX(-50%);
}

.aw-kbTimorStage__centerLabel {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .8em;
  margin: 0;
  white-space: nowrap;
}

.aw-kbTimorStage__centerLabel span {
  color: rgba(255, 255, 255, .84) !important;
  line-height: 1.45;
}

.aw-kbTimorStage__centerLabel span:first-child {
  font-size: 10.5px !important;
  letter-spacing: .24em !important;
}

.aw-kbTimorStage__centerLabel span:last-child {
  margin-top: 0;
  font-size: 12px !important;
  letter-spacing: .17em !important;
}

.aw-kbTimorStage__center strong {
  margin-top: 14px !important;
  color: #fff !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 37px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: .05em;
}

.aw-kbTimorStage__center small {
  margin-top: 12px !important;
  color: rgba(255, 255, 255, .88) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  letter-spacing: .035em;
}

.aw-kbTimorStage__branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
  padding-top: 22px;
}

.aw-kbTimorStage__branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(25% - 6px);
  right: calc(25% - 6px);
  height: 1px;
  background: var(--ka-line-dark);
}

.aw-kbTimorStage__branches article::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 1px;
  height: 23px;
  background: var(--ka-line-dark);
  transform: translateX(-50%);
}

.aw-kbTimorStage__branches article > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  line-height: 1.4;
}

.aw-kbTimorStage__branches article > div b {
  color: var(--ka-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.aw-kbTimorMediaGrid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: 30px;
  margin-top: 70px;
}

.aw-kbTimorMediaGrid .aw-kbPhotoSlot,
.aw-kbTimorMediaGrid .aw-kaNote {
  margin: 0;
}

.aw-kbGroupNote {
  padding: 44px 40px 46px;
}

/* =========================================================
   07 / RACE
========================================================= */

.aw-kbRaceFigure__cycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.aw-kbRaceFigure__cycle::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--ka-line-dark);
}

.aw-kbRaceFigure__cycle li {
  position: relative;
  min-width: 0;
  padding: 0 14px;
  text-align: center;
}

.aw-kbRaceFigure__cycle li > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border: 1px solid var(--ka-accent);
  border-radius: 50%;
  background: var(--ka-paper);
  color: var(--ka-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}

.aw-kbRaceFigure__cycle strong,
.aw-kbRaceFigure__cycle small {
  display: block;
}

.aw-kbRaceFigure__cycle strong {
  margin-top: 19px;
  color: var(--ka-title);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.aw-kbRaceFigure__cycle small {
  margin-top: 9px;
  color: #71655b;
  font-size: 11px;
  line-height: 1.75;
}

/* =========================================================
   08 / F1
========================================================= */

.aw-kbF1Figure {
  background: radial-gradient(circle at 50% 75%, rgba(79,101,81,.11), transparent 35%),
    rgba(255,255,255,.64);
}

.aw-kbF1Figure__equation {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  grid-template-rows: auto 64px auto;
  align-items: stretch;
  column-gap: 18px;
  row-gap: 0;
}

.aw-kbF1Figure__equation article {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  height: 150px;
  min-height: 150px;
  padding: 28px 25px;
  border: 1px solid var(--ka-line);
  background: var(--ka-paper);
  text-align: center;
}

/* 二つの親を結ぶ水平線と、F1へ下りる垂直線。
  CROSS + × の標識を交点に置き、否定記号ではなく交配操作として見せる。 */

.aw-kbF1Figure__equation > .aw-kbF1Figure__operator {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  margin: 0;
}

.aw-kbF1Figure__equation > .aw-kbF1Figure__operator::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 50%;
  left: -18px;
  right: -18px;
  height: 1px;
  background: var(--ka-line-dark);
  transform: translateY(-50%);
}

.aw-kbF1Figure__equation > .aw-kbF1Figure__operator::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: 1px;
  height: calc(50% + 65px);
  background: var(--ka-line-dark);
  transform: translateX(-50%);
}

.aw-kbF1Figure__equation article span,
.aw-kbF1Figure__equation article strong,
.aw-kbF1Figure__equation article small {
  display: block;
}

.aw-kbF1Figure__equation article span {
  color: #89776a;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
}

.aw-kbF1Figure__equation article strong {
  margin-top: 12px;
  color: var(--ka-title);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .05em;
}

.aw-kbF1Figure__equation article small {
  margin-top: 11px;
  color: #71655b;
  font-size: 11.5px;
  line-height: 1.75;
}

/* 矢印文字は使わず、接続線のための余白として使用 */

.aw-kbF1Figure__arrow {
  grid-column: 1 / -1;
  height: 64px;
  min-height: 64px;
  margin: 0;
  font-size: 0;
  line-height: 0;
}

.aw-kbF1Figure__equation .aw-kbF1Figure__result {
  grid-column: 1 / -1;
  width: min(100%, 650px);
  height: auto;
  min-height: 176px;
  margin-inline: auto;
  border-color: rgba(79,101,81,.58);
  background: linear-gradient(135deg, rgba(233,239,229,.90), rgba(245,240,231,.92));
}

.aw-kbF1Figure__result strong {
  color: var(--kb-leaf-dark) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 27px !important;
  font-weight: 400 !important;
}

.aw-kbF1Figure__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 30px auto 0;
  padding: 9px 16px;
  border-top: 1px solid var(--ka-line-dark);
  border-bottom: 1px solid var(--ka-line-dark);
  color: #65574d;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .08em;
  text-align: center;
}

.aw-kbF1Figure__badge span + span::before {
  content: "—";
  margin-right: 8px;
}

.aw-kbCaseStudy {
  display: grid;
  grid-template-columns: minmax(292px, .35fr) minmax(0, .65fr);
  overflow: hidden;
  border-top: 1px solid var(--ka-line-dark);
  border-bottom: 1px solid var(--ka-line-dark);
  background: var(--ka-paper);
}

.aw-kbCaseStudy__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 38px 32px;
  background: linear-gradient(145deg, var(--kb-leaf-dark), #405845);
  color: #fff;
}

.aw-kbCaseStudy__head p {
  margin: 0 0 13px;
  color: rgba(255,255,255,.58);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .17em;
}

.aw-kbCaseStudy__head h3 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.15vw, 30px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.018em;
  white-space: nowrap;
}

.aw-kbCaseStudy__head > span {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.6;
}

.aw-kbCaseStudy__cross {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 34px 32px;
}

.aw-kbCaseStudy__cross article {
  min-width: 0;
  text-align: center;
}

.aw-kbCaseStudy__cross article span,
.aw-kbCaseStudy__cross article strong,
.aw-kbCaseStudy__cross article small {
  display: block;
}

.aw-kbCaseStudy__cross article span {
  color: #8b796b;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .14em;
}

.aw-kbCaseStudy__cross article strong {
  margin-top: 9px;
  color: var(--ka-title);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.aw-kbCaseStudy__cross article small {
  margin-top: 9px;
  color: #71655b;
  font-size: 10.5px;
  line-height: 1.75;
}

.aw-kbCaseStudy__cross > b {
  color: var(--ka-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  text-align: center;
}

.aw-kbCaseStudy__body {
  grid-column: 1 / -1;
  padding: 36px 52px 40px;
  border-top: 1px solid var(--ka-line);
}

.aw-kbCaseStudy__body p {
  width: min(100%, 820px);
  margin: 0 auto 1.3em;
  font-size: 14px;
  line-height: 2;
}

.aw-kbCaseStudy__body p:last-child {
  margin-bottom: 0;
}

.aw-kbCaseStudy__statement {
  margin-top: 28px !important;
  padding-top: 22px;
  border-top: 1px solid var(--ka-line);
  color: var(--ka-title);
  font-size: 17px !important;
  line-height: 1.9 !important;
}

/* =========================================================
   09 / F2
========================================================= */

.aw-kbF2Figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.aw-kbF2Figure .aw-kbFigureHead,
.aw-kbF2Figure__intro,
.aw-kbF2Figure__closing {
  grid-column: 1 / -1;
}

.aw-kbF2Figure .aw-kbFigureHead {
  margin-bottom: 20px;
}

.aw-kbF2Figure__intro {
  width: min(100%, 780px);
  margin: 0 auto 38px;
  color: #62564d;
  font-size: 13px;
  line-height: 2;
  letter-spacing: .02em;
  text-align: center;
}

.aw-kbF2Figure__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 372px;
  padding: 28px 28px 18px;
  overflow: hidden;
  border: 1px solid var(--ka-line);
  background: rgba(255,255,255,.76);
}

.aw-kbF2Figure__panel header {
  display: block;
  min-height: 160px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ka-line);
  text-align: left;
}

.aw-kbF2Figure__panel header span {
  display: block;
  color: var(--ka-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.aw-kbF2Figure__panel header strong {
  display: block;
  margin-top: 18px;
  color: var(--ka-title);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  text-align: left;
}

.aw-kbF2Figure__panel header p {
  margin: 16px 0 0;
  color: #74675e;
  font-size: 11px;
  line-height: 1.85;
  letter-spacing: .015em;
}

.aw-kbF2Figure__art {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-end;
  justify-content: center;
  min-height: 148px;
  margin-top: 4px;
}

.aw-kbF2Figure__art img {
  display: block;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
}

.aw-kbF2Figure__panel--f1 .aw-kbF2Figure__art img {
  width: 142%;
}

.aw-kbF2Figure__panel--f2 .aw-kbF2Figure__art img {
  width: 125%;
}

.aw-kbF2Figure__transition {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 372px;
  text-align: center;
}

.aw-kbF2Figure__transition::before,
.aw-kbF2Figure__transition::after {
  content: "";
  position: absolute;
  top: 61%;
  height: 1px;
  background: var(--ka-line-dark);
  transform: translateY(-50%);
}

.aw-kbF2Figure__transition::before {
  left: -1px;
  right: calc(50% + 33px);
}

.aw-kbF2Figure__transition::after {
  left: calc(50% + 33px);
  right: -1px;
}

.aw-kbF2Figure__transitionLabel,
.aw-kbF2Figure__transitionMeta {
  position: relative;
  z-index: 2;
  display: block;
  color: #806e61;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  line-height: 1.45;
  background: var(--ka-paper);
}

.aw-kbF2Figure__transitionLabel {
  margin-bottom: 8px;
  padding-inline: 7px;
  font-size: 9px;
  letter-spacing: .17em;
}

.aw-kbF2Figure__transitionMeta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding-inline: 7px;
  font-size: 8px;
  line-height: 1;
  letter-spacing: .12em;
}

.aw-kbF2Figure__transitionMeta::before,
.aw-kbF2Figure__transitionMeta::after {
  content: "";
  flex: 0 0 18px;
  height: 1px;
  background: var(--ka-line-dark);
}

.aw-kbF2Figure__seedArt {
  position: relative;
  z-index: 2;
  display: block;
  width: 54px;
  height: auto;
  filter: sepia(.15) saturate(.9);
}

.aw-kbF2Figure__closing {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 42px auto 0;
  padding-top: 22px;
  color: #8b796b;
  font-size: 11.5px;
  line-height: 1.8;
  letter-spacing: .08em;
  text-align: center;
}

.aw-kbF2Figure__closing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 28px;
  height: 1px;
  background: var(--ka-line-dark);
  transform: translateX(-50%);
}

/* =========================================================
   10 / STARMAYA
========================================================= */

.aw-kbStarmayaFigure__parents {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.aw-kbStarmayaFigure__parents article,
.aw-kbStarmayaFigure__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: 148px;
  padding: 27px 25px;
  border: 1px solid var(--ka-line);
  background: rgba(255,255,255,.74);
  text-align: center;
}

.aw-kbStarmayaFigure__parents article span,
.aw-kbStarmayaFigure__parents article strong,
.aw-kbStarmayaFigure__parents article small,
.aw-kbStarmayaFigure__result span,
.aw-kbStarmayaFigure__result strong,
.aw-kbStarmayaFigure__result small {
  display: block;
}

.aw-kbStarmayaFigure__parents article span,
.aw-kbStarmayaFigure__result span {
  color: #89776a;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
}

.aw-kbStarmayaFigure__parents article strong,
.aw-kbStarmayaFigure__result strong {
  margin-top: 11px;
  color: var(--ka-title);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
}

.aw-kbStarmayaFigure__parents article small,
.aw-kbStarmayaFigure__result small {
  margin-top: 10px;
  color: #71655b;
  font-size: 11.5px;
  line-height: 1.75;
}

/* 花粉親から母樹へ。横線の中央に方向を示すマーカーを置く */

.aw-kbStarmayaFigure__transfer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 148px;
}

.aw-kbStarmayaFigure__transfer::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ka-line-dark);
}

.aw-kbStarmayaFigure__transfer::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 50%;
  background: var(--ka-line-dark);
  transform: translateX(-50%);
}

.aw-kbPollenMark {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 58px;
  border: 1px solid rgba(110,79,60,.42);
  background: var(--ka-paper);
  color: var(--ka-accent);
  box-shadow: 0 0 0 7px rgba(248,244,237,.94);
}

.aw-kbPollenMark__label,
.aw-kbPollenMark__symbol {
  display: block;
}

.aw-kbPollenMark__label {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 7.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .16em;
}

.aw-kbPollenMark__symbol {
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: .72;
}

/* 親の交配点からF1種子へつなぐ縦線 */

.aw-kbStarmayaFigure__stem {
  width: 1px;
  height: 36px;
  margin: 0 auto;
  background: var(--ka-line-dark);
}

.aw-kbStarmayaFigure__result {
  width: min(100%, 600px);
  min-height: 158px;
  margin-inline: auto;
  border-color: rgba(79,101,81,.52);
  background: linear-gradient(135deg, rgba(234,239,230,.86), rgba(247,242,233,.90));
}

.aw-kbStarmayaFigure__result strong {
  color: var(--kb-leaf-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: .03em;
}

/* 採種圃場：カードを並べず、一本の列として見せる */

.aw-kbStarmayaFigure__field {
  margin-top: 44px;
  padding: 26px 18px 18px;
  border-top: 1px solid var(--ka-line);
  border-bottom: 1px solid var(--ka-line);
  background: rgba(255,255,255,.34);
}

.aw-kbStarmayaFigure__fieldTitle {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 25px;
}

.aw-kbStarmayaFigure__fieldTitle span,
.aw-kbStarmayaFigure__fieldTitle strong {
  display: block;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.4;
}

.aw-kbStarmayaFigure__fieldTitle span {
  color: var(--ka-accent);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .18em;
}

.aw-kbStarmayaFigure__fieldTitle strong {
  color: #7c6c60;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
}

.aw-kbStarmayaFigure__fieldTrack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.aw-kbStarmayaFigure__fieldTrack::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(110,79,60,.30);
}

.aw-kbStarmayaFigure__fieldTrack > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 0 6px 4px;
  background: transparent;
}

.aw-kbStarmayaFigure__fieldTrack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 5px solid #f8f4ed;
  border-radius: 50%;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  box-shadow: 0 0 0 1px rgba(110,79,60,.30);
}

.aw-kbStarmayaFigure__fieldTrack .is-mother span {
  background: var(--kb-leaf);
}

.aw-kbStarmayaFigure__fieldTrack .is-father span {
  background: var(--kb-rust);
}

.aw-kbStarmayaFigure__fieldTrack small {
  margin-top: 9px;
  color: #71655b;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}

/* =========================================================
   11 / DIVERSITY
========================================================= */

.aw-kbDiversityGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: stretch;
  gap: 30px;
  margin-top: 74px;
}

.aw-kbDiversityGrid .aw-kbTimelineCard,
.aw-kbDiversityGrid .aw-kbPhotoSlot {
  margin: 0;
}

.aw-kbTimelineCard {
  padding: 38px 32px 34px;
  border-top: 1px solid var(--ka-line-dark);
  border-bottom: 1px solid var(--ka-line);
  background: var(--ka-paper);
}

.aw-kbTimelineCard .aw-kbFigureHead {
  margin-bottom: 34px;
}

.aw-kbTimelineCard .aw-kaTimeline {
  margin: 0;
}

@media screen and (min-width: 768px) {
  .aw-kbGeishaTimeline .aw-kaTimeline__name {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 3.1em;
  }

  .aw-kbGeishaTimeline .aw-kaTimeline__description {
    margin-top: 10px;
  }
}

.aw-kbPhotoSlot--geisha {
  display: flex;
  flex-direction: column;
}

.aw-kbWildStat {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  padding: 42px 44px;
  border-top: 1px solid var(--ka-line-dark);
  border-bottom: 1px solid var(--ka-line-dark);
  background: linear-gradient(135deg, var(--kb-leaf-dark), #3f5843 64%, #27362d);
  color: #fff;
}

.aw-kbWildStat__number {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 112px;
  line-height: .9;
  letter-spacing: -.04em;
  text-align: center;
}

.aw-kbWildStat__number span {
  font-size: .42em;
}

.aw-kbWildStat__en {
  margin: 0 0 10px;
  color: rgba(255,255,255,.52);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
}

.aw-kbWildStat h3 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.65;
}

.aw-kbWildStat div > p:last-child {
  margin: 18px 0 0;
  color: rgba(255,255,255,.73);
  font-size: 12px;
  line-height: 1.85;
}

/* =========================================================
   12 / FUTURE
========================================================= */

.aw-kbFutureTimeline__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.aw-kbFutureTimeline__steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 8.333%;
  right: 8.333%;
  height: 1px;
  background: var(--ka-line-dark);
}

.aw-kbFutureTimeline__steps li {
  position: relative;
  min-width: 0;
  padding: 0 10px;
  text-align: center;
}

.aw-kbFutureTimeline__steps li > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ka-accent);
  border-radius: 50%;
  background: var(--ka-paper);
  color: var(--ka-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.aw-kbFutureTimeline__steps strong,
.aw-kbFutureTimeline__steps small {
  display: block;
}

.aw-kbFutureTimeline__steps strong {
  margin-top: 17px;
  color: var(--ka-title);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.aw-kbFutureTimeline__steps small {
  margin-top: 8px;
  color: #71655b;
  font-size: 10px;
  line-height: 1.7;
}

.aw-kbFutureTimeline__scale {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 42px 0 0;
  color: #89786a;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .13em;
}

.aw-kbFutureTimeline__scale i {
  height: 1px;
  background: var(--ka-line-dark);
}

.aw-kbFutureTimeline__scale strong {
  color: var(--ka-accent);
  font-size: 11px;
  font-weight: 600;
}

/* =========================================================
   CLOSING
========================================================= */

.aw-kbClosing {
  position: relative;
  padding: 134px 0 142px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 30%, rgba(133,75,44,.18), transparent 25%),
    linear-gradient(135deg, #241914 0%, #34241c 58%, #263129 100%);
  color: #fff;
}

.aw-kbClosing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

.aw-kbClosing .aw-ka__inner {
  position: relative;
  z-index: 1;
  --ka-content-width: var(--ka-frame);
}

.aw-kbClosing__en {
  margin: 0 0 15px;
  color: rgba(255,255,255,.50);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
}

.aw-kbClosing h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .05em;
}

.aw-kbClosing__body {
  max-width: 760px;
  margin-top: 62px;
}

.aw-kbClosing__body p {
  margin: 0 0 1.55em;
  color: rgba(255,255,255,.79);
  font-size: 16px;
  line-height: 2.18;
}

.aw-kbClosing__statement {
  max-width: 780px;
  margin: 76px 0 0;
  padding: 34px 0 34px 34px;
  border-left: 1px solid rgba(222,164,122,.72);
  color: #fff;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.9;
  letter-spacing: .055em;
}

.aw-kbClosing__loop {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 72px 0 0;
  color: rgba(255,255,255,.42);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
}

.aw-kbClosing__loop b {
  color: rgba(255,255,255,.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
}

/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 980px) {
  .aw-kbActNav__list a {
    padding-inline: 20px;
  }

  .aw-kbDiversityGrid {
    grid-template-columns: 1fr;
  }

  .aw-kbTimorMediaGrid {
    grid-template-columns: 1fr;
  }

  .aw-kbCaseStudy {
    grid-template-columns: minmax(260px, .36fr) minmax(0, .64fr);
  }

  .aw-kbCaseStudy__head {
    padding: 34px 28px;
  }

  .aw-kbCaseStudy__head h3 {
    font-size: clamp(23px, 3vw, 27px);
  }

  .aw-kbCaseStudy__cross {
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    padding: 30px 24px;
  }

  .aw-kbCaseStudy__body {
    padding: 34px 38px 38px;
  }
}

/* =========================================================
   SP
========================================================= */

@media screen and (max-width: 767px) {
  .aw-page-coffeeBreeding .aw-kbHero .aw-kaHero__copy {
    transform: none;
  }

  /* Knowledge hero is 250px high on SP; match the inner flex height so copy stays vertically centered. */

  .aw-page-coffeeBreeding .aw-kbHero .aw-pageHero__inner {
    height: 250px;
    min-height: 250px;
    align-items: center;
  }

  .aw-page-coffeeBreeding .aw-kbHero .aw-kaHero__image::after {
    background: linear-gradient(
        90deg,
        rgba(20, 13, 9, .24) 0%,
        rgba(20, 13, 9, .14) 68%,
        rgba(20, 13, 9, .06) 100%
      );
  }

  .aw-kbActNav {
    padding: 44px 0 48px;
  }

  .aw-kbActNav__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aw-kbActNav__list a {
    min-height: 122px;
    padding: 20px 16px 18px;
  }

  .aw-kbActNav__list strong {
    margin-top: 11px;
    font-size: 12.5px;
    letter-spacing: .11em;
  }

  .aw-kbActNav__list small {
    padding-top: 13px;
    font-size: 11px;
  }

  .aw-kbFigure,
  .aw-kbPhotoSlot,
  .aw-kbCaseStudy,
  .aw-kbWildStat,
  .aw-kbTimelineCard {
    margin-top: 52px;
  }

  .aw-kbFigure {
    padding: 31px 20px 34px;
  }

  .aw-kbFigureHead {
    margin-bottom: 30px;
  }

  .aw-kbFigureHead > span {
    font-size: 9px;
  }

  .aw-kbFigureHead > strong {
    font-size: 21px;
  }

  .aw-kbFigureNote {
    margin-top: 22px;
    font-size: 10px;
  }

  /* 01 / origin */

  .aw-kbCrossDiagram {
    grid-template-columns: 1fr;
    grid-template-rows: auto 62px auto 42px auto;
    column-gap: 0;
    row-gap: 0;
  }

  .aw-kbCrossDiagram__operator,
  .aw-kbCrossDiagram__arrow,
  .aw-kbCrossDiagram__result {
    grid-column: 1;
  }

  .aw-kbCrossDiagram__parent,
  .aw-kbCrossDiagram__result {
    min-height: 132px;
    padding: 22px 18px;
  }

  .aw-kbCrossDiagram__operator {
    min-height: 62px;
    margin: 0 auto;
  }

  .aw-kbCrossDiagram__operator::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    transform: translateX(-50%);
  }

  .aw-kbCrossDiagram__operator::after {
    display: none;
  }

  .aw-kbCrossDiagram__arrow {
    position: relative;
    height: 42px;
    min-height: 42px;
  }

  .aw-kbCrossDiagram__arrow::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -1px;
    left: 50%;
    width: 1px;
    background: var(--ka-line-dark);
    transform: translateX(-50%);
  }

  .aw-kbCrossDiagram__result strong {
    font-size: 24px;
  }

  /* 02 / routes */

  .aw-kbRouteFigure__route {
    padding: 24px 18px 26px;
  }

  .aw-kbRouteFigure__route header {
    display: block;
    margin-bottom: 24px;
  }

  .aw-kbRouteFigure__route header strong {
    display: block;
    margin-top: 6px;
  }

  .aw-kbRouteFigure__route ol,
  .aw-kbRouteFigure__route:nth-child(2) ol {
    display: block;
    padding-left: 25px;
  }

  .aw-kbRouteFigure__route ol::before {
    content: "";
    position: absolute;
  }

  .aw-kbRouteFigure__route li {
    padding: 15px 0 19px 18px;
    border-top: 0;
    border-left: 1px solid var(--ka-line-dark);
    text-align: left;
  }

  .aw-kbRouteFigure__route li::before {
    top: 20px;
    left: -5px;
    transform: none;
  }

  .aw-kbRouteFigure__route li + li::after {
    display: none;
  }

  /* 03 / mutation */

  .aw-kbMutationCompare {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .aw-kbMutationCard {
    padding: 18px 22px 32px;
  }

  .aw-kbMutationCard--small .aw-kbTreePlate {
    padding-top: 0;
  }

  .aw-kbTreePlate {
    width: min(100%, 244px);
    height: 270px;
    min-height: 0;
    margin-bottom: 22px;
    overflow: hidden;
  }

  .aw-kbTreeImage,
  .aw-kbTreeImage--caturra,
  .aw-kbTreeImage--maragogipe {
    max-width: 244px;
  }

  .aw-kbMutationCard h3 {
    font-size: 27px;
  }

  .aw-kbMutationCard dl > div {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  /* 04 / lineage */

  .aw-kbLineageFigure__story,
  .aw-kbLineageFigure__story--cross {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .aw-kbLineageParents {
    grid-template-columns: 1fr 24px 1fr;
  }

  .aw-kbLineageArrow span {
    width: 100%;
  }

  .aw-kbLineageNode {
    padding: 18px 11px;
  }

  .aw-kbLineageNode strong {
    font-size: 15px;
    white-space: normal;
  }

  .aw-kbMutationCompare__note {
    font-size: 10.5px;
  }

  /* rust */

  .aw-kbPhotoBreak {
    height: 390px;
  }

  .aw-kbPhotoBreak__copy {
    width: calc(100% - 40px);
  }

  .aw-kbPhotoBreak__copy h2 {
    font-size: 31px;
  }

  .aw-kbPhotoCredit {
    right: 12px;
    bottom: 10px;
    align-items: flex-start;
    max-width: calc(100% - 24px);
    padding: 6px 8px 7px;
    font-size: 7.5px;
    line-height: 1.55;
    text-align: left;
  }

  .aw-kbRustSection__body {
    padding-top: 78px;
    padding-bottom: 84px;
  }

  /* Timor */

  .aw-kbTimorStage {
    margin-top: 54px;
    padding: 28px 16px 26px;
  }

  .aw-kbTimorStage__top {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .aw-kbTimorStage__top article,
  .aw-kbTimorStage__branches article {
    height: auto;
    min-height: 108px;
  }

  .aw-kbTimorStage__topConnector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
  }

  .aw-kbTimorStage__topConnector::before {
    content: "×";
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: var(--ka-accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1;
  }

  .aw-kbTimorStage__topConnector::after {
    display: none;
  }

  .aw-kbTimorStage__center {
    width: 100%;
    margin-top: 30px;
    padding: 22px 16px 24px !important;
  }

  .aw-kbTimorStage__center::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 1px;
    height: 34px;
    background: var(--ka-line-dark);
    transform: translateX(-50%);
  }

  .aw-kbTimorStage__center::after {
    height: 28px;
  }

  .aw-kbTimorStage__centerLabel {
    flex-wrap: wrap;
    gap: .25em .65em;
    white-space: normal;
  }

  .aw-kbTimorStage__center strong {
    font-size: 28px !important;
  }

  .aw-kbTimorStage__center small {
    font-size: 11.5px !important;
  }

  .aw-kbTimorStage__branches {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 26px;
    padding-top: 0;
  }

  .aw-kbTimorStage__branches::before,
  .aw-kbTimorStage__branches article::before {
    display: none;
  }

  .aw-kbTimorMediaGrid {
    margin-top: 52px;
  }

  .aw-kbGroupNote {
    padding: 36px 22px 40px;
  }

  /* race */

  .aw-kbRaceFigure__cycle {
    display: block;
    padding-left: 34px;
  }

  .aw-kbRaceFigure__cycle::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .aw-kbRaceFigure__cycle li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 17px;
    padding: 0 0 30px;
    text-align: left;
  }

  .aw-kbRaceFigure__cycle li:last-child {
    padding-bottom: 0;
  }

  .aw-kbRaceFigure__cycle li > span {
    grid-row: 1 / span 2;
    width: 54px;
    height: 54px;
    margin-left: -34px;
  }

  .aw-kbRaceFigure__cycle strong {
    margin-top: 4px;
  }

  .aw-kbRaceFigure__cycle small {
    margin-top: 4px;
  }

  /* F1 */

  .aw-kbF1Figure__equation {
    grid-template-columns: 1fr;
    grid-template-rows: auto 54px auto 42px auto;
    column-gap: 0;
    row-gap: 0;
  }

  .aw-kbF1Figure__equation > .aw-kbF1Figure__operator,
  .aw-kbF1Figure__arrow,
  .aw-kbF1Figure__equation .aw-kbF1Figure__result {
    grid-column: 1;
  }

  .aw-kbF1Figure__equation article {
    height: auto;
    min-height: 132px;
  }

  .aw-kbF1Figure__equation > .aw-kbF1Figure__operator {
    min-height: 54px;
  }

  .aw-kbF1Figure__equation > .aw-kbF1Figure__operator::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    transform: translateX(-50%);
  }

  .aw-kbF1Figure__equation > .aw-kbF1Figure__operator::after {
    display: none;
  }

  .aw-kbF1Figure__operator .aw-kbCrossMark,
  .aw-kbCrossDiagram__operator .aw-kbCrossMark {
    width: 58px;
    min-width: 58px;
    height: 52px;
  }

  .aw-kbCrossMark__label {
    font-size: 6.5px;
  }

  .aw-kbCrossMark__symbol {
    font-size: 27px;
  }

  .aw-kbF1Figure__arrow {
    position: relative;
    height: 42px;
    min-height: 42px;
  }

  .aw-kbF1Figure__arrow::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -1px;
    left: 50%;
    width: 1px;
    background: var(--ka-line-dark);
    transform: translateX(-50%);
  }

  .aw-kbF1Figure__result strong {
    font-size: 23px !important;
  }

  .aw-kbF1Figure__badge {
    flex-direction: column;
    gap: 2px;
    width: 100%;
    font-size: 9px;
  }

  .aw-kbF1Figure__badge span + span::before {
    content: none;
  }

  .aw-kbCaseStudy {
    grid-template-columns: 1fr;
  }

  .aw-kbCaseStudy__head,
  .aw-kbCaseStudy__cross,
  .aw-kbCaseStudy__body {
    grid-column: 1;
  }

  .aw-kbCaseStudy__head {
    padding: 30px 24px 28px;
  }

  .aw-kbCaseStudy__head h3 {
    font-size: clamp(24px, 7vw, 28px);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .aw-kbCaseStudy__cross {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 28px 22px;
    border-top: 1px solid var(--ka-line);
  }

  .aw-kbCaseStudy__body {
    padding: 28px 22px 32px;
  }

  /* F2 */

  .aw-kbF2Figure {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .aw-kbF2Figure .aw-kbFigureHead,
  .aw-kbF2Figure__intro,
  .aw-kbF2Figure__panel,
  .aw-kbF2Figure__transition,
  .aw-kbF2Figure__closing {
    grid-column: 1;
  }

  .aw-kbF2Figure__intro {
    margin-bottom: 30px;
    font-size: 12px;
    line-height: 1.9;
    text-align: left;
  }

  .aw-kbF2Figure__panel {
    min-height: 0;
    padding: 26px 20px 18px;
  }

  .aw-kbF2Figure__panel header {
    min-height: 0;
  }

  .aw-kbF2Figure__panel header span {
    font-size: 31px;
  }

  .aw-kbF2Figure__panel header p {
    font-size: 10.5px;
  }

  .aw-kbF2Figure__art {
    min-height: 150px;
    margin-top: 8px;
  }

  .aw-kbF2Figure__panel--f1 .aw-kbF2Figure__art img {
    width: 118%;
  }

  .aw-kbF2Figure__panel--f2 .aw-kbF2Figure__art img {
    width: 108%;
  }

  .aw-kbF2Figure__transition {
    min-height: 124px;
  }

  .aw-kbF2Figure__transition::before,
  .aw-kbF2Figure__transition::after {
    top: auto;
    left: 50%;
    right: auto;
    width: 1px;
    height: 26px;
    transform: translateX(-50%);
  }

  .aw-kbF2Figure__transition::before {
    top: 0;
  }

  .aw-kbF2Figure__transition::after {
    bottom: 0;
  }

  .aw-kbF2Figure__transitionMeta {
    gap: 6px;
  }

  .aw-kbF2Figure__transitionMeta::before,
  .aw-kbF2Figure__transitionMeta::after {
    flex-basis: 14px;
  }

  .aw-kbF2Figure__seedArt {
    width: 48px;
  }

  .aw-kbF2Figure__closing {
    margin-top: 34px;
    font-size: 10.5px;
  }

  /* Starmaya */

  .aw-kbStarmayaFigure__parents {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .aw-kbStarmayaFigure__transfer {
    min-height: 62px;
  }

  .aw-kbStarmayaFigure__transfer::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    transform: translateX(-50%);
  }

  .aw-kbStarmayaFigure__transfer::after {
    display: none;
  }

  .aw-kbPollenMark {
    flex-direction: row;
    gap: 8px;
    width: 86px;
    height: 42px;
    box-shadow: 0 0 0 6px rgba(248,244,237,.94);
  }

  .aw-kbPollenMark__symbol {
    margin-top: 0;
    transform: rotate(90deg);
  }

  .aw-kbStarmayaFigure__stem {
    height: 32px;
  }

  .aw-kbStarmayaFigure__field {
    padding-inline: 14px;
  }

  .aw-kbStarmayaFigure__fieldTitle {
    display: block;
  }

  .aw-kbStarmayaFigure__fieldTitle strong {
    margin-top: 6px;
  }

  .aw-kbStarmayaFigure__fieldTrack {
    grid-template-columns: repeat(5, minmax(72px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
  }

  /* diversity */

  .aw-kbDiversityGrid {
    margin-top: 52px;
  }

  .aw-kbTimelineCard {
    padding: 30px 20px 28px;
  }

  .aw-kbWildStat {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 24px 38px;
    text-align: center;
  }

  .aw-kbWildStat__number {
    font-size: 92px;
  }

  .aw-kbWildStat h3 {
    font-size: 22px;
  }

  /* future */

  .aw-kbFutureTimeline__steps {
    display: block;
    padding-left: 34px;
  }

  .aw-kbFutureTimeline__steps::before {
    top: 25px;
    bottom: 25px;
    left: 26px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .aw-kbFutureTimeline__steps li {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    padding: 0 0 28px;
    text-align: left;
  }

  .aw-kbFutureTimeline__steps li:last-child {
    padding-bottom: 0;
  }

  .aw-kbFutureTimeline__steps li > span {
    grid-row: 1 / span 2;
    width: 50px;
    height: 50px;
    margin-left: -34px;
  }

  .aw-kbFutureTimeline__steps strong {
    margin-top: 3px;
  }

  .aw-kbFutureTimeline__steps small {
    margin-top: 3px;
  }

  .aw-kbFutureTimeline__scale {
    grid-template-columns: auto 1fr auto;
    margin-top: 34px;
  }

  .aw-kbFutureTimeline__scale i:nth-of-type(2),
  .aw-kbFutureTimeline__scale span:last-child {
    display: none;
  }

  /* photo */

  /* closing */

  .aw-kbClosing {
    padding: 88px 0 94px;
  }

  .aw-kbClosing h2 {
    font-size: 31px;
  }

  .aw-kbClosing__body {
    margin-top: 44px;
  }

  .aw-kbClosing__body p {
    font-size: 15px;
    line-height: 2.08;
  }

  .aw-kbClosing__statement {
    margin-top: 56px;
    padding: 24px 0 24px 20px;
    font-size: 21px;
  }

  .aw-kbClosing__loop {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 48px;
    font-size: 8px;
  }
}

/* =========================================================
   VERY SMALL SP
========================================================= */

@media screen and (max-width: 380px) {
  .aw-kbActNav__list a {
    min-height: 116px;
    padding-inline: 12px;
  }

  .aw-kbMutationCard dl > div {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .aw-kbLineageParents {
    grid-template-columns: 1fr;
  }

  .aw-kbLineageParents > b {
    line-height: 1;
  }

  .aw-kbLineageArrow span {
    width: 100%;
  }

  .aw-kbMutationCompare__note {
    font-size: 10px;
  }

  .aw-kbStarmayaFigure__fieldTrack {
    grid-template-columns: repeat(5, 68px);
  }

  .aw-kbWildStat__number {
    font-size: 82px;
  }
}

/* =========================================================
   ACADEMIC PHOTO CREDIT
   学術資料由来の写真クレジット。写真の下に静かに配置する。
========================================================= */

.aw-kbAcademicCredit {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 9px 0 0;
  color: #85766a;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 8.5px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .015em;
}

.aw-kbAcademicCredit span {
  display: block;
}

.aw-kbAcademicCredit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.aw-kbAcademicCredit cite {
  font-style: italic;
}

@media (hover: hover) {
  .aw-kbAcademicCredit a:hover {
    color: var(--ka-title);
  }
}

@media screen and (max-width: 767px) {
  .aw-kbAcademicCredit {
    margin-top: 8px;
    font-size: 7.5px;
    line-height: 1.6;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .aw-kbActNav__list a {
    transition: none;
  }
}

/* =========================================================
   REAL PHOTO MEDIA
   Actual image media and academic-photo presentation.
========================================================= */

.aw-kbHeroMedia {
  position: absolute;
  inset: 0;
  display: block;
}

.aw-kbHeroMedia img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 41%;
}

.aw-kbPhotoMedia {
  position: relative;
  display: block;
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  border-top: 1px solid var(--ka-line-dark);
  border-bottom: 1px solid var(--ka-line);
  background: #e9e3db;
}

.aw-kbPhotoMedia img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.aw-kbPhotoSlot--cinema > .aw-kbPhotoMedia {
  min-height: 0;
  aspect-ratio: 2 / 1;
}

.aw-kbPhotoBreak > .aw-kbPhotoMedia {
  position: absolute;
  inset: 0;
  min-height: 0;
  border: 0;
}

.aw-kbPhotoBreak > .aw-kbPhotoMedia img {
  min-height: 0;
  object-position: center 52%;
  filter: saturate(.92) contrast(1.04) brightness(.72);
}

.aw-kbTimorMediaGrid .aw-kbPhotoMedia {
  flex: 1 1 auto;
  min-height: 100%;
}

/* Timor Hybrid：写真を左右いっぱいまで見せ、クレジットまで同じボックス内に収める */

.aw-kbTimorMediaGrid .aw-kbPhotoSlot {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 1px solid var(--ka-line-dark);
  border-bottom: 1px solid var(--ka-line);
  background: #f8f4ed;
}

.aw-kbTimorMediaGrid .aw-kbPhotoMedia--timor {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #f8f4ed;
}

.aw-kbPhotoMedia--timor img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
}

.aw-kbTimorMediaGrid .aw-kbAcademicCredit {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(110,79,60,.16);
  background: #f8f4ed;
}

/* Starmaya：原画像の横長比率を活かし、全景を見せる */

.aw-kbPhotoSlot--cinema > .aw-kbPhotoMedia--starmaya {
  aspect-ratio: 1000 / 449;
  background: #f1ece5;
}

.aw-kbPhotoMedia--starmaya img {
  min-height: 0;
  object-fit: contain;
  object-position: center center;
}

.aw-kbPhotoSlot--geisha > .aw-kbPhotoMedia {
  flex: 1 1 auto;
  min-height: 100%;
}

.aw-kbPhotoMedia--geisha img {
  object-position: center 44%;
}

.aw-kbPhotoMedia--future img {
  object-position: center 52%;
}

@media screen and (max-width: 980px) {
  .aw-kbTimorMediaGrid .aw-kbPhotoMedia,
  .aw-kbPhotoSlot--geisha > .aw-kbPhotoMedia {
    min-height: 360px;
  }
}

@media screen and (max-width: 767px) {
  .aw-kbHeroMedia img {
    object-position: 60% 44%;
  }

  .aw-kbPhotoBreak > .aw-kbPhotoMedia img {
    object-position: 68% center;
  }

  .aw-kbPhotoSlot--cinema > .aw-kbPhotoMedia {
    aspect-ratio: 4 / 3;
  }

  .aw-kbPhotoSlot--cinema > .aw-kbPhotoMedia--starmaya {
    aspect-ratio: 1000 / 449;
  }

  .aw-kbTimorMediaGrid .aw-kbPhotoMedia--timor {
    padding: 14px;
  }

  .aw-kbPhotoSlot--geisha > .aw-kbPhotoMedia {
    min-height: 300px;
  }
}

/* Timor Hybrid photo: keep natural image ratio at tablet/SP too */

@media screen and (max-width: 980px) {
  .aw-kbTimorMediaGrid .aw-kbPhotoMedia--timor {
    min-height: 0;
  }
}

@media screen and (max-width: 767px) {
  .aw-kbTimorMediaGrid .aw-kbAcademicCredit {
    margin: 0;
    padding: 9px 10px 10px;
  }
}
