:root {
  --map-ink: #17232d;
  --map-muted: #5f6c75;
  --map-navy: #14384f;
  --map-navy-dark: #0c293a;
  --map-blue: #2f718b;
  --map-aqua: #69aeba;
  --map-coral: #dc6a4f;
  --map-sand: #f4f0e7;
  --map-paper: #fffdf9;
  --map-white: #ffffff;
  --map-line: #d9dedb;
  --map-shadow: 0 18px 45px rgba(17, 43, 58, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--map-paper);
  color: var(--map-ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin-top: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(105, 174, 186, 0.75);
  outline-offset: 3px;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
}

.section-label {
  color: var(--map-blue);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 13px;
}

.section-heading h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--map-muted);
  font-size: 16px;
  line-height: 2;
  margin: 24px 0 0;
  max-width: 820px;
}

.map-header {
  background: rgba(255, 253, 249, 0.98);
  border-bottom: 1px solid rgba(20, 56, 79, 0.14);
  border-top: 4px solid var(--map-coral);
  box-shadow: 0 5px 24px rgba(17, 43, 58, 0.05);
  position: relative;
  z-index: 20;
}

.map-header__inner {
  align-items: stretch;
  display: grid;
  grid-template-columns: auto 1fr auto;
  margin: 0 auto;
  max-width: 1280px;
  min-height: 86px;
  padding-left: 40px;
}

.map-header__logo {
  align-items: center;
  display: flex;
  padding-right: 28px;
}

.map-header__logo img {
  height: auto;
  width: 186px;
}

.map-header__title {
  align-items: center;
  border-left: 1px solid var(--map-line);
  color: var(--map-navy-dark);
  display: flex;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
  padding: 0 28px;
}

.map-header__nav {
  align-items: stretch;
  display: flex;
}

.map-header__nav > a {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  padding: 0 26px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.map-header__nav > a:first-child:hover {
  background: var(--map-sand);
  color: var(--map-blue);
}

.map-header__search {
  align-items: center;
  background: var(--map-navy);
  display: flex;
  min-width: 320px;
  padding: 14px 18px;
  position: relative;
}

.map-header__search-label,
.map-header__search-status {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip-path: inset(50%);
}

.map-header__search-field {
  align-items: center;
  background: var(--map-white);
  display: flex;
  width: 100%;
}

.map-header__search-input {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--map-ink);
  font-family: inherit;
  font-size: 13px;
  min-width: 0;
  outline: 0;
  padding: 14px 4px 14px 16px;
  width: 100%;
}

.map-header__search-input::placeholder {
  color: var(--map-muted);
  opacity: 1;
}

.map-header__search-field:focus-within {
  box-shadow: 0 0 0 3px rgba(46, 121, 164, 0.32);
}

.map-header__search-button {
  align-self: stretch;
  background: transparent;
  border: 0;
  color: var(--map-navy);
  cursor: pointer;
  flex: 0 0 46px;
  position: relative;
}

.map-header__search-button::before {
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
  height: 14px;
  left: 13px;
  position: absolute;
  top: 12px;
  width: 14px;
}

.map-header__search-button::after {
  background: currentColor;
  content: "";
  height: 2px;
  left: 27px;
  position: absolute;
  top: 28px;
  transform: rotate(45deg);
  width: 8px;
}

.map-header__search-results {
  background: var(--map-white);
  border: 1px solid var(--map-line);
  box-shadow: 0 14px 30px rgba(17, 43, 58, 0.16);
  color: var(--map-ink);
  left: 18px;
  list-style: none;
  margin: 0;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  position: absolute;
  right: 18px;
  top: calc(100% - 10px);
  z-index: 30;
}

.map-header__search-results[hidden] {
  display: none;
}

.map-header__search-result {
  color: var(--map-ink);
  display: block;
  font-size: 13px;
  line-height: 1.5;
  padding: 11px 12px;
}

.map-header__search-result:hover,
.map-header__search-result:focus,
.map-header__search-result.is-active {
  background: var(--map-sand);
  color: var(--map-blue);
  outline: 0;
}

.map-header__search-empty {
  color: var(--map-muted);
  font-size: 13px;
  line-height: 1.5;
  padding: 11px 12px;
}

.breadcrumb {
  border-bottom: 1px solid var(--map-line);
}

.breadcrumb ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  list-style: none;
  margin: 0;
  padding: 18px 0;
}

.breadcrumb li {
  color: #758088;
  font-size: 12px;
}

.breadcrumb li:not(:last-child)::after {
  color: #a8b0b5;
  content: ">";
  margin-left: 12px;
}

.breadcrumb a:hover {
  color: var(--map-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-intro {
  padding: 76px 0 68px;
}

.map-intro h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.35;
  margin-bottom: 0;
}

.map-intro p {
  color: var(--map-muted);
  font-size: 17px;
  line-height: 2.05;
  margin: 28px 0 0;
  max-width: 850px;
}

.map-gallery {
  border-top: 1px solid var(--map-line);
  padding: 72px 0 88px;
}

.map-gallery__list {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.map-gallery__list--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

.map-gallery__list--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

@media (min-width: 1560px) {
  .map-gallery__list--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-left: 50%;
    margin-right: 0;
    max-width: 1476px;
    transform: translateX(-50%);
    width: calc(100vw - 80px);
  }
}

.map-card {
  margin-bottom: 0;
}

.map-card__image {
  align-items: center;
  aspect-ratio: 1;
  background: var(--map-white);
  border: 1px solid var(--map-line);
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.map-card__image::before {
  border-left: 3px solid var(--map-coral);
  border-top: 3px solid var(--map-coral);
  content: "";
  height: 24px;
  left: -1px;
  position: absolute;
  top: -1px;
  width: 24px;
}

.map-card__image img {
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
  width: 100%;
}

.map-card:hover .map-card__image img {
  transform: scale(1.02);
}

.map-card:not(.map-card--in-japan):not(.map-card--enlarged) .map-card__image img {
  transform: scale(1.15);
}

.map-card:not(.map-card--in-japan):not(.map-card--enlarged):hover .map-card__image img {
  transform: scale(1.2);
}

.map-card--in-japan .map-card__image img,
.map-card--enlarged .map-card__image img {
  transform: scale(1.25);
}

.map-card--in-japan:hover .map-card__image img,
.map-card--enlarged:hover .map-card__image img {
  transform: scale(1.28);
}

.map-card figcaption {
  padding: 18px 4px 0;
  text-align: center;
}

.map-card figcaption span {
  color: #7b868d;
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.map-card figcaption h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 5px 0 0;
}

.free-download {
  background: var(--map-sand);
  padding: 86px 0;
}

.free-download__list {
  background: var(--map-paper);
  border-top: 1px solid var(--map-line);
  margin-top: 40px;
  padding: 0 34px;
}

.download-card {
  align-items: center;
  border-bottom: 1px solid var(--map-line);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  min-height: 112px;
  padding: 20px 0;
}

.download-card__body {
  display: grid;
  grid-template-columns: 58px 1fr;
}

.download-card__number {
  color: var(--map-aqua);
  font-family: Georgia, serif;
  font-size: 19px;
  font-style: italic;
  grid-row: 1 / 3;
}

.download-card h3 {
  font-size: 16px;
  margin-bottom: 0;
}

.download-card p {
  color: #7a858c;
  font-size: 12px;
  margin: 5px 0 0;
}

.download-card__button {
  align-items: center;
  background: var(--map-navy);
  color: var(--map-white);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 50px;
  min-width: 205px;
  padding: 12px 20px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.download-card__button::after {
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  height: 7px;
  margin-left: 15px;
  transform: rotate(45deg) translateY(-3px);
  width: 7px;
}

.download-card__button:hover {
  background: var(--map-blue);
  transform: translateY(-2px);
}

.editable-map {
  background: var(--map-navy-dark);
  color: var(--map-white);
  overflow: hidden;
  padding: 92px 0;
  position: relative;
}

.editable-map::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.editable-map .section-inner {
  position: relative;
}

.editable-map .section-label {
  color: #9bd1d8;
}

.editable-map .section-heading > p {
  color: rgba(255, 255, 255, 0.72);
}

.editable-map__example {
  margin: 46px 0 0;
}

.editable-map__example img {
  background: var(--map-white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
  width: 100%;
}

.editable-map__example figcaption {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  margin-top: 12px;
  text-align: right;
}

.editable-product {
  background: var(--map-white);
  color: var(--map-ink);
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  margin-top: 54px;
  padding: 54px;
}

.editable-product__content h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0;
}

.editable-product__map-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.editable-product__map-card {
  align-items: center;
  background: var(--map-sand);
  border: 1px solid var(--map-line);
  display: flex;
  gap: 12px;
  min-height: 70px;
  padding: 14px 16px;
}

.editable-product__map-number {
  color: var(--map-aqua);
  font-family: Georgia, serif;
  font-size: 18px;
}

.editable-product__map-name {
  color: var(--map-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.editable-product__formats-heading {
  color: var(--map-muted);
  font-size: 14px;
  font-weight: 700;
  margin: 30px 0 0;
}

.editable-product__formats-heading + .file-format-list {
  margin-top: 14px;
}

.file-format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.file-format-list li {
  align-items: center;
  background: var(--map-sand);
  border-bottom: 3px solid var(--map-aqua);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  min-width: 64px;
  padding: 0 12px;
}

.editable-product__details {
  color: var(--map-muted);
  font-size: 14px;
  line-height: 1.9;
  margin: 28px 0 0;
  padding-left: 1.4em;
}

.editable-product__purchase {
  align-self: stretch;
  background: var(--map-sand);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  text-align: center;
}

.editable-product__name {
  color: var(--map-muted);
  font-size: 13px;
  margin-bottom: 0;
}

.editable-product__price {
  align-items: baseline;
  display: flex;
  justify-content: center;
  margin: 14px 0 22px;
}

.editable-product__price strong {
  color: var(--map-navy);
  font-family: Georgia, serif;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.editable-product__price span {
  font-size: 13px;
  margin-left: 8px;
}

.editable-product__button {
  align-items: center;
  background: var(--map-coral);
  color: var(--map-white);
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 58px;
  padding: 14px 20px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.editable-product__button:not([aria-disabled="true"]):hover {
  background: #c65b43;
  transform: translateY(-2px);
}

.editable-product__button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.65;
  pointer-events: none;
}

.editable-product__note {
  color: #7b858b;
  font-size: 11px;
  line-height: 1.7;
  margin: 12px 0 0;
}

.usage-guide {
  padding: 82px 0;
}

.usage-guide .section-inner {
  align-items: center;
  background: var(--map-sand);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(220px, 0.7fr) minmax(350px, 1.3fr) auto;
  padding-bottom: 36px;
  padding-top: 36px;
}

.usage-guide .section-heading h2 {
  font-size: 28px;
}

.usage-guide__list {
  color: var(--map-muted);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 0;
  padding-left: 1.4em;
}

.usage-guide__link {
  align-items: center;
  color: var(--map-navy);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.usage-guide__link::after {
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  content: "";
  height: 8px;
  margin-left: 12px;
  transform: rotate(45deg);
  width: 8px;
}

.usage-guide__link:hover {
  color: var(--map-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.region-map-directory {
  border-top: 1px solid var(--map-line);
  padding: 78px 0 88px;
}

.region-map-directory__list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.region-map-card {
  align-items: center;
  background: var(--map-white);
  border: 1px solid var(--map-line);
  color: var(--map-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
  padding: 28px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.region-map-card img {
  height: 154px;
  object-fit: contain;
  transform: scale(1.175);
  width: 154px;
}

.region-map-card span {
  color: var(--map-muted);
  font-size: 15px;
  letter-spacing: 0.08em;
  margin-top: 16px;
}

.region-map-card strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  margin-top: 8px;
}

.region-map-directory--top .region-map-card img {
  transform: scale(1.5);
}

.region-map-directory--top .region-map-card strong {
  margin-top: 48px;
}

.region-map-card:hover,
.region-map-card:focus-visible {
  border-color: var(--map-blue);
  box-shadow: 0 12px 24px rgba(17, 43, 58, 0.1);
  color: var(--map-blue);
  outline: 0;
  transform: translateY(-3px);
}

.municipality-directory {
  border-top: 1px solid var(--map-line);
  padding: 78px 0 88px;
}

.prefecture-map-directory {
  border-top: 1px solid var(--map-line);
  padding: 78px 0 88px;
}

.prefecture-map-directory__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 38px;
}

.prefecture-map-card {
  align-items: center;
  background: var(--map-white);
  border: 1px solid var(--map-line);
  color: var(--map-ink);
  display: flex;
  flex: 0 1 calc((100% - 72px) / 4);
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
  padding: 28px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.prefecture-map-card img {
  height: 154px;
  object-fit: contain;
  transform: scale(1.5);
  width: 154px;
}

.prefecture-map-card strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  margin-top: 48px;
}


.prefecture-map-card:hover,
.prefecture-map-card:focus-visible {
  border-color: var(--map-blue);
  box-shadow: 0 12px 24px rgba(17, 43, 58, 0.1);
  color: var(--map-blue);
  outline: 0;
  transform: translateY(-3px);
}

.municipality-directory__list {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.municipality-directory__direct-link {
  align-items: center;
  background: var(--map-white);
  border: 1px solid var(--map-line);
  color: var(--map-navy);
  display: flex;
  padding: 22px 24px;
  text-decoration: none;
}

.municipality-directory__direct-link span {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
}

.municipality-directory__direct-link:hover,
.municipality-directory__direct-link:focus-visible {
  background: var(--map-navy);
  color: var(--map-white);
  outline: 0;
}

.municipality-directory__group {
  background: var(--map-white);
  border: 1px solid var(--map-line);
}

.municipality-directory__group summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  list-style: none;
  padding: 22px 24px;
}

.municipality-directory__group summary::-webkit-details-marker {
  display: none;
}

.municipality-directory__group summary span {
  color: var(--map-navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
}

.municipality-directory__group summary strong {
  color: var(--map-muted);
  font-size: 12px;
  margin-left: auto;
}

.municipality-directory__group summary::after {
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  color: var(--map-navy);
  content: "";
  height: 8px;
  margin-left: 18px;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
  width: 8px;
}

.municipality-directory__group[open] summary {
  border-bottom: 1px solid var(--map-line);
}

.municipality-directory__group[open] summary::after {
  transform: rotate(225deg) translate(-3px, 3px);
}

.municipality-directory__group ul {
  display: grid;
  gap: 10px 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 20px 24px 24px;
}

.municipality-directory__group a {
  background: var(--map-sand);
  color: var(--map-navy);
  display: block;
  font-size: 14px;
  padding: 12px 14px;
}

.municipality-directory__group a:hover,
.municipality-directory__group a:focus-visible {
  background: var(--map-navy);
  color: var(--map-white);
  outline: 0;
}

.related-maps {
  border-top: 1px solid var(--map-line);
  padding: 78px 0 96px;
}

.related-maps__list {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.related-map-card {
  border: 1px solid var(--map-line);
  display: flex;
  flex-direction: column;
  min-height: 118px;
  padding: 24px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.related-map-card::after {
  border-right: 2px solid var(--map-aqua);
  border-top: 2px solid var(--map-aqua);
  content: "";
  height: 9px;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 9px;
}

.related-map-card span {
  color: #7a858c;
  font-size: 11px;
}

.related-map-card strong {
  font-size: 16px;
  margin-top: 7px;
  padding-right: 25px;
}

.related-map-card:hover {
  border-color: var(--map-aqua);
  box-shadow: var(--map-shadow);
  transform: translateY(-3px);
}

.footer {
  background: var(--map-navy-dark);
  color: var(--map-white);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(280px, 0.85fr) minmax(380px, 1.15fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 40px 52px;
}

.footer__info {
  min-width: 0;
}

.footer__logo-link {
  display: inline-block;
}

.footer__logo {
  color: var(--map-white);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-bottom: 0;
}

.footer__lead {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.9;
  margin: 20px 0 0;
  max-width: 390px;
}

.footer__contact {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 22px;
}

.footer__contact p {
  margin-bottom: 3px;
}

.footer__nav-wrap {
  align-self: start;
}

.footer__nav {
  display: grid;
  gap: 0 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer__nav a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  padding: 13px 2px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__nav a:hover {
  color: var(--map-white);
  padding-left: 5px;
}

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  display: block;
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 20px;
  text-align: center;
}

@media (max-width: 960px) {
  .map-header__inner {
    grid-template-columns: auto 1fr;
    padding-left: 28px;
  }

  .map-header__title {
    border-left: 0;
    justify-content: flex-end;
    padding-right: 28px;
  }

  .map-header__nav {
    border-top: 1px solid var(--map-line);
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .map-header__nav > a {
    min-height: 52px;
  }

  .map-gallery__list {
    gap: 20px;
  }

  .prefecture-map-card {
    flex-basis: calc((100% - 14px) / 2);
  }
    
  .editable-product {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .editable-product__purchase {
    justify-self: stretch;
  }

  .usage-guide .section-inner {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .usage-guide__link {
    grid-column: 1 / -1;
  }

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

  .region-map-directory {
    padding: 54px 0 68px;
  }

  .region-map-directory__list {
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }

  .region-map-card {
    min-height: 220px;
    padding: 18px 12px;
  }

  .region-map-card img {
    height: 104px;
    transform: scale(1.175);
    width: 104px;
  }
    
  .region-map-card strong {
    font-size: 16px;
  }
    
  .region-map-directory--top .region-map-card img {
    transform: scale(1.5);
  }

  .region-map-directory--top .region-map-card strong {
    margin-top: 40px;
  }
    
  .municipality-directory__group ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  } 
}

@media (max-width: 640px) {
  .section-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-label {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading > p {
    font-size: 14px;
    line-height: 1.9;
    margin-top: 18px;
  }

  .map-header {
    border-top-width: 3px;
  }

  .map-header__inner {
    grid-template-columns: auto 1fr;
    min-height: 0;
    padding: 0 0 0 16px;
  }

  .map-header__logo {
    padding: 14px 12px 20px 0;
  }

  .map-header__logo img {
    width: 126px;
  }

  .map-header__title {
    font-size: 12px;
    line-height: 1.45;
    padding: 14px 15px 20px 0;
    text-align: right;
  }

  .map-header__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .map-header__nav > a {
    font-size: 11px;
    min-height: 46px;
    padding: 0 10px;
  }
    
  .map-header__nav > a:only-of-type {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
  }

  .map-header__search {
    grid-column: 1 / -1;
    margin-left: -16px;
    min-width: 0;
    padding: 10px 16px 12px;
    width: calc(100% + 16px);
  }

  .map-header__search-results {
    left: 16px;
    right: 16px;
    top: calc(100% - 6px);
  }

  .breadcrumb ol {
    padding: 14px 0;
  }

  .breadcrumb li {
    font-size: 10px;
  }

  .map-intro {
    padding: 48px 0 44px;
  }

  .map-intro h1 {
    font-size: 33px;
  }

  .map-intro p {
    font-size: 14px;
    line-height: 1.95;
    margin-top: 21px;
  }

  .map-gallery {
    padding: 50px 0 58px;
  }

  .map-gallery__list {
    gap: 38px;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .map-card__image {
    margin: 0 auto;
    max-width: 440px;
    padding: 22px;
  }

  .free-download {
    padding: 56px 0;
  }

  .editable-product__map-list {
    grid-template-columns: 1fr;
  }

  .editable-product__map-card {
    min-height: 60px;
  } 
    
  .free-download__list {
    margin-top: 30px;
    padding: 0 18px;
  }

  .download-card {
    gap: 15px;
    grid-template-columns: 1fr;
    padding: 22px 0;
  }

  .download-card__body {
    grid-template-columns: 45px 1fr;
  }

  .download-card__button {
    min-width: 0;
    width: 100%;
  }

  .editable-map {
    padding: 60px 0;
  }

  .editable-map__example {
    margin-top: 32px;
  }

  .editable-map__example figcaption {
    line-height: 1.7;
    text-align: left;
  }

  .editable-product {
    gap: 28px;
    margin-top: 38px;
    padding: 26px 20px;
  }

  .editable-product__content h3 {
    font-size: 24px;
  }

  .file-format-list li {
    height: 42px;
    min-width: 52px;
  }

  .editable-product__details {
    font-size: 13px;
  }

  .editable-product__purchase {
    padding: 27px 20px;
  }

  .editable-product__price strong {
    font-size: 48px;
  }

  .usage-guide {
    padding: 54px 0;
  }

  .usage-guide .section-inner {
    display: block;
    margin-left: 20px;
    margin-right: 20px;
    padding: 28px 22px;
    width: auto;
  }

  .usage-guide__list {
    margin-top: 20px;
  }

  .usage-guide__link {
    margin-top: 22px;
  }

  .prefecture-map-directory {
    padding: 54px 0 68px;
  }

  .prefecture-map-directory__list {
    gap: 14px;
    margin-top: 28px;
  }

  .prefecture-map-card {
    flex-basis: calc((100% - 14px) / 2);
    min-height: 220px;
    padding: 18px 12px;
  }

  .prefecture-map-card img {
    height: 104px;
    transform: scale(1.5);
    width: 104px;
  }

  .prefecture-map-card strong {
    font-size: 16px;
    margin-top: 40px;
  }

    
  .related-maps {
    padding: 54px 0 68px;
  }

  .related-maps__list {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
    
  .municipality-directory {
    padding: 54px 0 68px;
  }

  .municipality-directory__list {
    margin-top: 28px;
  }

  .municipality-directory__group summary {
    padding: 18px;
  }

  .municipality-directory__group summary span {
    font-size: 18px;
  }

  .municipality-directory__group ul {
    grid-template-columns: 1fr;
    padding: 16px 18px 18px;
  } 

  .footer {
    padding-top: 48px;
  }

  .footer__inner {
    gap: 38px;
    grid-template-columns: 1fr;
    padding: 0 20px 38px;
  }

  .footer__logo {
    font-size: 22px;
  }

  .footer__nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
