@charset "utf-8";

#fv {
  background-image: url(../img/cp_fv.webp);
  background-repeat: no-repeat;
}

@media (max-width: 519px) {
  #fv {
    background-image: url(../img/cp_fv_sp.webp);
    height: 400px;
  }
}
@media (max-width: 1239px) {
  .lower_fv_large .page_title .en {
    font-size: calc(9000vw / 1240);
  }
}
@media (max-width: 959px) {
}
@media (max-width: 519px) {
}



#cultural_property {
  overflow: hidden;
}



#lead {
  max-width: 840px;
  padding: 75px 20px 50px;
  margin: auto;
}
#lead h3 {
  text-align: center;
  font-size: 32px;
}
#lead p {
  margin-top: 25px;
  line-height: 2;
}
@media (max-width: 959px) {
}
@media (max-width: 519px) {
}



#history {
  position: relative;
  padding-top: 60px;
  padding-bottom: 100px;
  background-image: url("../img/history_bg.png");
  background-position: center top;
}
#history .header {
  position: absolute;
  z-index: 1;
  top: 0;
  width: 100%;
  height: 280px;
  background-color: #F7F1E8;
  background-image: url("../img/history_txt.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  -webkit-mask: url("../img/tear-bottom.svg") bottom / 105% 280px no-repeat;
  mask: url("..//img/tear-bottom.svg") bottom / 105% 280px no-repeat;
}
#history .footer {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 100%;
  height: 80px;
  background-color: #F7F1E8;
  -webkit-mask: url("../img/tear-top.svg") bottom / 105% 80px no-repeat;
  mask: url("..//img/tear-top.svg") bottom / 105% 80px no-repeat;
}
#history .contents {
  position: relative;
  z-index: 2;
}
#history .contents h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 304px;
  height: 62px;
  margin-inline: auto;
  background-image: url("../img/history_ttl_bg.png");
  color: #fff;
  font-size: 19px;
  font-weight: bold;
  line-height: 1;
}
#history .contents section {
  position: relative;
  margin-top: 100px;
  background-image: linear-gradient(to left, transparent calc(50% - 1px), #333 50%, transparent 50%), linear-gradient(to bottom, transparent 10px, #333 10px, #333 11px);
  background-position: center, center top;
  background-repeat: repeat, repeat-y;
  background-size: cover, 5px 11px;
}
#history #y1898 {
  margin-top: 120px;
}
#history .contents section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  width: 15px;
  height: 15px;
  margin-inline: auto;
  background-color: #000;
  border-radius: 20px;
}
#history .contents h4 {
  position: relative;
  top: -60px;
  color: #73182A;
  font-size: 34px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}
#history .wrapper {
  position: relative;
  /*overflow-x: hidden;*/
  /*overflow-y: visible;*/
}
#history ul {
  padding-bottom: 50px;
}
#history li {
  margin-top: 25px;
  font-weight: bold;
}
#history .start_l li,
#history .start_r li {
  position: relative;
  width: fit-content;
}
#history .start_l li:nth-child(2n+1),
#history .start_r li:nth-child(2n) {
  margin-left: auto;
  margin-right: 50%;
  padding-right: 100px;
}
#history .start_l li:nth-child(2n),
#history .start_r li:nth-child(2n+1) {
  margin-left: 50%;
  margin-right: auto;
  padding-left: 100px;
}
#history .start_l li::before,
#history .start_r li::before,
#history .start_l li::after,
#history .start_r li::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  background-color: #B39E54;
}
#history .start_l li::before,
#history .start_r li::before {
  width: 90px;
  height: 1px;
}
#history .start_l li:nth-child(2n+1)::before {
  right: 0;
}
#history .start_l li:nth-child(2n)::before {
  left: 0;
}
#history .start_r li:nth-child(2n+1)::before {
  left: 0;
}
#history .start_r li:nth-child(2n)::before {
  right: 0;
}
#history .start_l li::after,
#history .start_r li::after {
  width: 13px;
  aspect-ratio: 1;
  border-radius: 20px;
}
#history .start_l li:nth-child(2n+1)::after {
  right: -7px;
}
#history .start_l li:nth-child(2n)::after {
  left: -6px;
}
#history .start_r li:nth-child(2n+1)::after {
  left: -6px;
}
#history .start_r li:nth-child(2n)::after {
  right: -7px;
}
#history .wrapper img {
  position: absolute;
}
#history .wrapper .img1898_01 {
  right: 0;
  top: -200px;
  width: 511px;
}
#history .wrapper .img1899_01 {
  left: -30px;
  top: 0;
  width: 387px;
}
#history .wrapper .img1899_02 {
  right: -150px;
  bottom: 0;
  width: 470px;
}
#history .wrapper .img1928_01 {
  left: 70px;
  top: -150px;
  width: 387px;
}
#history .wrapper .img1929_01 {
  right: 40px;
  top: -150px;
  width: 389px;
}
#history .wrapper .img1952_01 {
  left: 80px;
  top: -150px;
  width: 411px;
}
@media (max-width: 1239px) {
  #history .wrapper .img1898_01 {
    top: auto;
    bottom: -10px;
    width: calc(51100vw / 1240);
  }
  #history .wrapper .img1899_01 {
    top: -170px;
    left: 0;
    width: calc(38700vw / 1240);
  }
  #history .wrapper .img1899_02 {
    display: none;
    /*width: calc(47000vw / 1240);*/
  }
  #history .wrapper .img1928_01 {
    top: auto;
    bottom: -20px;
    width: calc(38700vw / 1240);
  }
  #history .wrapper .img1929_01 {
    top: auto;
    bottom: -10px;
    width: calc(38900vw / 1240);
  }
  #history .wrapper .img1952_01 {
    top: auto;
    bottom: -80px;
    width: calc(41100vw / 1240);
  }
}
@media (max-width: 959px) {
}
@media (max-width: 519px) {
}


#map {
  margin-top: 70px;
  padding: 0 20px;
  text-align: center;
}
#map h3 {
  font-size: 32px;
}
#map .content {
  margin-top: 30px;
}
#map img {
  max-width: 100%;
  width: 1145px;
}
@media (max-width: 959px) {
}
@media (max-width: 519px) {
}


#tunnel_bridge {
  margin-top: 40px;
}
#tunnel_bridge .tab {
  display: flex;
  justify-content: space-between;
  padding: 0;
}
#tunnel_bridge .tab > * {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 70px;
  font-size: 20px;
  cursor: pointer;
}
#tunnel_bridge .tab > .active::before,
#tunnel_bridge .tab > .active::after {
  content: "";
  position: absolute;
}
#tunnel_bridge .tab > .active::before {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #920A0B;
}
#tunnel_bridge .tab > .active::after {
  left: 0;
  right: 0;
  bottom: -8px;
  width: 21px;
  height: 9px;
  margin-inline: auto;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background-color: #920A0B;
}
#tunnel_bridge .contents {
  padding-block: 60px;
  background-color: #F9F6F0;
}
#tunnel_bridge .contents > * {
  display: none;
}
#tunnel_bridge .contents > .active {
  display: block;
}
#tunnel_bridge .contents ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
#tunnel_bridge .contents ul img {
  max-width: 100%;
}
#tunnel_bridge .contents .ttl {
  margin-top: 20px;
  color: #8A2222;
  font-size: 22px;
  line-height: 1;
  text-align: center;
}
#tunnel_bridge .contents p {
  margin-top: 10px;
  line-height: 1.8;
}
@media (max-width: 959px) {
}
@media (max-width: 519px) {
  #tunnel_bridge .contents ul {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }
}