/* =================================
Tea World Guide
================================= */

.tea-world-guide-page {
  padding: 2rem 0 4rem;
}

.tea-world-guide {
  max-width: 860px;
  margin: 0 auto;
}

.tea-world-guide__header,
.tea-world-guide__section {
  margin-bottom: 2.5rem;
}

.tea-world-guide__title {
  margin-bottom: 1rem;
}

.tea-world-guide h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.tea-world-guide h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/*Sidebar*/
.tw-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}

@media (max-width: 960px) {
  .tw-layout {
    grid-template-columns: 1fr;
  }
}

/* =================================
Knowledge Map
================================= */

.tw-knowledge-map {
  margin: 3rem 0;
}

.tw-knowledge-map h2 {
  text-align: center;
}

.tw-knowledge-map__intro {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.tw-knowledge-map__svg {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.map-line {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  opacity: 0.95;
}

.map-line--purple  { stroke: #4a148c; }
.map-line--red     { stroke: #ff1c1c; }
.map-line--magenta { stroke: #d81bff; }
.map-line--yellow  { stroke: #d8cf00; }
.map-line--green   { stroke: #25d84b; }
.map-line--blue    { stroke: #1b95ff; }

.map-node--intro {
  fill: #D8BFA3; /* ミルクティー */
}

.map-node--study {
  fill: #8B4A2F; /* 紅茶 */
}

.map-node--culture {
  fill: #B7A7D9; /* 淡紫 */
}

.map-node--dictionary {
  fill: #E46A76; /* 紅梅 */
}

.map-node--archive {
  fill: #8FBF7A; /* 若草 */
}

.map-node--search {
  fill: #C9E36B; /* 明るい若草 */
}

/*Animation*/

.tw-knowledge-map a:hover .map-node {
  transform: translateY(-4px);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.12));
}
/*ふわっと*/
.map-node {
  transition: transform 0.35s ease,
              filter 0.35s ease;
}
/*アクセシビリティも*/
.tw-knowledge-map a:hover .map-node,
.tw-knowledge-map a:focus .map-node {
  transform: translateY(-4px);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.12));
}

/*Knowledge Map の読み方*/
.tw-map-guide {
  margin-top: 2.5rem;
}

.tw-map-guide h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.tw-map-guide-list {
  list-style: none;
  padding: 0;
  max-width: 680px;
  margin: 0 auto;
}

.tw-map-guide-list li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/*Knowledge Mapの直前の一行*/
.tw-knowledge-map__intro {
  text-align: center;
  max-width: 620px;
  margin: 2rem auto 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/*ナビゲーター説明*/
.tw-map-center-note{
  text-align:center;
  max-width:640px;
  margin:1.5rem auto 2rem;
  font-size:0.95rem;
  line-height:1.7;
  opacity:0.85;
}

/*中央円*/
.map-ring {
  fill: none;
  stroke: rgba(139, 74, 47, 0.16);
  stroke-width: 2;
}