a:visited,
a:link {
  color: #353c3e;
  text-decoration: underline;
}
a:hover,
a:active {
  color: #353c3e;
  text-decoration: none;
}
@media screen and (max-width: 743px) {
  .bg-wrapper {
    margin-top: 394px;
    margin-top: 101.025641vw;
    padding-bottom: 160px;
    padding-bottom: 42.6666666667vw;
    top: 175px;
    top: 44.8717949vw;
    /* margin-bottom: 1215px; */
  }
  .bg-wrapper[data-top="detail"] {
    margin-top: 96px;
    margin-top: 25.6vw;
  }
  .bg-wrapper::before {
    display: block;
    content: "";
    position: absolute;
    top: -536px;
    top: -137.435897vw;
    height: 536px;
    height: 137.435897vw;
    left: 0;
    width: 100%;
    z-index: 1;
  }
  .background:not([data-bg="top"]) .background--image {
    height: 536px;
    height: 137.435897vw;
    overflow-y: hidden;
  }
  .background:not([data-bg="top"]) .background--image::after {
    height: 120px;
    height: 32vw;
  }
  .background--image::after {
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    height: 32vw;
    background-image: linear-gradient(
      0deg,
      rgb(245, 247, 248),
      rgba(255, 255, 255, 0)
    );
    z-index: 1;
  }
}
.container {
  padding-top: 342px;
}
.bg-wrapper {
  margin-top: 194px;
  padding-bottom: 200px;
  /* margin-bottom: 585px; */
}
.headline {
  width: 100%;
  position: absolute;
  z-index: 1;
  top: -216px;
  margin-bottom: 160px;
}
.headline__inner {
  position: relative;
  margin-left: 12.5vw;
}
.headline__title {
  font-family: "Leida", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 8px;
}
.headline__lang {
  display: flex;
  align-items: center;
}
.headline__lang p {
  position: relative;
  font-family: "Leida", serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%; /* 13.2px */
  letter-spacing: 0.24px;
  display: flex;
  align-items: center;
}
.headline__lang p.lang--ja {
  margin-right: 8px;
  padding-right: 16px;
}
.headline__lang p.lang--ja::after {
  content: "･";
  display: block;
  color: #82a4b6;
  position: absolute;
  right: 0;
  top: 0;
}
.headline__lang p.is--current {
  pointer-events: none;
}
.headline__lang p.is--current a {
  color: #353c3e;
}
.headline__lang a {
  display: block;
  color: var(--Extended-Colors-Blue-Sub-05, #65a4b6);
  text-decoration: none;
  transition: all 0.3s;
}
.headline__lang a:hover {
  opacity: 0.5;
}
.message,
.outline,
.access {
  width: 100%;
  position: relative;
  z-index: 1;
  top: 13px;
  margin-bottom: 127px;
}
.message__inner {
  position: relative;
  margin-left: 12.5vw;
  width: 67.5vw;
  display: flex;
}
.outline__inner,
.access__inner {
  position: relative;
  margin-left: 12.5vw;
  width: 67.5vw;
  display: flex;
}
.message__headline {
  font-family: "Leida", serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  width: 192px;
  min-width: 192px;
  max-width: 192px;
}
.outline__headline,
.access__headline {
  font-family: "Leida", serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  width: 192px;
  min-width: 192px;
  max-width: 192px;
}
.message__detail {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 240%; /* 33.6px */
  letter-spacing: 0.84px;
}
.outline__detail,
.access__detail,
.message__detail_en {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 240%; /* 33.6px */
  letter-spacing: 0.84px;
  width: 100%;
  max-width: 1020px;
}
.message__sub__headline {
  writing-mode: vertical-rl;
  height: 432px;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 31px;
  letter-spacing: calc(24px * 0.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 78px;
}
.message__sub__headline .sub--headline--second--container {
  display: flex;
  width: 100%;
}
.message__sub__headline .sub--headline--second {
  margin-top: auto;
}
.message__sub__headline_en {
  font-family: "Zen Old Mincho", serif;
  width: 356px;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 1.44px;
  display: flex;
  flex-direction: row;
}
.message__container {
  display: flex;
  justify-content: space-between;
  gap: 114px;
  width: 100%;
  max-width: 1020px;
}
.message__container_en {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1020px;
}
.message__detail a,
.outline__detail a,
.access__detail a {
  color: #65a4b6;
  text-decoration: underline;
  transition: all 0.3s;
}
.message__detail a:hover,
.outline__detail a:hover,
.access__detail a:hover {
  opacity: 0.5;
}
.message__detail p + p {
  margin-top: 20px;
}
.outline__detail dl {
  width: 100%;
  display: flex;
  margin-bottom: 24px;
  gap: 72px;
}
.outline__detail dl:last-of-type {
  margin-bottom: 0;
}
.outline__detail dt {
  width: 120px;
  min-width: 120px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 200%;
  letter-spacing: 0.25px;
}
.outline__detail dd {
  flex-basis: 41.25vw;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 200%;
  letter-spacing: 0.25px;
}
.outline__detail dd small {
  color: #848A8C;

  /* JP/Body - Small */
  font-family: "Zen Old Mincho";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 200%;
  letter-spacing: 0.24px;
}
.outline__detail a:hover {
  opacity: 0.5;
}
.access {
  margin-bottom: 0;
}
.access__detail .detail--text {
  margin-bottom: 16px;
}
.access__detail .detail--map {
  margin-top: 24px;
  margin-bottom: 40px;
  pointer-events: none;
}
.container.lang--en .message__detail,
.container.lang--en .outline__detail,
.container.lang--en .access__detail {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 200%;
}
/* @media screen and (max-width: 1279px) {
  .bg-wrapper {
    margin-bottom: 738px;
  }
} */
@media screen and (max-width: 743px) {
  .container {
    padding-top: 160px;
    padding-top: 42.6666666667vw;
  }
  .headline {
    width: 100%;
    position: absolute;
    z-index: 1;
    top: -326px;
    top: -83.5897436vw;
    margin-bottom: 120px;
    margin-bottom: 30.7692307vw;
  }
  .headline__inner {
    position: relative;
    margin-left: 6.9230769231vw;
  }
  .headline__title {
    font-family: "Leida", serif;
    font-weight: 500;
    font-size: 20px;
    font-size: 5.128205128205128vw;
    line-height: 110%;
    margin-bottom: 8px;
    margin-bottom: 2.1333333333vw;
  }
  .headline__lang {
    display: flex;
    align-items: center;
  }
  .headline__lang p {
    position: relative;
    font-family: "Leida", serif;
    font-weight: 500;
    font-size: 12px;
    font-size: 3.2vw;
    line-height: 120%;
    letter-spacing: 0.5px;
    letter-spacing: 0.1333333333vw;
    display: flex;
    align-items: center;
  }
  .headline__lang p.lang--ja {
    margin-right: 8px;
    margin-right: 2.1333333333vw;
    padding-right: 16px;
    padding-right: 4.2666666667vw;
  }
  .headline__lang p.lang--ja::after {
    content: "･";
    display: block;
    color: #82a4b6;
    position: absolute;
    right: 0;
    top: 0;
  }
  .headline__lang p.is--current {
    pointer-events: none;
  }
  .headline__lang p.is--current a {
    color: #353c3e;
  }
  .headline__lang a {
    display: block;
    text-decoration: none;
    transition: none;
  }
  .headline__lang a:hover {
    opacity: 1;
  }
  .message,
  .outline,
  .access {
    width: 100%;
    position: relative;
    z-index: 1;
    top: -163px;
    top: -41.7948718vw;
    margin-bottom: 80px;
    margin-bottom: 21.3333333333vw;
  }
  .message__inner,
  .outline__inner,
  .access__inner {
    position: relative;
    margin-left: 6.9230769231vw;
    width: 86.1538461538vw;
    display: block;
  }
  .message__headline,
  .outline__headline,
  .access__headline {
    width: 100%;
    font-family: "Leida", serif;
    font-weight: 500;
    font-size: 16px;
    font-size: 4.102564102564102vw;
    line-height: 110%;
    letter-spacing: 0.64px;
    margin-bottom: 40px;
    margin-bottom: 10.256410256vw;
  }
  .message__detail {
    margin-left: 6.1538461538vw;
    width: 80vw;
    padding-top: 0;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-size: 14px;
    font-size: 3.58974358vw;
    line-height: 200%;
    letter-spacing: 0.84px;
    letter-spacing: 0.2153846vw;
  }
  .outline__detail,
  .access__detail {
    margin-left: 6.1538461538vw;
    width: 80vw;
    padding-top: 0;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-size: 12px;
    font-size: 3.076923076923077vw;
    line-height: 200%;
    letter-spacing: 0.24px;
    letter-spacing: 0.06153846vw;
  }
  .message__detail_en {
    width: 80vw;
    padding-top: 0;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-size: 14px;
    font-size: 3.58974358vw;
    line-height: 200%;
    letter-spacing: 0.84px;
    letter-spacing: 0.2153846vw;
  }
  .outline__detail {
    gap: 24px;
  }
  .message__detail a,
  .outline__detail a,
  .access__detail a {
    color: #65a4b6;
    text-decoration: underline;
    transition: none;
  }
  .message__detail a:hover,
  .outline__detail a:hover,
  .access__detail a:hover {
    opacity: 1;
  }
  .message__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .message__container_en {
    margin-left: 6.1538461538vw;
    font-family: "Zen Old Mincho", serif;
    gap: 40px;
  }
  .message__sub__headline_en {
    width: 312px;
    width: 80vw;
    font-size: 22px;
    font-size: 5.641025641025641vw;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 33px */
    letter-spacing: 1.32px;
    letter-spacing: 0.338461538461538vw;
    flex-direction: column;
    gap: 8px;
  }
  .message__sub__headline_en .sub--headline--second--container_en {
    margin-right: 115px;
    margin-right: 29.487179487179487vw;
    text-align: end;
  }
  .message__sub__headline {
    writing-mode: horizontal-tb;
    width: 279px;
    width: 71.538vw;
    font-size: 22px;
    font-size: 5.64vw;
    height: auto;
    font-weight: 500;
    line-height: 150%; /* 33px */
    letter-spacing: 1.32px;
    margin-left: 6.1538461538vw;
    font-family: "Zen Old Mincho", serif;
    gap: 8px;
  }
  .message__sub__headline .sub--headline--second--container {
    display: flex;
    width: 100%;
  }
  .message__sub__headline .sub--headline--second {
    margin-left: auto;
  }
  .outline__detail dl {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
    margin-bottom: 6.15384615vw;
    gap: 4px;
  }
  .outline__detail dl:last-of-type {
    margin-bottom: 0;
  }
  .outline__detail dt {
    flex-basis: 3.25vh;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-size: 12px;
    font-size: 3.076923076923077vw;
    line-height: 200%;
    letter-spacing: 0.24px;
    letter-spacing: 0.06153846vw;
    width: 100%;
    color: #353c3e;
  }
  .outline__detail dd {
    flex-basis: 3.25vh;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-size: 12px;
    font-size: 3.076923076923077vw;
    line-height: 200%;
    letter-spacing: 0.24px;
    letter-spacing: 0.06153846vw;
    margin-left: 0;
  }
  .outline__detail dd small {
    font-size: 10px;
    font-size: 2.564102564102564vw;
  }
  .outline__detail a:hover {
    opacity: 1;
  }
  .access {
    margin-bottom: 0;
  }
  .access__detail .detail--text {
    margin-bottom: 16px;
    margin-bottom: 4.10256vw;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-size: 12px;
    font-size: 3.076923076923077vw;
    line-height: 200%;
    letter-spacing: 0.24px;
    letter-spacing: 0.06153846vw;
  }
  .access__detail .detail--text:last-of-type {
    margin-bottom: 0;
  }
  .access__detail .detail--text--sp {
    margin-bottom: 24px;
    margin-bottom: 6.15384615vw;
  }
  .access__detail .detail--map {
    margin-top: 40px;
    margin-top: 10.256410256vw;
    margin-bottom: 24px;
    margin-bottom: 6.4vw;
    pointer-events: none;
  }
  .container.lang--en .message__detail,
  .container.lang--en .outline__detail,
  .container.lang--en .access__detail {
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-size: 14px;
    font-size: 3.7333333333vw;
    line-height: 200%;
    letter-spacing: 0.25px;
    letter-spacing: 0.0666666667vw;
  }
  .access--detail--display {
    display: flex;
    flex-direction: column-reverse;
  }
}
