.area-page-kicker {
  display: block;
  margin-bottom: 12px;
  color: #00875f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-align: center;
}

.area-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 38px 0 90px;
}

.area-list-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.area-list-heading span {
  color: #00875f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.area-list-heading h2 {
  margin: 8px 0 12px;
  font-size: 30px;
}

.area-list-heading p {
  font-size: 13px;
  line-height: 1.9;
}

.area-service-grid article {
  padding: 30px 27px;
  border: 1px solid #d9dacd;
  border-radius: 17px;
  background: #fcfaf4;
}

.area-service-grid article > span {
  color: #00875f;
  font-size: 11px;
  font-weight: 900;
}

.area-service-grid h2 {
  margin: 12px 0;
  color: #26302b;
  font-size: 19px;
}

.area-service-grid p {
  font-size: 13px;
  line-height: 1.9;
}

.area-service-grid small {
  display: inline-block;
  margin-top: 19px;
  padding: 6px 10px;
  border-radius: 99px;
  color: #00875f;
  background: #dfe9e1;
  font-weight: 700;
}

/* Three service cards — soft botanical notebook style. */
body.modern-area #areas .area-service-grid {
  gap: 22px;
}

body.modern-area #areas .area-service-grid article,
body.modern-area #areas .area-service-grid article:nth-child(1),
body.modern-area #areas .area-service-grid article:nth-child(2),
body.modern-area #areas .area-service-grid article:nth-child(3) {
  position: relative;
  isolation: isolate;
  min-height: 326px;
  padding: 40px 34px 34px;
  overflow: hidden;
  border: 1px solid rgba(0,135,95, .1);
  border-top: 1px solid rgba(0,135,95, .1);
  border-radius: 24px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 50px rgba(0,135,95, .09);
}

body.modern-area #areas .area-service-grid article::before {
  position: absolute;
  z-index: -1;
  top: -3px;
  right: -3px;
  width: 132px;
  height: 92px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 92'%3E%3Cg fill='none' stroke='%23769f82' stroke-linecap='round' stroke-width='1.3' opacity='.3'%3E%3Cpath d='M128 3C99 24 88 47 71 82'/%3E%3Cpath d='M111 19c-13-2-22 2-28 10M104 29c8 1 14 5 18 12M91 39c-13-1-22 4-28 12M85 51c8 0 15 4 20 11M76 59c-12 0-20 5-27 13'/%3E%3C/g%3E%3Cg fill='%23a9cbb2' opacity='.2'%3E%3Cellipse cx='89' cy='24' rx='13' ry='5' transform='rotate(-28 89 24)'/%3E%3Cellipse cx='116' cy='36' rx='12' ry='5' transform='rotate(32 116 36)'/%3E%3Cellipse cx='69' cy='48' rx='13' ry='5' transform='rotate(-26 69 48)'/%3E%3Cellipse cx='100' cy='58' rx='12' ry='5' transform='rotate(32 100 58)'/%3E%3Cellipse cx='55' cy='70' rx='12' ry='5' transform='rotate(-24 55 70)'/%3E%3C/g%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

body.modern-area #areas .area-service-grid article:nth-child(2)::before {
  opacity: .8;
  transform: scaleX(-1);
  transform-origin: center;
}

body.modern-area #areas .area-service-grid article > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #00875f;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

body.modern-area #areas .area-service-grid article > span::after {
  width: 44px;
  height: 1px;
  background: #b8d8ca;
  content: "";
}

body.modern-area #areas .area-service-grid h2 {
  margin: 24px 0 16px;
  font-size: 22px;
  line-height: 1.55;
}

body.modern-area #areas .area-service-grid p {
  color: #536b62;
  font-size: 14px;
  line-height: 2;
}

body.modern-area #areas .area-service-grid small {
  margin-top: 22px;
  padding: 7px 12px;
  border: 1px solid #d9ece4;
  border-radius: 999px;
  color: #00875f;
  background: #eef8f4;
}

.area-scenes {
  margin: 0 0 90px;
  padding: clamp(46px, 6vw, 74px) 0;
  border-top: 1px solid #d9e7e2;
  border-bottom: 1px solid #d9e7e2;
  background: #fff;
}

.area-scenes-heading {
  display: grid;
  grid-template-columns: minmax(130px, .42fr) minmax(300px, 1fr) minmax(300px, .9fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  margin-bottom: 34px;
}

.area-scenes-heading > span {
  color: #078765;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.area-scenes-heading h2 {
  margin: 0;
  color: #0d3154;
  font-size: clamp(30px, 3.3vw, 46px);
  letter-spacing: -.035em;
  line-height: 1.42;
}

.area-scenes-heading h2 em {
  color: #078765;
  font-style: normal;
}

.area-scenes-heading p {
  margin: 0;
  color: #587083;
  font-size: 14px;
  line-height: 2;
}

.area-scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.area-scene-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, .92fr);
  min-height: 260px;
  overflow: hidden;
  border: 1px solid #d9e7e2;
  border-radius: 12px;
  background: #f4fbf8;
}

.area-scene-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.area-scene-grid article > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 38px);
}

.area-scene-grid span {
  color: #078765;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}

.area-scene-grid h3 {
  margin: 12px 0 10px;
  color: #0d3154;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.55;
}

.area-scene-grid p {
  margin: 0;
  color: #587083;
  font-size: 13px;
  line-height: 1.9;
}


@media (max-width: 900px) {
  .area-service-grid {
    grid-template-columns: 1fr;
  }

  body.modern-area #areas .area-service-grid {
    gap: 16px;
  }

  body.modern-area #areas .area-service-grid article,
  body.modern-area #areas .area-service-grid article:nth-child(1),
  body.modern-area #areas .area-service-grid article:nth-child(2),
  body.modern-area #areas .area-service-grid article:nth-child(3) {
    min-height: 0;
  }

  .area-scenes-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .area-scene-grid article {
    grid-template-columns: 1fr;
  }

  .area-scene-grid img {
    min-height: 220px;
    height: 220px;
  }
}

@media (max-width: 640px) {
  .area-scenes {
    margin-right: 0;
    margin-left: 0;
    padding: 40px 0;
  }

  .area-scenes-heading h2 {
    font-size: 30px;
  }

  .area-scene-grid {
    grid-template-columns: 1fr;
  }

  .area-scene-grid img {
    height: 230px;
  }

}


/* Kyushu teacher network — lumera brand surface */
.kyushu-teacher-network {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(46px, 6vw, 88px);
  align-items: center;
  margin: 34px 0 72px;
  padding: clamp(44px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid var(--modern-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(223, 245, 236, .82), transparent 34%),
    #fff;
  box-shadow: 0 18px 52px rgba(23, 50, 77, .07);
}

.kyushu-teacher-network::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(44px, 6vw, 76px);
  width: 76px;
  height: 5px;
  background: var(--modern-green);
}

.kyushu-network-copy {
  position: relative;
  z-index: 1;
}

.kyushu-network-kicker {
  display: block;
  color: var(--modern-green);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.kyushu-network-area {
  margin: 16px 0 9px;
  color: #587083;
  font-size: 14px;
  font-weight: 700;
}

.kyushu-network-copy h2 {
  margin: 0;
  color: var(--modern-navy);
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  font-size: clamp(34px, 4.2vw, 56px);
  letter-spacing: -.045em;
  line-height: 1.38;
}

.kyushu-network-copy h2 em {
  color: var(--modern-green);
  font-style: normal;
}

.kyushu-network-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #587083;
  font-size: 15px;
  line-height: 2;
}

.kyushu-network-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 22px;
  border-radius: 10px;
  color: #fff;
  background: var(--modern-green);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.kyushu-network-link:hover {
  background: #00875f;
  transform: translateY(-1px);
}

/* Keep the discovery labels inside their image at every viewport width. */
.modern-area .area-local-chip {
  left: 18px;
  max-width: calc(100% - 36px);
  white-space: normal;
  overflow-wrap: anywhere;
}

.modern-area .area-match-card {
  right: 18px;
  max-width: calc(100% - 36px);
}

/* Keep the shared navigation hook without showing a floating CTA on this page. */
.modern-area > .fixed-cta {
  display: none !important;
}

@media (max-width: 900px) {
  .kyushu-teacher-network {
    grid-template-columns: 1fr;
    gap: 34px;
  }


}

@media (max-width: 640px) {
  body.modern-area #areas .area-service-grid {
    gap: .75rem;
    margin: 1.5rem 0 2.5rem;
    scroll-margin-top: 6rem;
  }

  body.modern-area #areas .area-service-grid article,
  body.modern-area #areas .area-service-grid article:nth-child(1),
  body.modern-area #areas .area-service-grid article:nth-child(2),
  body.modern-area #areas .area-service-grid article:nth-child(3) {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: .625rem .5rem;
    align-content: start;
    min-width: 0;
    padding: 1.125rem 1.125rem 1rem;
    border-radius: 1rem;
  }

  body.modern-area #areas .area-service-grid article::before {
    width: 5rem;
    height: 3.5rem;
  }

  body.modern-area #areas .area-service-grid article > span {
    grid-column: 1;
    align-self: center;
    gap: .25rem;
    font-size: .75rem;
    line-height: 1.5;
  }

  body.modern-area #areas .area-service-grid article > span::after {
    width: .625rem;
    flex-shrink: 0;
  }

  body.modern-area #areas .area-service-grid h2 {
    grid-column: 2;
    min-width: 0;
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.55;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  body.modern-area #areas .area-service-grid p {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
    font-size: .8125rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }

  body.modern-area #areas .area-service-grid small {
    grid-column: 1 / -1;
    justify-self: start;
    box-sizing: border-box;
    max-width: 100%;
    margin-top: 0;
    padding: .25rem .5625rem;
    font-size: .6875rem;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .modern-area .area-local-chip {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
  }

  .modern-area .area-match-card {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .kyushu-teacher-network {
    gap: 26px;
    margin: 26px 0 54px;
    padding: 38px 22px 26px;
    border-radius: 18px;
  }

  .kyushu-teacher-network::before {
    left: 22px;
    width: 58px;
  }

  .kyushu-network-area {
    margin-top: 13px;
    font-size: 12px;
  }

  .kyushu-network-copy h2 {
    font-size: clamp(29px, 9vw, 38px);
    line-height: 1.45;
  }

  .kyushu-network-lead {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.9;
  }

  .kyushu-network-link {
    width: 100%;
    justify-content: center;
    margin-top: 22px;
  }

  .kyushu-network-path article {
    grid-template-columns: 44px 1fr;
    gap: 15px;
    min-height: 98px;
  }

  .kyushu-network-path article > span {
    width: 44px;
    height: 44px;
  }


  .kyushu-network-path strong {
    font-size: 17px;
  }

  .kyushu-network-path small {
    font-size: 12px;
  }
}

.local-area-directory { margin: 84px 0; }

#fukuoka-local-guides { scroll-margin-top: 6rem; }

.local-area-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: .75rem;
}

.local-area-links a {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 1.75rem;
  align-items: center;
  gap: .75rem;
  box-sizing: border-box;
  min-width: 0;
  min-height: 5.5rem;
  padding: .875rem;
  border: 1px solid #d7e5de;
  border-radius: .875rem;
  background: linear-gradient(110deg, #fff 65%, #f7fbf8);
  color: #203c34;
  box-shadow: 0 3px 12px rgba(0,135,95, .035);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.local-area-links .local-area-illustration {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  border-radius: .75rem;
  background: #e9f4ec;
  color: #00875f;
}

.local-area-illustration svg {
  display: block;
  width: 2.375rem;
  height: 2.375rem;
}

.local-area-links a:nth-child(3n + 2) .local-area-illustration {
  background: #f7f1e4;
}

.local-area-links a:nth-child(3n) .local-area-illustration {
  background: #eaf3f2;
}

.local-area-links .local-area-copy {
  display: grid;
  gap: .1875rem;
  min-width: 0;
  margin: 0;
}

.local-area-links strong {
  min-width: 0;
  color: #203c34;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.local-area-links .local-area-stations {
  min-width: 0;
  margin: 0;
  color: #64766d;
  font-size: .75rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.local-area-links .local-area-arrow {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  border-radius: 50%;
  background: #edf6f0;
  color: #33866a;
  transition: color .2s ease, background-color .2s ease;
}

.local-area-arrow svg {
  display: block;
  width: .875rem;
  height: .875rem;
}

.local-area-links a:hover {
  border-color: #94c6b2;
  box-shadow: 0 5px 18px rgba(0,135,95, .08);
}

.local-area-links a:hover .local-area-arrow {
  background: #33866a;
  color: #fff;
}

.local-area-links a:focus-visible {
  outline: 3px solid #00875f;
  outline-offset: 3px;
}

/* A small illustrated row keeps every location easy to scan on phones. */
@media (max-width: 760px) {
  .local-area-directory { margin: 60px 0; }
  #fukuoka-local-guides { margin: 2.5rem 0; }

  #fukuoka-local-guides .area-list-heading {
    margin: 0 auto 1.25rem;
  }

  #fukuoka-local-guides .area-list-heading h2 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    line-height: 1.5;
  }

  #fukuoka-local-guides .area-list-heading p {
    font-size: .8125rem;
    line-height: 1.75;
  }

  .local-area-links {
    grid-template-columns: 1fr;
    gap: .375rem;
  }

  .local-area-links a {
    grid-template-columns: 2.5rem minmax(0, 1fr) 1.5rem;
    gap: .625rem;
    min-height: 3.75rem;
    padding: .5rem .625rem;
    border-radius: .75rem;
  }

  .local-area-links .local-area-illustration {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .625rem;
  }

  .local-area-illustration svg {
    width: 2.125rem;
    height: 2.125rem;
  }

  .local-area-links strong {
    font-size: .9375rem;
  }

  .local-area-links .local-area-stations {
    font-size: .6875rem;
    line-height: 1.55;
  }

  .local-area-links .local-area-arrow {
    width: 1.5rem;
    height: 1.5rem;
  }

  .local-area-arrow svg {
    width: .75rem;
    height: .75rem;
  }
}

/* Geographic area selector: actual prefecture silhouettes with equivalent text links. */
body.modern-area #areas .kyushu-teacher-network{
  width:100%;max-width:none;margin-inline:auto;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));
  gap:clamp(1.5rem,4vw,3.5rem);padding:clamp(1.25rem,4vw,3.5rem);
  background:#fff;align-items:center;
}
.kyushu-teacher-network :is(div,figure,nav,a){min-width:0;overflow-wrap:anywhere}
body.modern-area #areas .kyushu-network-copy h2{font-size:clamp(1.5rem,2.7vw,2.3rem);line-height:1.6;letter-spacing:-.025em;margin-top:1rem}
body.modern-area #areas .kyushu-network-lead{margin-top:1rem;font-size:.9375rem;line-height:1.9}
.kyushu-style-labels{display:flex;flex-wrap:wrap;gap:.625rem 1.25rem;margin:1.5rem 0;color:var(--lm-green-dark,#00875f)}
.kyushu-style-labels>span{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;font-weight:600}
.kyushu-style-labels svg{width:1.5rem;height:1.5rem;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.kyushu-prefecture-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,7.5rem),1fr));gap:.5rem}
.kyushu-prefecture-links a{display:flex;justify-content:space-between;align-items:center;gap:.5rem;min-height:2.75rem;padding:.625rem .875rem;border:1px solid #d1f1e4;border-radius:.625rem;background:var(--lm-mint,#eafaf3);color:var(--lm-green-dark,#00875f);font-size:.875rem;font-weight:600;text-decoration:none}
.kyushu-prefecture-links a:hover,.kyushu-prefecture-links a:focus-visible{background:var(--lm-green,#0e9066);color:#fff}
.kyushu-online-link{display:inline-flex;align-items:center;gap:.75rem;min-height:2.75rem;margin-top:1rem;color:var(--lm-green-dark,#00875f);font-size:.875rem;font-weight:600;text-underline-offset:.3em}
.kyushu-prefecture-links a:focus-visible,.kyushu-online-link:focus-visible{outline:3px solid var(--lm-green,#0e9066);outline-offset:3px}
.kyushu-map-visual{margin:0;padding:1rem;border-radius:1.25rem;background:var(--lm-mint,#eafaf3)}
.kyushu-map-caption{display:block;text-align:center;font-size:.8125rem;font-weight:600;color:var(--lm-green-dark,#00875f)}
.kyushu-region-map{display:block;width:100%;height:auto;max-height:34rem;margin:0 auto}
.kyushu-map-prefecture{cursor:pointer}
.kyushu-map-prefecture path{fill:#aad3bf;stroke:#5b9277;stroke-width:1.7;stroke-linejoin:round}
.kyushu-map-prefecture rect{fill:#fff;stroke:none}
.kyushu-map-prefecture text{fill:var(--lm-green-dark,#00875f);font-family:"Noto Sans JP",sans-serif;font-size:19px;font-weight:700;pointer-events:none}
.kyushu-map-prefecture:hover path,.kyushu-map-prefecture:focus path{fill:var(--lm-green,#0e9066)}
.kyushu-map-prefecture:focus{outline:none}
.kyushu-map-prefecture:focus rect{stroke:var(--lm-green-dark,#00875f);stroke-width:3}
.kyushu-map-visual figcaption{text-align:center;color:var(--lm-green-dark,#00875f);font-size:.625rem;line-height:1.7}
.kyushu-map-visual figcaption a{color:inherit;text-underline-offset:2px}

/* Keep the map uncluttered while making its attribution available on demand. */
.kyushu-map-visual .kyushu-map-credit{display:flex;justify-content:flex-end;margin-top:.25rem;text-align:left}
.kyushu-map-credit details{max-width:100%;min-width:0}
.kyushu-map-credit summary{display:flex;align-items:center;justify-content:center;list-style:none;width:44px;min-height:44px;margin-left:auto;border-radius:50%;cursor:pointer;color:var(--lm-green-dark,#00875f)}
.kyushu-map-credit summary::-webkit-details-marker{display:none}
.kyushu-map-credit summary::before,.kyushu-map-credit summary::after{content:none}
.kyushu-map-credit summary:hover{background:#fff}
.kyushu-map-credit summary:focus-visible{outline:3px solid var(--lm-green,#0e9066);outline-offset:2px}
.kyushu-map-visual .kyushu-map-credit p{margin:.25rem 0 0;font-size:.75rem;line-height:1.8;overflow-wrap:anywhere;color:inherit}
.kyushu-map-credit p a{display:inline-flex;align-items:center;min-height:44px}

/* Information choices on the area hub. */
body.modern-area .area-choice-guide{padding-block:clamp(2rem,4vw,3.5rem);min-width:0}
body.modern-area .area-choice-guide>h2{margin:0 0 1.75rem;text-align:center;font-size:clamp(1.375rem,2.7vw,2rem);line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}
.area-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem;list-style:none;margin:0;padding:0}
.area-choice-grid>li{min-width:0;margin:0;padding:0}
body.modern-area .area-choice-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;height:100%;padding:clamp(1.25rem,2.5vw,2rem);border:1px solid #dce6e2;border-radius:1.125rem;background:#fff;color:var(--lm-navy,#16324f);text-decoration:none;overflow-wrap:anywhere}
.area-choice-icon{display:flex;align-items:center;justify-content:center;width:4.5rem;aspect-ratio:1;border-radius:1rem;background:var(--lm-mint,#eafaf3)}
.area-choice-icon svg{width:3.75rem;height:auto}
body.modern-area .area-choice-card h3{margin:1rem 0 .5rem;font-size:clamp(1.125rem,1.8vw,1.375rem);line-height:1.5;letter-spacing:0}
body.modern-area .area-choice-card p{margin:0 0 1rem;font-size:.9375rem;line-height:1.8;color:var(--lm-muted,#66736f)}
.area-choice-action{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;min-height:44px;margin-top:auto;color:var(--lm-green-dark,#00875f);font-size:1rem;font-weight:700}
.area-choice-action>span{font-size:1.5em}
body.modern-area .area-choice-card:hover{border-color:var(--lm-green,#0e9066);background:var(--lm-mint,#eafaf3)}
body.modern-area .area-choice-card:focus-visible{outline:3px solid var(--lm-green,#0e9066);outline-offset:4px}
