@charset "UTF-8";

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");

/* ==========================================================================
   Foundation - Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 13rem;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

/* ==========================================================================
   Foundation - Base
   リキッドレイアウト: rem + vw によるフォントサイズ可変
   ========================================================================== */

/* PC: 画面幅 1620px のとき 1rem = 10px（ブラウザズーム対応） */
html {
  font-size: max(62.5%, calc(10 / 1620 * 100vw));
}

/* SP: 画面幅 393px のとき 1rem = 10px（ブラウザズーム対応） */
@media screen and (max-width: 767px) {
  html {
    font-size: max(62.5%, calc(10 / 393 * 100vw));
    scroll-padding-top: 10rem;
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  color: #000;
  background-color: #fff;
}

/* ==========================================================================
   Layout - Container
   ========================================================================== */

.l-container {
  max-width: 128rem;
  margin: 0 auto;
  padding: 0;
}

@media screen and (max-width: 767px) {
  .l-container {
    max-width: 37.3rem;
    padding: 0;
  }
}

/* ==========================================================================
   Layout - Header
   ========================================================================== */

.l-header {
  background-color: #fff;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.l-header .l-container {
  max-width: none;
  padding: 0 6vw 0 1.9vw;
}

.l-header__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.l-header__nav {
  margin-left: auto;
}

.l-header__logo {
  flex-shrink: 0;
}

.l-header__logo a {
  display: inline-block;
}

.l-header__logo a:focus-visible {
  outline: 0.2rem solid #0071c5;
  outline-offset: 0.2rem;
}

.l-header__logo img {
  height: 4rem;
  width: auto;
}

.l-header__nav-list {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.l-header__link {
  font-size: 1.4rem;
  color: #0071c5;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.l-header__link--sp {
  display: none;
}

.l-header__link:hover {
  color: #005a9e;
}

.l-header__link:focus-visible {
  outline: 0.2rem solid #0071c5;
  outline-offset: 0.2rem;
}

.c-button.l-header__button {
  background-color: #fff;
  color: #0071c5;
  border: 0.3rem solid #0071c5;
  width: 28rem;
  height: 6.2rem;
  padding: 0;
  font-size: 1.4rem;
  white-space: nowrap;
}

.c-button.l-header__button:hover {
  background-color: #0071c5;
  color: #fff;
}

.c-button.l-header__button::after {
  content: "＞";
  display: inline-block;
  transform: rotate(90deg) scaleY(2.5) translateX(0.5rem);
  font-size: 1.2rem;
  margin-left: 1.5rem;
  margin-top: -0.7rem;
}
@media screen and (max-width: 1080px) {
  .l-header__inner {
    flex-wrap: wrap;
  }
  .l-header__logo {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .l-header {
    padding: 0;
    width: 100%;
  }

  .l-header .l-container {
    max-width: none;
    padding: 0;
  }

  .l-header__inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }

  .l-header__logo {
    width: auto;
    padding-left: 1rem;
  }

  .l-header__logo img {
    height: 3rem;
  }

  .l-header__link {
    font-size: 1.2rem;
    margin-left: auto;
    padding-right: 1rem;
  }

  .l-header__link--sp {
    display: inline;
  }

  .l-header__link--pc {
    display: none;
  }

  .l-header__nav {
    width: 100%;
    margin-left: 0;
  }

  .l-header__nav-list {
    display: flex;
    gap: 0;
  }

  .l-header__nav-list li {
    flex: 1;
  }

  .l-header__nav-list li:first-child::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.1rem;
    height: 1.8rem;
    background-color: #fff;
  }

  .l-header__nav-list li:first-child {
    position: relative;
  }

  .c-button.l-header__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 4.2rem;
    padding: 0;
    font-size: 1.4rem;
    font-weight: 600;
    background-color: #0071c5;
    color: #fff;
    border: none;
    border-radius: 0;
  }

  .c-button.l-header__button:hover {
    background-color: #005a9e;
    color: #fff;
  }

  .c-button.l-header__button::after {
    display: inline-block;
    font-size: 0.7rem;
    margin-left: 0.2rem;
    color: #fff;
  }
}

/* ==========================================================================
   Layout - Footer
   ========================================================================== */

.l-footer {
  background-color: #0071c5;
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.l-footer__copyright {
  font-size: 1.6rem;
}

@media screen and (max-width: 767px) {
  .l-footer {
    padding: 2rem 0;
  }

  .l-footer__copyright {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   Component - Button
   ========================================================================== */

.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.5rem 4rem;
  font-size: 2.4rem;
  font-weight: 600;
  border-radius: 5rem;
  transition:
    background-color 0.3s,
    color 0.3s;
  background-color: #0071c5;
  color: #fff;
  border: 0.3rem solid #0071c5;
  cursor: pointer;
}

.c-button::after {
  content: "＞";
  font-size: 1.2rem;
}

.c-button:hover {
  background-color: #fff;
  color: #0071c5;
}

.c-button:focus-visible {
  outline: 0.3rem solid #0071c5;
  outline-offset: 0.3rem;
}

.c-button--outline {
  background-color: #fff;
  color: #0071c5;
}

.c-button--outline:hover {
  background-color: #0071c5;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .c-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    width: 100%;
  }
}

/* ==========================================================================
   Component - Table
   ========================================================================== */

.c-table {
  width: 100%;
  max-width: 105rem;
  margin: 3rem auto;
  border-collapse: separate;
  border-spacing: 1rem 0;
}

.c-table th,
.c-table td {
  padding: 1.5rem 2rem;
  font-size: 1.8rem;
  text-align: left;
  vertical-align: middle;
  border: none;
}

.c-table th {
  background-color: rgba(228, 237, 248, 0.5);
  font-weight: 500;
  white-space: nowrap;
  width: 24rem;
  vertical-align: middle;
  border-top: 0.2rem solid #0071c5;
}

.c-table td {
  background-color: rgba(201, 201, 201, 0.1);
  border-top: 0.2rem solid #c9c9c9;
}

.c-table tr:last-child th {
  border-bottom: 0.2rem solid #0071c5;
}

.c-table tr:last-child td {
  border-bottom: 0.2rem solid #c9c9c9;
}

.c-table td a {
  color: #0071c5;
  text-decoration: underline;
}

.c-table td a:hover {
  text-decoration: none;
}

.c-table td a:focus-visible {
  outline: 0.2rem solid #0071c5;
  outline-offset: 0.2rem;
}

@media screen and (max-width: 767px) {
  .c-table {
    width: 100%;
    max-width: 100%;
    margin: 2rem auto 2.7rem;
    border-spacing: 0.6rem 0;
  }

  .c-table th,
  .c-table td {
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
  }

  .c-table th {
    width: 12rem;
  }
}

/* ==========================================================================
   Component - Heading
   ========================================================================== */

.c-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 3.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 3rem;
}

.c-heading__icon {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .c-heading {
    font-size: 2.6rem;
    gap: 0.8rem;
    margin-bottom: 2rem;
  }

  .c-heading__icon {
    width: 3rem;
    height: 3rem;
  }
}

/* ==========================================================================
   Project - Intro
   ========================================================================== */

.p-intro {
  padding: 6rem 0 10rem;
  text-align: center;
}

.p-intro__heading {
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 4rem;
}

.p-intro__buttons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 6rem;
}

.p-intro__buttons .c-button {
  background-color: #fff;
  color: #0071c5;
  border-color: #0071c5;
  overflow: visible;
  width: 41rem;
  height: 9.4rem;
}

.p-intro__buttons .c-button:hover {
  background-color: #0071c5;
  color: #fff;
}

.p-intro__buttons .c-button::after {
  content: "＞";
  display: inline-block;
  transform: rotate(90deg) scaleY(2.5) translateX(0.5rem);
  font-size: 1.4rem;
  margin-left: 1.5rem;
  margin-top: -0.7rem;
}

@media screen and (max-width: 767px) {
  .p-intro {
    padding: 2rem 0 10rem;
  }

  .p-intro__heading {
    font-size: 1.8rem;
    margin-bottom: 3rem;
  }

  .p-intro__buttons {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin-top: 2.7rem;
  }

  .p-intro__buttons .c-button {
    width: 37.3rem;
    height: 7.2rem;
    border-width: 0.2rem;
  }

  .p-intro__buttons .c-button--outline {
    display: inline-flex;
  }
}

/* ==========================================================================
   Project - Main Visual
   ========================================================================== */

.p-mv {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.p-mv__image {
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
}

@media screen and (max-width: 767px) {
  .p-mv {
    margin-top: 4rem;
    margin-bottom: 0;
  }

  .p-mv__image {
    border-radius: 0.4rem;
  }
}

/* ==========================================================================
   Project - Map
   ========================================================================== */

.p-map {
  margin-bottom: 8rem;
}

.p-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 9.5rem;
  background-color: rgba(201, 201, 201, 0.1);
  padding: 4.5rem 3rem;
  border-radius: 1rem;
}

.p-map__legend-title {
  width: 100%;
  font-size: 2.2rem;
  font-weight: 600;
  padding-bottom: 1.5rem;
  border-bottom: 0.2rem solid #0071c5;
}

.p-map__legend-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  width: calc((100% - 4rem) / 3);
}

.p-map__legend-item img {
  width: 5.6rem;
  height: 6.4em;
  object-fit: contain;
  flex-shrink: 0;
}

.p-map__container {
  position: relative;
  width: 100%;
}

.p-map__image {
  width: 100%;
  height: auto;
}

.p-map__link {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5%;
  height: 8%;
  font-size: 0;
  color: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.p-map__link:hover {
  background-color: transparent;
}

.p-map__link:focus {
  outline: 0.3rem solid #0071c5;
  outline-offset: 0.2rem;
  background-color: rgba(0, 113, 197, 0.3);
}

.p-map__link:focus-visible {
  outline: 0.3rem solid #0071c5;
  outline-offset: 0.2rem;
  background-color: rgba(0, 113, 197, 0.3);
}

@media screen and (max-width: 767px) {
  .p-map {
    margin-bottom: 8rem;
  }

  .p-map__legend {
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .p-map__legend-title {
    font-size: 1.8rem;
    font-weight: 600;
    padding-bottom: 1.5rem;
    border-bottom: none;
    background-image: linear-gradient(#0071c5, #0071c5);
    background-size: 100% 0.2rem;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  .p-map__legend-item {
    width: 100%;
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   Project - Route (道順セクション)
   ========================================================================== */

.p-route {
  margin-bottom: 6rem;
}

.p-route__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
}

.p-route__heading .c-heading__icon {
  width: 1.6rem;
  height: 1.6rem;
}

.p-route__note {
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 3rem;
}

.p-route__steps {
  display: grid;
  grid-template-areas:
    "step1 ."
    "step2 step3"
    "step4 step5"
    "step6 step7"
    "step8 ."
    "step9 .";
  gap: 4rem 12rem;
}

.p-step:nth-child(1) {
  grid-area: step1;
}
.p-step:nth-child(2) {
  grid-area: step2;
}
.p-step:nth-child(3) {
  grid-area: step3;
}
.p-step:nth-child(4) {
  grid-area: step4;
}
.p-step:nth-child(5) {
  grid-area: step5;
}
.p-step:nth-child(6) {
  grid-area: step6;
}
.p-step:nth-child(7) {
  grid-area: step7;
}
.p-step:nth-child(8) {
  grid-area: step8;
}
.p-step:nth-child(9) {
  grid-area: step9;
}

@media screen and (max-width: 1300px) {
  .p-route__steps {
    grid-template-areas:
      "step1"
      "step2"
      "step3"
      "step4"
      "step5"
      "step6"
      "step7"
      "step8"
      "step9";
    gap: 1rem;
  }
}
@media screen and (max-width: 767px) {
  .p-route {
    margin-bottom: 8rem;
  }

  .p-route__heading {
    font-size: 2.2rem;
  }

  .p-route__note {
    font-size: 1.6rem;
    margin-bottom: 4rem;
  }

  .p-route__steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .p-step:nth-child(n) {
    grid-row: auto;
    grid-column: auto;
  }
}

/* ==========================================================================
   Project - Step (個別ステップカード)
   ========================================================================== */

.p-step__header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.p-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  min-width: 4rem;
  background-color: #0071c5;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 0.5rem;
  line-height: 1;
}

.p-step__text {
  font-size: 1.8rem;
  line-height: 1.7;
  padding-top: 0.7rem;
}

.p-step__image-wrapper {
  position: relative;
}

.p-step__image {
  width: 58rem;
  height: 24rem;
  object-fit: cover;
  border-radius: 0.4rem;
}

.p-step__check {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 4rem;
  height: 4rem;
  pointer-events: none;
}

.p-step__camera {
  margin-top: 2rem;
  text-align: center;
}

.p-step__camera-button {
  width: 28rem;
  height: 6.2rem;
  font-size: 1.8rem;
  background-color: #fff;
  color: #0071c5;
  border-color: #0071c5;
}

.p-step__camera-button:hover {
  background-color: #0071c5;
  color: #fff;
}

.p-step__camera-button--disabled {
  cursor: default;
  pointer-events: none;
}

.p-step__camera-button::after {
  display: none;
}

@media screen and (max-width: 1300px) {
  .p-step__image-wrapper {
    width: 58rem;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .p-step__header {
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .p-step__image-wrapper {
    width: auto;
    margin: auto;
  }

  .p-step__number {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    font-size: 1.8rem;
  }

  .p-step__text {
    font-size: 1.4rem;
    padding-top: 0.5rem;
  }

  .p-step__image {
    width: 100%;
    height: auto;
  }

  .p-step__check {
    width: 3rem;
    height: 3rem;
    bottom: 0.8rem;
  }
}

/* ==========================================================================
   Project - ことばの道案内
   ========================================================================== */

.p-kotoba {
  background-color: rgba(228, 237, 248, 0.5);
  padding: 7rem 0 8rem;
}

.p-kotoba .c-heading {
  align-items: flex-start;
}

.p-kotoba__intro {
  margin-bottom: 6rem;
}

.p-kotoba__content {
  background-color: #fff;
  padding: 3rem;
  border: 0.2rem solid #0071c5;
  border-radius: 1rem;
  margin-bottom: 6rem;
}

.p-kotoba__content-heading {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.8;
}

.p-kotoba__content p {
  font-size: 1.8rem;
  line-height: 1.8;
}

.p-kotoba__sub-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.p-kotoba__sub-heading .c-heading__icon {
  width: 1.6rem;
  height: 1.6rem;
}

.p-kotoba__steps {
  list-style: none;
}

.p-kotoba__step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background-color: rgba(201, 201, 201, 0.1);
  border-radius: 0.5rem;
}

.p-kotoba__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  min-width: 4rem;
  background-color: #0071c5;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 0.5rem;
  line-height: 1;
}

.p-kotoba__step-text {
  font-size: 1.8rem;
  line-height: 1.7;
  padding-top: 0.7rem;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

@media screen and (max-width: 767px) {
  .p-kotoba .c-heading .c-heading__icon {
    margin-top: 0.6rem;
  }

  .p-kotoba__content {
    padding: 2rem;
  }

  .p-kotoba__content-heading {
    font-size: 1.4rem;
  }

  .p-kotoba__content p {
    font-size: 1.4rem;
  }

  .p-kotoba__sub-heading {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .p-kotoba__step {
    padding: 1.5rem;
    gap: 1.2rem;
  }

  .p-kotoba__step-number {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    font-size: 1.8rem;
  }

  .p-kotoba__step-text {
    font-size: 1.4rem;
    padding-top: 0.5rem;
  }
}

/* ==========================================================================
   Utility - Screen Reader Only
   ========================================================================== */

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Project - Lightbox
   ========================================================================== */

.p-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.p-lightbox.is-active {
  display: flex;
}

.p-lightbox__image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.p-lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 4rem;
  cursor: pointer;
  line-height: 1;
}

.p-lightbox__close:focus-visible {
  outline: 0.2rem solid #fff;
  outline-offset: 0.2rem;
}

/* ==========================================================================
   Utility - Underline (視覚的な下線のみ、意味的な強調なし)
   ========================================================================== */

.u-underline {
  text-decoration: underline;
}

/* ==========================================================================
   Utility - SP Only
   ========================================================================== */

.u-sp-only {
  display: none;
}

@media screen and (max-width: 767px) {
  .u-sp-only {
    display: inline;
  }
}
