@charset "utf-8";

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

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 180%;
  color: #333;
  background-color: #f2eee8;
}

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

.inner {
  width: min(550px, 100%);
  margin: 10vh auto;
}

small {
  font-size: 14px;
  text-align: right;
  display: block;
  padding-right: 1em;
  line-height: 120%;
}

dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

.word_break {
  word-break: keep-all;
}

#hero {
  background-image: url("images/0317.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100lvh;
  position: relative;
}

#title {
  position: absolute;
  bottom: 10vh;
  left: 50%;
  transform: translateX(-50%);
  width: 55vw;
}

h1 {
  font-size: 50px;
  font-family: source-han-serif-jp-subset, sans-serif;
  font-weight: 900;
  font-style: normal;
  line-height: 140%;
  text-align: center;
  height: 100%;
}

.location {
  width: 25vh;
  height: 25vh;
  margin: 10vh auto;
}

.location img {
  width: 100%;
  border-radius: 50%;
  box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.45);
}

main {
  margin: 10vh auto;
  width: 100%;
}

.byLine {
  width: min(550px, 100%);
  margin: 5rem auto;
  border-bottom: 1px solid;
  padding-bottom: 2rem;
}

.byLine ul {
  width: 100%;
  list-style-type: none;
  display: inline-block;
  padding: 0;
  text-align: center;
  line-height: 140%;
  font-size: 14px;
}

.byLine ul li:nth-child(2) {
  margin-top: 0.5rem;
}

.byLine ul li span {
  font-size: 0.9em;
}

.byLine #map {
  position: relative;
  width: 10vw;
  height: 10vw;
  border-radius: 50%;
  background-image: url("images/ogawa.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);
}

.byLine small {
  font-size: 8px;
  margin: 0.5rem auto 2rem;
  display: inline-block;
  text-align: center;
  width: 100%;
}

#mapLocator {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  margin: 0;
  width: 10vw;
  height: 10vw;
  border-radius: 50%;
}



@media screen and (max-width: 820px) {
    p,
    h2 {
      padding: 0 10%;
    }
  
    .byLine #map {
      width: 20vw;
      height: 20vw;
    }
  
    #mapLocator {
      width: 20vw;
      height: 20vw;
    }
  
    #title {
      width: 70vw;
    }
  }
  
  @media screen and (max-width: 620px) {
    .byLine #map {
      width: 35vw;
      height: 35vw;
    }
  }
  

h2 {
  font-size: 28px;
  font-weight: 600;
  font-family: source-han-serif-jp-subset, sans-serif;
}

figure {
  width: 100%;
  margin: 10vh auto;
  padding: 0;
}

figure img {
  width: 100%;
}

figcaption {
  font-size: 14px;
  line-height: 120%;
}

.image_caption {
  font-size: 14px;
  line-height: 120%;
}

.infograph_container {
  width: 100%;
  margin: 1.5rem auto;
}

.infograph_container h4 {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.infograph_container img {
  width: 100%;
}

.imgFlexbox {
  display: flex;
  align-items: stretch;
  gap: 1%;
  width: 100%;
}

.imgFlexbox img {
  width: 49.5%;
}

.credit_area {
  width: min(550px, 100%);
  margin: 10vh auto;
  text-align: center;
  font-size: 0.85rem;
}

.credit_area dt,
dd {
  margin: 0;
  padding: 0;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 2% 10%;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 14px;
  color: #fff;
}

.fadeIn {
  opacity: 0;
  transition: 1s ease-in-out;
}

.chart_wrap {
  margin: 10vh auto;
  width: 100%;
}

.chart_wrap h4 {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}

.chart_wrap figure {
  margin: 0;
}

.chronology {
  width: 100%;
  margin: 10vh auto 0;
}

.chronology h4 {
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
}

.chronology dl {
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-size: 16px;
  line-height: 140%;
  margin: 0 1em 0;
  padding: 1em 0;
  border-left: 1px dashed;
}

.chronology dl span {
  font-family: "barlow-condensed", sans-serif;
  font-weight: 600;
  font-size: 30px;
}

.chronology dl dt {
  color: #925800;
  border-bottom: 1px dashed;
  padding-bottom: 0.5em;
  padding-left: 1em;
  position: relative;
}

.chronology dl dt::after {
  position: absolute;
  content: "";
  display: inline-block;
  background-color: #333;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  bottom: -10px;
  left: 0;
  transform: translate(-50%, -50%);
}

.chronology dl dd {
  padding: 0.5em 1em;
}

.national {
  background-color: #e4dfd9;
  padding: 2% 5%;
  font-size: 14px;
  margin: 0.6em 0;
  border-radius: 5px;
}

.national span {
  font-size: 18px !important;
  font-weight: 400;
  color: #333 !important;
}

.summary, .close {
  width: 90%;
  background-color: #333;
  font-size: 0.8rem;
  color: #fff;
  text-align: center;
  display: block;
  margin: 0 auto 0;
  border-radius: 3px;
  cursor: pointer;
}

.summary:hover, .close:hover {
    opacity: 0.9;
}

.close {
    display: none;
}

.summary::marker {
  display: none;
}

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